Changeset 531 in SHVCSoftware for branches/SHM-4.1-dev/source/Lib/TLibCommon


Ignore:
Timestamp:
31 Dec 2013, 16:50:03 (11 years ago)
Author:
nokia
Message:

JCTVC-O0149: implementation of cross_layer_bla_flag

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.cpp

    r530 r531  
    114114#endif
    115115, m_bDiscardableFlag              ( false )
     116#if O0149_CROSS_LAYER_BLA_FLAG
     117, m_bCrossLayerBLAFlag            ( false )
     118#endif
    116119#endif //SVC_EXTENSION
    117120{
     
    10521055 * If the current picture has a nal_ref_idc that is not 0, it will remain marked as "used for reference".
    10531056 */
     1057#if NO_CLRAS_OUTPUT_FLAG
     1058Void TComSlice::decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag)
     1059#else
    10541060Void TComSlice::decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic)
     1061#endif
    10551062{
    10561063  TComPic*                 rpcPic;
     
    10701077      rpcPic = *(iterPic);
    10711078      rpcPic->setCurrSliceIdx(0);
     1079#if NO_CLRAS_OUTPUT_FLAG
     1080      if (noClrasOutputFlag)
     1081      {
     1082        if (rpcPic->getPOC() != pocCurr) rpcPic->getSlice(0)->setReferenced(false);  // all layers
     1083      }
     1084      else
     1085      {
     1086        if (rpcPic->getPOC() != pocCurr && rpcPic->getLayerId() == m_layerId) rpcPic->getSlice(0)->setReferenced(false);  // only current layer
     1087      }
     1088#else
    10721089      if (rpcPic->getPOC() != pocCurr) rpcPic->getSlice(0)->setReferenced(false);
     1090#endif
    10731091      iterPic++;
    10741092    }
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TComSlice.h

    r530 r531  
    18881888#endif 
    18891889  Bool        m_bDiscardableFlag;
     1890#if O0149_CROSS_LAYER_BLA_FLAG
     1891  Bool        m_bCrossLayerBLAFlag;
     1892#endif
    18901893#endif //SVC_EXTENSION
    18911894
     
    19771980  Bool      isIRAP              () const                        { return (getNalUnitType() >= 16) && (getNalUnitType() <= 23); } 
    19781981  Void      checkCRA(TComReferencePictureSet *pReferencePictureSet, Int& pocCRA, NalUnitType& associatedIRAPType, TComList<TComPic *>& rcListPic);
     1982#if NO_CLRAS_OUTPUT_FLAG
     1983  Void      decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic, Bool noClrasOutputFlag);
     1984#else
    19791985  Void      decodingRefreshMarking(Int& pocCRA, Bool& bRefreshPending, TComList<TComPic*>& rcListPic);
     1986#endif
    19801987  Void      setSliceType        ( SliceType e )                 { m_eSliceType        = e;      }
    19811988  Void      setSliceQp          ( Int i )                       { m_iSliceQp          = i;      }
     
    22042211  Bool      getDiscardableFlag  ()                           { return m_bDiscardableFlag;    }
    22052212  Void      setDiscardableFlag  (Bool b)                     { m_bDiscardableFlag = b;       }
     2213#if O0149_CROSS_LAYER_BLA_FLAG
     2214  Bool      getCrossLayerBLAFlag  ()                         { return m_bCrossLayerBLAFlag;  }
     2215  Void      setCrossLayerBLAFlag  (Bool b)                   { m_bCrossLayerBLAFlag = b;     }
     2216#endif
    22062217
    22072218#if RPL_INIT_N0316_N0082
  • branches/SHM-4.1-dev/source/Lib/TLibCommon/TypeDef.h

    r530 r531  
    207207#endif
    208208#endif
     209
     210#define NO_CLRAS_OUTPUT_FLAG             1
     211#define O0149_CROSS_LAYER_BLA_FLAG       1      ///< JCTVC-O0149: signal cross_layer_bla_flag in slice header
     212
    209213#else
    210214#define SYNTAX_OUTPUT                    0
Note: See TracChangeset for help on using the changeset viewer.