Changeset 11 in SHVCSoftware for trunk/source/Lib/TLibDecoder
- Timestamp:
- 28 Jan 2013, 21:06:38 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibDecoder/TDecTop.cpp
r6 r11 344 344 cFillSlice.setSPS( m_parameterSetManagerDecoder.getFirstSPS() ); 345 345 cFillSlice.setPPS( m_parameterSetManagerDecoder.getFirstPPS() ); 346 #if SET_SLICE_LAYER_ID 347 cFillSlice.initSlice( m_parameterSetManagerDecoder.getFirstSPS()->getLayerId() ); 348 #else 346 349 cFillSlice.initSlice(); 350 #endif 347 351 TComPic *cFillPic; 348 352 xGetNewPicBuffer(&cFillSlice,cFillPic); 349 353 cFillPic->getSlice(0)->setSPS( m_parameterSetManagerDecoder.getFirstSPS() ); 350 354 cFillPic->getSlice(0)->setPPS( m_parameterSetManagerDecoder.getFirstPPS() ); 355 #if SET_SLICE_LAYER_ID 356 cFillPic->getSlice(0)->initSlice( cFillPic->getLayerId() ); 357 #else 351 358 cFillPic->getSlice(0)->initSlice(); 359 #endif 352 360 353 361 TComList<TComPic*>::iterator iterPic = m_cListPic.begin(); … … 440 448 { 441 449 TComPic*& pcPic = m_pcPic; 450 #if SET_SLICE_LAYER_ID 451 m_apcSlicePilot->initSlice( nalu.m_layerId ); 452 #else 442 453 m_apcSlicePilot->initSlice(); 454 #endif 443 455 444 456 if (m_bFirstSliceInPicture)
Note: See TracChangeset for help on using the changeset viewer.