Changeset 173 in SHVCSoftware


Ignore:
Timestamp:
9 May 2013, 20:43:22 (12 years ago)
Author:
seregin
Message:

set VPS for a slice at decoder

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-2.0-dev/source/Lib/TLibCommon/TComSlice.cpp

    r172 r173  
    10091009
    10101010  // access channel
     1011#if SVC_EXTENSION
     1012  m_pcVPS                = pSrc->m_pcVPS;
     1013#endif
    10111014  m_pcSPS                = pSrc->m_pcSPS;
    10121015  m_pcPPS                = pSrc->m_pcPPS;
  • branches/SHM-2.0-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r170 r173  
    352352  cFillSlice.setSPS( m_parameterSetManagerDecoder[m_layerId].getFirstSPS() );
    353353  cFillSlice.setPPS( m_parameterSetManagerDecoder[m_layerId].getFirstPPS() );
     354  cFillSlice.setVPS( m_parameterSetManagerDecoder[m_layerId].getFirstVPS() );
    354355  cFillSlice.initSlice( m_layerId );
    355356#else
     
    363364  cFillPic->getSlice(0)->setSPS( m_parameterSetManagerDecoder[m_layerId].getFirstSPS() );
    364365  cFillPic->getSlice(0)->setPPS( m_parameterSetManagerDecoder[m_layerId].getFirstPPS() );
     366  cFillPic->getSlice(0)->setVPS( m_parameterSetManagerDecoder[m_layerId].getFirstVPS() );
    365367  cFillPic->getSlice(0)->initSlice( m_layerId );
    366368#else
     
    489491  TComPic*&   pcPic         = m_pcPic;
    490492#if SVC_EXTENSION
     493  m_apcSlicePilot->setVPS( m_parameterSetManagerDecoder[m_layerId].getActiveVPS() );
    491494  m_apcSlicePilot->initSlice( nalu.m_layerId );
    492495#else
Note: See TracChangeset for help on using the changeset viewer.