Changeset 1106 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 6 Jul 2015, 20:51:30 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/SHM-dev/source/Lib/TLibCommon/CommonDef.h ¶
r1080 r1106 316 316 public: 317 317 CommonDecoderParams(): 318 #if FIX_CONF_MODE318 #if CONFORMANCE_BITSTREAM_MODE 319 319 m_targetLayerId(MAX_VPS_LAYER_IDX_PLUS1) 320 320 #else -
TabularUnified branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h ¶
r1105 r1106 46 46 #define MAX_LAYERS 8 ///< max number of layers the codec is supposed to handle 47 47 #define CONFORMANCE_BITSTREAM_MODE 1 ///< In order to generate the metadata related to conformance bitstreams 48 #define FIX_CONF_MODE 149 48 #define FIX_NON_OUTPUT_LAYER 1 50 49 #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 2633 2633 CommonDecoderParams* params = this->getCommonDecoderParams(); 2634 2634 2635 #if !FIX_CONF_MODE2636 assert( params->getTargetLayerId() < vps->getMaxLayers() );2637 #endif2638 2639 2635 if( params->getValueCheckedFlag() ) 2640 2636 { … … 2739 2735 2740 2736 } 2741 #if FIX_CONF_MODE 2737 2742 2738 // Set correct value of targetLayerId 2743 2739 Int targetOlsIdx = params->getTargetOutputLayerSetIdx(); 2744 2740 Int targetLsIdx = vps->getOutputLayerSetIdx( targetOlsIdx ); 2745 2741 params->setTargetLayerId( vps->getLayerSetLayerIdList( targetLsIdx, vps->getNumLayersInIdList(targetLsIdx)-1 ) ); 2746 #endif 2742 2747 2743 #if FIX_NON_OUTPUT_LAYER 2748 2744 // Check if the current layer is an output layer
Note: See TracChangeset for help on using the changeset viewer.