Changeset 1523 in SHVCSoftware for branches/SHM-dev


Ignore:
Timestamp:
29 Jan 2016, 18:46:25 (9 years ago)
Author:
seregin
Message:

call getScaledRefLayerWindowForLayer and getRefLayerWindowForLayer from PPS at encoder side, ticket #96.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp ΒΆ

    r1522 r1523  
    16171617        }
    16181618
    1619         const Window &scalEL = m_pcEncTop->getScaledRefLayerWindowForLayer(refLayerId);
    1620         const Window &windowRL = m_pcEncTop->getRefLayerWindowForLayer(pcSlice->getVPS()->getRefLayerId(m_layerId, refLayerIdc));
     1619        const Window &scalEL = pcSlice->getPPS()->getScaledRefLayerWindowForLayer(refLayerId);
     1620        const Window &windowRL = pcSlice->getPPS()->getRefLayerWindowForLayer(pcSlice->getVPS()->getRefLayerId(m_layerId, refLayerIdc));
    16211621        Int widthBL   = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getWidth(COMPONENT_Y) - windowRL.getWindowLeftOffset() - windowRL.getWindowRightOffset();
    16221622        Int heightBL  = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec()->getHeight(COMPONENT_Y) - windowRL.getWindowTopOffset() - windowRL.getWindowBottomOffset();
Note: See TracChangeset for help on using the changeset viewer.