Changeset 1482 in SHVCSoftware


Ignore:
Timestamp:
18 Oct 2015, 13:24:37 (9 years ago)
Author:
seregin
Message:

remove layerId class member from TDecGop

Location:
branches/SHM-dev/source/Lib/TLibDecoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.cpp

    r1459 r1482  
    7777}
    7878
    79 #if SVC_EXTENSION
    80 Void TDecGop::create(UInt layerId)
    81 {
    82   m_layerId = layerId;
    83 }
    84 #else
    8579Void TDecGop::create()
    8680{
    8781
    8882}
    89 #endif
    9083
    9184Void TDecGop::destroy()
     
    212205    {
    213206#if SVC_EXTENSION
    214       if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR( m_layerId ) )
     207      if( pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->isILR( pcSlice->getLayerId() ) )
    215208      {
    216209        UInt refLayerId = pcSlice->getRefPic(RefPicList(iRefList), iRefIndex)->getLayerId();
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecGop.h

    r1292 r1482  
    8383
    8484#if SVC_EXTENSION
    85   UInt                  m_layerId;
    8685  TDecTop**             m_ppcTDecTop;
    8786#endif
     
    103102                 TComSampleAdaptiveOffset* pcSAO
    104103                 );
    105 #if SVC_EXTENSION
    106   Void  create  (UInt layerId);
    107 #else
    108104  Void  create  ();
    109 #endif
    110105  Void  destroy ();
    111106  Void  decompressSlice(TComInputBitstream* pcBitstream, TComPic* pcPic );
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1442 r1482  
    168168Void TDecTop::create()
    169169{
    170 #if SVC_EXTENSION
    171   m_cGopDecoder.create( m_layerId );
    172 #else
    173170  m_cGopDecoder.create();
    174 #endif
    175171  m_apcSlicePilot = new TComSlice;
     172#if SVC_EXTENSION
     173  m_apcSlicePilot->setLayerId(m_layerId);
     174#endif
    176175  m_uiSliceIdx = 0;
    177176}
Note: See TracChangeset for help on using the changeset viewer.