Changeset 723 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
22 Apr 2014, 19:22:47 (11 years ago)
Author:
seregin
Message:

add a check for motion prediction type of ILRP used as a collocated picture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r722 r723  
    17631763      }
    17641764    }
    1765 #endif
     1765#endif
     1766
     1767    if( m_layerId > 0 && pcSlice->getEnableTMVPFlag() )
     1768    {
     1769      TComPic* refPic = pcSlice->getRefPic(RefPicList(1 - pcSlice->getColFromL0Flag()), pcSlice->getColRefIdx());
     1770
     1771      // It is a requirement of bitstream conformance when the collocated picture, used for temporal motion vector prediction, is an inter-layer reference picture,
     1772      // VpsInterLayerMotionPredictionEnabled[ LayerIdxInVps[ currLayerId ] ][ LayerIdxInVps[ rLId ] ] shall be equal to 1, where rLId is set equal to nuh_layer_id of the inter-layer picture.
     1773      if( refPic->isILR(pcSlice->getLayerId()) )
     1774      {
     1775        assert( m_ppcTDecTop[m_layerId]->getMotionPredEnabledFlag(refPic->getLayerId()) );
     1776      }
     1777    }
    17661778#endif //SVC_EXTENSION
    17671779   
Note: See TracChangeset for help on using the changeset viewer.