Changeset 953 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 5 Jan 2015, 11:34:55 (11 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
-
TLibCommon/TypeDef.h (modified) (1 diff)
-
TLibDecoder/TDecTop.cpp (modified) (4 diffs)
-
TLibDecoder/TDecTop.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r952 r953 46 46 #define CONFORMANCE_BITSTREAM_MODE 1 ///< In order to generate the metadata related to conformance bitstreams 47 47 #define FIX_CONF_MODE 1 48 #define FIX_NON_OUTPUT_LAYER 1 48 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 49 50 #define INFERENCE_POC_MSB_VAL_PRESENT 1 ///< JCTVC-Q0146 -- poc_msb_val_present_flag shall be equal to 0 when slice_header_extension_length is (inferred to be ) equal to 0 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r952 r953 127 127 m_confModeFlag = false; 128 128 #endif 129 #if FIX_NON_OUTPUT_LAYER 130 m_isOutputLayerFlag = false; 131 #endif 129 132 } 130 133 … … 569 572 // Execute Deblock + Cleanup 570 573 m_cGopDecoder.filterPicture(pcPic); 574 575 #if FIX_NON_OUTPUT_LAYER 576 if( this->getLayerDec(pcPic->getLayerId())->m_isOutputLayerFlag == false ) 577 { 578 pcPic->setOutputMark( false ); 579 } 580 #endif 571 581 572 582 TComSlice::sortPicList( m_cListPic ); // sorting for application output … … 2913 2923 CommonDecoderParams* params = this->getCommonDecoderParams(); 2914 2924 2925 #if !FIX_CONF_MODE 2915 2926 assert( params->getTargetLayerId() < vps->getMaxLayers() ); 2927 #endif 2916 2928 2917 2929 if( params->getValueCheckedFlag() ) … … 3016 3028 Int targetLsIdx = vps->getOutputLayerSetIdx( targetOlsIdx ); 3017 3029 params->setTargetLayerId( vps->getLayerSetLayerIdList( targetLsIdx, vps->getNumLayersInIdList(targetLsIdx)-1 ) ); 3030 #endif 3031 #if FIX_NON_OUTPUT_LAYER 3032 // Check if the current layer is an output layer 3033 for(Int i = 0; i < vps->getNumLayersInIdList( targetLsIdx ); i++) 3034 { 3035 if( vps->getOutputLayerFlag( targetOlsIdx, i ) ) 3036 { 3037 this->getLayerDec( vps->getLayerSetLayerIdList( targetLsIdx, i ) )->m_isOutputLayerFlag = true; 3038 } 3039 } 3018 3040 #endif 3019 3041 } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r924 r953 171 171 std::vector<TComPic> m_confListPic; // Dynamic buffer for storing pictures for conformance purposes 172 172 #endif 173 #if FIX_NON_OUTPUT_LAYER 174 Bool m_isOutputLayerFlag; 175 #endif 173 176 public: 174 177 #if POC_RESET_RESTRICTIONS
Note: See TracChangeset for help on using the changeset viewer.