Changeset 1426 in SHVCSoftware for branches/SHM-dev
- Timestamp:
- 5 Aug 2015, 19:47:39 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1425 r1426 837 837 setRefLayerParams(vps); 838 838 m_apcSlicePilot->setNumMotionPredRefLayers(m_numMotionPredRefLayers); 839 840 // set motion mapping flag 841 m_apcSlicePilot->setMFMEnabledFlag( ( m_apcSlicePilot->getNumMotionPredRefLayers() > 0 && m_apcSlicePilot->getActiveNumILRRefIdx() && !m_apcSlicePilot->isIntra() ) ? true : false ); 839 842 #endif 840 843 … … 1728 1731 1729 1732 // motion field mapping constraint 1730 if( pcSlice->get NumMotionPredRefLayers() > 0 && pcSlice->getActiveNumILRRefIdx() && !pcSlice->isIntra() )1733 if( pcSlice->getMFMEnabledFlag() ) 1731 1734 { 1732 1735 TComPic* refPic = pcSlice->getRefPic( pcSlice->getSliceType() == B_SLICE ? ( RefPicList )( 1 - pcSlice->getColFromL0Flag() ) : REF_PIC_LIST_0 , pcSlice->getColRefIdx() );
Note: See TracChangeset for help on using the changeset viewer.