|
NVIDIA DeepStream SDK API Reference
|
7.0 Release
|
Go to the documentation of this file.
24 #ifndef __NVDSCUSTOMLIB_BASE_HPP__
25 #define __NVDSCUSTOMLIB_BASE_HPP__
27 #include <gst/audio/audio.h>
28 #include <gst/base/gstbasetransform.h>
59 GstCaps *in_caps, GstCaps *othercaps);
virtual BufferResult ProcessBuffer(GstBuffer *inbuf)=0
GstAudioFormat m_inAudioFmt
GstAudioFormat m_outAudioFmt
GstAudioInfo m_outAudioInfo
GstBaseTransform * m_element
virtual bool SetProperty(Property &prop)=0
virtual char * QueryProperties()=0
virtual ~DSCustomLibraryBase()
virtual GstCaps * GetCompatibleCaps(GstPadDirection direction, GstCaps *in_caps, GstCaps *othercaps)
DSCustomLibraryBase(GstBaseTransform *btrans=nullptr)
virtual bool HandleEvent(GstEvent *event)=0
guint m_gpuId
GPU ID on which we expect to execute the algorithm.
struct _GstBuffer GstBuffer
GstAudioInfo m_inAudioInfo
virtual bool SetInitParams(DSCustom_CreateParams *params)