Changeset 295 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
19 Jun 2013, 03:08:33 (12 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/TLibDecoder/TDecTop.cpp

    r292 r295  
    14091409  {
    14101410    UInt refLayerIdc = pcSlice->getInterLayerPredLayerIdc(i);
    1411     if (getMotionPredEnabledFlag(refLayerIdc))
     1411    if( getMotionPredEnabledFlag( pcSlice->getVPS()->getRefLayerId( m_layerId, refLayerIdc ) ) )
    14121412    {
    14131413      if (activeMotionPredReflayerIdx == pcSlice->getColRefLayerIdx())
    14141414      {
    1415         ilpPic = m_cIlpPic[i];
     1415        ilpPic = m_cIlpPic[refLayerIdc];
    14161416        break;
    14171417      }
Note: See TracChangeset for help on using the changeset viewer.