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


Ignore:
Timestamp:
8 Jul 2015, 00:28:51 (11 years ago)
Author:
seregin
Message:

macro cleanup: PER_LAYER_PTL

File:
1 edited

Legend:

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

    r1152 r1153  
    28742874  READ_UVLC(  uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 );
    28752875#endif
    2876 #if PER_LAYER_PTL
    28772876  Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() );
    2878 #endif
    28792877#if !MULTIPLE_PTL_SUPPORT
    28802878  vps->getPTLForExtnPtr()->resize(vps->getNumProfileTierLevel());
     
    29512949  vps->setOutputLayerFlag(0, 0, true);
    29522950  vps->deriveNecessaryLayerFlag(0);
    2953 #if PER_LAYER_PTL
    29542951  vps->getProfileLevelTierIdx()->resize(numOutputLayerSets);
    29552952  vps->getProfileLevelTierIdx(0)->push_back( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 ? 1 : 0);
    2956 #endif
    29572953
    29582954  for(i = 1; i < numOutputLayerSets; i++)
     
    30143010    vps->deriveNecessaryLayerFlag(i); 
    30153011
    3016 #if PER_LAYER_PTL
    30173012    vps->getProfileLevelTierIdx(i)->assign(vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet), -1);
    30183013    for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet) ; j++)
     
    30443039      }
    30453040    }
    3046 #else
    3047     Int numBits = 1;
    3048     while ((1 << numBits) < (vps->getNumProfileTierLevel()))
    3049     {
    3050       numBits++;
    3051     }
    3052     READ_CODE( numBits, uiCode, "profile_tier_level_idx[i]" );     vps->setProfileLevelTierIdx(i, uiCode);
    3053 #endif
    30543041
    30553042    NumOutputLayersInOutputLayerSet[i] = 0;
Note: See TracChangeset for help on using the changeset viewer.