Changeset 1244 in 3DVCSoftware


Ignore:
Timestamp:
2 Jun 2015, 04:45:46 (9 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)

Location:
branches/HTM-14.1-update-dev2-Sharp/source/Lib
Files:
3 edited

Legend:

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

    r1225 r1244  
    602602
    603603  cDtParam.bitDepth   = bitDepth;
     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
    604610
    605611  Dist dist = cDtParam.DistFunc( &cDtParam );
  • branches/HTM-14.1-update-dev2-Sharp/source/Lib/TLibCommon/TypeDef.h

    r1226 r1244  
    8585                                              // SEC_IC_NEIGHBOR_CLIP_I0080    // Clipping of neighboring sample position, JCT3V-I0080
    8686                                              // LGE_CHROMA_IC_J0050_J0034
     87#define NH_3D_IC_FIX                      1   // Fix uninitialized value in cDtParam.bUseIC (it happened on intra block)
    8788#define NH_3D_FULL_PEL_DEPTH_MAP_MV_ACC   1   // Full Pel Interpolation for Depth, HHI_FULL_PEL_DEPTH_MAP_MV_ACC
    8889
  • 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.