Changeset 962 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder
- Timestamp:
- 6 Jan 2015, 04:36:57 (10 years ago)
- Location:
- branches/SHM-upgrade/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.