Changeset 526 in SHVCSoftware for branches/SHM-4.1-dev/source
- Timestamp:
- 24 Dec 2013, 03:04:21 (11 years ago)
- Location:
- branches/SHM-4.1-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-4.1-dev/source/Lib/TLibCommon/TypeDef.h
r525 r526 199 199 #if VPS_DPB_SIZE_TABLE 200 200 #define OUTPUT_LAYER_SET_INDEX 1 ///< JCTVC-O0217: DPB operations: Inference/input of output layer set index 201 #if OUTPUT_LAYER_SET_INDEX 202 #define USE_DPB_SIZE_TABLE 1 ///< JCTVC-O0217: DPB operations: Use signaled DPB-size table parameters in the decoder 203 #endif 201 204 #endif 202 205 #else -
branches/SHM-4.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r521 r526 170 170 for( Int temporalLayer=0; temporalLayer < MAX_TLAYER; temporalLayer++) 171 171 { 172 #if USE_DPB_SIZE_TABLE 173 TComVPS *vps = slice->getVPS(); 174 // SHM decoders will use DPB size table in the VPS to determine the number of reorder pictures. 175 numReorderPics[temporalLayer] = vps->getMaxVpsNumReorderPics( getCommonDecoderParams()->getOutputLayerSetIdx() , temporalLayer); 176 #else 172 177 numReorderPics[temporalLayer] = pcSPS->getNumReorderPics(temporalLayer); 178 #endif 173 179 } 174 180 … … 260 266 for( Int temporalLayer=0; temporalLayer < MAX_TLAYER; temporalLayer++) 261 267 { 268 #if USE_DPB_SIZE_TABLE 269 TComVPS *vps = pcSlice->getVPS(); 270 // SHM decoders will use DPB size table in the VPS to determine the number of reorder pictures. 271 numReorderPics[temporalLayer] = vps->getMaxVpsNumReorderPics( getCommonDecoderParams()->getOutputLayerSetIdx() , temporalLayer); 272 #else 262 273 numReorderPics[temporalLayer] = pcSlice->getSPS()->getNumReorderPics(temporalLayer); 263 } 264 274 #endif 275 } 276 277 #if USE_DPB_SIZE_TABLE 278 m_iMaxRefPicNum = pcSlice->getVPS()->getMaxVpsDecPicBufferingMinus1( getCommonDecoderParams()->getOutputLayerSetIdx(), pcSlice->getLayerId(), pcSlice->getTLayer() ) + 1; // m_uiMaxDecPicBuffering has the space for the picture currently being decoded 279 #else 265 280 m_iMaxRefPicNum = pcSlice->getSPS()->getMaxDecPicBuffering(pcSlice->getTLayer()); // m_uiMaxDecPicBuffering has the space for the picture currently being decoded 281 #endif 266 282 267 283 #if SVC_EXTENSION
Note: See TracChangeset for help on using the changeset viewer.