Changeset 1153 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 Jul 2015, 00:28:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1152 r1153 2874 2874 READ_UVLC( uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 ); 2875 2875 #endif 2876 #if PER_LAYER_PTL2877 2876 Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() ); 2878 #endif2879 2877 #if !MULTIPLE_PTL_SUPPORT 2880 2878 vps->getPTLForExtnPtr()->resize(vps->getNumProfileTierLevel()); … … 2951 2949 vps->setOutputLayerFlag(0, 0, true); 2952 2950 vps->deriveNecessaryLayerFlag(0); 2953 #if PER_LAYER_PTL2954 2951 vps->getProfileLevelTierIdx()->resize(numOutputLayerSets); 2955 2952 vps->getProfileLevelTierIdx(0)->push_back( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 ? 1 : 0); 2956 #endif2957 2953 2958 2954 for(i = 1; i < numOutputLayerSets; i++) … … 3014 3010 vps->deriveNecessaryLayerFlag(i); 3015 3011 3016 #if PER_LAYER_PTL3017 3012 vps->getProfileLevelTierIdx(i)->assign(vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet), -1); 3018 3013 for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet) ; j++) … … 3044 3039 } 3045 3040 } 3046 #else3047 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 #endif3054 3041 3055 3042 NumOutputLayersInOutputLayerSet[i] = 0;
Note: See TracChangeset for help on using the changeset viewer.