Changeset 1156 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 00:36:28 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1155 r1156 157 157 #define MAX_REF_LAYERS 7 158 158 #endif 159 #define Q0165_OUTPUT_LAYER_SET 1 ///< JCTVC-Q0165: add a constraint to disallow an empty output layer set160 159 161 160 #define Q0078_ADD_LAYER_SETS 1 ///< JCTVC-Q0078: additional layer sets and layer set config -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1155 r1156 3012 3012 3013 3013 NumOutputLayersInOutputLayerSet[i] = 0; 3014 for (j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++) 3014 3015 for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++ ) 3015 3016 { 3016 3017 NumOutputLayersInOutputLayerSet[i] += vps->getOutputLayerFlag(i, j); 3017 if (vps->getOutputLayerFlag(i, j))3018 if( vps->getOutputLayerFlag(i, j) ) 3018 3019 { 3019 3020 OlsHighestOutputLayerId[i] = vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j); 3020 3021 } 3021 3022 } 3022 if (NumOutputLayersInOutputLayerSet[i] == 1 && vps->getNumDirectRefLayers(OlsHighestOutputLayerId[i]) > 0)3023 if( NumOutputLayersInOutputLayerSet[i] == 1 && vps->getNumDirectRefLayers(OlsHighestOutputLayerId[i]) > 0 ) 3023 3024 { 3024 3025 READ_FLAG(uiCode, "alt_output_layer_flag[i]"); … … 3032 3033 } 3033 3034 #endif 3034 #if Q0165_OUTPUT_LAYER_SET 3035 assert( NumOutputLayersInOutputLayerSet[i]>0 ); 3036 #endif 3035 3036 assert( NumOutputLayersInOutputLayerSet[i] > 0 ); 3037 3037 } 3038 3038 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1155 r1156 2198 2198 2199 2199 NumOutputLayersInOutputLayerSet[i] = 0; 2200 for (j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++) 2200 2201 for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++ ) 2201 2202 { 2202 2203 NumOutputLayersInOutputLayerSet[i] += vps->getOutputLayerFlag(i, j); 2203 if (vps->getOutputLayerFlag(i, j))2204 if( vps->getOutputLayerFlag(i, j) ) 2204 2205 { 2205 2206 OlsHighestOutputLayerId[i] = vps->getLayerSetLayerIdList(layerSetIdxForOutputLayerSet, j); 2206 2207 } 2207 2208 } 2208 if (NumOutputLayersInOutputLayerSet[i] == 1 && vps->getNumDirectRefLayers(OlsHighestOutputLayerId[i]) > 0)2209 if( NumOutputLayersInOutputLayerSet[i] == 1 && vps->getNumDirectRefLayers(OlsHighestOutputLayerId[i]) > 0 ) 2209 2210 { 2210 2211 WRITE_FLAG(vps->getAltOuputLayerFlag(i), "alt_output_layer_flag[i]"); 2211 2212 } 2212 2213 2213 #if Q0165_OUTPUT_LAYER_SET 2214 assert( NumOutputLayersInOutputLayerSet[i]>0 ); 2215 #endif 2214 assert( NumOutputLayersInOutputLayerSet[i] > 0 ); 2216 2215 } 2217 2216
Note: See TracChangeset for help on using the changeset viewer.