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

Implementation of C0138
Added macro "MTK_MDIVRP_C0138"

Location:
branches/HTM-5.1-dev2-Mediatek/source/Lib/TLibDecoder
Files:
3 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 ) );
  • branches/HTM-5.1-dev2-Mediatek/source/Lib/TLibDecoder/TDecEntropy.cpp

    r189 r244  
    100100}
    101101
    102 #if HHI_INTER_VIEW_RESIDUAL_PRED
     102#if HHI_INTER_VIEW_RESIDUAL_PRED && !MTK_MDIVRP_C0138
    103103Void
    104104TDecEntropy::decodeResPredFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU* pcSubCU, UInt uiPUIdx )
  • branches/HTM-5.1-dev2-Mediatek/source/Lib/TLibDecoder/TDecEntropy.h

    r210 r244  
    210210  Void decodeMergeFlag         ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPUIdx );
    211211  Void decodeMergeIndex        ( TComDataCU* pcSubCU, UInt uiPartIdx, UInt uiPartAddr, PartSize eCUMode, UChar* puhInterDirNeighbours, TComMvField* pcMvFieldNeighbours, UInt uiDepth );
    212 #if HHI_INTER_VIEW_RESIDUAL_PRED
     212#if HHI_INTER_VIEW_RESIDUAL_PRED && !MTK_MDIVRP_C0138
    213213  Void decodeResPredFlag       ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, TComDataCU* pcSubCU, UInt uiPUIdx );
    214214#endif
Note: See TracChangeset for help on using the changeset viewer.