Changeset 954 in SHVCSoftware


Ignore:
Timestamp:
5 Jan 2015, 20:07:57 (10 years ago)
Author:
seregin
Message:

R0124, conformance check for vps_max_layers_minus1, provided by BYEONG-DOO CHOI <b.d.choi@…>

Location:
branches/SHM-dev/source/Lib
Files:
2 edited

Legend:

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

    r951 r954  
    12171217  READ_CODE( 6,  uiCode,  "vps_max_layers_minus1" );              pcVPS->setMaxLayers( uiCode + 1 );
    12181218#endif
     1219  assert(pcVPS->getBaseLayerInternalFlag() || pcVPS->getMaxLayers() > 1);
    12191220#else
    12201221  READ_CODE( 6,  uiCode,  "vps_reserved_zero_6bits" );            assert(uiCode == 0);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r943 r954  
    941941#endif
    942942#if SVC_EXTENSION
    943   WRITE_CODE( pcVPS->getMaxLayers() - 1,            6,        "vps_max_layers_minus1" );           
     943  WRITE_CODE( pcVPS->getMaxLayers() - 1,            6,        "vps_max_layers_minus1" );
     944  assert(pcVPS->getBaseLayerInternalFlag() || pcVPS->getMaxLayers() > 1);
    944945#else
    945946  WRITE_CODE( 0,                                    6,        "vps_reserved_zero_6bits" );
Note: See TracChangeset for help on using the changeset viewer.