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


Ignore:
Timestamp:
18 Aug 2014, 22:31:55 (11 years ago)
Author:
qualcomm
Message:

Move calculation of MaxSubLayerInLayerSets to a separate function (Macro: SUB_LAYERS_IN_LAYER_SET)

From: Adarsh K. Ramasubramonian <aramasub@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r869 r872  
    21232123{
    21242124  UInt uiCode;
     2125#if SUB_LAYERS_IN_LAYER_SET
     2126  vps->calculateMaxSLInLayerSets();
     2127#else
    21252128#if DPB_PARAMS_MAXTLAYERS
    21262129#if BITRATE_PICRATE_SIGNALLING
     
    21512154  }
    21522155#endif
     2156#endif
    21532157
    21542158#if !RESOLUTION_BASED_DPB
     
    21612165#endif
    21622166    READ_FLAG( uiCode, "sub_layer_flag_info_present_flag[i]");  vps->setSubLayerFlagInfoPresentFlag( i, uiCode ? true : false );
     2167#if SUB_LAYERS_IN_LAYER_SET
     2168    for(Int j = 0; j <= vps->getMaxSLayersInLayerSetMinus1( layerSetIdxForOutputLayerSet ); j++)
     2169#else
    21632170#if DPB_PARAMS_MAXTLAYERS
    21642171#if BITRATE_PICRATE_SIGNALLING
     
    21692176#else
    21702177    for(Int j = 0; j <= vps->getMaxTLayers(); j++)
     2178#endif
    21712179#endif
    21722180    {
     
    22222230  }
    22232231
     2232#if !SUB_LAYERS_IN_LAYER_SET
    22242233#if BITRATE_PICRATE_SIGNALLING
    22252234  if( MaxSubLayersInLayerSetMinus1 )
     
    22272236    delete [] MaxSubLayersInLayerSetMinus1;
    22282237  }
     2238#endif
    22292239#endif
    22302240
Note: See TracChangeset for help on using the changeset viewer.