Changeset 460 in SHVCSoftware for branches/SHM-4.0-dev/source/Lib/TLibEncoder


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

correct refLayerIdc for ILP derivation

Location:
branches/SHM-4.0-dev/source/Lib/TLibEncoder
Files:
3 edited

Legend:

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

    r459 r460  
    11481148    if( m_layerId > 0 && pcSlice->getActiveNumILRRefIdx() )
    11491149    {
    1150       m_pcEncTop->setILRPic(pcPic);
     1150      pcSlice->setILRPic( m_pcEncTop->getIlpList() );
    11511151#if REF_IDX_MFM
    11521152#if M0457_COL_PICTURE_SIGNALING
  • 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//! \}
  • branches/SHM-4.0-dev/source/Lib/TLibEncoder/TEncTop.h

    r448 r460  
    219219#if SVC_EXTENSION
    220220  TComPic** getIlpList() { return m_cIlpPic; }
    221   Void      setILRPic(TComPic *pcPic);
    222221#if REF_IDX_MFM
    223222  Void      setMFMEnabledFlag       (Bool flag)   {m_bMFMEnabledFlag = flag;}
Note: See TracChangeset for help on using the changeset viewer.