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


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/App/TAppEncoder/TAppEncTop.cpp

    r577 r579  
    11811181  for(i = 1; i < vps->getNumOutputLayerSets(); i++)
    11821182  {
     1183#if CHANGE_NUMSUBDPB_IDX
     1184    Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx( i );
     1185#endif
    11831186    Int layerSetId = vps->getOutputLayerSetIdx(i);
    11841187
     
    11911194
    11921195      Int maxNumReorderPics = -1;
     1196#if CHANGE_NUMSUBDPB_IDX
     1197      for(Int k = 0; k < vps->getNumSubDpbs(layerSetIdxForOutputLayerSet); k++)
     1198#else
    11931199      for(Int k = 0; k < vps->getNumSubDpbs(i); k++)
     1200#endif
    11941201      {
    11951202        Int layerId = vps->getLayerSetLayerIdList(layerSetId, k); // k-th layer in the output layer set
     
    12081215                                      // then will be continue to be false - i.e. the j-th sub-layer DPB info is not signaled
    12091216        checkFlagInner[j] |= ( maxNumReorderPics != vps->getMaxVpsNumReorderPics(i, j - 1) );
     1217#if CHANGE_NUMSUBDPB_IDX
     1218        for(Int k = 0; k < vps->getNumSubDpbs(layerSetIdxForOutputLayerSet) && !checkFlagInner[j]; k++)  // If checkFlagInner[j] is true, break and signal the values
     1219#else
    12101220        for(Int k = 0; k < vps->getNumSubDpbs(i) && !checkFlagInner[j]; k++)  // If checkFlagInner[j] is true, break and signal the values
     1221#endif
    12111222        {
    12121223          checkFlagInner[j] |= ( vps->getMaxVpsDecPicBufferingMinus1(i, k, j - 1) != vps->getMaxVpsDecPicBufferingMinus1(i, k, j) );
Note: See TracChangeset for help on using the changeset viewer.