Ignore:
Timestamp:
7 Nov 2013, 08:47:42 (11 years ago)
Author:
lg
Message:

JCT3V-F0159; JCT3V-F0160
Bugfix is included. (JCT3V-F0158)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-8.2-dev3-LG/source/Lib/TLibCommon/TComDataCU.cpp

    r655 r673  
    23132313{
    23142314  UInt        uiCtx = 0;
     2315
     2316#if LGE_IC_CTX_F0160
     2317  TComDataCU* pcTempCU = NULL;
     2318  UInt        uiTempPartIdx = 0;
     2319
     2320  pcTempCU = getPULeft( uiTempPartIdx, m_uiAbsIdxInLCU + uiAbsPartIdx );
     2321  uiCtx    = ( pcTempCU ) ? pcTempCU->isIC( uiTempPartIdx ) : 0;
     2322
     2323  pcTempCU = getPUAbove( uiTempPartIdx, m_uiAbsIdxInLCU + uiAbsPartIdx );
     2324  uiCtx    += ( pcTempCU ) ? pcTempCU->isIC( uiTempPartIdx ) : 0;
     2325#endif
    23152326
    23162327  return uiCtx;
     
    45714582}
    45724583
     4584#if LGE_IC_CTX_F0160
     4585Bool TComDataCU::isIC( UInt uiPartIdx )
     4586{
     4587    if ( m_pcSlice->isIntra () )
     4588    {
     4589        return false;
     4590    }
     4591    return ( ( getSkipFlag(uiPartIdx) || getPredictionMode(uiPartIdx) == MODE_INTER) && getICFlag( uiPartIdx ) && isICFlagRequired( uiPartIdx ) );
     4592}
     4593#endif
     4594
    45734595// ====================================================================================================================
    45744596// Protected member functions
Note: See TracChangeset for help on using the changeset viewer.