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


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/TLibEncoder/TEncCavlc.cpp

    r578 r579  
    12181218  for(Int i = 1; i < vps->getNumOutputLayerSets(); i++)
    12191219  {
     1220#if CHANGE_NUMSUBDPB_IDX
     1221    Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx( i );
     1222#endif
    12201223    WRITE_FLAG( vps->getSubLayerFlagInfoPresentFlag( i ), "sub_layer_flag_info_present_flag[i]"); 
    12211224    for(Int j = 0; j < vps->getMaxTLayers(); j++)
     
    12271230      if( vps->getSubLayerDpbInfoPresentFlag(i, j) )
    12281231      {
     1232#if CHANGE_NUMSUBDPB_IDX
     1233        for(Int k = 0; k < vps->getNumSubDpbs(layerSetIdxForOutputLayerSet); k++)
     1234#else
    12291235        for(Int k = 0; k < vps->getNumSubDpbs(i); k++)
     1236#endif
    12301237        {
    12311238          WRITE_UVLC( vps->getMaxVpsDecPicBufferingMinus1( i, k, j), "max_vps_dec_pic_buffering_minus1[i][k][j]" );
Note: See TracChangeset for help on using the changeset viewer.