Changeset 613 in SHVCSoftware for branches/SHM-5.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
12 Feb 2014, 02:02:26 (12 years ago)
Author:
sharp
Message:
  1. Deshpande (Sharp) <sdeshpande@…>

JCTVC-P0155 signaling & inferrence for sps dpb parameters for nuh_layer_id > 0

Location:
branches/SHM-5.1-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r610 r613  
    644644  assert(uiCode <= 12);
    645645
    646   UInt subLayerOrderingInfoPresentFlag;
     646#if SPS_DPB_PARAMS
     647    if( pcSPS->getLayerId() == 0 )  {
     648#endif
     649    UInt subLayerOrderingInfoPresentFlag;
    647650  READ_FLAG(subLayerOrderingInfoPresentFlag, "sps_sub_layer_ordering_info_present_flag");
    648651
     
    667670    }
    668671  }
    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
    670682  READ_UVLC( uiCode, "log2_min_coding_block_size_minus3" );
    671683  Int log2MinCUSize = uiCode + 3;
  • branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r612 r613  
    315315#else
    316316    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());
    317320#endif
    318321  }
Note: See TracChangeset for help on using the changeset viewer.