Changeset 1053 in SHVCSoftware for branches/SHM-dev/source


Ignore:
Timestamp:
4 Mar 2015, 01:11:53 (10 years ago)
Author:
interdigital
Message:

change layer Id and layer index

File:
1 edited

Legend:

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

    r1051 r1053  
    653653#if Q0078_ADD_LAYER_SETS
    654654  UInt        m_vpsNumLayerSetsMinus1;
    655   Bool        m_layerIdIncludedFlag[MAX_VPS_LAYER_SETS_PLUS1 + MAX_NUM_ADD_LAYER_SETS][MAX_VPS_LAYER_IDX_PLUS1];
     655  Bool        m_layerIdIncludedFlag[MAX_VPS_LAYER_SETS_PLUS1 + MAX_NUM_ADD_LAYER_SETS][MAX_NUM_LAYER_IDS];
    656656#else
    657657  Bool        m_layerIdIncludedFlag[MAX_VPS_LAYER_SETS_PLUS1][MAX_VPS_LAYER_IDX_PLUS1];
     
    676676  // Below are derived variables
    677677  UInt       m_numScalabilityTypes;
    678   UInt       m_layerIdxInVps[MAX_VPS_LAYER_IDX_PLUS1];            // Maps layer_id_in_nuh with the layer ID in the VPS
     678  UInt       m_layerIdxInVps[MAX_NUM_LAYER_IDS];            // Maps layer_id_in_nuh with the layer ID in the VPS
    679679#endif
    680680#if BITRATE_PICRATE_SIGNALLING
     
    846846  UInt       m_numPredictedLayers[MAX_NUM_LAYER_IDS];
    847847  Int        m_numIndependentLayers;
    848   Int        m_numLayersInTreePartition[MAX_NUM_LAYER_IDS];
    849   UInt       m_treePartitionLayerIdList[MAX_NUM_LAYER_IDS][MAX_NUM_LAYER_IDS];
     848  Int        m_numLayersInTreePartition[MAX_LAYERS];
     849  UInt       m_treePartitionLayerIdList[MAX_LAYERS][MAX_LAYERS];
    850850#endif
    851851#if SPS_DPB_PARAMS
     
    10921092  Void   setLayerIdInNuh(Int layerIdx, UInt x)                  { m_layerIdInNuh[layerIdx] = x;    }
    10931093
    1094   UInt   getDimensionId(Int lyrId, Int id)                      { return m_dimensionId[lyrId][id]; }
    1095   Void   setDimensionId(Int lyrId, Int id, UInt x)              { m_dimensionId[lyrId][id] = x;    }
     1094  UInt   getDimensionId(Int layerIdx, Int id)                      { return m_dimensionId[layerIdx][id]; }
     1095  Void   setDimensionId(Int layerIdx, Int id, UInt x)              { m_dimensionId[layerIdx][id] = x;    }
    10961096
    10971097  UInt   getNumScalabilityTypes()                               { return m_numScalabilityTypes;    }
     
    11291129  Void   setOutputLayerSetIdx(Int idx, UInt x)                  { m_outputLayerSetIdx[idx] = x;    }
    11301130
    1131   Bool   getOutputLayerFlag(Int layerSet, Int layerId)          { return m_outputLayerFlag[layerSet][layerId]; }
    1132   Void   setOutputLayerFlag(Int layerSet, Int layerId, Bool x)  { m_outputLayerFlag[layerSet][layerId] = x;    }
     1131  Bool   getOutputLayerFlag(Int layerSet, Int layerIdx)          { return m_outputLayerFlag[layerSet][layerIdx]; }
     1132  Void   setOutputLayerFlag(Int layerSet, Int layerIdx, Bool x)  { m_outputLayerFlag[layerSet][layerIdx] = x;    }
    11331133#endif
    11341134#if VPS_EXTN_DIRECT_REF_LAYERS
Note: See TracChangeset for help on using the changeset viewer.