Ignore:
Timestamp:
31 Jan 2013, 03:48:51 (11 years ago)
Author:
mediatek-htm
Message:

Implementation of C0138
Added macro "MTK_MDIVRP_C0138"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-5.1-dev2-Mediatek/source/Lib/TLibDecoder/TDecCu.cpp

    r189 r244  
    400400    }
    401401#endif
    402 #if HHI_INTER_VIEW_RESIDUAL_PRED
     402#if HHI_INTER_VIEW_RESIDUAL_PRED && !MTK_MDIVRP_C0138
    403403    m_pcEntropyDecoder->decodeResPredFlag( pcCU, uiAbsPartIdx, uiDepth, m_ppcCU[uiDepth], 0 );
    404404#endif
     
    452452#endif
    453453
    454 #if HHI_INTER_VIEW_RESIDUAL_PRED
     454#if HHI_INTER_VIEW_RESIDUAL_PRED && !MTK_MDIVRP_C0138
    455455  if( !pcCU->isIntra( uiAbsPartIdx ) )
    456456  {
     
    660660  m_pcPrediction->motionCompensation( pcCU, m_ppcYuvReco[uiDepth] );
    661661 
     662#if MTK_MDIVRP_C0138
     663  if (pcCU->getMergeFlag(0) && pcCU->getMergeIndex(0)==0 && pcCU->getResPredAvail(0))
     664  {
     665    m_pcPrediction->residualPrediction(pcCU, m_ppcYuvReco[uiDepth], m_ppcYuvResPred[uiDepth]);
     666  }
     667#endif
     668
    662669#if HHI_MPI
    663670  if( pcCU->getTextureModeDepth( 0 ) != -1 )
     
    665672#endif
    666673
    667 #if HHI_INTER_VIEW_RESIDUAL_PRED
     674#if HHI_INTER_VIEW_RESIDUAL_PRED && !MTK_MDIVRP_C0138
    668675  if( pcCU->getResPredFlag( 0 ) )
    669676  {
     
    696703  {
    697704#if HHI_INTER_VIEW_RESIDUAL_PRED
     705#if MTK_MDIVRP_C0138
     706    if (pcCU->getMergeFlag(0) && pcCU->getMergeIndex(0)==0 && pcCU->getResPredAvail(0))
     707#else
    698708    if( pcCU->getResPredFlag( 0 ) )
     709#endif
    699710    {
    700711      m_ppcYuvReco[uiDepth]->clip( pcCU->getWidth( 0 ), pcCU->getHeight( 0 ) );
Note: See TracChangeset for help on using the changeset viewer.