Changeset 853 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 5 Aug 2014, 02:38:23 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r851 r853 1335 1335 #endif 1336 1336 1337 1337 1338 #if R0226_SLICE_TMVP 1338 1339 if ( m_apcSlicePilot->getTLayer() == 0 && m_apcSlicePilot->getEnableTMVPFlag() == 0 ) … … 1743 1744 isTff = (pictureTiming->m_picStruct == 1); 1744 1745 } 1746 1747 #if R0226_CONSTRAINT_TMVP_SEI 1748 // Check if any new temporal motion vector prediction constraints SEI has arrived 1749 SEIMessages seiTMVPConstrainsList = extractSeisByType (m_SEIs, SEI::TMVP_CONSTRAINTS); 1750 if (seiTMVPConstrainsList.size() > 0) 1751 { 1752 assert ( pcPic->getTLayer() == 0 ); //this SEI can present only for AU with Tid equal to 0 1753 SEITMVPConstrains* tmvpConstraintSEI = (SEITMVPConstrains*) *(seiTMVPConstrainsList.begin()); 1754 if ( tmvpConstraintSEI->prev_pics_not_used_flag == 1 ) 1755 { 1756 //update all pics in the DPB such that they cannot be used for TMPV ref 1757 TComList<TComPic*>::iterator iterRefPic = m_cListPic.begin(); 1758 while( iterRefPic != m_cListPic.end() ) 1759 { 1760 TComPic *refPic = *iterRefPic; 1761 if( ( refPic->getLayerId() == pcPic->getLayerId() ) && refPic->getReconMark() ) 1762 { 1763 for(Int i = refPic->getNumAllocatedSlice()-1; i >= 0; i--) 1764 { 1765 TComSlice *refSlice = refPic->getSlice(i); 1766 refSlice->setAvailableForTMVPRefFlag( false ); 1767 } 1768 } 1769 iterRefPic++; 1770 } 1771 } 1772 } 1773 #endif 1745 1774 } 1746 1775
Note: See TracChangeset for help on using the changeset viewer.