Changeset 962 in SHVCSoftware for branches/SHM-upgrade/source/Lib
- Timestamp:
- 6 Jan 2015, 04:36:57 (10 years ago)
- Location:
- branches/SHM-upgrade/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/Lib/TLibCommon/TypeDef.h
r961 r962 48 48 #define CONFORMANCE_BITSTREAM_MODE 1 ///< In order to generate the metadata related to conformance bitstreams 49 49 #define FIX_CONF_MODE 1 50 #define FIX_NON_OUTPUT_LAYER 1 50 51 #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 51 52 #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-upgrade/source/Lib/TLibDecoder/TDecTop.cpp
r961 r962 132 132 m_confModeFlag = false; 133 133 #endif 134 #if FIX_NON_OUTPUT_LAYER 135 m_isOutputLayerFlag = false; 136 #endif 134 137 } 135 138 … … 473 476 474 477 m_cGopDecoder.filterPicture(pcPic); 478 479 #if FIX_NON_OUTPUT_LAYER 480 if( this->getLayerDec(pcPic->getLayerId())->m_isOutputLayerFlag == false ) 481 { 482 pcPic->setOutputMark( false ); 483 } 484 #endif 475 485 476 486 TComSlice::sortPicList( m_cListPic ); // sorting for application output … … 2903 2913 CommonDecoderParams* params = this->getCommonDecoderParams(); 2904 2914 2915 #if !FIX_CONF_MODE 2905 2916 assert( params->getTargetLayerId() < vps->getMaxLayers() ); 2917 #endif 2906 2918 2907 2919 if( params->getValueCheckedFlag() ) … … 3006 3018 Int targetLsIdx = vps->getOutputLayerSetIdx( targetOlsIdx ); 3007 3019 params->setTargetLayerId( vps->getLayerSetLayerIdList( targetLsIdx, vps->getNumLayersInIdList(targetLsIdx)-1 ) ); 3020 #endif 3021 #if FIX_NON_OUTPUT_LAYER 3022 // Check if the current layer is an output layer 3023 for(Int i = 0; i < vps->getNumLayersInIdList( targetLsIdx ); i++) 3024 { 3025 if( vps->getOutputLayerFlag( targetOlsIdx, i ) ) 3026 { 3027 this->getLayerDec( vps->getLayerSetLayerIdList( targetLsIdx, i ) )->m_isOutputLayerFlag = true; 3028 } 3029 } 3008 3030 #endif 3009 3031 } -
branches/SHM-upgrade/source/Lib/TLibDecoder/TDecTop.h
r928 r962 174 174 std::vector<TComPic> m_confListPic; // Dynamic buffer for storing pictures for conformance purposes 175 175 #endif 176 #if FIX_NON_OUTPUT_LAYER 177 Bool m_isOutputLayerFlag; 178 #endif 176 179 public: 177 180 #if POC_RESET_RESTRICTIONS
Note: See TracChangeset for help on using the changeset viewer.