Changeset 1008 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibDecoder
- Timestamp:
- 28 Jan 2015, 19:12:58 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.