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


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

SET_SLICE_LAYER_ID: set layerId to the slice

Location:
trunk/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComPicSym.cpp

    r2 r11  
    191191  {
    192192    m_apcTComSlice[m_uiNumAllocatedSlice-1]->copySliceInfo( m_apcTComSlice[m_uiNumAllocatedSlice-2] );
     193#if SET_SLICE_LAYER_ID
     194    m_apcTComSlice[m_uiNumAllocatedSlice-1]->initSlice( m_apcTComSlice[m_uiNumAllocatedSlice-1]->getLayerId() );
     195#else
    193196    m_apcTComSlice[m_uiNumAllocatedSlice-1]->initSlice();
     197#endif
    194198  }
    195199}
  • trunk/source/Lib/TLibCommon/TComSlice.cpp

    r2 r11  
    153153
    154154
     155#if SET_SLICE_LAYER_ID
     156Void TComSlice::initSlice( UInt layerId )
     157#else
    155158Void TComSlice::initSlice()
    156 {
     159#endif
     160{
     161#if SET_SLICE_LAYER_ID
     162  m_layerId = layerId;
     163#endif
    157164  m_aiNumRefIdx[0]      = 0;
    158165  m_aiNumRefIdx[1]      = 0;
  • trunk/source/Lib/TLibCommon/TComSlice.h

    r2 r11  
    12891289  TComSlice();
    12901290  virtual ~TComSlice();
     1291#if SET_SLICE_LAYER_ID
     1292  Void      initSlice       ( UInt layerId );
     1293#else
    12911294  Void      initSlice       ();
     1295#endif
    12921296
    12931297  Void      setVPS          ( TComVPS* pcVPS ) { m_pcVPS = pcVPS; }
  • trunk/source/Lib/TLibCommon/TypeDef.h

    r10 r11  
    4646#define SVC_UPSAMPLING                   1      ///< upsampling filters
    4747#define PHASE_DERIVATION_IN_INTEGER      1      ///< upsampling filters implementation using only integer arithmetic
     48#define SET_SLICE_LAYER_ID               1      ///< set layerId to the slice
    4849
    4950#define AVC_BASE                         0      ///< YUV BL reading for AVC base SVC
Note: See TracChangeset for help on using the changeset viewer.