Ignore:
Timestamp:
8 Jun 2013, 00:12:51 (11 years ago)
Author:
interdigital
Message:

Fast Mode bug fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.1-multilayers-dev/source/Lib/TLibEncoder/TEncCu.cpp

    r274 r278  
    458458    Bool testInter = true;
    459459    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;
    467465    }
    468466#endif
Note: See TracChangeset for help on using the changeset viewer.