Ignore:
Timestamp:
8 May 2013, 18:45:00 (12 years ago)
Author:
interdigital
Message:

converge setRefPicListSvc() into setRefPicList(),
remove REF_LIST_BUGFIX and always enable it in REF_IDX_FRAMEWORK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncGOP.cpp

    r154 r164  
    484484    pcPic->setLayerId( m_layerId );
    485485#endif
    486 
    487486    m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getSPS(), m_pcEncTop->getPPS() );
    488487    pcSlice->setLastIDR(m_iLastIDR);
     
    655654    pcSlice->setNumRefIdx(REF_PIC_LIST_1,min(m_pcCfg->getGOPEntry(iGOPid).m_numRefPicsActive,pcSlice->getRPS()->getNumberOfPictures()));
    656655
    657 #if REF_LIST_BUGFIX
     656#if REF_IDX_FRAMEWORK
    658657    if(m_layerId > 0)
    659658    {
     
    704703
    705704    //  Set reference list
    706 #if REF_LIST_BUGFIX
     705#if REF_IDX_FRAMEWORK
    707706    if(m_layerId ==  0)
    708707    {
     
    723722      }
    724723#endif
    725 #if REF_LIST_BUGFIX
    726724      pcSlice->setRefPicListModificationSvc();
    727       pcSlice->setRefPicListSvc( rcListPic, m_pcEncTop->getIlpList() );
    728 #else
    729       pcSlice->addRefPicList ( m_pcEncTop->getIlpList(), 1);
    730 #endif
     725      pcSlice->setRefPicList( rcListPic, false, m_pcEncTop->getIlpList());
    731726
    732727#if REF_IDX_MFM
Note: See TracChangeset for help on using the changeset viewer.