- Timestamp:
- 15 Dec 2015, 17:36:20 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComPicSym.h
r1503 r1510 192 192 Bool getSkippedTileSetFlag( Int i ) { return *(m_pbSkippedTileSetFlag + i); } 193 193 #endif 194 Void inferSpsForNonHEVCBL(TComVPS *vps ) { m_sps.inferSPS(0, vps);}194 Void inferSpsForNonHEVCBL(TComVPS *vps, const UInt maxCuWidth, const UInt maxCuHeight) { m_sps.inferSPS(0, vps); m_sps.setMaxCUWidth(maxCuWidth), m_sps.setMaxCUHeight(maxCuHeight); } 195 195 #endif //SVC_EXTENSION 196 196 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1505 r1510 520 520 UInt refLayerId = 0; 521 521 522 pBLPic->create( *sps, *pps, true, refLayerId); 522 pBLPic->getPicSym()->inferSpsForNonHEVCBL(vps, sps->getMaxCUWidth(), sps->getMaxCUHeight()); 523 524 pBLPic->create( pBLPic->getPicSym()->getSPS(), *pps, true, refLayerId); 523 525 524 526 // it is needed where the VPS is accessed through the slice 525 527 pBLPic->getSlice(0)->setVPS( vps ); 526 pBLPic->getPicSym()->inferSpsForNonHEVCBL(vps);527 528 pBLPic->getSlice(0)->setSPS( &pBLPic->getPicSym()->getSPS() ); 528 529 } … … 1643 1644 if( pic ) 1644 1645 { 1645 pcSlice->setBaseColPic 1646 pcSlice->setBaseColPic( refLayerIdc, pic ); 1646 1647 } 1647 1648 else … … 1654 1655 TDecTop *pcTDecTop = (TDecTop *)getRefLayerDec( refLayerIdc ); 1655 1656 TComList<TComPic*> *cListPic = pcTDecTop->getListPic(); 1656 if( !pcSlice->setBaseColPic 1657 if( !pcSlice->setBaseColPic( *cListPic, refLayerIdc ) ) 1657 1658 { 1658 1659 continue;
Note: See TracChangeset for help on using the changeset viewer.