Changeset 1038 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
28 Feb 2015, 06:46:20 (10 years ago)
Author:
seregin
Message:

fix invocation of RefLayerWindow

Location:
branches/SHM-dev/source/Lib/TLibCommon
Files:
2 edited

Legend:

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

    r1030 r1038  
    34473447
    34483448#if REF_REGION_OFFSET
    3449   const Window &windowRL = m_pcSlice->getPPS()->getRefLayerWindow(refLayerIdc);
     3449  const Window &windowRL = m_pcSlice->getPPS()->getRefLayerWindowForLayer(baseColPic->getSlice(0)->getVPS()->getRefLayerId(getSlice()->getLayerId(), refLayerIdc));
    34503450  Int iBX = (((uiPelX - leftStartL)*g_posScalingFactor[refLayerIdc][0] + (1<<15)) >> 16) + windowRL.getWindowLeftOffset();
    34513451  Int iBY = (((uiPelY - topStartL )*g_posScalingFactor[refLayerIdc][1] + (1<<15)) >> 16) + windowRL.getWindowTopOffset();
  • branches/SHM-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp

    r1036 r1038  
    9090#endif
    9191#if REF_REGION_OFFSET
    92   const Window &windowRL = currSlice->getPPS()->getRefLayerWindow(refLayerId);
     92  const Window &windowRL = currSlice->getPPS()->getRefLayerWindowForLayer(refLayerId);
    9393#endif
    9494#else
Note: See TracChangeset for help on using the changeset viewer.