Changeset 1279 in 3DVCSoftware for branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComRdCost.cpp
- Timestamp:
- 15 Jul 2015, 14:57:32 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1
-
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComRdCost.cpp
r1209 r1279 311 311 m_bUseEstimatedVSD = false; 312 312 #endif 313 #if H_3D_DBBP313 #if NH_3D_DBBP 314 314 m_bUseMask = false; 315 315 #endif … … 340 340 rcDistParam.DistFunc = m_afpDistortFunc[eDFunc + g_aucConvertToBit[ rcDistParam.iCols ] + 1 ]; 341 341 342 #if H_3D_DBBP342 #if NH_3D_DBBP 343 343 if( m_bUseMask ) 344 344 { … … 397 397 } 398 398 399 #if H_3D_DBBP399 #if NH_3D_DBBP 400 400 if( m_bUseMask ) 401 401 { … … 446 446 } 447 447 448 #if H_3D_DBBP448 #if NH_3D_DBBP 449 449 if( m_bUseMask ) 450 450 { … … 468 468 rcDP.bitDepth = bitDepth; 469 469 rcDP.DistFunc = m_afpDistortFunc[ ( bHadamard ? DF_HADS : DF_SADS ) + g_aucConvertToBit[ iWidth ] + 1 ]; 470 #if H_3D_DBBP470 #if NH_3D_DBBP 471 471 if( m_bUseMask ) 472 472 { … … 561 561 cDtParam.bitDepth = bitDepth; 562 562 563 #if H_3D_IC563 #if NH_3D_IC 564 564 cDtParam.bUseIC = false; 565 565 #endif … … 602 602 cDtParam.bitDepth = bitDepth; 603 603 604 #if NH_3D_IC_FIX 605 cDtParam.bUseIC = false; 606 #endif 607 #if H_3D_INTER_SDC_FIX 608 cDtParam.bUseSDCMRSAD = false; 609 #endif 610 604 611 Dist dist = cDtParam.DistFunc( &cDtParam ); 605 612 … … 648 655 // ==================================================================================================================== 649 656 650 #if H_3D_DBBP657 #if NH_3D_DBBP 651 658 // -------------------------------------------------------------------------------------------------------------------- 652 659 // Masked distortion functions … … 689 696 690 697 AOF(!pcDtParam->bApplyWeight); 691 #if H_3D_IC698 #if NH_3D_IC 692 699 AOF(!pcDtParam->bUseIC); 693 700 #endif … … 763 770 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 764 771 } 765 #if H_3D_IC772 #if NH_3D_IC 766 773 if( pcDtParam->bUseIC ) 767 774 { … … 805 812 } 806 813 807 #if H_3D_IC814 #if NH_3D_IC 808 815 if( pcDtParam->bUseIC ) 809 816 { … … 850 857 } 851 858 852 #if H_3D_IC859 #if NH_3D_IC 853 860 if( pcDtParam->bUseIC ) 854 861 { … … 899 906 } 900 907 901 #if H_3D_IC908 #if NH_3D_IC 902 909 if( pcDtParam->bUseIC ) 903 910 { … … 955 962 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 956 963 } 957 #if H_3D_IC964 #if NH_3D_IC 958 965 if( pcDtParam->bUseIC ) 959 966 { … … 1003 1010 Distortion TComRdCost::xGetSAD16N( DistParam* pcDtParam ) 1004 1011 { 1005 #if H_3D_IC1012 #if NH_3D_IC 1006 1013 if( pcDtParam->bUseIC ) 1007 1014 { … … 1063 1070 } 1064 1071 1065 #if H_3D_IC1072 #if NH_3D_IC 1066 1073 if( pcDtParam->bUseIC ) 1067 1074 { … … 1136 1143 } 1137 1144 1138 #if H_3D_IC1145 #if NH_3D_IC 1139 1146 if( pcDtParam->bUseIC ) 1140 1147 { … … 1201 1208 } 1202 1209 1203 #if H_3D_IC1210 #if NH_3D_IC 1204 1211 if( pcDtParam->bUseIC ) 1205 1212 { … … 1305 1312 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1306 1313 } 1307 #if H_3D_IC1314 #if NH_3D_IC 1308 1315 if( pcDtParam->bUseIC ) 1309 1316 { … … 1388 1395 1389 1396 1390 #if H_3D_IC || H_3D_INTER_SDC1397 #if NH_3D_IC || H_3D_INTER_SDC 1391 1398 UInt TComRdCost::xGetSADic( DistParam* pcDtParam ) 1392 1399 { 1393 1400 if ( pcDtParam->bApplyWeight ) 1394 1401 { 1395 return xGetSADw( pcDtParam );1402 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1396 1403 } 1397 1404 Pel* piOrg = pcDtParam->pOrg; … … 1441 1448 if ( pcDtParam->bApplyWeight ) 1442 1449 { 1443 return xGetSADw( pcDtParam );1450 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1444 1451 } 1445 1452 Pel* piOrg = pcDtParam->pOrg; … … 1498 1505 if ( pcDtParam->bApplyWeight ) 1499 1506 { 1500 return xGetSADw( pcDtParam );1507 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1501 1508 } 1502 1509 Pel* piOrg = pcDtParam->pOrg; … … 1567 1574 if ( pcDtParam->bApplyWeight ) 1568 1575 { 1569 return xGetSADw( pcDtParam );1576 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1570 1577 } 1571 1578 Pel* piOrg = pcDtParam->pOrg; … … 1660 1667 if ( pcDtParam->bApplyWeight ) 1661 1668 { 1662 return xGetSADw( pcDtParam );1669 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1663 1670 } 1664 1671 Pel* piOrg = pcDtParam->pOrg; … … 1835 1842 if ( pcDtParam->bApplyWeight ) 1836 1843 { 1837 return xGetSADw( pcDtParam );1844 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1838 1845 } 1839 1846 Pel* piOrg = pcDtParam->pOrg; … … 1977 1984 if ( pcDtParam->bApplyWeight ) 1978 1985 { 1979 return xGetSADw( pcDtParam );1986 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 1980 1987 } 1981 1988 Pel* piOrg = pcDtParam->pOrg; … … 2094 2101 if ( pcDtParam->bApplyWeight ) 2095 2102 { 2096 return xGetSADw( pcDtParam );2103 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 2097 2104 } 2098 2105 Pel* piOrg = pcDtParam->pOrg; … … 2332 2339 if ( pcDtParam->bApplyWeight ) 2333 2340 { 2334 return xGetSADw( pcDtParam );2341 return TComRdCostWeightPrediction::xGetSADw( pcDtParam ); 2335 2342 } 2336 2343 … … 3327 3334 return TComRdCostWeightPrediction::xGetHADsw( pcDtParam ); 3328 3335 } 3329 #if H_3D_IC3336 #if NH_3D_IC 3330 3337 if( pcDtParam->bUseIC ) 3331 3338 { … … 3403 3410 } 3404 3411 3405 #if H_3D_IC || H_3D_INTER_SDC3412 #if NH_3D_IC || H_3D_INTER_SDC 3406 3413 UInt TComRdCost::xGetHADsic( DistParam* pcDtParam ) 3407 3414 { 3408 3415 if ( pcDtParam->bApplyWeight ) 3409 3416 { 3410 return xGetHADsw( pcDtParam );3417 return TComRdCostWeightPrediction::xGetHADsw( pcDtParam ); 3411 3418 } 3412 3419 Pel* piOrg = pcDtParam->pOrg;
Note: See TracChangeset for help on using the changeset viewer.