Ignore:
Timestamp:
19 Jun 2013, 03:08:33 (11 years ago)
Author:
seregin
Message:

fix reference layer idc for inter-layer motion prediction

File:
1 edited

Legend:

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

    r292 r295  
    30643064  {
    30653065    UInt refLayerIdc = pcSlice->getInterLayerPredLayerIdc(i);
    3066     if (m_pcEncTop->getMotionPredEnabledFlag(refLayerIdc))
     3066    if( m_pcEncTop->getMotionPredEnabledFlag( pcSlice->getVPS()->getRefLayerId( m_layerId, refLayerIdc ) ) )
    30673067    {
    30683068      if (activeMotionPredReflayerIdx == pcSlice->getColRefLayerIdx())
    30693069      {
    3070         ilpPic = m_pcEncTop->getIlpList()[i];
     3070        ilpPic = m_pcEncTop->getIlpList()[refLayerIdc];
    30713071        break;
    30723072      }
Note: See TracChangeset for help on using the changeset viewer.