Changeset 145 in 3DVCSoftware for branches/HTM-4.1-dev2-LG/source/Lib


Ignore:
Timestamp:
22 Oct 2012, 03:26:52 (12 years ago)
Author:
lg
Message:

JCT3V-B0131 with macro LGE_WVSO_A0119 (LG)

Location:
branches/HTM-4.1-dev2-LG/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.1-dev2-LG/source/Lib/TLibCommon/TypeDef.h

    r128 r145  
    101101#define SAIT_VSO_EST_A0033                1 // JCT2-A0033 modification 3
    102102#define LGE_VSO_EARLY_SKIP_A0093          1 // JCT2-A0093 modification 4
    103 #define LGE_WVSO_A0119                    1 // JCT2-A0119 Depth Metric with a weighted depth fidelity term
     103#define LGE_WVSO_A0119                    1 // JCT2-A0119 & JCT3V-B0131 Depth Metric with a weighted depth fidelity term
    104104
    105105#define OL_DEPTHLIMIT_A0044               1 //JCT2-A0044
  • branches/HTM-4.1-dev2-LG/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r100 r145  
    12391239  READ_CODE( 2, uiCode, "weighted_bipred_idc" );      // Use of Bi-Directional Weighting Prediction (B_SLICE)
    12401240  pcPPS->setWPBiPredIdc( uiCode );
    1241 //printf("TDecCavlc::parsePPS():\tm_bUseWeightPred=%d\tm_uiBiPredIdc=%d\n", pcPPS->getUseWP(), pcPPS->getWPBiPredIdc());
     1241printf("TDecCavlc::parsePPS():\tm_bUseWeightPred=%d\tm_uiBiPredIdc=%d\n", pcPPS->getUseWP(), pcPPS->getWPBiPredIdc());
    12421242
    12431243#if H0388
  • branches/HTM-4.1-dev2-LG/source/Lib/TLibEncoder/TEncSearch.cpp

    r125 r145  
    19181918            if ( m_pcRdCost->getUseWVSO() )
    19191919            {   
    1920               Int iDWeight = m_pcRdCost->getDWeight();
    1921               Int iVSDWeight = m_pcRdCost->getVSDWeight();
     1920              Int iDWeight = m_pcRdCost->getDWeight() * m_pcRdCost->getDWeight();
     1921              Int iVSDWeight = m_pcRdCost->getVSDWeight() * m_pcRdCost->getVSDWeight();
    19221922              Dist iD = (Dist) m_pcRdCost->calcHAD( piOrg, uiStride, piPred, uiStride, uiWidth, uiHeight );
    19231923              uiSad = (Dist) (iDWeight * iD + iVSDWeight * uiSad) / (iDWeight + iVSDWeight);
     
    19331933            if ( m_pcRdCost->getUseWVSO() )
    19341934            {   
    1935               Int iDWeight = m_pcRdCost->getDWeight()*m_pcRdCost->getDWeight();
    1936               Int iVSDWeight = m_pcRdCost->getVSOWeight()*m_pcRdCost->getVSOWeight();
    1937               Dist iD = (Dist) m_pcRdCost->getDistPart( piOrg, uiStride, piPred, uiStride, uiWidth, uiHeight );
    1938               uiSad = (Dist) (iDWeight * iD + iVSDWeight * uiSad) / (iDWeight + iVSDWeight);
     1935              Int iDWeight = m_pcRdCost->getDWeight() * m_pcRdCost->getDWeight();
     1936              Int iVSOWeight = m_pcRdCost->getVSOWeight() * m_pcRdCost->getDWeight();
     1937              Dist iD = (Dist) m_pcRdCost->calcHAD( piOrg, uiStride, piPred, uiStride, uiWidth, uiHeight );
     1938              uiSad = (Dist) (iDWeight * iD + iVSOWeight * uiSad) / (iDWeight + iVSOWeight);
    19391939            }
    19401940#endif
Note: See TracChangeset for help on using the changeset viewer.