Changeset 1074 in 3DVCSoftware for branches/HTM-12.1-dev0/source/Lib/TLibCommon/TComWedgelet.h
- Timestamp:
- 21 Oct 2014, 20:39:50 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.1-dev0/source/Lib/TLibCommon/TComWedgelet.h
r1039 r1074 58 58 #define DIM_NO_IDX MAX_UINT 59 59 60 #if HS_DMM_SIGNALLING_I012061 60 __inline UInt getDimType ( Int intraMode ) 62 61 { … … 64 63 return (dimType >= 0 && dimType < DIM_NUM_TYPE) ? (UInt)dimType : DIM_NO_IDX; 65 64 } 66 #else67 __inline UInt getDimType ( Int intraMode ) { Int dimType = (intraMode-DIM_OFFSET)/2; return (dimType >= 0 && dimType < DIM_NUM_TYPE) ? (UInt)dimType : DIM_NO_IDX; }68 #endif69 65 __inline Bool isDimMode ( Int intraMode ) { return (getDimType( intraMode ) < DIM_NUM_TYPE); } 70 #if !HS_DMM_SIGNALLING_I012071 __inline Bool isDimDeltaDC( Int intraMode ) { return (isDimMode( intraMode ) && ((intraMode-DIM_OFFSET)%2) == 1); }72 #endif73 66 #endif 74 67 … … 79 72 enum WedgeResolution 80 73 { 81 #if !SHARP_DMM1_I011082 DOUBLE_PEL,83 #endif84 74 FULL_PEL, 85 75 HALF_PEL … … 106 96 107 97 Bool* m_pbPattern; 108 #if SHARP_DMM1_I0110109 98 Bool* m_pbScaledPattern; 110 #endif111 99 112 100 Void xGenerateWedgePattern(); … … 134 122 Bool getIsCoarse() { return m_bIsCoarse; } 135 123 UInt getAng () { return m_uiAng; } 136 #if SHARP_DMM1_I0110137 124 Bool* getScaledPattern(UInt uiWidth); 138 #endif139 125 140 126 Void setWedgelet( UChar uhXs, UChar uhYs, UChar uhXe, UChar uhYe, UChar uhOri, WedgeResolution eWedgeRes, Bool bIsCoarse = false );
Note: See TracChangeset for help on using the changeset viewer.