Changeset 1179 in SHVCSoftware


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

macro cleanup: O0137_MAX_LAYERID

Location:
branches/SHM-dev/source
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/App/TAppDecoder/TAppDecCfg.cpp

    r1177 r1179  
    164164
    165165  assert( targetLayerId >= 0 );
    166 #if O0137_MAX_LAYERID
    167166  assert( targetLayerId < MAX_NUM_LAYER_IDS );
    168 #endif
     167
    169168#if CONFORMANCE_BITSTREAM_MODE
    170169  if( m_confModeFlag )
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1178 r1179  
    5555#define BSP_INIT_ARRIVAL_SEI             1      ///< JCTVC-R0231: Make signalling of vcl_initial_arrival_delay independent of NalHrdBpPresentFlag
    5656#define VPS_VUI_BSP_HRD_PARAMS           1      ///< JCTVC-R0231: Define the VPS VUI BSP hrd_params() as a separate function, and apply changes adopted.
    57 #define O0137_MAX_LAYERID                1      ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1
    5857
    5958#define R0226_CONSTRAINT_TMVP_SEI        1      ///< JCTVC-R0226, Modification to semantics in temporal motion vector prediction constraints SEI message
     
    265264#define MAX_CPB_CNT                                      32 ///< Upper bound of (cpb_cnt_minus1 + 1)
    266265
    267 #if O0137_MAX_LAYERID
     266#if SVC_EXTENSION
    268267#define MAX_NUM_LAYER_IDS                                63
    269268#else
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1176 r1179  
    10081008#endif
    10091009#if SVC_EXTENSION
    1010 #if O0137_MAX_LAYERID
    10111010  READ_CODE( 6,  uiCode,  "vps_max_layers_minus1" );              pcVPS->setMaxLayers( min( 62u, uiCode) + 1 );
    1012 #else
    1013   READ_CODE( 6,  uiCode,  "vps_max_layers_minus1" );              pcVPS->setMaxLayers( uiCode + 1 );
    1014 #endif
    10151011  assert( pcVPS->getBaseLayerInternalFlag() || pcVPS->getMaxLayers() > 1 );
    10161012#else
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp

    r1178 r1179  
    20722072  m_cEntropyDecoder.setBitstream      (nalu.m_Bitstream);
    20732073
    2074 #if O0137_MAX_LAYERID
     2074#if SVC_EXTENSION
    20752075  // ignore any NAL units with nuh_layer_id == 63
    2076   if (nalu.m_layerId == 63 )
     2076  if( nalu.m_layerId == 63 )
    20772077  { 
    20782078    return false;
Note: See TracChangeset for help on using the changeset viewer.