Ignore:
Timestamp:
13 Jul 2014, 01:29:28 (10 years ago)
Author:
seregin
Message:

set spatial flag for ILR and fix for MFM centre

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComDataCU.cpp

    r822 r827  
    34933493  TComPic* baseColPic = m_pcSlice->getBaseColPic(refLayerIdc);
    34943494
    3495   UInt uiPelX = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getWidth()  - 1, pelX + 8);
    3496   UInt uiPelY = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getHeight() - 1, pelY + 8);
     3495  UInt uiPelX = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getWidth()  - 1, pelX);
     3496  UInt uiPelY = (UInt)Clip3<UInt>(0, m_pcPic->getPicYuvRec()->getHeight() - 1, pelY);
     3497
     3498#if REF_IDX_MFM
     3499  // centre of the collocated 16x16 block for motion mapping
     3500  if( motionMapping )
     3501  {
     3502    uiPelX += 8;
     3503    uiPelY += 8;
     3504  }
     3505#endif
    34973506
    34983507#if !LAYER_CTB
Note: See TracChangeset for help on using the changeset viewer.