Changeset 296 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
- Timestamp:
- 20 Feb 2013, 22:07:43 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
r56 r296 52 52 #define SAO_BO_BITS 5 53 53 #define LUMA_GROUP_NUM (1<<SAO_BO_BITS) 54 #if SAO_UNIT_INTERLEAVING55 54 #define MAX_NUM_SAO_OFFSETS 4 56 55 #define MAX_NUM_SAO_CLASS 33 57 #else58 #define MAX_NUM_SAO_CLASS 3259 #endif60 56 // ==================================================================================================================== 61 57 // Class definition … … 95 91 Pel *m_pClipTable; 96 92 Pel *m_pClipTableBase; 97 #if SAO_UNIT_INTERLEAVING98 93 Pel *m_lumaTableBo; 99 #else100 Pel *m_ppLumaTableBo0;101 Pel *m_ppLumaTableBo1;102 #endif103 94 Int *m_iUpBuff1; 104 95 Int *m_iUpBuff2; … … 115 106 Pel* m_pTmpL2; 116 107 Int* m_iLcuPartIdx; 117 #if SAO_UNIT_INTERLEAVING118 108 Int m_maxNumOffsetsPerPic; 119 109 Bool m_saoInterleavingFlag; 120 #else121 Void initTmpSaoQuadTree(SAOQTPart *psQTPart, Int iYCbCr);122 Void disableSaoOnePart(SAOQTPart *psQTPart, UInt uiPartIdx, Int iYCbCr);123 Void xSaoQt2Lcu(SAOQTPart *psQTPart,UInt uiPartIdx);124 Void convertSaoQt2Lcu(SAOQTPart *psQTPart,UInt uiPartIdx);125 Void xSaoAllPart(SAOQTPart *psQTPart, Int iYCbCr);126 #endif127 110 public: 128 111 TComSampleAdaptiveOffset (); … … 151 134 Void processSaoBlock(Pel* pDec, Pel* pRest, Int stride, Int iSaoType, UInt xPos, UInt yPos, UInt width, UInt height, Bool* pbBorderAvail); 152 135 153 #if SAO_UNIT_INTERLEAVING154 136 Void resetLcuPart(SaoLcuParam* saoLcuParam); 155 137 Void convertQT2SaoUnit(SAOParam* saoParam, UInt partIdx, Int yCbCr); … … 158 140 Void setSaoInterleavingFlag (Bool bVal) {m_saoInterleavingFlag = bVal;} 159 141 Bool getSaoInterleavingFlag () {return m_saoInterleavingFlag;} 160 #endif161 142 }; 162 143
Note: See TracChangeset for help on using the changeset viewer.