Changeset 1179 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder


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

macro cleanup: O0137_MAX_LAYERID

Location:
branches/SHM-dev/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.