HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
ParameterSetManager Class Reference

#include <TComSlice.h>

Collaboration diagram for ParameterSetManager:
Collaboration graph
[legend]

Public Member Functions

Void storeVPS (TComVPS *vps, const std::vector< UChar > &naluData)
 store sequence parameter set and take ownership of it More...
 
TComVPSgetVPS (Int vpsId)
 get pointer to existing video parameter set More...
 
Bool getVPSChangedFlag (Int vpsId) const
 
Void clearVPSChangedFlag (Int vpsId)
 
TComVPSgetFirstVPS ()
 
Void storeSPS (TComSPS *sps, const std::vector< UChar > &naluData)
 store sequence parameter set and take ownership of it More...
 
TComSPSgetSPS (Int spsId)
 get pointer to existing sequence parameter set More...
 
Bool getSPSChangedFlag (Int spsId) const
 
Void clearSPSChangedFlag (Int spsId)
 
TComSPSgetFirstSPS ()
 
Void storePPS (TComPPS *pps, const std::vector< UChar > &naluData)
 store picture parameter set and take ownership of it More...
 
TComPPSgetPPS (Int ppsId)
 get pointer to existing picture parameter set More...
 
Bool getPPSChangedFlag (Int ppsId) const
 
Void clearPPSChangedFlag (Int ppsId)
 
TComPPSgetFirstPPS ()
 
const TComVPSgetActiveVPS () const
 
const TComSPSgetActiveSPS () const
 
 ParameterSetManager ()
 
virtual ~ParameterSetManager ()
 
Bool activatePPS (Int ppsId, Bool isIRAP)
 

Protected Attributes

ParameterSetMap< TComVPSm_vpsMap
 
ParameterSetMap< TComSPSm_spsMap
 
ParameterSetMap< TComPPSm_ppsMap
 
Int m_activeVPSId
 
Int m_activeSPSId
 

Detailed Description

Definition at line 1667 of file TComSlice.h.

Constructor & Destructor Documentation

ParameterSetManager::ParameterSetManager ( )

Definition at line 2092 of file TComSlice.cpp.

ParameterSetManager::~ParameterSetManager ( )
virtual

Definition at line 2102 of file TComSlice.cpp.

Member Function Documentation

Bool ParameterSetManager::activatePPS ( Int  ppsId,
Bool  isIRAP 
)

activate a SPS from a active parameter sets SEI message

Returns
true, if activation is successful activate a PPS and depending on isIDR parameter also SPS and VPS
true, if activation is successful

Definition at line 2135 of file TComSlice.cpp.

Void ParameterSetManager::clearPPSChangedFlag ( Int  ppsId)
inline

Definition at line 1694 of file TComSlice.h.

Void ParameterSetManager::clearSPSChangedFlag ( Int  spsId)
inline

Definition at line 1686 of file TComSlice.h.

Void ParameterSetManager::clearVPSChangedFlag ( Int  vpsId)
inline

Definition at line 1678 of file TComSlice.h.

const TComSPS* ParameterSetManager::getActiveSPS ( ) const
inline

Definition at line 1706 of file TComSlice.h.

const TComVPS* ParameterSetManager::getActiveVPS ( ) const
inline

Definition at line 1705 of file TComSlice.h.

TComPPS* ParameterSetManager::getFirstPPS ( )
inline

Definition at line 1695 of file TComSlice.h.

TComSPS* ParameterSetManager::getFirstSPS ( )
inline

Definition at line 1687 of file TComSlice.h.

TComVPS* ParameterSetManager::getFirstVPS ( )
inline

Definition at line 1679 of file TComSlice.h.

TComPPS* ParameterSetManager::getPPS ( Int  ppsId)
inline

get pointer to existing picture parameter set

Definition at line 1692 of file TComSlice.h.

Bool ParameterSetManager::getPPSChangedFlag ( Int  ppsId) const
inline

Definition at line 1693 of file TComSlice.h.

TComSPS* ParameterSetManager::getSPS ( Int  spsId)
inline

get pointer to existing sequence parameter set

Definition at line 1684 of file TComSlice.h.

Bool ParameterSetManager::getSPSChangedFlag ( Int  spsId) const
inline

Definition at line 1685 of file TComSlice.h.

TComVPS* ParameterSetManager::getVPS ( Int  vpsId)
inline

get pointer to existing video parameter set

Definition at line 1676 of file TComSlice.h.

Bool ParameterSetManager::getVPSChangedFlag ( Int  vpsId) const
inline

Definition at line 1677 of file TComSlice.h.

Void ParameterSetManager::storePPS ( TComPPS pps,
const std::vector< UChar > &  naluData 
)
inline

store picture parameter set and take ownership of it

Definition at line 1690 of file TComSlice.h.

Void ParameterSetManager::storeSPS ( TComSPS sps,
const std::vector< UChar > &  naluData 
)
inline

store sequence parameter set and take ownership of it

Definition at line 1682 of file TComSlice.h.

Void ParameterSetManager::storeVPS ( TComVPS vps,
const std::vector< UChar > &  naluData 
)
inline

store sequence parameter set and take ownership of it

Definition at line 1674 of file TComSlice.h.

Member Data Documentation

Int ParameterSetManager::m_activeSPSId
protected

Definition at line 1714 of file TComSlice.h.

Int ParameterSetManager::m_activeVPSId
protected

Definition at line 1713 of file TComSlice.h.

ParameterSetMap<TComPPS> ParameterSetManager::m_ppsMap
protected

Definition at line 1711 of file TComSlice.h.

ParameterSetMap<TComSPS> ParameterSetManager::m_spsMap
protected

Definition at line 1710 of file TComSlice.h.

ParameterSetMap<TComVPS> ParameterSetManager::m_vpsMap
protected

Definition at line 1706 of file TComSlice.h.


The documentation for this class was generated from the following files: