Changeset 1106 in SHVCSoftware for branches/SHM-dev/source/Lib


Ignore:
Timestamp:
6 Jul 2015, 20:51:30 (10 years ago)
Author:
seregin
Message:

macro cleanup: FIX_CONF_MODE

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

Legend:

Unmodified
Added
Removed
  • TabularUnified branches/SHM-dev/source/Lib/TLibCommon/CommonDef.h

    r1080 r1106  
    316316public:
    317317  CommonDecoderParams():
    318 #if FIX_CONF_MODE
     318#if CONFORMANCE_BITSTREAM_MODE
    319319    m_targetLayerId(MAX_VPS_LAYER_IDX_PLUS1)
    320320#else
  • TabularUnified branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1105 r1106  
    4646#define MAX_LAYERS                       8      ///< max number of layers the codec is supposed to handle
    4747#define CONFORMANCE_BITSTREAM_MODE       1      ///< In order to generate the metadata related to conformance bitstreams
    48 #define FIX_CONF_MODE                    1
    4948#define FIX_NON_OUTPUT_LAYER             1
    5049#define SIGNALLING_BITRATE_PICRATE_FIX   1      ///< Fix for signalling of bitrate and picture rate info in VPS VUI to be more aligned to JCTVC-R1008
  • TabularUnified branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1103 r1106  
    26332633  CommonDecoderParams* params = this->getCommonDecoderParams();
    26342634
    2635 #if !FIX_CONF_MODE
    2636   assert( params->getTargetLayerId() < vps->getMaxLayers() );
    2637 #endif
    2638 
    26392635  if( params->getValueCheckedFlag() )
    26402636  {
     
    27392735
    27402736  }
    2741 #if FIX_CONF_MODE
     2737
    27422738  // Set correct value of targetLayerId
    27432739  Int targetOlsIdx = params->getTargetOutputLayerSetIdx();
    27442740  Int targetLsIdx = vps->getOutputLayerSetIdx( targetOlsIdx );
    27452741  params->setTargetLayerId( vps->getLayerSetLayerIdList( targetLsIdx, vps->getNumLayersInIdList(targetLsIdx)-1 ) );
    2746 #endif
     2742
    27472743#if FIX_NON_OUTPUT_LAYER
    27482744  // Check if the current layer is an output layer
Note: See TracChangeset for help on using the changeset viewer.