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


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

macro cleanup: VPS_EXTN_UEV_CODING

File:
1 edited

Legend:

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

    r1153 r1154  
    28682868#if VPS_EXTN_PROFILE_INFO
    28692869  // Profile-tier-level signalling
    2870 #if !VPS_EXTN_UEV_CODING
    2871   READ_CODE( 10, uiCode, "vps_number_layer_sets_minus1" );     assert( uiCode == (vps->getNumLayerSets() - 1) );
    2872   READ_CODE(  6, uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 );
    2873 #else
    28742870  READ_UVLC(  uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 );
    2875 #endif
     2871
    28762872  Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() );
    28772873#if !MULTIPLE_PTL_SUPPORT
     
    29022898#endif
    29032899
    2904 #if !VPS_EXTN_UEV_CODING
    2905   READ_FLAG( uiCode, "more_output_layer_sets_than_default_flag" ); vps->setMoreOutputLayerSetsThanDefaultFlag( uiCode ? true : false );
    2906   Int numOutputLayerSets = 0;
    2907   if(! vps->getMoreOutputLayerSetsThanDefaultFlag() )
    2908   {
    2909     numOutputLayerSets = vps->getNumLayerSets();
    2910   }
    2911   else
    2912   {
    2913     READ_CODE( 10, uiCode, "num_add_output_layer_sets" );          vps->setNumAddOutputLayerSets( uiCode );
    2914     numOutputLayerSets = vps->getNumLayerSets() + vps->getNumAddOutputLayerSets();
    2915   }
    2916 #else
    2917 
    29182900#if Q0165_NUM_ADD_OUTPUT_LAYER_SETS
    29192901  if( vps->getNumLayerSets() > 1 )
     
    29342916
    29352917  Int numOutputLayerSets = vps->getNumLayerSets() + vps->getNumAddOutputLayerSets();
    2936 #endif
    29372918
    29382919#if P0295_DEFAULT_OUT_LAYER_IDC
Note: See TracChangeset for help on using the changeset viewer.