Changeset 104 in SHVCSoftware for branches/HM-10.0-dev-SHM/source/Lib


Ignore:
Timestamp:
2 Apr 2013, 17:24:52 (12 years ago)
Author:
interdigital
Message:

reference picture list construction bug fix for adding ILR picture to match SHM test model text.

File:
1 edited

Legend:

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

    r94 r104  
    734734    pcSlice->checkCRA(pcSlice->getRPS(), m_pocCRA, m_prevRAPisBLA );
    735735    // Set reference list
     736#if REF_LIST_BUGFIX
     737    if (m_layerId == 0)
     738    {
     739      pcSlice->setRefPicList( m_cListPic );
     740    }
     741#else
    736742    pcSlice->setRefPicList( m_cListPic );
     743#endif
    737744
    738745#if SVC_EXTENSION   
     
    780787      pcSlice->setRefPOCListILP(m_ppcTDecTop[m_layerId]->m_cIlpPic, pcSlice->getBaseColPic());
    781788#endif
    782 
     789#if REF_LIST_BUGFIX
     790      pcSlice->setRefPicListSvc( m_cListPic, m_cIlpPic);
     791#else
    783792      pcSlice->addRefPicList ( m_cIlpPic,
    784793                               1,
    785794                               ((pcSlice->getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA) &&
    786795                                (pcSlice->getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA)) ? 0: -1);
     796#endif
    787797    }
    788798#endif
Note: See TracChangeset for help on using the changeset viewer.