Changeset 945 in SHVCSoftware for branches/SHM-upgrade/source/Lib/TLibCommon


Ignore:
Timestamp:
31 Dec 2014, 07:37:45 (10 years ago)
Author:
seregin
Message:

temporal improvement for profile/level signalling

Location:
branches/SHM-upgrade/source/Lib/TLibCommon
Files:
2 edited

Legend:

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

    r916 r945  
    621621  Bool        m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1];
    622622#endif
    623 
     623#if !MULTIPLE_PTL_SUPPORT
    624624  TComPTL     m_pcPTL;
     625#endif
    625626  TimingInfo  m_timingInfo;
    626627
    627628#if SVC_EXTENSION
     629#if MULTIPLE_PTL_SUPPORT
     630  TComPTL     m_pcPTLList[NUM_POSSIBLE_LEVEL];
     631#endif
    628632#if DERIVE_LAYER_ID_LIST_VARIABLES
    629633#if Q0078_ADD_LAYER_SETS
     
    689693  UInt       m_profileLayerSetRef[MAX_VPS_LAYER_SETS_PLUS1];    // The value with index 0 will not be used.
    690694#endif
     695#if !MULTIPLE_PTL_SUPPORT
    691696  std::vector<TComPTL>    m_pcPTLForExtn; 
     697#endif
    692698#endif
    693699#if VPS_EXTN_OP_LAYER_SETS
     
    10041010  Void    setLayerIdIncludedFlag(Bool v, UInt opsIdx, UInt id)  { m_layerIdIncludedFlag[opsIdx][id] = v;    }
    10051011
     1012#if !MULTIPLE_PTL_SUPPORT
    10061013  TComPTL* getPTL() { return &m_pcPTL; }
     1014#endif
     1015
    10071016  TimingInfo* getTimingInfo() { return &m_timingInfo; }
    10081017
    10091018#if SVC_EXTENSION
     1019#if MULTIPLE_PTL_SUPPORT
     1020  TComPTL* getPTL() { return &m_pcPTLList[0]; }
     1021  TComPTL* getPTL(UInt idx) { return &m_pcPTLList[idx]; }
     1022#endif
    10101023#if DERIVE_LAYER_ID_LIST_VARIABLES
    10111024  Int     getLayerSetLayerIdList(Int set, Int layerId)          { return m_layerSetLayerIdList[set][layerId]; }
     
    11051118#endif
    11061119
     1120#if !MULTIPLE_PTL_SUPPORT
    11071121  std::vector<TComPTL>* getPTLForExtnPtr()                      { return &m_pcPTLForExtn;          }
    11081122  TComPTL* getPTLForExtn(Int id)                                { return &m_pcPTLForExtn[id];      }
     1123#endif
    11091124#endif
    11101125#if VPS_EXTN_OP_LAYER_SETS
     
    11721187  Int    getProfileLevelTierIdx(Int const olsIdx, Int const layerIdx)     { return m_profileLevelTierIdx[olsIdx][layerIdx]; }
    11731188  Void   setProfileLevelTierIdx(Int const olsIdx, Int const layerIdx, Int const ptlIdx)     { m_profileLevelTierIdx[olsIdx][layerIdx] = ptlIdx; }
    1174   Int calculateLenOfSyntaxElement( Int const numVal );
     1189#if MULTIPLE_PTL_SUPPORT
     1190  Void   addProfileLevelTierIdx(Int const olsIdx, Int const ptlIdx)     { m_profileLevelTierIdx[olsIdx].push_back(ptlIdx); }
     1191#endif
     1192  Int    calculateLenOfSyntaxElement( Int const numVal );
    11751193#else
    11761194  Int    getProfileLevelTierIdx(Int i)                        { return m_profileLevelTierIdx[i]; }
  • branches/SHM-upgrade/source/Lib/TLibCommon/TypeDef.h

    r928 r945  
    245245#define MAX_NUM_ADD_LAYER_SETS           1023
    246246#endif
     247#define MULTIPLE_PTL_SUPPORT             1      ///< Profile, tier and level signalling
     248#define NUM_POSSIBLE_LEVEL               13
    247249
    248250#define VPS_DPB_SIZE_TABLE               1      ///< JCTVC-O0217: DPB operations: signaling DPB-related parameters
     
    927929    MAINREXT = 4,
    928930    HIGHTHROUGHPUTREXT = 5,
    929 #if SVC_EXTENSION
    930     SCALABLE = 6,
    931     SCALABLE10 = 7,
    932 #endif
    933931  };
    934932}
Note: See TracChangeset for help on using the changeset viewer.