Changeset 1007 in SHVCSoftware
- Timestamp:
- 28 Jan 2015, 19:12:25 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1005 r1007 1025 1025 } 1026 1026 } 1027 if (m_apcSlicePilot->getVPS()->getNumAddLayerSets() == 0)1028 {1029 checkValueOfTargetOutputLayerSetIdx(m_apcSlicePilot->getVPS());1030 }1031 1027 #else 1032 1028 checkValueOfTargetOutputLayerSetIdx(m_apcSlicePilot->getVPS()); … … 2483 2479 2484 2480 m_cEntropyDecoder.decodeVPS( vps ); 2485 m_parameterSetManagerDecoder.storePrefetchedVPS(vps); 2481 m_parameterSetManagerDecoder.storePrefetchedVPS(vps); 2482 #if R0235_SMALLEST_LAYER_ID 2483 checkValueOfTargetOutputLayerSetIdx(vps); 2484 #endif 2486 2485 } 2487 2486 … … 3041 3040 { 3042 3041 // Check if the target decoded layer is the highest layer in the list 3043 #if 0 3042 #if R0235_SMALLEST_LAYER_ID 3043 assert( params->getTargetOutputLayerSetIdx() < vps->getNumOutputLayerSets() ); 3044 #endif 3045 #if !CONFORMANCE_BITSTREAM_MODE 3044 3046 assert( params->getTargetOutputLayerSetIdx() < vps->getNumLayerSets() ); 3045 3047 #endif 3046 3048 Int layerSetIdx = vps->getOutputLayerSetIdx( params->getTargetOutputLayerSetIdx() ); // Index to the layer set 3047 #if 03049 #if !CONFORMANCE_BITSTREAM_MODE 3048 3050 assert( params->getTargetLayerId() == vps->getNumLayersInIdList( layerSetIdx ) - 1); 3049 3051 #endif 3050 3052 #if !R0235_SMALLEST_LAYER_ID 3051 3053 Bool layerSetMatchFlag = true; 3052 3054 for(Int j = 0; j < vps->getNumLayersInIdList( layerSetIdx ); j++) … … 3060 3062 3061 3063 assert(layerSetMatchFlag); // Signaled output layer set index does not match targetOutputLayerId. 3064 #endif 3062 3065 3063 3066 // Check if the targetdeclayerIdlist matches the output layer set … … 3249 3252 { 3250 3253 UInt smallestLayerId; 3251 UInt targetOlsIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx(); 3254 Int targetOlsIdx = getCommonDecoderParams()->getTargetOutputLayerSetIdx(); 3255 assert( targetOlsIdx >= 0 ); 3256 3252 3257 UInt targetDecLayerSetIdx = vps->getOutputLayerSetIdx(targetOlsIdx); 3253 3258 UInt lsIdx = targetDecLayerSetIdx;
Note: See TracChangeset for help on using the changeset viewer.