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


Ignore:
Timestamp:
7 Jul 2015, 02:24:58 (10 years ago)
Author:
seregin
Message:

macro cleanup: P0300_ALT_OUTPUT_LAYER_FLAG, O0153_ALT_OUTPUT_LAYER_FLAG

File:
1 edited

Legend:

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

    r1121 r1124  
    26982698{
    26992699  UInt uiCode;
    2700   // ... More syntax elements to be parsed here
    2701 #if P0300_ALT_OUTPUT_LAYER_FLAG
    27022700  Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1];
    27032701  Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1];
    2704 #endif
    27052702#if LIST_OF_PTL
    27062703  if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() )
     
    30893086    READ_CODE( numBits, uiCode, "profile_tier_level_idx[i]" );     vps->setProfileLevelTierIdx(i, uiCode);
    30903087#endif
    3091 #if P0300_ALT_OUTPUT_LAYER_FLAG
     3088
    30923089    NumOutputLayersInOutputLayerSet[i] = 0;
    30933090    for (j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++)
     
    31133110#if Q0165_OUTPUT_LAYER_SET
    31143111    assert( NumOutputLayersInOutputLayerSet[i]>0 );
    3115 #endif
    3116 
    31173112#endif
    31183113  }
     
    32103205    READ_CODE( numBits, uiCode, "profile_level_tier_idx[i]" );     vps->setProfileLevelTierIdx(i, uiCode);
    32113206  }
    3212 #endif
    3213 
    3214 #if !P0300_ALT_OUTPUT_LAYER_FLAG
    3215 #if O0153_ALT_OUTPUT_LAYER_FLAG
    3216   if( vps->getMaxLayers() > 1 )
    3217   {
    3218     READ_FLAG( uiCode, "alt_output_layer_flag");
    3219     vps->setAltOuputLayerFlag( uiCode ? true : false );
    3220   }
    3221 #endif
    32223207#endif
    32233208
Note: See TracChangeset for help on using the changeset viewer.