Ignore:
Timestamp:
12 Nov 2013, 03:47:27 (11 years ago)
Author:
seregin
Message:

correct refLayerIdc for ILP derivation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncTop.cpp

    r448 r460  
    15391539#endif
    15401540
    1541 #if SVC_EXTENSION
    15421541#if !REPN_FORMAT_IN_VPS
    15431542Void TEncTop::xInitILRP()
     
    16271626}
    16281627#endif
    1629 Void TEncTop::setILRPic(TComPic *pcPic)
    1630 {
    1631   for( Int i = 0; i < pcPic->getSlice(0)->getActiveNumILRRefIdx(); i++ )
    1632   {
    1633     Int refLayerIdc = pcPic->getSlice(0)->getInterLayerPredLayerIdc(i);
    1634 
    1635     if(m_cIlpPic[refLayerIdc])
    1636     {
    1637       m_cIlpPic[refLayerIdc]->copyUpsampledPictureYuv(pcPic->getFullPelBaseRec(refLayerIdc), m_cIlpPic[refLayerIdc]->getPicYuvRec());
    1638       m_cIlpPic[refLayerIdc]->getSlice(0)->setPOC(pcPic->getPOC());
    1639       m_cIlpPic[refLayerIdc]->setLayerId(pcPic->getSlice(0)->getBaseColPic(refLayerIdc)->getLayerId()); //set reference layerId
    1640       m_cIlpPic[refLayerIdc]->getPicYuvRec()->setBorderExtension(false);
    1641       m_cIlpPic[refLayerIdc]->getPicYuvRec()->extendPicBorder();
    1642       for (Int j=0; j<m_cIlpPic[refLayerIdc]->getPicSym()->getNumberOfCUsInFrame(); j++)    // set reference CU layerId
    1643       {
    1644         m_cIlpPic[refLayerIdc]->getPicSym()->getCU(j)->setLayerId(m_cIlpPic[refLayerIdc]->getLayerId());
    1645       }
    1646     }
    1647   }
    1648 }
    1649 #endif
    1650 #endif
     1628#endif //SVC_EXTENSION
    16511629//! \}
Note: See TracChangeset for help on using the changeset viewer.