Changeset 1008 in SHVCSoftware
- Timestamp:
- 28 Jan 2015, 19:12:58 (10 years ago)
- Location:
- branches/SHM-upgrade/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/App/TAppDecoder/TAppDecCfg.cpp
r1006 r1008 206 206 } 207 207 #endif 208 this->getCommonDecoderParams()->setTargetOutputLayerSetIdx( olsIdx);209 this->getCommonDecoderParams()->setTargetLayerId( m_tgtLayerId );208 m_commonDecoderParams.setTargetOutputLayerSetIdx( olsIdx ); 209 m_commonDecoderParams.setTargetLayerId( m_tgtLayerId ); 210 210 #endif 211 211 #if FIX_CONF_MODE -
branches/SHM-upgrade/source/Lib/TLibDecoder/TDecTop.cpp
r1006 r1008 851 851 assert(layerIdx > m_apcSlicePilot->getVPS()->getVpsNumLayerSetsMinus1()); 852 852 } 853 } 854 if (m_apcSlicePilot->getVPS()->getNumAddLayerSets() == 0) 855 { 856 checkValueOfTargetOutputLayerSetIdx(m_apcSlicePilot->getVPS()); 857 } 853 } 858 854 #else 859 855 checkValueOfTargetOutputLayerSetIdx( m_apcSlicePilot->getVPS()); … … 2304 2300 m_cEntropyDecoder.decodeVPS( vps ); 2305 2301 m_parameterSetManagerDecoder.storePrefetchedVPS(vps); 2302 #if R0235_SMALLEST_LAYER_ID 2303 checkValueOfTargetOutputLayerSetIdx(vps); 2304 #endif 2306 2305 } 2307 2306 … … 3031 3030 { 3032 3031 // Check if the target decoded layer is the highest layer in the list 3032 #if R0235_SMALLEST_LAYER_ID 3033 assert( params->getTargetOutputLayerSetIdx() < vps->getNumOutputLayerSets() ); 3034 #endif 3033 3035 #if !CONFORMANCE_BITSTREAM_MODE 3034 3036 assert( params->getTargetOutputLayerSetIdx() < vps->getNumLayerSets() ); … … 3038 3040 assert( params->getTargetLayerId() == vps->getNumLayersInIdList( layerSetIdx ) - 1); 3039 3041 #endif 3040 3042 3043 #if !R0235_SMALLEST_LAYER_ID 3041 3044 Bool layerSetMatchFlag = true; 3042 3045 for(Int j = 0; j < vps->getNumLayersInIdList( layerSetIdx ); j++) … … 3050 3053 3051 3054 assert(layerSetMatchFlag); // Signaled output layer set index does not match targetOutputLayerId. 3055 #endif 3052 3056 3053 3057 // Check if the targetdeclayerIdlist matches the output layer set … … 3239 3243 { 3240 3244 UInt smallestLayerId; 3241 UInt targetOlsIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx(); 3245 Int targetOlsIdx = m_commonDecoderParams->getTargetOutputLayerSetIdx(); 3246 assert( targetOlsIdx >= 0 ); 3247 3242 3248 UInt targetDecLayerSetIdx = vps->getOutputLayerSetIdx(targetOlsIdx); 3243 3249 UInt lsIdx = targetDecLayerSetIdx;
Note: See TracChangeset for help on using the changeset viewer.