Changeset 164 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder


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

Location:
branches/SHM-2.0-dev/source/Lib/TLibEncoder
Files:
2 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
  • branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r151 r164  
    294294    if(m_cIlpPic[i])
    295295    {
    296       //m_cIlpPic[i]->setPicYuvRec(NULL);
    297296      m_cIlpPic[i]->destroy();
    298297      delete m_cIlpPic[i];
     
    845844    }
    846845  }
    847 #if REF_LIST_BUGFIX
     846#if REF_IDX_FRAMEWORK
    848847  if (!m_layerId)
    849848  {
     
    12221221      {
    12231222        m_cIlpPic[j] = new  TComPic;
    1224         //m_cIlpPic[j]->createWithOutYuv(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true);
    12251223#if SVC_UPSAMPLING
    12261224        m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, &m_cSPS, true);
     
    12411239  if(m_cIlpPic[0])
    12421240  {
    1243     //m_cIlpPic[0]->setPicYuvRec(pcPic->getFullPelBaseRec());
    12441241    m_cIlpPic[0]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(), m_cIlpPic[0]->getPicYuvRec());
    12451242    m_cIlpPic[0]->getSlice(0)->setPOC(pcPic->getPOC());
Note: See TracChangeset for help on using the changeset viewer.