Ignore:
Timestamp:
8 Jul 2015, 03:09:51 (9 years ago)
Author:
seregin
Message:

macro cleanup: DPB_PARAMS_MAXTLAYERS, MULTIPLE_PTL_SUPPORT

File:
1 edited

Legend:

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

    r1180 r1182  
    582582  UInt        m_numOpSets;
    583583  Bool        m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1];
    584 #endif
    585 #if !MULTIPLE_PTL_SUPPORT
    586584  TComPTL     m_pcPTL;
    587585#endif
     
    591589  Bool        m_baseLayerInternalFlag;
    592590  Bool        m_baseLayerAvailableFlag;
    593 #if MULTIPLE_PTL_SUPPORT
    594591  TComPTL     m_pcPTLList[MAX_NUM_LAYER_IDS + 1];
    595 #endif
    596592
    597593  std::vector< std::vector<Int> >     m_layerSetLayerIdList;
     
    623619  // Profile-tier-level signalling related
    624620  Bool       m_profilePresentFlag[MAX_VPS_LAYER_SETS_PLUS1];    // The value with index 0 will not be used.
    625 #if !MULTIPLE_PTL_SUPPORT
     621#if !SVC_EXTENSION
    626622  std::vector<TComPTL>    m_pcPTLForExtn; 
    627623#endif
     
    811807  Void    setLayerIdIncludedFlag(Bool v, UInt opsIdx, UInt id)  { m_layerIdIncludedFlag[opsIdx][id] = v;    }
    812808
    813 #if !MULTIPLE_PTL_SUPPORT
     809#if !SVC_EXTENSION
    814810  TComPTL* getPTL() { return &m_pcPTL; }
    815811#endif
     
    847843  }
    848844#endif
    849 #if MULTIPLE_PTL_SUPPORT
    850   TComPTL* getPTL() { return &m_pcPTLList[0]; }
    851   TComPTL* getPTL(UInt idx) { return &m_pcPTLList[idx]; }
    852 #endif
     845  TComPTL* getPTL()                                             { return &m_pcPTLList[0]; }
     846  TComPTL* getPTL(UInt idx)                                     { return &m_pcPTLList[idx]; }
     847
    853848  Int     getLayerSetLayerIdList(Int set, Int layerId)          { return m_layerSetLayerIdList[set][layerId]; }
    854849  Void    setLayerSetLayerIdList(Int set, Int layerId, Int x)   { m_layerSetLayerIdList[set][layerId] = x;    }
     
    928923  Void   setProfilePresentFlag(Int id, Bool x)                  { m_profilePresentFlag[id] = x;    }
    929924
    930 #if !MULTIPLE_PTL_SUPPORT
    931   std::vector<TComPTL>* getPTLForExtnPtr()                      { return &m_pcPTLForExtn;          }
    932   TComPTL* getPTLForExtn(Int id)                                { return &m_pcPTLForExtn[id];      }
    933 #endif
    934925  // Target output layer signalling related
    935926  UInt   getNumOutputLayerSets()                                { return m_numOutputLayerSets;     }
     
    976967  Int    getProfileLevelTierIdx(Int const olsIdx, Int const layerIdx)                   { return m_profileLevelTierIdx[olsIdx][layerIdx]; }
    977968  Void   setProfileLevelTierIdx(Int const olsIdx, Int const layerIdx, Int const ptlIdx) { m_profileLevelTierIdx[olsIdx][layerIdx] = ptlIdx; }
    978 #if MULTIPLE_PTL_SUPPORT
    979969  Void   addProfileLevelTierIdx(Int const olsIdx, Int const ptlIdx)             { m_profileLevelTierIdx[olsIdx].push_back(ptlIdx); }
    980 #endif
    981970  Int    calculateLenOfSyntaxElement( Int const numVal );
    982971
Note: See TracChangeset for help on using the changeset viewer.