Changeset 726 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibDecoder
- Timestamp:
- 23 Apr 2014, 08:24:48 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r716 r726 2990 2990 #if SVC_EXTENSION && REF_IDX_MFM 2991 2991 // set motion mapping flag 2992 rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() ) ? true : false );2992 rpcSlice->setMFMEnabledFlag( ( rpcSlice->getNumMotionPredRefLayers() > 0 && rpcSlice->getActiveNumILRRefIdx() && !rpcSlice->isIntra() ) ? true : false ); 2993 2993 #endif 2994 2994 if ( rpcSlice->getSliceType() == B_SLICE ) -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecTop.cpp
r725 r726 1737 1737 if( pcSlice->getMFMEnabledFlag() ) 1738 1738 { 1739 Int refLayerId = pcSlice->getRefPic( pcSlice->getSliceType() == B_SLICE ? ( RefPicList )( 1 - pcSlice->getColFromL0Flag() ) : REF_PIC_LIST_0 , pcSlice->getColRefIdx() )->getLayerId(); 1739 TComPic* refPic = pcSlice->getRefPic( pcSlice->getSliceType() == B_SLICE ? ( RefPicList )( 1 - pcSlice->getColFromL0Flag() ) : REF_PIC_LIST_0 , pcSlice->getColRefIdx() ); 1740 1741 assert( refPic ); 1742 1743 Int refLayerId = refPic->getLayerId(); 1744 1740 1745 if( refLayerId != pcSlice->getLayerId() ) 1741 1746 { … … 1765 1770 #endif 1766 1771 1767 if( m_layerId > 0 && pcSlice->getEnableTMVPFlag() )1772 if( m_layerId > 0 && !pcSlice->isIntra() && pcSlice->getEnableTMVPFlag() ) 1768 1773 { 1769 1774 TComPic* refPic = pcSlice->getRefPic(RefPicList(1 - pcSlice->getColFromL0Flag()), pcSlice->getColRefIdx()); 1775 1776 assert( refPic ); 1770 1777 1771 1778 // It is a requirement of bitstream conformance when the collocated picture, used for temporal motion vector prediction, is an inter-layer reference picture,
Note: See TracChangeset for help on using the changeset viewer.