NVIDIA DeepStream SDK API Reference

6.4 Release
nvdsspeech::DSCustomLibraryBase Class Referenceabstract

Detailed Description

Inheritance diagram for nvdsspeech::DSCustomLibraryBase:
Collaboration diagram for nvdsspeech::DSCustomLibraryBase:

Public Member Functions

 DSCustomLibraryBase ()=default
 
virtual ~DSCustomLibraryBase () override
 
bool Initialize () override
 
bool StartWithParams (DSCustom_CreateParams *params) override
 
bool SetProperty (const Property &prop) override
 
GstCaps * GetCompatibleCaps (GstPadDirection direction, GstCaps *inCaps, GstCaps *otherCaps) override
 
bool HandleEvent (GstEvent *event) override
 
BufferResult ProcessBuffer (GstBuffer *inbuf) override=0
 

Protected Attributes

GstBaseTransform * m_element {nullptr}
 
GstCaps * m_inCaps {nullptr}
 
GstCaps * m_outCaps {nullptr}
 
std::string m_configFile
 
GstAudioInfo m_inAudioInfo {nullptr, GST_AUDIO_FLAG_NONE}
 
GstAudioFormat m_inAudioFmt = GST_AUDIO_FORMAT_UNKNOWN
 
CapsType m_OutType = CapsType::kNone
 
GstAudioInfo m_outAudioInfo {nullptr, GST_AUDIO_FLAG_NONE}
 

Constructor & Destructor Documentation

◆ DSCustomLibraryBase()

nvdsspeech::DSCustomLibraryBase::DSCustomLibraryBase ( )
default

◆ ~DSCustomLibraryBase()

DSCustomLibraryBase::~DSCustomLibraryBase ( )
overridevirtual

Definition at line 113 of file gst-nvdsspeech/includes/nvdscustomlib_base.hpp.

References m_inCaps, and m_outCaps.

Member Function Documentation

◆ GetCompatibleCaps()

GstCaps * DSCustomLibraryBase::GetCompatibleCaps ( GstPadDirection  direction,
GstCaps *  inCaps,
GstCaps *  otherCaps 
)
overridevirtual

◆ HandleEvent()

bool nvdsspeech::DSCustomLibraryBase::HandleEvent ( GstEvent *  event)
inlineoverridevirtual

◆ Initialize()

bool DSCustomLibraryBase::Initialize ( )
overridevirtual

◆ ProcessBuffer()

BufferResult nvdsspeech::DSCustomLibraryBase::ProcessBuffer ( GstBuffer inbuf)
overridepure virtual

◆ SetProperty()

bool DSCustomLibraryBase::SetProperty ( const Property prop)
overridevirtual

◆ StartWithParams()

Field Documentation

◆ m_configFile

std::string nvdsspeech::DSCustomLibraryBase::m_configFile
protected

Definition at line 64 of file gst-nvdsspeech/includes/nvdscustomlib_base.hpp.

Referenced by SetProperty().

◆ m_element

GstBaseTransform* nvdsspeech::DSCustomLibraryBase::m_element {nullptr}
protected

Definition at line 60 of file gst-nvdsspeech/includes/nvdscustomlib_base.hpp.

Referenced by StartWithParams().

◆ m_inAudioFmt

GstAudioFormat nvdsspeech::DSCustomLibraryBase::m_inAudioFmt = GST_AUDIO_FORMAT_UNKNOWN
protected

Definition at line 68 of file gst-nvdsspeech/includes/nvdscustomlib_base.hpp.

Referenced by StartWithParams().

◆ m_inAudioInfo

GstAudioInfo nvdsspeech::DSCustomLibraryBase::m_inAudioInfo {nullptr, GST_AUDIO_FLAG_NONE}
protected

Definition at line 67 of file gst-nvdsspeech/includes/nvdscustomlib_base.hpp.

Referenced by StartWithParams().

◆ m_inCaps

GstCaps* nvdsspeech::DSCustomLibraryBase::m_inCaps {nullptr}
protected

◆ m_outAudioInfo

GstAudioInfo nvdsspeech::DSCustomLibraryBase::m_outAudioInfo {nullptr, GST_AUDIO_FLAG_NONE}
protected

Definition at line 71 of file gst-nvdsspeech/includes/nvdscustomlib_base.hpp.

Referenced by StartWithParams().

◆ m_outCaps

GstCaps* nvdsspeech::DSCustomLibraryBase::m_outCaps {nullptr}
protected

◆ m_OutType

CapsType nvdsspeech::DSCustomLibraryBase::m_OutType = CapsType::kNone
protected

Definition at line 70 of file gst-nvdsspeech/includes/nvdscustomlib_base.hpp.

Referenced by StartWithParams().


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