Changeset 282 in 3DVCSoftware for branches/HTM-5.1-dev1-LG-Fix/source


Ignore:
Timestamp:
16 Feb 2013, 01:58:05 (12 years ago)
Author:
lg
Message:

Bug fix of JCT3V-C0046

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

Legend:

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

    r278 r282  
    145145#define LGE_ILLUCOMP_B0045_ENCSIMP        1
    146146#define FIX_LGE_ILLUCOMP_B0045            1
    147 #define LGE_ILLUCOMP_DEPTH_C0046          0   // JCT2-C0046 Apply illumination compensation to depth
     147#define LGE_ILLUCOMP_DEPTH_C0046          1   // JCT2-C0046 Apply illumination compensation to depth
     148#if LGE_ILLUCOMP_DEPTH_C0046
     149#define FIX_ILLUCOMP_DEPTH                1
     150#endif
    148151#endif
    149152
  • branches/HTM-5.1-dev1-LG-Fix/source/Lib/TLibEncoder/TEncCu.cpp

    r253 r282  
    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-Fix/source/Lib/TLibEncoder/TEncSearch.cpp

    r268 r282  
    48294829    m_pcEntropyCoder->encodeMergeIndex( pcCU, 0, 0, true );
    48304830#if LGE_ILLUCOMP_B0045
    4831     m_pcEntropyCoder->encodeICFlag(pcCU, 0, true);
     4831    m_pcEntropyCoder->encodeICFlag(pcCU, 0, true
     4832#if FIX_ILLUCOMP_DEPTH
     4833      , pcCU->getDepth( 0 )
     4834#endif
     4835      );
    48324836#endif
    48334837#if HHI_INTER_VIEW_RESIDUAL_PRED
     
    62126216    m_pcEntropyCoder->encodeMergeIndex(pcCU, 0, 0, true);
    62136217#if LGE_ILLUCOMP_B0045
    6214     m_pcEntropyCoder->encodeICFlag(pcCU, 0, true);
     6218    m_pcEntropyCoder->encodeICFlag(pcCU, 0, true
     6219#if FIX_ILLUCOMP_DEPTH
     6220      , pcCU->getDepth( 0 )
     6221#endif
     6222      );
    62156223#endif
    62166224#if HHI_INTER_VIEW_RESIDUAL_PRED
     
    62356243    m_pcEntropyCoder->encodePredInfo( pcCU, 0, true );
    62366244#if LGE_ILLUCOMP_B0045
    6237     m_pcEntropyCoder->encodeICFlag(pcCU, 0, true);
     6245    m_pcEntropyCoder->encodeICFlag(pcCU, 0, true
     6246#if FIX_ILLUCOMP_DEPTH
     6247      , pcCU->getDepth( 0 )
     6248#endif
     6249      );
    62386250#endif
    62396251#if HHI_INTER_VIEW_RESIDUAL_PRED
Note: See TracChangeset for help on using the changeset viewer.