Changeset 318 in SHVCSoftware for branches/SHM-3.0-dev
- Timestamp:
- 2 Aug 2013, 22:10:14 (11 years ago)
- Location:
- branches/SHM-3.0-dev/source/Lib/TLibCommon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.0-dev/source/Lib/TLibCommon/TComDataCU.cpp
r317 r318 1828 1828 UInt TComDataCU::getCtxIntraBLFlag( UInt uiAbsPartIdx ) 1829 1829 { 1830 #if INTRA_BL_CTX_CHANGE1831 Int cuDepth = getDepth(uiAbsPartIdx);1832 Int maxCuDepth = g_uiMaxCUDepth - g_uiAddCUDepth;1833 UInt uiCtx = (maxCuDepth==3 && cuDepth > 0) ? (cuDepth - 1) : cuDepth;1834 return uiCtx;1835 #else1836 1830 TComDataCU* pcTempCU; 1837 1831 UInt uiTempPartIdx; … … 1856 1850 1857 1851 return uiCtx; 1858 #endif1859 1852 } 1860 1853 #endif -
branches/SHM-3.0-dev/source/Lib/TLibCommon/TypeDef.h
r317 r318 120 120 #define INTRA_BL_DST4x4 1 ///< L0067/L0204: DST4x4 for Intra BL 121 121 #define NO_RESIDUAL_FLAG_FOR_BLPRED 1 ///< L0437: Root cbf for Intra_BL 122 #define INTRA_BL_CTX_CHANGE 1 ///< M0075: spatial dependency removal for IntraBL flag context derivation123 122 124 123 #endif
Note: See TracChangeset for help on using the changeset viewer.