Changeset 278 in SHVCSoftware for branches/SHM-2.1-multilayers-dev/source/Lib/TLibEncoder/TEncCu.cpp
- Timestamp:
- 8 Jun 2013, 00:12:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-multilayers-dev/source/Lib/TLibEncoder/TEncCu.cpp
r274 r278 458 458 Bool testInter = true; 459 459 if (rpcBestCU->getLayerId() > 0) 460 { 461 TComList<TComPic*> *cListPic = m_ppcTEncTop[rpcBestCU->getLayerId()]->getRefLayerEnc(0)->getListPic(); 462 TComPic* picLowerLayer = pcSlice->getRefPic( *cListPic, pcSlice->getPOC() ); 463 if(picLowerLayer->getSlice(0)->getSliceType() == I_SLICE) 464 { 465 testInter = false; 466 } 460 { 461 if(pcSlice->getSliceType() == P_SLICE && pcSlice->getNumRefIdx(REF_PIC_LIST_0) == pcSlice->getActiveNumILRRefIdx()) 462 testInter = false; 463 if(pcSlice->getSliceType() == B_SLICE && pcSlice->getNumRefIdx(REF_PIC_LIST_0) == pcSlice->getActiveNumILRRefIdx() && pcSlice->getNumRefIdx(REF_PIC_LIST_1) == pcSlice->getActiveNumILRRefIdx()) 464 testInter = false; 467 465 } 468 466 #endif
Note: See TracChangeset for help on using the changeset viewer.