Changeset 613 in SHVCSoftware
- Timestamp:
- 12 Feb 2014, 02:02:26 (11 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibCommon/TComSlice.h
r610 r613 654 654 Bool m_recursiveRefLayerFlag[MAX_NUM_LAYER_IDS][MAX_NUM_LAYER_IDS]; // flag to indicate if j-th layer is a direct or indirect reference layer of i-th layer 655 655 #endif 656 #if SPS_DPB_PARAMS 657 Int m_TolsIdx; 658 #endif 656 659 #if VPS_DPB_SIZE_TABLE 657 660 Bool m_subLayerFlagInfoPresentFlag [MAX_VPS_OP_LAYER_SETS_PLUS1]; … … 745 748 TComPTL* getPTL() { return &m_pcPTL; } 746 749 TimingInfo* getTimingInfo() { return &m_timingInfo; } 750 751 #if SPS_DPB_PARAMS 752 Int getTolsIdx () { return m_TolsIdx; } 753 Void setTolsIdx ( Int value ) { m_TolsIdx = value; } 754 #endif 747 755 748 756 #if SVC_EXTENSION -
branches/SHM-5.1-dev/source/Lib/TLibCommon/TypeDef.h
r612 r613 228 228 #endif 229 229 #endif 230 #define SPS_DPB_PARAMS 1 ///< JCTVC-P0155 signaling & inferrence for sps dpb parameters for nuh_layer_id > 0 230 231 231 232 #define NO_CLRAS_OUTPUT_FLAG 1 -
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 } -
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r608 r613 496 496 WRITE_UVLC( pcSPS->getBitsForPOC()-4, "log2_max_pic_order_cnt_lsb_minus4" ); 497 497 498 #if SPS_DPB_PARAMS 499 if( pcSPS->getLayerId() == 0 ) { 500 #endif 498 501 const Bool subLayerOrderingInfoPresentFlag = 1; 499 502 WRITE_FLAG(subLayerOrderingInfoPresentFlag, "sps_sub_layer_ordering_info_present_flag"); … … 508 511 } 509 512 } 513 #if SPS_DPB_PARAMS 514 } 515 #endif 510 516 assert( pcSPS->getMaxCUWidth() == pcSPS->getMaxCUHeight() ); 511 517
Note: See TracChangeset for help on using the changeset viewer.