Changeset 1009 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
3 Feb 2015, 23:11:03 (11 years ago)
Author:
seregin
Message:

fix for the ticket #56

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1007 r1009  
    934934#endif
    935935    }
     936   
     937#if P0182_VPS_VUI_PS_FLAG
     938    UInt layerIdx = activeVPS->getLayerIdInVps( m_layerId );
     939
     940    if( activeVPS->getBaseLayerPSCompatibilityFlag(layerIdx) )
     941    {
     942      RepFormat* repFormat = activeVPS->getVpsRepFormat(activeVPS->getVpsRepFormatIdx(layerIdx));
     943
     944      assert( pps->getLayerId() == 0 );
     945      assert( sps->getLayerId() == 0 );
     946      assert( repFormat->getChromaFormatVpsIdc() == sps->getChromaFormatIdc() );
     947      assert( repFormat->getSeparateColourPlaneVpsFlag() == 0 );
     948      assert( repFormat->getPicHeightVpsInLumaSamples() == sps->getPicHeightInLumaSamples() );
     949      assert( repFormat->getPicWidthVpsInLumaSamples()  == sps->getPicWidthInLumaSamples() );
     950      assert( repFormat->getBitDepthVpsLuma()   == sps->getBitDepthY() );
     951      assert( repFormat->getBitDepthVpsChroma() == sps->getBitDepthC() );
     952      assert( repFormat->getConformanceWindowVps().getWindowLeftOffset()   == sps->getConformanceWindow().getWindowLeftOffset() );
     953      assert( repFormat->getConformanceWindowVps().getWindowRightOffset()  == sps->getConformanceWindow().getWindowRightOffset() );
     954      assert( repFormat->getConformanceWindowVps().getWindowTopOffset()    == sps->getConformanceWindow().getWindowTopOffset() );
     955      assert( repFormat->getConformanceWindowVps().getWindowBottomOffset() == sps->getConformanceWindow().getWindowBottomOffset() );
     956    }   
     957#endif
    936958  }
    937959#endif
Note: See TracChangeset for help on using the changeset viewer.