Changeset 579 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
29 Jan 2014, 02:55:53 (11 years ago)
Author:
qualcomm
Message:

Change indexing of NumSubDpbs (Macro: CHANGE_NUMSUBDPB_IDX)

Change indexing of NumSubDpbs from output layer set to layer set, to be aligned with the Spec.

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

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

    r578 r579  
    15901590  for(Int i = 1; i < vps->getNumOutputLayerSets(); i++)
    15911591  {
     1592#if CHANGE_NUMSUBDPB_IDX
     1593    Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx( i );
     1594#endif
    15921595    READ_FLAG( uiCode, "sub_layer_flag_info_present_flag[i]");  vps->setSubLayerFlagInfoPresentFlag( i, uiCode ? true : false );
    15931596    for(Int j = 0; j < vps->getMaxTLayers(); j++)
     
    16101613      if( vps->getSubLayerDpbInfoPresentFlag(i, j) )  // If sub-layer DPB information is present
    16111614      {
     1615#if CHANGE_NUMSUBDPB_IDX
     1616        for(Int k = 0; k < vps->getNumSubDpbs(layerSetIdxForOutputLayerSet); k++)
     1617#else
    16121618        for(Int k = 0; k < vps->getNumSubDpbs(i); k++)
     1619#endif
    16131620        {
    16141621          READ_UVLC( uiCode, "max_vps_dec_pic_buffering_minus1[i][k][j]" ); vps->setMaxVpsDecPicBufferingMinus1( i, k, j, uiCode );
Note: See TracChangeset for help on using the changeset viewer.