Ignore:
Timestamp:
22 Jan 2015, 07:22:02 (10 years ago)
Author:
seregin
Message:

port using layerIdx in repformat (rev 999)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-upgrade/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r981 r1000  
    17101710      else
    17111711      {
    1712         format = pcSlice->getVPS()->getVpsRepFormat( sps->getUpdateRepFormatFlag() ? sps->getUpdateRepFormatIndex() : pcSlice->getVPS()->getVpsRepFormatIdx(sps->getLayerId()) )->getChromaFormatVpsIdc();
     1712        format = pcSlice->getVPS()->getVpsRepFormat( sps->getUpdateRepFormatFlag() ? sps->getUpdateRepFormatIndex() : pcSlice->getVPS()->getVpsRepFormatIdx( pcSlice->getVPS()->getLayerIdInVps(sps->getLayerId()) ) )->getChromaFormatVpsIdc();
    17131713#if Q0195_REP_FORMAT_CLEANUP
    17141714        assert( (sps->getUpdateRepFormatFlag()==false && pcSlice->getVPS()->getVpsNumRepFormats()==1) || pcSlice->getVPS()->getVpsNumRepFormats() > 1 ); //conformance check
     
    34093409  {
    34103410#if VPS_FIX_TO_MATCH_SPEC
    3411       for( i = vps->getBaseLayerInternalFlag() ? 1 : 0; i < vps->getMaxLayers(); i++ )
    3412 #else
    3413       for (i = 1; i < vps->getMaxLayers(); i++)
     3411    for( i = vps->getBaseLayerInternalFlag() ? 1 : 0; i < vps->getMaxLayers(); i++ )
     3412#else
     3413    for (i = 1; i < vps->getMaxLayers(); i++)
    34143414#endif
    34153415    {
Note: See TracChangeset for help on using the changeset viewer.