NVIDIA DeepStream SDK API Reference

7.0 Release
DSPostProcessLibraryBase Class Referenceabstract

Detailed Description

Definition at line 33 of file nvdspostprocesslib_base.hpp.

Inheritance diagram for DSPostProcessLibraryBase:
Collaboration diagram for DSPostProcessLibraryBase:

Public Member Functions

 DSPostProcessLibraryBase ()
 
 DSPostProcessLibraryBase (DSPostProcess_CreateParams *params)
 
virtual ~DSPostProcessLibraryBase ()
 
virtual bool HandleEvent (GstEvent *event)=0
 
virtual bool SetConfigFile (const gchar *config_file)=0
 
virtual BufferResult ProcessBuffer (GstBuffer *inbuf)=0
 

Data Fields

GstBaseTransform * m_element
 
guint m_gpuId
 GPU ID on which we expect to execute the algorithm. More...
 
cudaStream_t m_cudaStream
 

Constructor & Destructor Documentation

◆ DSPostProcessLibraryBase() [1/2]

DSPostProcessLibraryBase::DSPostProcessLibraryBase ( )

Definition at line 61 of file nvdspostprocesslib_base.hpp.

References m_cudaStream, m_element, and m_gpuId.

◆ DSPostProcessLibraryBase() [2/2]

◆ ~DSPostProcessLibraryBase()

DSPostProcessLibraryBase::~DSPostProcessLibraryBase ( )
virtual

Definition at line 80 of file nvdspostprocesslib_base.hpp.

Member Function Documentation

◆ HandleEvent()

virtual bool DSPostProcessLibraryBase::HandleEvent ( GstEvent *  event)
pure virtual

Implements IDSPostProcessLibrary.

Implemented in PostProcessAlgorithm.

◆ ProcessBuffer()

virtual BufferResult DSPostProcessLibraryBase::ProcessBuffer ( GstBuffer inbuf)
pure virtual

Implements IDSPostProcessLibrary.

Implemented in PostProcessAlgorithm.

◆ SetConfigFile()

virtual bool DSPostProcessLibraryBase::SetConfigFile ( const gchar *  config_file)
pure virtual

Implements IDSPostProcessLibrary.

Implemented in PostProcessAlgorithm.

Field Documentation

◆ m_cudaStream

cudaStream_t DSPostProcessLibraryBase::m_cudaStream

◆ m_element

GstBaseTransform* DSPostProcessLibraryBase::m_element

◆ m_gpuId

guint DSPostProcessLibraryBase::m_gpuId

GPU ID on which we expect to execute the algorithm.

Definition at line 54 of file nvdspostprocesslib_base.hpp.

Referenced by DSPostProcessLibraryBase(), and PostProcessAlgorithm::PostProcessAlgorithm().


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