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


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/TLibEncoder/TEncCavlc.cpp

    r869 r872  
    15061506Void TEncCavlc::codeVpsDpbSizeTable(TComVPS *vps)
    15071507{
     1508#if !SUB_LAYERS_IN_LAYER_SET  // MaxSLInLayerSets calculated earlier in the encoder
    15081509#if DPB_PARAMS_MAXTLAYERS
    15091510#if BITRATE_PICRATE_SIGNALLING
     
    15341535    }
    15351536#endif
     1537#endif
    15361538   
    15371539   
     
    15421544#endif
    15431545    WRITE_FLAG( vps->getSubLayerFlagInfoPresentFlag( i ), "sub_layer_flag_info_present_flag[i]");
     1546#if SUB_LAYERS_IN_LAYER_SET
     1547    for(Int j = 0; j <= vps->getMaxSLayersInLayerSetMinus1( layerSetIdxForOutputLayerSet ); j++)
     1548#else
    15441549#if DPB_PARAMS_MAXTLAYERS
    15451550#if BITRATE_PICRATE_SIGNALLING
     
    15501555#else
    15511556    for(Int j = 0; j < vps->getMaxTLayers(); j++)
     1557#endif
    15521558#endif
    15531559    {
     
    15851591  }
    15861592
     1593#if !SUB_LAYERS_IN_LAYER_SET
    15871594#if BITRATE_PICRATE_SIGNALLING
    15881595  if( MaxSubLayersInLayerSetMinus1 )
     
    15901597    delete [] MaxSubLayersInLayerSetMinus1;
    15911598  }
     1599#endif
    15921600#endif
    15931601}
Note: See TracChangeset for help on using the changeset viewer.