Changeset 994 in 3DVCSoftware for branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TComWedgelet.h
- Timestamp:
- 15 Jul 2014, 15:44:07 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.2-dev3-HiSilicon/source/Lib/TLibCommon/TComWedgelet.h
r773 r994 58 58 #define DIM_NO_IDX MAX_UINT 59 59 60 #if HS_DMM_SIGNALLING_I0120 61 __inline UInt getDimType ( Int intraMode ) 62 { 63 Int dimType = intraMode-DIM_OFFSET; 64 return (dimType >= 0 && dimType < DIM_NUM_TYPE) ? (UInt)dimType : DIM_NO_IDX; 65 } 66 #else 60 67 __inline UInt getDimType ( Int intraMode ) { Int dimType = (intraMode-DIM_OFFSET)/2; return (dimType >= 0 && dimType < DIM_NUM_TYPE) ? (UInt)dimType : DIM_NO_IDX; } 68 #endif 61 69 __inline Bool isDimMode ( Int intraMode ) { return (getDimType( intraMode ) < DIM_NUM_TYPE); } 70 #if !HS_DMM_SIGNALLING_I0120 62 71 __inline Bool isDimDeltaDC( Int intraMode ) { return (isDimMode( intraMode ) && ((intraMode-DIM_OFFSET)%2) == 1); } 72 #endif 63 73 #endif 64 74
Note: See TracChangeset for help on using the changeset viewer.