Changeset 732 in SHVCSoftware for branches/SHM-6-dev/source/App


Ignore:
Timestamp:
24 Apr 2014, 02:16:43 (11 years ago)
Author:
qualcomm
Message:

JCTVC-Q0154: Remove sharing of sub-DPBs across layers

Remove sharing of sub-DPB, and the processes related to early marking of inter-layer reference pictures. This patch include, in addition to other related changes, the following:

  1. Disabling macro RESOLUTION_BASED_DPB
  2. Disabling macro EARLY_REF_PIC_MARKING

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/App/TAppDecoder/TAppDecTop.cpp

    r711 r732  
    12921292  {
    12931293    targetLsIdx = vps->getOutputLayerSetIdx( getCommonDecoderParams()->getTargetOutputLayerSetIdx() );
     1294#if RESOLUTION_BASED_DPB
    12941295    subDpbIdx   = vps->getSubDpbAssigned( targetLsIdx, layerIdx );
     1296#else
     1297    subDpbIdx = layerIdx;
     1298#endif
    12951299  }
    12961300  // Assume that listOfPocs is sorted in increasing order - if not have to sort it.
     
    14371441    for(Int i = 0; i < vps->getNumLayersInIdList( targetLsIdx ); i++)
    14381442    {
     1443#if RESOUTION_BASED_DPB
    14391444      maxDpbLimit.m_numPicsInLayer[i] = vps->getMaxVpsLayerDecPicBuffMinus1( targetOutputLsIdx, i, highestTId ) + 1;
    14401445      maxDpbLimit.m_numPicsInSubDpb[vps->getSubDpbAssigned( targetLsIdx, i )] = vps->getMaxVpsDecPicBufferingMinus1( targetOutputLsIdx, vps->getSubDpbAssigned( targetLsIdx, i ), highestTId) + 1;
     1446#else
     1447      maxDpbLimit.m_numPicsInSubDpb[i] = vps->getMaxVpsDecPicBufferingMinus1( targetOutputLsIdx, i, highestTId) + 1;
     1448#endif
    14411449    }
    14421450    // -------------------------------------
     
    14721480  retVal |= ( dpbStatus.m_numPicsInSubDpb[subDpbIdx] >= dpbLimit.m_numPicsInSubDpb[subDpbIdx] );
    14731481 
     1482#if RESOLUTION_BASED_DPB
    14741483  // Number of pictures in each layer
    14751484  retVal |= ( dpbStatus.m_numPicsInLayer[layerIdx] >= dpbLimit.m_numPicsInLayer[layerIdx]);
     1485#endif
    14761486
    14771487  return retVal;
     
    15501560  {
    15511561    dpbStatus.m_numPicsNotDisplayedInLayer[i] = listOfPocsInEachLayer[i].size();
     1562#if RESOLUTION_BASED_DPB
    15521563    dpbStatus.m_numPicsInSubDpb[vps->getSubDpbAssigned(targetLsIdx,i)] += dpbStatus.m_numPicsInLayer[i];
     1564#else
     1565    dpbStatus.m_numPicsInSubDpb[i] += dpbStatus.m_numPicsInLayer[i];
     1566#endif
    15531567  }
    15541568  assert( dpbStatus.m_numAUsNotDisplayed != -1 );
Note: See TracChangeset for help on using the changeset viewer.