Definition at line 35 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.


Public Member Functions | |
| DSCustomLibraryBase (GstBaseTransform *btrans=nullptr) | |
| virtual bool | SetInitParams (DSCustom_CreateParams *params) |
| virtual | ~DSCustomLibraryBase () |
| virtual bool | SetProperty (Property &prop)=0 |
| virtual bool | HandleEvent (GstEvent *event)=0 |
| virtual char * | QueryProperties ()=0 |
| virtual GstCaps * | GetCompatibleCaps (GstPadDirection direction, GstCaps *in_caps, GstCaps *othercaps) |
| virtual BufferResult | ProcessBuffer (GstBuffer *inbuf)=0 |
| NvBufSurface * | getNvBufSurface (GstBuffer *inbuf) |
| GstBufferPool * | CreateBufferPool (BufferPoolConfig *pool_config, GstCaps *outcaps) |
| DSCustomLibraryBase (GstBaseTransform *btrans=nullptr) | |
| virtual bool | SetInitParams (DSCustom_CreateParams *params) |
| virtual | ~DSCustomLibraryBase () |
| virtual bool | SetProperty (Property &prop)=0 |
| virtual bool | HandleEvent (GstEvent *event)=0 |
| virtual char * | QueryProperties ()=0 |
| virtual GstCaps * | GetCompatibleCaps (GstPadDirection direction, GstCaps *in_caps, GstCaps *othercaps) |
| virtual BufferResult | ProcessBuffer (GstBuffer *inbuf)=0 |
| NvBufSurface * | getNvBufSurface (GstBuffer *inbuf) |
| GstBufferPool * | CreateBufferPool (BufferPoolConfig *pool_config, GstCaps *outcaps) |
Data Fields | |
| GstBaseTransform * | m_element |
| guint | m_gpuId |
| GPU ID on which we expect to execute the algorithm. More... | |
| gboolean | m_dummyMetaInsert |
| gboolean | m_fillDummyBatchMeta |
| GstVideoInfo | m_inVideoInfo |
| GstVideoInfo | m_outVideoInfo |
| GstVideoFormat | m_inVideoFmt |
| GstVideoFormat | m_outVideoFmt |
| GstCaps * | m_inCaps |
| GstCaps * | m_outCaps |
|
explicit |
Definition at line 91 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
References m_dummyMetaInsert, m_fillDummyBatchMeta, m_gpuId, m_inCaps, and m_outCaps.
|
virtual |
Definition at line 117 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
|
explicit |
|
virtual |
| GstBufferPool * DSCustomLibraryBase::CreateBufferPool | ( | BufferPoolConfig * | pool_config, |
| GstCaps * | outcaps | ||
| ) |
Definition at line 189 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
References BufferPoolConfig::batch_size, BufferPoolConfig::cuda_mem_type, BufferPoolConfig::gpu_id, gst_nvds_buffer_pool_new(), and BufferPoolConfig::max_buffers.
| GstBufferPool* DSCustomLibraryBase::CreateBufferPool | ( | BufferPoolConfig * | pool_config, |
| GstCaps * | outcaps | ||
| ) |
|
virtual |
Implements IDSCustomLibrary.
Definition at line 120 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
References m_element.
|
virtual |
Implements IDSCustomLibrary.
| NvBufSurface * DSCustomLibraryBase::getNvBufSurface | ( | GstBuffer * | inbuf | ) |
Definition at line 227 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
References m_element.
| NvBufSurface* DSCustomLibraryBase::getNvBufSurface | ( | GstBuffer * | inbuf | ) |
|
pure virtual |
Implements IDSCustomLibrary.
|
pure virtual |
Implements IDSCustomLibrary.
|
pure virtual |
Implements IDSCustomLibrary.
|
pure virtual |
Implements IDSCustomLibrary.
|
pure virtual |
Implements IDSCustomLibrary.
|
pure virtual |
Implements IDSCustomLibrary.
|
virtual |
Implements IDSCustomLibrary.
|
virtual |
Implements IDSCustomLibrary.
Definition at line 100 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
References DSCustom_CreateParams::m_dummyMetaInsert, m_dummyMetaInsert, DSCustom_CreateParams::m_element, m_element, DSCustom_CreateParams::m_fillDummyBatchMeta, m_fillDummyBatchMeta, DSCustom_CreateParams::m_gpuId, m_gpuId, DSCustom_CreateParams::m_inCaps, m_inCaps, m_inVideoFmt, m_inVideoInfo, DSCustom_CreateParams::m_outCaps, m_outCaps, m_outVideoFmt, and m_outVideoInfo.
|
pure virtual |
Implements IDSCustomLibrary.
|
pure virtual |
Implements IDSCustomLibrary.
| gboolean DSCustomLibraryBase::m_dummyMetaInsert |
Definition at line 73 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by DSCustomLibraryBase(), and SetInitParams().
| GstBaseTransform * DSCustomLibraryBase::m_element |
Definition at line 68 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by GetCompatibleCaps(), getNvBufSurface(), and SetInitParams().
| gboolean DSCustomLibraryBase::m_fillDummyBatchMeta |
Definition at line 75 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by DSCustomLibraryBase(), and SetInitParams().
| guint DSCustomLibraryBase::m_gpuId |
GPU ID on which we expect to execute the algorithm.
Definition at line 71 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by DSCustomLibraryBase(), and SetInitParams().
| GstCaps * DSCustomLibraryBase::m_inCaps |
Definition at line 86 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by DSCustomLibraryBase(), and SetInitParams().
| GstVideoFormat DSCustomLibraryBase::m_inVideoFmt |
Definition at line 82 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by SetInitParams().
| GstVideoInfo DSCustomLibraryBase::m_inVideoInfo |
Definition at line 78 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by SetInitParams().
| GstCaps * DSCustomLibraryBase::m_outCaps |
Definition at line 87 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by DSCustomLibraryBase(), and SetInitParams().
| GstVideoFormat DSCustomLibraryBase::m_outVideoFmt |
Definition at line 83 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by SetInitParams().
| GstVideoInfo DSCustomLibraryBase::m_outVideoInfo |
Definition at line 79 of file sources/gst-plugins/gst-nvdsvideotemplate/includes/nvdscustomlib_base.hpp.
Referenced by SetInitParams().