Changeset 11 in SHVCSoftware for trunk/source/Lib/TLibEncoder/TEncSlice.cpp


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/TLibEncoder/TEncSlice.cpp

    r2 r11  
    192192  rpcSlice->setSliceBits(0);
    193193  rpcSlice->setPic( pcPic );
     194#if SET_SLICE_LAYER_ID
     195  rpcSlice->initSlice( pcPic->getLayerId() );
     196#else
    194197  rpcSlice->initSlice();
     198#endif
    195199  rpcSlice->setPicOutputFlag( true );
    196200  rpcSlice->setPOC( uiPOCCurr );
    197201 
    198 #if SVC_EXTENSION
     202#if SVC_EXTENSION && !SET_SLICE_LAYER_ID
    199203  rpcSlice->setLayerId( pcPic->getLayerId());
    200204#endif
Note: See TracChangeset for help on using the changeset viewer.