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


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@…>

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

Legend:

Unmodified
Added
Removed
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp

    r870 r872  
    31403140  }
    31413141  return numBits;
     3142}
     3143#endif
     3144#if SUB_LAYERS_IN_LAYER_SET
     3145Void TComVPS::calculateMaxSLInLayerSets()
     3146{
     3147  for(Int lsIdx = 0; lsIdx < getNumLayerSets(); lsIdx++)
     3148  {
     3149    UInt maxSLMinus1 = 0;
     3150    for(Int k = 0; k < getNumLayersInIdList(lsIdx); k++ ) {
     3151      Int  lId = getLayerSetLayerIdList(lsIdx, k);
     3152      maxSLMinus1 = std::max(maxSLMinus1, getMaxTSLayersMinus1(getLayerIdInVps(lId)));
     3153    }
     3154    setMaxSLayersInLayerSetMinus1(lsIdx,maxSLMinus1);
     3155  }
    31423156}
    31433157#endif
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r869 r872  
    13141314  Void  checkNecessaryLayerFlagCondition();
    13151315#endif
     1316#if SUB_LAYERS_IN_LAYER_SET
     1317  Void  calculateMaxSLInLayerSets();
     1318#endif
    13161319#endif //SVC_EXTENSION
    13171320};
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r871 r872  
    6060#endif
    6161#define BSP_INIT_ARRIVAL_SEI             1      ///< JCTVC-R0231: Make signalling of vcl_initial_arrival_delay independent of NalHrdBpPresentFlag
     62#define SUB_LAYERS_IN_LAYER_SET          1      ///< Move calculation of MaxSubLayerInLayerSets to a separate function
    6263#define O0137_MAX_LAYERID                1      ///< JCTVC-O0137, JCTVC-O0200, JCTVC-O0223: restrict nuh_layer_id and vps_max_layers_minus1
    6364
Note: See TracChangeset for help on using the changeset viewer.