Ignore:
Timestamp:
11 Dec 2015, 00:05:48 (8 years ago)
Author:
seregin
Message:

infer parameters in SPS after activation, fixing chroma scaling for non 4:2:0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1497 r1502  
    11301130  Void              checkNecessaryLayerFlagCondition();
    11311131  Void              calculateMaxSLInLayerSets();
    1132 
    1133   ChromaFormat      getChromaFormatIdc( const TComSPS* sps, const UInt layerId ) const;
    1134   UInt              getPicHeightInLumaSamples( const TComSPS* sps, const UInt layerId ) const;
    1135   UInt              getPicWidthInLumaSamples( const TComSPS* sps, const UInt layerId ) const;
    1136   UInt              getBitDepth( ChannelType type, const TComSPS* sps, const UInt layerId ) const;
    1137   const BitDepths&  getBitDepths( const TComSPS* sps, const UInt layerId ) const;
    1138   const Window&     getConformanceWindow( const TComSPS* sps, const UInt layerId ) const;
    11391132#endif //SVC_EXTENSION
    11401133};
     
    16041597  Void                   setInferScalingListFlag( Bool flag )                                            { m_inferScalingListFlag = flag;                                       }
    16051598  Void                   setScalingListRefLayerId( UInt layerId )                                        { m_scalingListRefLayerId = layerId;                                   }
     1599
     1600  Void                   inferSPS( const UInt layerId, TComVPS* vps );
    16061601#endif //SVC_EXTENSION
    16071602};
     
    23992394  Bool                        getCrossLayerBLAFlag  ()                               { return m_bCrossLayerBLAFlag;                                  }
    24002395  Void                        setCrossLayerBLAFlag  (Bool b)                         { m_bCrossLayerBLAFlag = b;                                     }
    2401 
    24022396  Int                         getNumNegativeRpsCurrTempList();
    2403 
    2404   UInt                        getPicWidthInLumaSamples();
    2405   UInt                        getPicHeightInLumaSamples();
    2406   ChromaFormat                getChromaFormatIdc();
    2407   UInt                        getBitDepth(ChannelType type) const;
    2408   BitDepths&                  getBitDepths();
    2409   Int                         getQpBDOffset(ChannelType type) const                  { return (getBitDepth(type) - 8) * 6;                           }
    2410 
    2411   const Window&               getConformanceWindow() const;
    2412 
    24132397  Void                        setILRPic(TComPic **pcIlpPic);
    2414 
    24152398  Int                         getPocResetIdc()                                       { return m_pocResetIdc;                                         }
    24162399  Void                        setPocResetIdc(Int b)                                  { m_pocResetIdc = b;                                            }
Note: See TracChangeset for help on using the changeset viewer.