Changeset 526 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 24 Dec 2013, 03:04:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.