Changeset 164 in SHVCSoftware for branches/SHM-2.0-dev/source/Lib/TLibEncoder
- Timestamp:
- 8 May 2013, 18:45:00 (12 years ago)
- 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 484 484 pcPic->setLayerId( m_layerId ); 485 485 #endif 486 487 486 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getSPS(), m_pcEncTop->getPPS() ); 488 487 pcSlice->setLastIDR(m_iLastIDR); … … 655 654 pcSlice->setNumRefIdx(REF_PIC_LIST_1,min(m_pcCfg->getGOPEntry(iGOPid).m_numRefPicsActive,pcSlice->getRPS()->getNumberOfPictures())); 656 655 657 #if REF_ LIST_BUGFIX656 #if REF_IDX_FRAMEWORK 658 657 if(m_layerId > 0) 659 658 { … … 704 703 705 704 // Set reference list 706 #if REF_ LIST_BUGFIX705 #if REF_IDX_FRAMEWORK 707 706 if(m_layerId == 0) 708 707 { … … 723 722 } 724 723 #endif 725 #if REF_LIST_BUGFIX726 724 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()); 731 726 732 727 #if REF_IDX_MFM -
branches/SHM-2.0-dev/source/Lib/TLibEncoder/TEncTop.cpp
r151 r164 294 294 if(m_cIlpPic[i]) 295 295 { 296 //m_cIlpPic[i]->setPicYuvRec(NULL);297 296 m_cIlpPic[i]->destroy(); 298 297 delete m_cIlpPic[i]; … … 845 844 } 846 845 } 847 #if REF_ LIST_BUGFIX846 #if REF_IDX_FRAMEWORK 848 847 if (!m_layerId) 849 848 { … … 1222 1221 { 1223 1222 m_cIlpPic[j] = new TComPic; 1224 //m_cIlpPic[j]->createWithOutYuv(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, &m_cSPS, true);1225 1223 #if SVC_UPSAMPLING 1226 1224 m_cIlpPic[j]->create(m_iSourceWidth, m_iSourceHeight, g_uiMaxCUWidth, g_uiMaxCUHeight, g_uiMaxCUDepth, conformanceWindow, defaultDisplayWindow, numReorderPics, &m_cSPS, true); … … 1241 1239 if(m_cIlpPic[0]) 1242 1240 { 1243 //m_cIlpPic[0]->setPicYuvRec(pcPic->getFullPelBaseRec());1244 1241 m_cIlpPic[0]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(), m_cIlpPic[0]->getPicYuvRec()); 1245 1242 m_cIlpPic[0]->getSlice(0)->setPOC(pcPic->getPOC());
Note: See TracChangeset for help on using the changeset viewer.