Changeset 1082 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
25 Mar 2015, 06:18:24 (10 years ago)
Author:
interdigital
Message:

fix SHM ticket #78, m_ppcTEncTop is mistakenly use refLayerIdc instead of current layer idx which invokes wrong reference picture list.

File:
1 edited

Legend:

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

    r1077 r1082  
    13161316        UInt refLayerId = pcSlice->getVPS()->getRefLayerId(m_layerId, refLayerIdc);
    13171317#if VPS_EXTN_DIRECT_REF_LAYERS
    1318         TComList<TComPic*> *cListPic = m_ppcTEncTop[refLayerIdc]->getRefLayerEnc(refLayerIdc)->getListPic();
     1318        TComList<TComPic*> *cListPic = m_ppcTEncTop[pcSlice->getVPS()->getLayerIdxInVps(m_layerId)]->getRefLayerEnc(refLayerIdc)->getListPic();
    13191319#else
    13201320        TComList<TComPic*> *cListPic = m_ppcTEncTop[pcSlice->getVPS()->getLayerIdxInVps(m_layerId)-1]->getListPic();
Note: See TracChangeset for help on using the changeset viewer.