Ignore:
Timestamp:
18 May 2012, 09:38:25 (12 years ago)
Author:
lg
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-3.0-LG/source/Lib/TLibCommon/TComResidualGenerator.cpp

    r56 r62  
    335335  Pel*    pRes      = pcCUResidual->getLumaAddr();
    336336  UInt    uiLumaTrMode, uiChromaTrMode;
     337#if LG_RESTRICTEDRESPRED_M24766
     338  Int     iPUPredResiShift[4];
     339#endif
    337340  pcCU->convertTransIdx             ( 0, pcCU->getTransformIdx( 0 ), uiLumaTrMode, uiChromaTrMode );
    338341#if H0736_AVC_STYLE_QP_RANGE
     
    363366    Bool bOK = pcCU->getResidualSamples( 0, m_ppcYuvTmp[0] );
    364367    AOF( bOK );
     368#if LG_RESTRICTEDRESPRED_M24766
     369        pcCU->getPUResiPredShift(iPUPredResiShift, 0);
     370        pcCUResidual->add(iPUPredResiShift, pcCU->getPartitionSize(0), m_ppcYuvTmp[0], pcCU->getWidth( 0 ), pcCU->getHeight( 0 ) );
     371#else
    365372    pcCUResidual->add( m_ppcYuvTmp[0], pcCU->getWidth( 0 ), pcCU->getHeight( 0 ) );
     373#endif
    366374  }
    367375
Note: See TracChangeset for help on using the changeset viewer.