Changeset 872 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 18 Aug 2014, 22:31:55 (11 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
-
TComSlice.cpp (modified) (1 diff)
-
TComSlice.h (modified) (1 diff)
-
TypeDef.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r870 r872 3140 3140 } 3141 3141 return numBits; 3142 } 3143 #endif 3144 #if SUB_LAYERS_IN_LAYER_SET 3145 Void TComVPS::calculateMaxSLInLayerSets() 3146 { 3147 for(Int lsIdx = 0; lsIdx < getNumLayerSets(); lsIdx++) 3148 { 3149 UInt maxSLMinus1 = 0; 3150 for(Int k = 0; k < getNumLayersInIdList(lsIdx); k++ ) { 3151 Int lId = getLayerSetLayerIdList(lsIdx, k); 3152 maxSLMinus1 = std::max(maxSLMinus1, getMaxTSLayersMinus1(getLayerIdInVps(lId))); 3153 } 3154 setMaxSLayersInLayerSetMinus1(lsIdx,maxSLMinus1); 3155 } 3142 3156 } 3143 3157 #endif -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r869 r872 1314 1314 Void checkNecessaryLayerFlagCondition(); 1315 1315 #endif 1316 #if SUB_LAYERS_IN_LAYER_SET 1317 Void calculateMaxSLInLayerSets(); 1318 #endif 1316 1319 #endif //SVC_EXTENSION 1317 1320 }; -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r871 r872 60 60 #endif 61 61 #define BSP_INIT_ARRIVAL_SEI 1 ///< JCTVC-R0231: Make signalling of vcl_initial_arrival_delay independent of NalHrdBpPresentFlag 62 #define SUB_LAYERS_IN_LAYER_SET 1 ///< Move calculation of MaxSubLayerInLayerSets to a separate function 62 63 #define O0137_MAX_LAYERID 1 ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1 63 64
Note: See TracChangeset for help on using the changeset viewer.