Changeset 1505 in SHVCSoftware


Ignore:
Timestamp:
11 Dec 2015, 22:45:18 (8 years ago)
Author:
seregin
Message:

move ILRP init after PS activation

Location:
branches/SHM-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1503 r1505  
    13271327  }
    13281328  m_apcSlicePilot->setAvailableForTMVPRefFlag( true );
    1329 
    1330   // Initialize ILRP if needed, only for the current layer 
    1331   // ILRP intialization should go along with activation of parameters sets,
    1332   // although activation of parameter sets itself need not be done for each and every slice!!!
    1333   xInitILRP(m_apcSlicePilot);
    1334 
    13351329#else //SVC_EXTENSION
    13361330  //we should only get a different poc for a new picture (with CTU address==0)
     
    13851379  if (m_bFirstSliceInPicture)
    13861380  {
     1381    // Initialize ILRP if needed, only for the current layer 
     1382    // ILRP intialization should go along with activation of parameters sets,
     1383    // although activation of parameter sets itself need not be done for each and every slice!!!
     1384    xInitILRP(pcSlice->getSPS(), pcSlice->getPPS());
     1385
    13871386#if AVC_BASE
    13881387    if( m_layerId > 0 && vps->getNonHEVCBaseLayerFlag() )
     
    22602259
    22612260#if SVC_EXTENSION
    2262 Void TDecTop::xInitILRP(TComSlice *slice)
    2263 {
    2264   const TComVPS* vps  = slice->getVPS();
    2265   const TComSPS* sps  = slice->getSPS();
    2266 
     2261Void TDecTop::xInitILRP(const TComSPS *sps, const TComPPS *pps)
     2262{
    22672263  if( m_layerId > 0 )
    22682264  {
     
    22732269        m_cIlpPic[j] = new  TComPic;
    22742270
    2275         m_cIlpPic[j]->create(*sps, *slice->getPPS(), true, m_layerId);
     2271        m_cIlpPic[j]->create(*sps, *pps, true, m_layerId);
    22762272
    22772273        for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCtusInFrame(); i++)
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h

    r1490 r1505  
    254254  TComPic*  getBlPic()                                                      { return m_blPic;         }
    255255#endif
    256   Void      xInitILRP(TComSlice *slice);
     256  Void      xInitILRP(const TComSPS *sps, const TComPPS *pps);
    257257  CommonDecoderParams*    getCommonDecoderParams()                          { return m_commonDecoderParams; }
    258258  Void                    setCommonDecoderParams(CommonDecoderParams* x)    { m_commonDecoderParams = x;    }
Note: See TracChangeset for help on using the changeset viewer.