Changeset 1159 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 00:46:00 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1158 r1159 154 154 155 155 #define Q0078_ADD_LAYER_SETS 1 ///< JCTVC-Q0078: additional layer sets and layer set config 156 #if Q0078_ADD_LAYER_SETS157 #define MAX_NUM_ADD_LAYER_SETS 1023158 #endif159 156 #define MULTIPLE_PTL_SUPPORT 1 ///< Profile, tier and level signalling 160 157 … … 167 164 #endif 168 165 #define DPB_PARAMS_MAXTLAYERS 1 ///< JCTVC-P0156 DPB parameters up to maximum temporal sub-layers in the layer set 169 #define NUM_OL_FLAGS 1 ///< JCTVC-P0156 output_layer_flag[ i ][ j ] is signalled for j equal to 0 to NumLayersInIdList[ lsIdx ] inclusive170 166 #define NO_CLRAS_OUTPUT_FLAG 1 171 167 … … 222 218 #define Q0096_OVERLAY_SEI 1 ///< JCTVC-Q0096, JCTVC-Q0045: selectable overlays SEI message 223 219 #if Q0096_OVERLAY_SEI 224 # define MAX_OVERLAYS16225 # define MAX_OVERLAY_ELEMENTS256226 # define MAX_OVERLAY_STRING_BYTES256220 #define MAX_OVERLAYS 16 221 #define MAX_OVERLAY_ELEMENTS 256 222 #define MAX_OVERLAY_STRING_BYTES 256 227 223 #endif 228 224 #define P0123_ALPHA_CHANNEL_SEI 1 ///< JCTVC-P0123: SEI message for alpha channel information 225 226 /// constants 227 #define MAX_NUM_ADD_LAYER_SETS 1023 229 228 #define MAX_SEIS_IN_BSP_NESTING 64 230 229 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1158 r1159 2937 2937 vps->setOutputLayerSetIdx( i, i ); 2938 2938 } 2939 2939 2940 Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx(i); 2941 2940 2942 #if Q0078_ADD_LAYER_SETS 2941 2943 if( i > vps->getVpsNumLayerSetsMinus1() || vps->getDefaultTargetOutputLayerIdc() == 2 ) … … 2944 2946 #endif 2945 2947 { 2946 #if NUM_OL_FLAGS 2947 for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++) 2948 #else 2949 for(j = 0; j < vps->getNumLayersInIdList(lsIdx) - 1; j++) 2950 #endif 2948 for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet); j++ ) 2951 2949 { 2952 2950 READ_FLAG( uiCode, "output_layer_flag[i][j]"); vps->setOutputLayerFlag(i, j, uiCode); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1157 r1159 2177 2177 #endif 2178 2178 { 2179 #if NUM_OL_FLAGS 2180 for(j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet) ; j++) 2181 #else 2182 for(j = 0; j < vps->getNumLayersInIdList(lsIdx) - 1; j++) 2183 #endif 2179 for( j = 0; j < vps->getNumLayersInIdList(layerSetIdxForOutputLayerSet) ; j++ ) 2184 2180 { 2185 2181 WRITE_FLAG( vps->getOutputLayerFlag(i,j), "output_layer_flag[i][j]");
Note: See TracChangeset for help on using the changeset viewer.