Ignore:
Timestamp:
2 Jun 2015, 04:45:46 (10 years ago)
Author:
sharpjp-htm
Message:

Fix uninitialized value in cDtParam.bUseIC (it happened on intra block), it affects coding results a little.
#define NH_3D_IC_FIX 1
The fixed bug is the reason why the base layer's result changes when ic is enabled.
Note: similar fix may be needed in Inter SDC (please see H_3D_INTER_SDC_FIX)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibEncoder/TEncSearch.cpp

    r1226 r1244  
    28942894      const Bool bUseHadamard=pcCU->getCUTransquantBypass(0) == 0;
    28952895      m_pcRdCost->setDistParam(distParam, sps.getBitDepth(CHANNEL_TYPE_LUMA), piOrg, uiStride, piPred, uiStride, puRect.width, puRect.height, bUseHadamard);
     2896#if NH_3D_IC_FIX
     2897      distParam.bUseIC = false;
     2898#endif
     2899#if H_3D_INTER_SDC_FIX
     2900      distParam.bUseSDCMRSAD = false;
     2901#endif
    28962902      distParam.bApplyWeight = false;
    28972903      for( Int modeIdx = 0; modeIdx < numModesAvailable; modeIdx++ )
Note: See TracChangeset for help on using the changeset viewer.