Changeset 1171 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder


Ignore:
Timestamp:
8 Jul 2015, 01:32:32 (10 years ago)
Author:
seregin
Message:

macro cleanup: VPS_EXTN_OP_LAYER_SETS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1170 r1171  
    815815  assert( pcVPS->getNumHrdParameters() <= MAX_VPS_LAYER_SETS_PLUS1 );
    816816  assert( pcVPS->getMaxLayerId() < MAX_VPS_LAYER_IDX_PLUS1 );
    817 #if !VPS_EXTN_OP_LAYER_SETS     // num layer sets set in TAppEncTop.cpp
    818   pcVPS->setNumLayerSets(1);
    819 #endif
     817
    820818  WRITE_CODE( pcVPS->getMaxLayerId(), 6,                       "vps_max_layer_id" );
    821819#if Q0078_ADD_LAYER_SETS
     
    829827    // Operation point set
    830828    for( UInt i = 0; i <= pcVPS->getMaxLayerId(); i ++ )
     829    {
    831830#else
    832831  assert( pcVPS->getNumHrdParameters() <= MAX_VPS_NUM_HRD_PARAMETERS );
     
    839838    // Operation point set
    840839    for( UInt i = 0; i <= pcVPS->getMaxNuhReservedZeroLayerId(); i ++ )
    841 #endif
    842     {
    843 #if !VPS_EXTN_OP_LAYER_SETS     // layer Id include flag set in TAppEncTop.cpp
     840    {
    844841      // Only applicable for version 1
    845842      pcVPS->setLayerIdIncludedFlag( true, opsIdx, i );
Note: See TracChangeset for help on using the changeset viewer.