HEVC Test Model (HM)  HM-16.3
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 > *pNaluData)
 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 > *pNaluData)
 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 > *pNaluData)
 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 activateSPSWithSEI (Int SPSId)
 
Bool activatePPS (Int ppsId, Bool isIRAP)
 

Protected Attributes

ParameterSetMap< TComVPSm_vpsMap
 
ParameterSetMap< TComSPSm_spsMap
 
ParameterSetMap< TComPPSm_ppsMap
 
TComVPS m_activeVPS
 
TComSPS m_activeSPS
 

Detailed Description

Definition at line 1622 of file TComSlice.h.

Constructor & Destructor Documentation

ParameterSetManager::ParameterSetManager ( )

Definition at line 2242 of file TComSlice.cpp.

ParameterSetManager::~ParameterSetManager ( )
virtual

Definition at line 2254 of file TComSlice.cpp.

Member Function Documentation

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

activate a PPS and depending on isIDR parameter also SPS and VPS

Returns
true, if activation is successful

Definition at line 2287 of file TComSlice.cpp.

Bool ParameterSetManager::activateSPSWithSEI ( Int  spsId)

activate a SPS from a active parameter sets SEI message

Returns
true, if activation is successful

Definition at line 2260 of file TComSlice.cpp.

Void ParameterSetManager::clearPPSChangedFlag ( Int  ppsId)
inline

Definition at line 1649 of file TComSlice.h.

Void ParameterSetManager::clearSPSChangedFlag ( Int  spsId)
inline

Definition at line 1641 of file TComSlice.h.

Void ParameterSetManager::clearVPSChangedFlag ( Int  vpsId)
inline

Definition at line 1633 of file TComSlice.h.

const TComSPS* ParameterSetManager::getActiveSPS ( ) const
inline

Definition at line 1661 of file TComSlice.h.

const TComVPS* ParameterSetManager::getActiveVPS ( ) const
inline

Definition at line 1660 of file TComSlice.h.

TComPPS* ParameterSetManager::getFirstPPS ( )
inline

Definition at line 1650 of file TComSlice.h.

TComSPS* ParameterSetManager::getFirstSPS ( )
inline

Definition at line 1642 of file TComSlice.h.

TComVPS* ParameterSetManager::getFirstVPS ( )
inline

Definition at line 1634 of file TComSlice.h.

TComPPS* ParameterSetManager::getPPS ( Int  ppsId)
inline

get pointer to existing picture parameter set

Definition at line 1647 of file TComSlice.h.

Bool ParameterSetManager::getPPSChangedFlag ( Int  ppsId) const
inline

Definition at line 1648 of file TComSlice.h.

TComSPS* ParameterSetManager::getSPS ( Int  spsId)
inline

get pointer to existing sequence parameter set

Definition at line 1639 of file TComSlice.h.

Bool ParameterSetManager::getSPSChangedFlag ( Int  spsId) const
inline

Definition at line 1640 of file TComSlice.h.

TComVPS* ParameterSetManager::getVPS ( Int  vpsId)
inline

get pointer to existing video parameter set

Definition at line 1631 of file TComSlice.h.

Bool ParameterSetManager::getVPSChangedFlag ( Int  vpsId) const
inline

Definition at line 1632 of file TComSlice.h.

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

store picture parameter set and take ownership of it

Definition at line 1645 of file TComSlice.h.

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

store sequence parameter set and take ownership of it

Definition at line 1637 of file TComSlice.h.

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

store sequence parameter set and take ownership of it

Definition at line 1629 of file TComSlice.h.

Member Data Documentation

TComSPS ParameterSetManager::m_activeSPS
protected

Definition at line 1669 of file TComSlice.h.

TComVPS ParameterSetManager::m_activeVPS
protected

Definition at line 1668 of file TComSlice.h.

ParameterSetMap<TComPPS> ParameterSetManager::m_ppsMap
protected

Definition at line 1666 of file TComSlice.h.

ParameterSetMap<TComSPS> ParameterSetManager::m_spsMap
protected

Definition at line 1665 of file TComSlice.h.

ParameterSetMap<TComVPS> ParameterSetManager::m_vpsMap
protected

Definition at line 1661 of file TComSlice.h.


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