Changeset 1153 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 8 Jul 2015, 00:28:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1152 r1153 2125 2125 #else 2126 2126 WRITE_UVLC( vps->getNumProfileTierLevel() - 1, "vps_num_profile_tier_level_minus1"); 2127 #if PER_LAYER_PTL2128 2127 Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() ); 2129 #endif2130 2128 #endif 2131 2129 #if LIST_OF_PTL … … 2221 2219 } 2222 2220 } 2223 #if PER_LAYER_PTL 2224 for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet) ; j++)2221 2222 for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++ ) 2225 2223 { 2226 2224 if( vps->getNecessaryLayerFlag(i, j) && (vps->getNumProfileTierLevel() - 1) > 0 ) … … 2229 2227 } 2230 2228 } 2231 #else2232 Int numBits = 1;2233 while ((1 << numBits) < (vps->getNumProfileTierLevel()))2234 {2235 numBits++;2236 }2237 WRITE_CODE( vps->getProfileLevelTierIdx(i), numBits, "profile_level_tier_idx[i]" );2238 #endif2239 2229 2240 2230 NumOutputLayersInOutputLayerSet[i] = 0;
Note: See TracChangeset for help on using the changeset viewer.