Changeset 1325 in 3DVCSoftware for branches/HTM-15.1-MV-draft-4/source/Lib/TLibEncoder/TEncSearch.h
- Timestamp:
- 7 Sep 2015, 18:40:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.1-MV-draft-4/source/Lib/TLibEncoder/TEncSearch.h
r1321 r1325 118 118 const UInt* m_puiDFilter; 119 119 120 #if NH_3D_VSO // M17121 TComYuv m_cYuvRecTemp;122 #endif123 120 // AMVP cost computation 124 121 // UInt m_auiMVPIdxCost[AMVP_MAX_NUM_CANDS+1][AMVP_MAX_NUM_CANDS]; … … 183 180 Pel resiLuma[NUMBER_OF_STORED_RESIDUAL_TYPES][MAX_CU_SIZE * MAX_CU_SIZE] 184 181 DEBUG_STRING_FN_DECLARE(sDebug) 185 #if NH_3D_ENC_DEPTH186 , Bool bOnlyIVP187 #endif188 182 ); 189 183 … … 195 189 Pel resiLuma[NUMBER_OF_STORED_RESIDUAL_TYPES][MAX_CU_SIZE * MAX_CU_SIZE] 196 190 DEBUG_STRING_FN_DECLARE(sDebug)); 197 #if NH_3D_DIS198 Void estIntraPredDIS ( TComDataCU* pcCU,199 TComYuv* pcOrgYuv,200 TComYuv* pcPredYuv,201 TComYuv* pcResiYuv,202 TComYuv* pcRecoYuv,203 UInt& ruiDistC,204 Bool bLumaOnly );205 #endif206 191 207 192 /// encoder estimation - inter prediction (non-skip) … … 212 197 TComYuv* pcRecoYuv 213 198 DEBUG_STRING_FN_DECLARE(sDebug), 214 #if NH_3D_FAST_TEXTURE_ENCODING215 Bool bFMD,216 #endif217 199 Bool bUseRes = false 218 200 #if AMP_MRG … … 230 212 Bool bSkipResidual 231 213 DEBUG_STRING_FN_DECLARE(sDebug) ); 232 #if NH_3D_SDC_INTER233 Void encodeResAndCalcRdInterSDCCU( TComDataCU* pcCU,234 TComYuv* pcOrg,235 TComYuv* pcPred,236 TComYuv* pcResi,237 TComYuv* pcRec,238 Int uiOffset,239 const UInt uiDepth );240 #endif241 214 242 215 /// set ME search range … … 277 250 Pel resiLuma[NUMBER_OF_STORED_RESIDUAL_TYPES][MAX_CU_SIZE * MAX_CU_SIZE], 278 251 const Bool checkCrossCPrediction, 279 #if NH_3D_VSO280 Dist& ruiDist,281 #else282 252 Distortion& ruiDist, 283 #endif284 253 const ComponentID compID, 285 254 TComTU &rTu 286 255 DEBUG_STRING_FN_DECLARE(sTest) 287 256 ,Int default0Save1Load2 = 0 288 #if NH_3D_ENC_DEPTH289 , Bool zeroResiFlag = false290 #endif291 257 ); 292 258 … … 295 261 TComYuv* pcResiYuv, 296 262 Pel resiLuma[NUMBER_OF_STORED_RESIDUAL_TYPES][MAX_CU_SIZE * MAX_CU_SIZE], 297 #if NH_3D_VSO298 Dist& ruiDistY,299 #else300 263 Distortion& ruiDistY, 301 #endif302 264 #if HHI_RQT_INTRA_SPEEDUP 303 265 Bool bCheckFirst, … … 306 268 TComTU &rTu 307 269 DEBUG_STRING_FN_DECLARE(sDebug) 308 #if NH_3D_ENC_DEPTH309 , Bool zeroResiFlag = false310 #endif311 270 ); 312 271 … … 335 294 TComYuv* pcResiYuv, 336 295 Pel resiLuma[NUMBER_OF_STORED_RESIDUAL_TYPES][MAX_CU_SIZE * MAX_CU_SIZE], 337 #if NH_3D_VSO338 Dist& ruiDist,339 #else340 296 Distortion& ruiDist, 341 #endif342 297 TComTU &rTu 343 298 DEBUG_STRING_FN_DECLARE(sDebug)); … … 347 302 Void xStoreIntraResultQT ( const ComponentID compID, TComTU &rTu); 348 303 Void xLoadIntraResultQT ( const ComponentID compID, TComTU &rTu); 349 #if NH_3D_DIS 350 Void xIntraCodingDIS ( TComDataCU* pcCU, UInt uiAbsPartIdx, TComYuv* pcOrgYuv, TComYuv* pcPredYuv, Dist& ruiDist, Double& dRDCost, UInt uiPredMode ); 351 #endif 352 353 #if NH_3D_DMM 354 // ------------------------------------------------------------------------------------------------------------------- 355 // Depth intra search 356 // ------------------------------------------------------------------------------------------------------------------- 357 358 Void xCalcBiSegDCs ( Pel* ptrSrc, UInt srcStride, Bool* biSegPattern, Int patternStride, Pel& valDC1, Pel& valDC2, Pel defaultVal, Bool subSamp = false ); 359 Void xSearchDmmDeltaDCs ( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piOrig, Pel* piPredic, UInt uiStride, Bool* biSegPattern, Int patternStride, UInt uiWidth, UInt uiHeight, Pel& rDeltaDC1, Pel& rDeltaDC2 ); 360 Void xSearchDmm1Wedge ( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piRef, UInt uiRefStride, UInt uiWidth, UInt uiHeight, UInt& ruiTabIdx ); 361 #endif 362 #if NH_3D_SDC_INTRA 363 Void xIntraCodingSDC ( TComDataCU* pcCU, UInt uiAbsPartIdx, TComYuv* pcOrgYuv, TComYuv* pcPredYuv, Dist& ruiDist, Double& dRDCost, Bool bZeroResidual, Int iSDCDeltaResi ); 364 Void xCalcConstantSDC ( Pel* ptrSrc, UInt srcStride, UInt uiSize, Pel& valDC ); 365 #endif 304 366 305 367 306 … … 416 355 UChar* uhInterDirNeighbours, 417 356 Int& numValidMergeCand 418 #if NH_3D_VSP419 , Int* vspFlag420 #endif421 #if NH_3D_SPIVMP422 , Bool* pbSPIVMPFlag, TComMvField* pcMvFieldSP, UChar* puhInterDirSP423 #endif424 357 ); 425 358 … … 512 445 513 446 Void xEncodeInterResidualQT( const ComponentID compID, TComTU &rTu ); 514 #if NH_3D_VSO // M26515 Void xEstimateInterResidualQT( TComYuv* pcResi, TComYuv* pcOrg, TComYuv* pcPred, Double &rdCost, UInt &ruiBits, Dist &ruiDist, Dist *puiZeroDist, TComTU &rTu DEBUG_STRING_FN_DECLARE(sDebug) );516 #else517 447 Void xEstimateInterResidualQT( TComYuv* pcResi , Double &rdCost, UInt &ruiBits, Distortion &ruiDist, Distortion *puiZeroDist, TComTU &rTu DEBUG_STRING_FN_DECLARE(sDebug) ); 518 #endif519 448 Void xSetInterResidualQTData( TComYuv* pcResi, Bool bSpatial, TComTU &rTu ); 520 449
Note: See TracChangeset for help on using the changeset viewer.