Ignore:
Timestamp:
15 Jul 2015, 14:57:32 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev2@1277.

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  
    311311  m_bUseEstimatedVSD        = false;
    312312#endif
    313 #if H_3D_DBBP
     313#if NH_3D_DBBP
    314314  m_bUseMask                = false;
    315315#endif
     
    340340  rcDistParam.DistFunc = m_afpDistortFunc[eDFunc + g_aucConvertToBit[ rcDistParam.iCols ] + 1 ];
    341341
    342 #if H_3D_DBBP
     342#if NH_3D_DBBP
    343343  if( m_bUseMask )
    344344  {
     
    397397  }
    398398
    399 #if H_3D_DBBP
     399#if NH_3D_DBBP
    400400  if( m_bUseMask )
    401401  {
     
    446446  }
    447447
    448 #if H_3D_DBBP
     448#if NH_3D_DBBP
    449449  if( m_bUseMask )
    450450  {
     
    468468  rcDP.bitDepth   = bitDepth;
    469469  rcDP.DistFunc   = m_afpDistortFunc[ ( bHadamard ? DF_HADS : DF_SADS ) + g_aucConvertToBit[ iWidth ] + 1 ];
    470 #if H_3D_DBBP
     470#if NH_3D_DBBP
    471471  if( m_bUseMask )
    472472  {
     
    561561  cDtParam.bitDepth     = bitDepth;
    562562
    563 #if H_3D_IC
     563#if NH_3D_IC
    564564  cDtParam.bUseIC       = false;
    565565#endif
     
    602602  cDtParam.bitDepth   = bitDepth;
    603603
     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
    604611  Dist dist = cDtParam.DistFunc( &cDtParam );
    605612
     
    648655// ====================================================================================================================
    649656
    650 #if H_3D_DBBP
     657#if NH_3D_DBBP
    651658// --------------------------------------------------------------------------------------------------------------------
    652659// Masked distortion functions
     
    689696 
    690697  AOF(!pcDtParam->bApplyWeight);
    691 #if H_3D_IC
     698#if NH_3D_IC
    692699  AOF(!pcDtParam->bUseIC);
    693700#endif
     
    763770    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    764771  }
    765 #if H_3D_IC
     772#if NH_3D_IC
    766773  if( pcDtParam->bUseIC )
    767774  {
     
    805812  }
    806813
    807 #if H_3D_IC
     814#if NH_3D_IC
    808815  if( pcDtParam->bUseIC )
    809816  {
     
    850857  }
    851858
    852 #if H_3D_IC
     859#if NH_3D_IC
    853860  if( pcDtParam->bUseIC )
    854861  {
     
    899906  }
    900907
    901 #if H_3D_IC
     908#if NH_3D_IC
    902909  if( pcDtParam->bUseIC )
    903910  {
     
    955962    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    956963  }
    957 #if H_3D_IC
     964#if NH_3D_IC
    958965  if( pcDtParam->bUseIC )
    959966  {
     
    10031010Distortion TComRdCost::xGetSAD16N( DistParam* pcDtParam )
    10041011{
    1005 #if H_3D_IC
     1012#if NH_3D_IC
    10061013  if( pcDtParam->bUseIC )
    10071014  {
     
    10631070  }
    10641071
    1065 #if H_3D_IC
     1072#if NH_3D_IC
    10661073  if( pcDtParam->bUseIC )
    10671074  {
     
    11361143  }
    11371144
    1138 #if H_3D_IC
     1145#if NH_3D_IC
    11391146  if( pcDtParam->bUseIC )
    11401147  {
     
    12011208  }
    12021209
    1203 #if H_3D_IC
     1210#if NH_3D_IC
    12041211  if( pcDtParam->bUseIC )
    12051212  {
     
    13051312    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    13061313  }
    1307 #if H_3D_IC
     1314#if NH_3D_IC
    13081315  if( pcDtParam->bUseIC )
    13091316  {
     
    13881395
    13891396
    1390 #if H_3D_IC || H_3D_INTER_SDC
     1397#if NH_3D_IC || H_3D_INTER_SDC
    13911398UInt TComRdCost::xGetSADic( DistParam* pcDtParam )
    13921399{
    13931400  if ( pcDtParam->bApplyWeight )
    13941401  {
    1395     return xGetSADw( pcDtParam );
     1402    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    13961403  }
    13971404  Pel* piOrg   = pcDtParam->pOrg;
     
    14411448  if ( pcDtParam->bApplyWeight )
    14421449  {
    1443     return xGetSADw( pcDtParam );
     1450    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    14441451  }
    14451452  Pel* piOrg   = pcDtParam->pOrg;
     
    14981505  if ( pcDtParam->bApplyWeight )
    14991506  {
    1500     return xGetSADw( pcDtParam );
     1507    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    15011508  }
    15021509  Pel* piOrg      = pcDtParam->pOrg;
     
    15671574  if ( pcDtParam->bApplyWeight )
    15681575  {
    1569     return xGetSADw( pcDtParam );
     1576    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    15701577  }
    15711578  Pel* piOrg   = pcDtParam->pOrg;
     
    16601667  if ( pcDtParam->bApplyWeight )
    16611668  {
    1662     return xGetSADw( pcDtParam );
     1669    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    16631670  }
    16641671  Pel* piOrg   = pcDtParam->pOrg;
     
    18351842  if ( pcDtParam->bApplyWeight )
    18361843  {
    1837     return xGetSADw( pcDtParam );
     1844    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    18381845  }
    18391846  Pel* piOrg   = pcDtParam->pOrg;
     
    19771984  if ( pcDtParam->bApplyWeight )
    19781985  {
    1979     return xGetSADw( pcDtParam );
     1986    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    19801987  }
    19811988  Pel* piOrg   = pcDtParam->pOrg;
     
    20942101  if ( pcDtParam->bApplyWeight )
    20952102  {
    2096     return xGetSADw( pcDtParam );
     2103    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    20972104  }
    20982105  Pel* piOrg   = pcDtParam->pOrg;
     
    23322339  if ( pcDtParam->bApplyWeight )
    23332340  {
    2334     return xGetSADw( pcDtParam );
     2341    return TComRdCostWeightPrediction::xGetSADw( pcDtParam );
    23352342  }
    23362343
     
    33273334    return TComRdCostWeightPrediction::xGetHADsw( pcDtParam );
    33283335  }
    3329 #if H_3D_IC
     3336#if NH_3D_IC
    33303337  if( pcDtParam->bUseIC )
    33313338  {
     
    34033410}
    34043411
    3405 #if H_3D_IC || H_3D_INTER_SDC
     3412#if NH_3D_IC || H_3D_INTER_SDC
    34063413UInt TComRdCost::xGetHADsic( DistParam* pcDtParam )
    34073414{
    34083415  if ( pcDtParam->bApplyWeight )
    34093416  {
    3410     return xGetHADsw( pcDtParam );
     3417    return TComRdCostWeightPrediction::xGetHADsw( pcDtParam );
    34113418  }
    34123419  Pel* piOrg   = pcDtParam->pOrg;
Note: See TracChangeset for help on using the changeset viewer.