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/TComPic.cpp

    r1487 r1502  
    7979Void TComPic::create( const TComVPS &vps, const TComSPS &sps, const TComPPS &pps, const Bool bIsVirtual, const UInt layerId )
    8080{
    81   const ChromaFormat chromaFormatIDC = vps.getChromaFormatIdc(&sps, layerId);
    82   const Int          iWidth          = vps.getPicWidthInLumaSamples(&sps, layerId);
    83   const Int          iHeight         = vps.getPicHeightInLumaSamples(&sps, layerId);
     81  const ChromaFormat chromaFormatIDC = sps.getChromaFormatIdc();
     82  const Int          iWidth          = sps.getPicWidthInLumaSamples();
     83  const Int          iHeight         = sps.getPicHeightInLumaSamples();
    8484  const UInt         uiMaxCuWidth    = sps.getMaxCUWidth();
    8585  const UInt         uiMaxCuHeight   = sps.getMaxCUHeight();
    8686  const UInt         uiMaxDepth      = sps.getMaxTotalCUDepth();
    87  
    88   const Window& conformanceWindow = vps.getConformanceWindow( &sps, layerId );
     87  const Window& conformanceWindow    = sps.getConformanceWindow();
    8988
    9089  m_layerId = layerId;
Note: See TracChangeset for help on using the changeset viewer.