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


Ignore:
Timestamp:
8 Jul 2015, 01:32:32 (10 years ago)
Author:
seregin
Message:

macro cleanup: VPS_EXTN_OP_LAYER_SETS

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

Legend:

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

    r1170 r1171  
    19561956, m_maxLayerId                (0)
    19571957, m_numLayerSets              (0)
    1958 #if VPS_EXTN_OP_LAYER_SETS
    19591958, m_numOutputLayerSets        (0) 
    1960 #endif
    19611959, m_numProfileTierLevel       (0)
    19621960, m_numAddOutputLayerSets     (0)
     
    19971995  m_numScalabilityTypes = 0;
    19981996  ::memset(m_layerIdxInVps, 0, sizeof(m_layerIdxInVps));
    1999 
    20001997  ::memset(m_profilePresentFlag, 0, sizeof(m_profilePresentFlag));
    2001 #if VPS_EXTN_OP_LAYER_SETS
     1998
    20021999  ::memset(m_layerIdIncludedFlag, 0, sizeof(m_layerIdIncludedFlag));
    20032000  // Consider dynamic allocation for outputLayerSetIdx and outputLayerFlag
    20042001  ::memset(m_outputLayerSetIdx, 0, sizeof(m_outputLayerSetIdx));
    20052002  ::memset(m_outputLayerFlag, 0, sizeof(m_outputLayerFlag));
    2006 #endif
    20072003
    20082004  ::memset(m_directDependencyFlag, 0, sizeof(m_directDependencyFlag));
  • branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h

    r1170 r1171  
    639639  std::vector<TComPTL>    m_pcPTLForExtn; 
    640640#endif
    641 #if VPS_EXTN_OP_LAYER_SETS
    642   // .. More declarations here
     641
    643642  // Target output layer signalling related
    644643  UInt       m_numOutputLayerSets;
     
    649648  UInt       m_outputLayerSetIdx[MAX_VPS_LAYER_SETS_PLUS1];
    650649  Bool       m_outputLayerFlag[MAX_VPS_LAYER_SETS_PLUS1][MAX_VPS_LAYER_IDX_PLUS1];
    651 #endif
    652650#endif
    653651
     
    972970  TComPTL* getPTLForExtn(Int id)                                { return &m_pcPTLForExtn[id];      }
    973971#endif
    974 #if VPS_EXTN_OP_LAYER_SETS
    975972  // Target output layer signalling related
    976973  UInt   getNumOutputLayerSets()                                { return m_numOutputLayerSets;     }
     
    982979  Bool   getOutputLayerFlag(Int layerSet, Int layerIdx)          { return m_outputLayerFlag[layerSet][layerIdx]; }
    983980  Void   setOutputLayerFlag(Int layerSet, Int layerIdx, Bool x)  { m_outputLayerFlag[layerSet][layerIdx] = x;    }
    984 #endif
    985981
    986982  // Direct dependency of layers
  • branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h

    r1170 r1171  
    109109#define P0297_VPS_POC_LSB_ALIGNED_FLAG   1      ///< JCTVC-P0297: vps_poc_lsb_aligned_flag for cross-layer POC anchor picture derivation
    110110
    111 #define VPS_EXTN_OP_LAYER_SETS           1      ///< Include output layer sets in VPS extension
    112 
    113111#define VPS_VUI_TILES_NOT_IN_USE__FLAG   1      ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
    114112#define VPS_VUI_WPP_NOT_IN_USE__FLAG     1      ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use
Note: See TracChangeset for help on using the changeset viewer.