Changeset 1505 in SHVCSoftware
- Timestamp:
- 11 Dec 2015, 22:45:18 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1503 r1505 1327 1327 } 1328 1328 m_apcSlicePilot->setAvailableForTMVPRefFlag( true ); 1329 1330 // Initialize ILRP if needed, only for the current layer1331 // 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 1335 1329 #else //SVC_EXTENSION 1336 1330 //we should only get a different poc for a new picture (with CTU address==0) … … 1385 1379 if (m_bFirstSliceInPicture) 1386 1380 { 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 1387 1386 #if AVC_BASE 1388 1387 if( m_layerId > 0 && vps->getNonHEVCBaseLayerFlag() ) … … 2260 2259 2261 2260 #if SVC_EXTENSION 2262 Void TDecTop::xInitILRP(TComSlice *slice) 2263 { 2264 const TComVPS* vps = slice->getVPS(); 2265 const TComSPS* sps = slice->getSPS(); 2266 2261 Void TDecTop::xInitILRP(const TComSPS *sps, const TComPPS *pps) 2262 { 2267 2263 if( m_layerId > 0 ) 2268 2264 { … … 2273 2269 m_cIlpPic[j] = new TComPic; 2274 2270 2275 m_cIlpPic[j]->create(*sps, * slice->getPPS(), true, m_layerId);2271 m_cIlpPic[j]->create(*sps, *pps, true, m_layerId); 2276 2272 2277 2273 for (Int i=0; i<m_cIlpPic[j]->getPicSym()->getNumberOfCtusInFrame(); i++) -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r1490 r1505 254 254 TComPic* getBlPic() { return m_blPic; } 255 255 #endif 256 Void xInitILRP( TComSlice *slice);256 Void xInitILRP(const TComSPS *sps, const TComPPS *pps); 257 257 CommonDecoderParams* getCommonDecoderParams() { return m_commonDecoderParams; } 258 258 Void setCommonDecoderParams(CommonDecoderParams* x) { m_commonDecoderParams = x; }
Note: See TracChangeset for help on using the changeset viewer.