Ignore:
Timestamp:
30 Dec 2014, 18:47:09 (10 years ago)
Author:
seregin
Message:

support profile, tier and level for each layer, patch was provided by Hendry <fhendry@…>

File:
1 edited

Legend:

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

    r908 r941  
    582582  Bool        m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1];
    583583#endif
     584#if !MULTIPLE_PTL_SUPPORT
    584585  TComPTL     m_pcPTL;
     586#else
     587  TComPTL     m_pcPTLList[NUM_POSSIBLE_LEVEL];
     588#endif
    585589  TimingInfo  m_timingInfo;
    586590
     
    649653  UInt       m_profileLayerSetRef[MAX_VPS_LAYER_SETS_PLUS1];    // The value with index 0 will not be used.
    650654#endif
    651   std::vector<TComPTL>    m_pcPTLForExtn; 
     655#if !MULTIPLE_PTL_SUPPORT
     656  std::vector<TComPTL>    m_pcPTLForExtn;
     657#endif
    652658#endif
    653659#if VPS_EXTN_OP_LAYER_SETS
     
    964970  Void    setLayerIdIncludedFlag(Bool v, UInt opsIdx, UInt id)  { m_layerIdIncludedFlag[opsIdx][id] = v;    }
    965971
     972#if !MULTIPLE_PTL_SUPPORT
    966973  TComPTL* getPTL() { return &m_pcPTL; }
     974#else
     975  TComPTL* getPTL() { return &m_pcPTLList[0]; }
     976  TComPTL* getPTL(UInt idx) { return &m_pcPTLList[idx]; }
     977#endif
    967978  TimingInfo* getTimingInfo() { return &m_timingInfo; }
    968979
     
    10651076#endif
    10661077
     1078#if !MULTIPLE_PTL_SUPPORT
    10671079  std::vector<TComPTL>* getPTLForExtnPtr()                      { return &m_pcPTLForExtn;          }
    10681080  TComPTL* getPTLForExtn(Int id)                                { return &m_pcPTLForExtn[id];      }
     1081#endif
    10691082#endif
    10701083#if VPS_EXTN_OP_LAYER_SETS
     
    11321145  Int    getProfileLevelTierIdx(Int const olsIdx, Int const layerIdx)     { return m_profileLevelTierIdx[olsIdx][layerIdx]; }
    11331146  Void   setProfileLevelTierIdx(Int const olsIdx, Int const layerIdx, Int const ptlIdx)     { m_profileLevelTierIdx[olsIdx][layerIdx] = ptlIdx; }
     1147#if MULTIPLE_PTL_SUPPORT
     1148  Void   addProfileLevelTierIdx(Int const olsIdx, Int const ptlIdx)     { m_profileLevelTierIdx[olsIdx].push_back(ptlIdx); }
     1149#endif
    11341150  Int calculateLenOfSyntaxElement( Int const numVal );
    11351151#else
Note: See TracChangeset for help on using the changeset viewer.