Changeset 537 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecTop.cpp
- Timestamp:
- 13 Jul 2013, 15:51:26 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecTop.cpp
r534 r537 441 441 } 442 442 443 #if L0323_DPB 444 m_iMaxRefPicNum = pcSlice->getSPS()->getMaxDecPicBuffering(pcSlice->getTLayer())+pcSlice->getSPS()->getNumReorderPics(pcSlice->getTLayer()); // m_uiMaxDecPicBuffering has the space for the picture currently being decoded 445 #else 446 m_iMaxRefPicNum = pcSlice->getSPS()->getMaxDecPicBuffering(pcSlice->getTLayer())+pcSlice->getSPS()->getNumReorderPics(pcSlice->getTLayer()) + 1; // +1 to have space for the picture currently being decoded 447 #endif 443 m_iMaxRefPicNum = pcSlice->getSPS()->getMaxDecPicBuffering(pcSlice->getTLayer()); // m_uiMaxDecPicBuffering has the space for the picture currently being decoded 448 444 if (m_cListPic.size() < (UInt)m_iMaxRefPicNum) 449 445 { … … 964 960 //--------------- 965 961 pcSlice->setRefPOCList(); 966 #if !L0034_COMBINED_LIST_CLEANUP967 pcSlice->setNoBackPredFlag( false );968 if ( pcSlice->getSliceType() == B_SLICE )969 {970 if ( pcSlice->getNumRefIdx(RefPicList( 0 ) ) == pcSlice->getNumRefIdx(RefPicList( 1 ) ) )971 {972 pcSlice->setNoBackPredFlag( true );973 for ( i=0; i < pcSlice->getNumRefIdx(RefPicList( 1 ) ); i++ )974 {975 if ( pcSlice->getRefPOC(RefPicList(1), i) != pcSlice->getRefPOC(RefPicList(0), i) )976 {977 pcSlice->setNoBackPredFlag( false );978 break;979 }980 }981 }982 }983 #endif984 962 #if H_3D_TMVP 985 963 if(pcSlice->getLayerId())
Note: See TracChangeset for help on using the changeset viewer.