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


Ignore:
Timestamp:
11 Feb 2014, 23:53:38 (12 years ago)
Author:
qualcomm
Message:

JCTVC-P0192: Aligned bumping of sub-DPBs (MACRO: ALIGNED_BUMPING)

Added support to align the bumping process across layers in an access unit, and also clearly invoke the bumping process as given in Annex C. Support for NoOutputOfPriorPicsFlag will be added in a later patch.

From: Adarsh K. Ramasubramonian <aramasub@…>

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-5.1-dev/source/Lib/TLibCommon/TypeDef.h

    r604 r612  
    5858#define CHANGE_NUMSUBDPB_IDX             1      ///< Change index of NumSubDpb from output layer set to layer set, to be more aligned with the Spec
    5959#define RESOLUTION_BASED_DPB             1      ///< JCTVC-P0192: Assign layers to sub-DPBs based on the rep_format() signaled in the VPS
     60#define ALIGNED_BUMPING                  1      ///< JCTVC-P0192: Align bumping of pictures in an AU
     61#define MAX_SUBDPBS                      MAX_LAYERS
    6062#define SUB_BITSTREAM_PROPERTY_SEI       1      ///< JCTVC-P0204: Sub-bitstream property SEI message
    6163#if SUB_BITSTREAM_PROPERTY_SEI
  • branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r609 r612  
    876876#if SVC_EXTENSION
    877877  bNewPOC = (m_apcSlicePilot->getPOC()!= m_prevPOC);
     878#if ALIGNED_BUMPING
     879  if (bNewPOC || m_layerId!=m_uiPrevLayerId)
     880  {
     881    m_apcSlicePilot->applyReferencePictureSet(m_cListPic, m_apcSlicePilot->getRPS());
     882  }
     883#endif
    878884  if (m_apcSlicePilot->isNextSlice() && (bNewPOC || m_layerId!=m_uiPrevLayerId) && !m_bFirstSliceInSequence )
    879885  {
     
    11401146    // Buffer initialize for prediction.
    11411147    m_cPrediction.initTempBuff();
     1148#if !ALIGNED_BUMPING
    11421149    m_apcSlicePilot->applyReferencePictureSet(m_cListPic, m_apcSlicePilot->getRPS());
     1150#endif
    11431151    //  Get a new picture buffer
    11441152    xGetNewPicBuffer (m_apcSlicePilot, pcPic);
Note: See TracChangeset for help on using the changeset viewer.