Changeset 1153 in 3DVCSoftware
- Timestamp:
- 27 Feb 2015, 09:17:57 (10 years ago)
- Location:
- branches/HTM-13.1-dev1-RWTH/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-13.1-dev1-RWTH/source/Lib/TLibCommon/TComRdCost.cpp
r884 r1153 341 341 else if( eDFunc >= DF_HADS && eDFunc <= DF_HADS16N ) 342 342 { 343 #if !RWTH_DBBP_NO_SATD_K0028 343 344 rcDistParam.DistFunc = TComRdCost::xGetMaskedHADs; 345 #else 346 rcDistParam.DistFunc = TComRdCost::xGetMaskedSAD; 347 #endif 344 348 } 345 349 else if( eDFunc >= DF_VSD && eDFunc <= DF_VSD16N ) … … 441 445 if( m_bUseMask ) 442 446 { 447 #if !RWTH_DBBP_NO_SATD_K0028 443 448 rcDistParam.DistFunc = (bHADME)?TComRdCost::xGetMaskedHADs:TComRdCost::xGetMaskedSAD; 449 #else 450 rcDistParam.DistFunc = TComRdCost::xGetMaskedSAD; 451 #endif 444 452 } 445 453 #endif … … 464 472 if( m_bUseMask ) 465 473 { 474 #if !RWTH_DBBP_NO_SATD_K0028 466 475 rcDP.DistFunc = (bHadamard)?TComRdCost::xGetMaskedHADs:TComRdCost::xGetMaskedSAD; 476 #else 477 rcDP.DistFunc = TComRdCost::xGetMaskedSAD; 478 #endif 467 479 } 468 480 #endif … … 717 729 } 718 730 731 #if !RWTH_DBBP_NO_SATD_K0028 719 732 UInt TComRdCost::xGetMaskedHADs( DistParam* pcDtParam ) 720 733 { … … 834 847 return uiSum >> DISTORTION_PRECISION_ADJUSTMENT(pcDtParam->bitDepth-8); 835 848 } 849 #endif 836 850 837 851 UInt TComRdCost::xGetMaskedVSD( DistParam* pcDtParam ) -
branches/HTM-13.1-dev1-RWTH/source/Lib/TLibCommon/TComRdCost.h
r872 r1153 320 320 static UInt xGetMaskedSSE ( DistParam* pcDtParam ); 321 321 static UInt xGetMaskedSAD ( DistParam* pcDtParam ); 322 #if !RWTH_DBBP_NO_SATD_K0028 322 323 static UInt xGetMaskedHADs ( DistParam* pcDtParam ); 324 #endif 323 325 static UInt xGetMaskedVSD ( DistParam* pcDtParam ); 324 326 #endif -
branches/HTM-13.1-dev1-RWTH/source/Lib/TLibCommon/TypeDef.h
r1150 r1153 69 69 70 70 #define MTK_I0093 1 71 72 #define RWTH_DBBP_NO_SATD_K0028 1 71 73 ///////////////////////////////////////////////////////////////////////////////////////// 72 74 /////////////////////////////////// MAJOR DEFINES ///////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.