Ignore:
Timestamp:
5 Jun 2013, 03:48:35 (11 years ago)
Author:
seregin
Message:

reference layers setting and related

File:
1 edited

Legend:

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

    r253 r259  
    458458    if (rpcBestCU->getLayerId() > 0)
    459459    {
    460       // the right reference layerIdc should be specified, currently it is set to 0
    461       if (rpcBestCU->getSlice()->getBaseColPic(0)->getSlice(0)->getSliceType() == I_SLICE)
     460      TComList<TComPic*> *cListPic = m_ppcTEncTop[rpcBestCU->getLayerId()]->getRefLayerEnc(rpcBestCU->getLayerId()-1)->getListPic();
     461      TComPic* picLowerLayer = pcSlice->getRefPic( *cListPic, pcSlice->getPOC() );
     462      if(picLowerLayer->getSlice(0)->getSliceType() == I_SLICE)
    462463      {
    463464        testInter = false;
Note: See TracChangeset for help on using the changeset viewer.