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


Ignore:
Timestamp:
8 Jul 2015, 00:21:05 (10 years ago)
Author:
seregin
Message:

macro cleanup: NECESSARY_LAYER_FLAG

File:
1 edited

Legend:

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

    r1148 r1151  
    29462946#endif
    29472947  vps->setNumOutputLayerSets( numOutputLayerSets );
    2948 #if NECESSARY_LAYER_FLAG
     2948
    29492949  // Default output layer set
    29502950  vps->setOutputLayerSetIdx(0, 0);
     
    29552955  vps->getProfileLevelTierIdx(0)->push_back( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 ? 1 : 0);
    29562956#endif
    2957 #endif
     2957
    29582958  for(i = 1; i < numOutputLayerSets; i++)
    29592959  {
     
    30113011      }
    30123012    }
    3013 #if NECESSARY_LAYER_FLAG
     3013
    30143014    vps->deriveNecessaryLayerFlag(i); 
    3015 #endif
     3015
    30163016#if PER_LAYER_PTL
    30173017    vps->getProfileLevelTierIdx(i)->assign(vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet), -1);
     
    30783078#endif
    30793079  }
    3080 #if NECESSARY_LAYER_FLAG
     3080
    30813081  vps->checkNecessaryLayerFlagCondition(); 
    3082 #endif
     3082
    30833083#else
    30843084  if( numOutputLayerSets > 1 )
     
    33693369  }
    33703370
    3371 #if NECESSARY_LAYER_FLAG
    33723371  // Default output layer set
    33733372  // The value of NumLayersInIdList[ 0 ] is set equal to 1 and the value of LayerSetLayerIdList[ 0 ][ 0 ] is set equal to 0.
     
    33783377
    33793378  vps->deriveNecessaryLayerFlag(0);
    3380 #endif
    33813379
    33823380  // The value of sub_layer_dpb_info_present_flag[ i ][ 0 ] for any possible value of i is inferred to be equal to 1
Note: See TracChangeset for help on using the changeset viewer.