Changeset 139 in SHVCSoftware for branches


Ignore:
Timestamp:
2 May 2013, 17:43:09 (12 years ago)
Author:
seregin
Message:

INTRA_BL_CTX_CHANGE: Depth dependent IntraBL context (M0075), patch provided by Tomoyuki Yamamoto <yamamoto.tomoyuki@…>

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TComDataCU.cpp

    r137 r139  
    18021802UInt TComDataCU::getCtxIntraBLFlag( UInt uiAbsPartIdx )
    18031803{
     1804#if INTRA_BL_CTX_CHANGE
     1805  Int cuDepth = getDepth(uiAbsPartIdx);
     1806  Int maxCuDepth = g_uiMaxCUDepth - g_uiAddCUDepth;
     1807  UInt uiCtx = (maxCuDepth==3 && cuDepth > 0) ? (cuDepth - 1) : cuDepth;
     1808  return uiCtx;
     1809#else
    18041810  TComDataCU* pcTempCU;
    18051811  UInt        uiTempPartIdx;
     
    18241830 
    18251831  return uiCtx;
     1832#endif
    18261833}
    18271834#endif
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h

    r137 r139  
    101101#define NO_RESIDUAL_FLAG_FOR_BLPRED      1      ///< L0437: Root cbf for Intra_BL
    102102#define IL_MRG_SIMPLIFIED_PRUNING        1      ///< M0124: simplified pruning, Only the left and above candidates are checked with BL-C candidate for redundancy removal
     103#define INTRA_BL_CTX_CHANGE              1      ///< M0075: spatial dependency removal for IntraBL flag context derivation
    103104
    104105// Hooks
Note: See TracChangeset for help on using the changeset viewer.