Changeset 443 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
- Timestamp:
- 26 May 2013, 15:41:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComSampleAdaptiveOffset.h
r296 r443 65 65 66 66 static UInt m_uiMaxDepth; 67 #if !LGE_SAO_MIGRATION_D0091 67 68 static const Int m_aiNumPartsInRow[5]; 68 69 static const Int m_aiNumPartsLevel[5]; 70 #endif 69 71 static const Int m_aiNumCulPartsLevel[5]; 70 72 static const UInt m_auiEoTable[9]; 73 #if !LGE_SAO_MIGRATION_D0091 71 74 static const UInt m_auiEoTable2D[9]; 72 75 static const UInt m_iWeightSao[MAX_NUM_SAO_TYPE]; 76 #endif 73 77 Int *m_iOffsetBo; 74 78 Int m_iOffsetEo[LUMA_GROUP_NUM]; … … 107 111 Int* m_iLcuPartIdx; 108 112 Int m_maxNumOffsetsPerPic; 113 #if LGE_SAO_MIGRATION_D0091 114 Bool m_saoLcuBoundary; 115 Bool m_saoLcuBasedOptimization; 116 117 Void xPCMRestoration (TComPic* pcPic); 118 Void xPCMCURestoration (TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth); 119 Void xPCMSampleRestoration (TComDataCU* pcCU, UInt uiAbsZorderIdx, UInt uiDepth, TextType ttText); 120 #else 109 121 Bool m_saoInterleavingFlag; 122 #endif 110 123 public: 111 124 TComSampleAdaptiveOffset (); … … 116 129 117 130 Int convertLevelRowCol2Idx(int level, int row, int col); 131 #if !LGE_SAO_MIGRATION_D0091 118 132 void convertIdx2LevelRowCol(int idx, int *level, int *row, int *col); 133 #endif 119 134 120 135 Void initSAOParam (SAOParam *pcSaoParam, Int iPartLevel, Int iPartRow, Int iPartCol, Int iParentPartIdx, Int StartCUX, Int EndCUX, Int StartCUY, Int EndCUY, Int iYCbCr); 121 136 Void allocSaoParam (SAOParam* pcSaoParam); 122 137 Void resetSAOParam (SAOParam *pcSaoParam); 138 #if LGE_SAO_MIGRATION_D0091 139 static Void freeSaoParam (SAOParam *pcSaoParam); 140 #else 123 141 Void freeSaoParam (SAOParam *pcSaoParam); 142 #endif 143 124 144 125 145 Void SAOProcess(TComPic* pcPic, SAOParam* pcSaoParam); 126 146 Void processSaoCu(Int iAddr, Int iSaoType, Int iYCbCr); 147 #if !LGE_SAO_MIGRATION_D0091 127 148 Void processSaoOnePart(SAOQTPart *psQTPart, UInt uiPartIdx, Int iYCbCr); 128 149 Void processSaoQuadTree(SAOQTPart *psQTPart, UInt uiPartIdx, Int iYCbCr); 150 #endif 129 151 Pel* getPicYuvAddr(TComPicYuv* pcPicYuv, Int iYCbCr,Int iAddr = 0); 130 152 … … 138 160 Void convertOnePart2SaoUnit(SAOParam *saoParam, UInt partIdx, Int yCbCr); 139 161 Void processSaoUnitAll(SaoLcuParam* saoLcuParam, Bool oneUnitFlag, Int yCbCr); 162 #if LGE_SAO_MIGRATION_D0091 163 Void setSaoLcuBoundary (Bool bVal) {m_saoLcuBoundary = bVal;} 164 Bool getSaoLcuBoundary () {return m_saoLcuBoundary;} 165 Void setSaoLcuBasedOptimization (Bool bVal) {m_saoLcuBasedOptimization = bVal;} 166 Bool getSaoLcuBasedOptimization () {return m_saoLcuBasedOptimization;} 167 Void resetSaoUnit(SaoLcuParam* saoUnit); 168 Void copySaoUnit(SaoLcuParam* saoUnitDst, SaoLcuParam* saoUnitSrc ); 169 Void PCMLFDisableProcess ( TComPic* pcPic); ///< interface function for ALF process 170 #else 140 171 Void setSaoInterleavingFlag (Bool bVal) {m_saoInterleavingFlag = bVal;} 141 172 Bool getSaoInterleavingFlag () {return m_saoInterleavingFlag;} 173 #endif 142 174 }; 143 175
Note: See TracChangeset for help on using the changeset viewer.