- Timestamp:
- 2 May 2013, 17:43:09 (12 years ago)
- 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 1802 1802 UInt TComDataCU::getCtxIntraBLFlag( UInt uiAbsPartIdx ) 1803 1803 { 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 1804 1810 TComDataCU* pcTempCU; 1805 1811 UInt uiTempPartIdx; … … 1824 1830 1825 1831 return uiCtx; 1832 #endif 1826 1833 } 1827 1834 #endif -
branches/SHM-2.0-dev/source/Lib/TLibCommon/TypeDef.h
r137 r139 101 101 #define NO_RESIDUAL_FLAG_FOR_BLPRED 1 ///< L0437: Root cbf for Intra_BL 102 102 #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 103 104 104 105 // Hooks
Note: See TracChangeset for help on using the changeset viewer.