Changeset 1159 in SHVCSoftware


Ignore:
Timestamp:
8 Jul 2015, 00:46:00 (9 years ago)
Author:
seregin
Message:

macro cleanup: NUM_OL_FLAGS

Location:
branches/SHM-dev/source/Lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1158 r1159  
    154154
    155155#define Q0078_ADD_LAYER_SETS             1      ///< JCTVC-Q0078: additional layer sets and layer set config
    156 #if Q0078_ADD_LAYER_SETS
    157 #define MAX_NUM_ADD_LAYER_SETS           1023
    158 #endif
    159156#define MULTIPLE_PTL_SUPPORT             1      ///< Profile, tier and level signalling
    160157
     
    167164#endif
    168165#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 ] inclusive
    170166#define NO_CLRAS_OUTPUT_FLAG             1
    171167
     
    222218#define Q0096_OVERLAY_SEI                1      ///< JCTVC-Q0096, JCTVC-Q0045: selectable overlays SEI message
    223219#if Q0096_OVERLAY_SEI
    224 # define MAX_OVERLAYS                    16
    225 # define MAX_OVERLAY_ELEMENTS            256
    226 # define MAX_OVERLAY_STRING_BYTES        256
     220#define MAX_OVERLAYS                     16
     221#define MAX_OVERLAY_ELEMENTS             256
     222#define MAX_OVERLAY_STRING_BYTES         256
    227223#endif
    228224#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
    229228#define MAX_SEIS_IN_BSP_NESTING          64
    230229
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1158 r1159  
    29372937      vps->setOutputLayerSetIdx( i, i );
    29382938    }
     2939
    29392940    Int layerSetIdxForOutputLayerSet = vps->getOutputLayerSetIdx(i);
     2941
    29402942#if Q0078_ADD_LAYER_SETS
    29412943    if( i > vps->getVpsNumLayerSetsMinus1() || vps->getDefaultTargetOutputLayerIdc() == 2 )
     
    29442946#endif
    29452947    {
    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++ )
    29512949      {
    29522950        READ_FLAG( uiCode, "output_layer_flag[i][j]"); vps->setOutputLayerFlag(i, j, uiCode);
  • branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1157 r1159  
    21772177#endif
    21782178    {
    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++ )
    21842180      {
    21852181        WRITE_FLAG( vps->getOutputLayerFlag(i,j), "output_layer_flag[i][j]");
Note: See TracChangeset for help on using the changeset viewer.