Changeset 11 in SHVCSoftware for trunk/source/Lib/TLibDecoder


Ignore:
Timestamp:
28 Jan 2013, 21:06:38 (12 years ago)
Author:
seregin
Message:

SET_SLICE_LAYER_ID: set layerId to the slice

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecTop.cpp

    r6 r11  
    344344  cFillSlice.setSPS( m_parameterSetManagerDecoder.getFirstSPS() );
    345345  cFillSlice.setPPS( m_parameterSetManagerDecoder.getFirstPPS() );
     346#if SET_SLICE_LAYER_ID
     347  cFillSlice.initSlice( m_parameterSetManagerDecoder.getFirstSPS()->getLayerId() );
     348#else
    346349  cFillSlice.initSlice();
     350#endif
    347351  TComPic *cFillPic;
    348352  xGetNewPicBuffer(&cFillSlice,cFillPic);
    349353  cFillPic->getSlice(0)->setSPS( m_parameterSetManagerDecoder.getFirstSPS() );
    350354  cFillPic->getSlice(0)->setPPS( m_parameterSetManagerDecoder.getFirstPPS() );
     355#if SET_SLICE_LAYER_ID
     356  cFillPic->getSlice(0)->initSlice( cFillPic->getLayerId() );
     357#else
    351358  cFillPic->getSlice(0)->initSlice();
     359#endif
    352360 
    353361  TComList<TComPic*>::iterator iterPic = m_cListPic.begin();
     
    440448{
    441449  TComPic*&   pcPic         = m_pcPic;
     450#if SET_SLICE_LAYER_ID
     451  m_apcSlicePilot->initSlice( nalu.m_layerId );
     452#else
    442453  m_apcSlicePilot->initSlice();
     454#endif
    443455
    444456  if (m_bFirstSliceInPicture)
Note: See TracChangeset for help on using the changeset viewer.