Changeset 62 in 3DVCSoftware for branches/HTM-3.0-LG/source/Lib/TLibDecoder


Ignore:
Timestamp:
18 May 2012, 09:38:25 (12 years ago)
Author:
lg
Message:
 
Location:
branches/HTM-3.0-LG/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-3.0-LG/source/Lib/TLibDecoder/TDecCu.cpp

    r56 r62  
    638638    Bool bOK = pcCU->getResidualSamples( 0, m_ppcYuvResPred[uiDepth] );
    639639    AOF( bOK );
     640#if LG_RESTRICTEDRESPRED_M24766
     641        Int iPUResiPredShift[4];
     642        pcCU->getPUResiPredShift(iPUResiPredShift, 0);
     643        m_ppcYuvReco[uiDepth]->add(iPUResiPredShift, pcCU->getPartitionSize(0), m_ppcYuvResPred[uiDepth], pcCU->getWidth( 0 ), pcCU->getHeight( 0 ) );
     644#else
    640645    m_ppcYuvReco[uiDepth]->add( m_ppcYuvResPred[uiDepth], pcCU->getWidth( 0 ), pcCU->getHeight( 0 ) );
     646#endif
    641647  }
    642648#endif
  • branches/HTM-3.0-LG/source/Lib/TLibDecoder/TDecEntropy.cpp

    r56 r62  
    104104  if( bResPredAvailable )
    105105  {
     106#if LG_RESTRICTEDRESPRED_M24766
     107          Int iPUResiPredShift[4];
     108          pcCU->getPUResiPredShift(iPUResiPredShift, uiAbsPartIdx);
     109          if(iPUResiPredShift[0] >= 0 || iPUResiPredShift[1] >= 0  || iPUResiPredShift[2] >= 0  || iPUResiPredShift[3] >= 0 )
     110#endif
    106111    m_pcEntropyDecoderIf->parseResPredFlag( pcCU, bResPredFlag, uiAbsPartIdx, uiDepth );
    107112  }
Note: See TracChangeset for help on using the changeset viewer.