Changeset 613 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder
- Timestamp:
- 12 Feb 2014, 02:02:26 (12 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
-
TDecCAVLC.cpp (modified) (2 diffs)
-
TDecTop.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r610 r613 644 644 assert(uiCode <= 12); 645 645 646 UInt subLayerOrderingInfoPresentFlag; 646 #if SPS_DPB_PARAMS 647 if( pcSPS->getLayerId() == 0 ) { 648 #endif 649 UInt subLayerOrderingInfoPresentFlag; 647 650 READ_FLAG(subLayerOrderingInfoPresentFlag, "sps_sub_layer_ordering_info_present_flag"); 648 651 … … 667 670 } 668 671 } 669 672 #if SPS_DPB_PARAMS 673 } 674 else 675 { 676 for(UInt i=0; i <= pcSPS->getMaxTLayers()-1; i++) 677 { 678 pcSPS->setMaxDecPicBuffering( parameterSetManager->getPrefetchedVPS(pcSPS->getVPSId())->getMaxVpsDecPicBufferingMinus1( parameterSetManager->getPrefetchedVPS(pcSPS->getVPSId())->getTolsIdx(), pcSPS->getLayerId(), i)+1, i); 679 } 680 } 681 #endif 670 682 READ_UVLC( uiCode, "log2_min_coding_block_size_minus3" ); 671 683 Int log2MinCUSize = uiCode + 3; -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecTop.cpp
r612 r613 315 315 #else 316 316 m_iMaxRefPicNum = pcSlice->getVPS()->getMaxVpsDecPicBufferingMinus1( getCommonDecoderParams()->getTargetOutputLayerSetIdx(), pcSlice->getLayerId(), pcSlice->getTLayer() ) + 1; // m_uiMaxDecPicBuffering has the space for the picture currently being decoded 317 #endif 318 #if SPS_DPB_PARAMS 319 pcSlice->getVPS()->setTolsIdx(getCommonDecoderParams()->getTargetOutputLayerSetIdx()); 317 320 #endif 318 321 }
Note: See TracChangeset for help on using the changeset viewer.