Changeset 277 in 3DVCSoftware for branches/HTM-5.1-dev1-LG/source/Lib


Ignore:
Timestamp:
14 Feb 2013, 14:49:09 (12 years ago)
Author:
lg
Message:

Bug fix of JCT3V-C0046

Location:
branches/HTM-5.1-dev1-LG/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-5.1-dev1-LG/source/Lib/TLibCommon/TypeDef.h

    r253 r277  
    142142#define FIX_LGE_ILLUCOMP_B0045            1
    143143#define LGE_ILLUCOMP_DEPTH_C0046          1   // JCT2-C0046 Apply illumination compensation to depth
     144#if LGE_ILLUCOMP_DEPTH_C0046
     145#define FIX_ILLUCOMP_DEPTH                1
     146#endif
    144147#endif
    145148
  • branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder/TEncCu.cpp

    r253 r277  
    12391239        xCheckRDCostMvInheritance( rpcBestCU, rpcTempCU, uiDepth, false, false );
    12401240        rpcTempCU->initEstData( uiDepth, iQP );
     1241#if FIX_ILLUCOMP_DEPTH
     1242        rpcTempCU->setICFlagSubParts(bICFlag, 0, 0, uiDepth);
     1243#endif
    12411244        xCheckRDCostMvInheritance( rpcBestCU, rpcTempCU, uiDepth, true, false );
    12421245        rpcTempCU->initEstData( uiDepth, iQP );
  • branches/HTM-5.1-dev1-LG/source/Lib/TLibEncoder/TEncSearch.cpp

    r251 r277  
    48254825    m_pcEntropyCoder->encodeMergeIndex( pcCU, 0, 0, true );
    48264826#if LGE_ILLUCOMP_B0045
    4827     m_pcEntropyCoder->encodeICFlag(pcCU, 0, true);
     4827    m_pcEntropyCoder->encodeICFlag(pcCU, 0, true
     4828#if FIX_ILLUCOMP_DEPTH
     4829      , pcCU->getDepth( 0 )
     4830#endif
     4831      );
    48284832#endif
    48294833#if HHI_INTER_VIEW_RESIDUAL_PRED
     
    62086212    m_pcEntropyCoder->encodeMergeIndex(pcCU, 0, 0, true);
    62096213#if LGE_ILLUCOMP_B0045
    6210     m_pcEntropyCoder->encodeICFlag(pcCU, 0, true);
     6214    m_pcEntropyCoder->encodeICFlag(pcCU, 0, true
     6215#if FIX_ILLUCOMP_DEPTH
     6216      , pcCU->getDepth( 0 )
     6217#endif
     6218      );
    62116219#endif
    62126220#if HHI_INTER_VIEW_RESIDUAL_PRED
     
    62316239    m_pcEntropyCoder->encodePredInfo( pcCU, 0, true );
    62326240#if LGE_ILLUCOMP_B0045
    6233     m_pcEntropyCoder->encodeICFlag(pcCU, 0, true);
     6241    m_pcEntropyCoder->encodeICFlag(pcCU, 0, true
     6242#if FIX_ILLUCOMP_DEPTH
     6243      , pcCU->getDepth( 0 )
     6244#endif
     6245      );
    62346246#endif
    62356247#if HHI_INTER_VIEW_RESIDUAL_PRED
Note: See TracChangeset for help on using the changeset viewer.