Changeset 1178 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 02:44:55 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1177 r1178 123 123 124 124 #define VPS_DPB_SIZE_TABLE 1 ///< JCTVC-O0217: DPB operations: signaling DPB-related parameters 125 #if VPS_DPB_SIZE_TABLE 126 #define USE_DPB_SIZE_TABLE 1 ///< JCTVC-O0217: DPB operations: Use signaled DPB-size table parameters in the decoder 127 #endif 125 128 126 #define DPB_PARAMS_MAXTLAYERS 1 ///< JCTVC-P0156 DPB parameters up to maximum temporal sub-layers in the layer set 129 127 #define NO_CLRAS_OUTPUT_FLAG 1 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1177 r1178 247 247 for( Int temporalLayer=0; temporalLayer < MAX_TLAYER; temporalLayer++) 248 248 { 249 #if USE_DPB_SIZE_TABLE249 #if SVC_EXTENSION 250 250 if( m_commonDecoderParams->getTargetOutputLayerSetIdx() == 0 ) 251 251 { … … 264 264 } 265 265 266 #if USE_DPB_SIZE_TABLE266 #if SVC_EXTENSION 267 267 if( m_commonDecoderParams->getTargetOutputLayerSetIdx() == 0 ) 268 268 { … … 274 274 m_iMaxRefPicNum = pcSlice->getVPS()->getMaxVpsDecPicBufferingMinus1( m_commonDecoderParams->getTargetOutputLayerSetIdx(), pcSlice->getVPS()->getLayerIdcForOls( pcSlice->getVPS()->getOutputLayerSetIdx( m_commonDecoderParams->getTargetOutputLayerSetIdx()), pcSlice->getLayerId() ), pcSlice->getTLayer() ) + 1; // m_uiMaxDecPicBuffering has the space for the picture currently being decoded 275 275 } 276 277 m_iMaxRefPicNum += 1; // it should be updated if more than 1 resampling picture is used 276 278 #else 277 279 m_iMaxRefPicNum = pcSlice->getSPS()->getMaxDecPicBuffering(pcSlice->getTLayer()); // m_uiMaxDecPicBuffering has the space for the picture currently being decoded 278 280 #endif 279 280 #if SVC_EXTENSION 281 m_iMaxRefPicNum += 1; // it should be updated if more than 1 resampling picture is used 282 #endif 283 281 284 282 if (m_cListPic.size() < (UInt)m_iMaxRefPicNum) 285 283 { … … 2370 2368 Window defaultDisplayWindow = pcSPS->getVuiParametersPresentFlag() ? pcSPS->getVuiParameters()->getDefaultDisplayWindow() : Window(); 2371 2369 2372 for( Int temporalLayer=0; temporalLayer < MAX_TLAYER; temporalLayer++) 2373 { 2374 #if USE_DPB_SIZE_TABLE 2375 if( getCommonDecoderParams()->getTargetOutputLayerSetIdx() == 0 ) 2370 for( Int temporalLayer=0; temporalLayer < MAX_TLAYER; temporalLayer++ ) 2371 { 2372 if( m_commonDecoderParams->getTargetOutputLayerSetIdx() == 0 ) 2376 2373 { 2377 2374 assert( this->getLayerId() == 0 ); … … 2384 2381 numReorderPics[temporalLayer] = vps->getMaxVpsNumReorderPics( getCommonDecoderParams()->getTargetOutputLayerSetIdx() , temporalLayer); 2385 2382 } 2386 #else2387 numReorderPics[temporalLayer] = pcSPS->getNumReorderPics(temporalLayer);2388 #endif2389 2383 } 2390 2384
Note: See TracChangeset for help on using the changeset viewer.