Changeset 195 in SHVCSoftware


Ignore:
Timestamp:
14 May 2013, 18:42:37 (12 years ago)
Author:
sharp
Message:

JCTVC-M0208 proposal 1— A restriction on inter-layer reference pictures
From Sachin Deshpande <sdeshpande@…>

Location:
branches/SHM-2.1-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-dev/source/Lib/TLibCommon/TComSlice.h

    r191 r195  
    16161616  Bool      getIdrPicFlag       ()                              { return getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_W_RADL || getNalUnitType() == NAL_UNIT_CODED_SLICE_IDR_N_LP; }
    16171617  Bool      isIRAP              () const                        { return (getNalUnitType() >= 16) && (getNalUnitType() <= 23); } 
     1618#if RESTR_CHK
     1619   Bool     isRADL() {  return (m_eNalUnitType == NAL_UNIT_CODED_SLICE_RADL_N || m_eNalUnitType == NAL_UNIT_CODED_SLICE_RADL_R); }
     1620   Bool     isRASL()   {   return (m_eNalUnitType == NAL_UNIT_CODED_SLICE_RASL_N || m_eNalUnitType == NAL_UNIT_CODED_SLICE_RASL_R); }
     1621#endif
     1622
    16181623  Void      checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, Bool& prevRAPisBLA, TComList<TComPic *>& rcListPic);
    16191624  Void      decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic);
  • branches/SHM-2.1-dev/source/Lib/TLibCommon/TypeDef.h

    r189 r195  
    7171#define ILP_DECODED_PICTURE              1      ///< M0274: use decoded picture for inter-layer prediction
    7272#define JCTVC_M0259_LAMBDAREFINEMENT     1      ///< JCTVC-M0259: lambda refinement (encoder only optimization)
     73#define RESTR_CHK                        1      ///< JCTVC-M0208 proposal 1
    7374
    7475#define REF_IDX_FRAMEWORK                1      ///< inter-layer reference framework
  • branches/SHM-2.1-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r191 r195  
    670670#endif
    671671    {
     672#if RESTR_CHK
     673      if (pcSlice->getPOC()>0  && pcSlice->isRADL()&& pcPic->getSlice(0)->isRASL())
     674      {
     675#if JCTVC_M0458_INTERLAYER_RPS_SIG
     676        pcSlice->setActiveNumILRRefIdx(0);
     677        pcSlice->setInterLayerPredEnabledFlag(0);
     678#else
     679        pcSlice->setNumILRRefIdx(0);
     680#endif
     681      }
     682#endif
    672683#if JCTVC_M0458_INTERLAYER_RPS_SIG
    673684      if( pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP && pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA )
Note: See TracChangeset for help on using the changeset viewer.