|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
18 #ifndef __GST_NVDSVIDEOTEMPLATE_H__
19 #define __GST_NVDSVIDEOTEMPLATE_H__
21 #include <gst/base/gstbasetransform.h>
22 #include <gst/video/video.h>
23 #include <glib-object.h>
26 #include <cuda_runtime.h>
27 #include "gstnvdsmeta.h"
28 #include "nvtx3/nvToolsExt.h"
30 #include "nvdscustomlib_factory.hpp"
31 #include "nvdscustomlib_interface.hpp"
32 #include "nvbufsurftransform.h"
35 #define PACKAGE "nvdsvideotemplate"
37 #define LICENSE "Proprietary"
38 #define DESCRIPTION "NVIDIA nvdsvideotemplate plugin for integration with DeepStream on DGPU/Jetson"
39 #define BINARY_PACKAGE "NVIDIA DeepStream Template Plugin"
40 #define URL "http://nvidia.com/"
48 #define GST_TYPE_NVDSVIDEOTEMPLATE (gst_nvdsvideotemplate_get_type())
49 #define GST_NVDSVIDEOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSVIDEOTEMPLATE,GstNvDsVideoTemplate))
50 #define GST_NVDSVIDEOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSVIDEOTEMPLATE,GstNvDsVideoTemplateClass))
51 #define GST_NVDSVIDEOTEMPLATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSVIDEOTEMPLATE, GstNvDsVideoTemplateClass))
52 #define GST_IS_NVDSVIDEOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSVIDEOTEMPLATE))
53 #define GST_IS_NVDSVIDEOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSVIDEOTEMPLATE))
54 #define GST_NVDSVIDEOTEMPLATE_CAST(obj) ((GstNvDsVideoTemplate *)(obj))
gchar * custom_prop_string
IDSCustomLibrary * algo_ctx
gboolean stop
Boolean to signal output thread to stop.
GstVideoInfo in_video_info
Input and Output video info (resolution, color format, framerate, etc)
guint gpu_id
GPU ID on which we expect to execute the task.
gboolean fill_dummy_batch_meta
GstBaseTransform base_trans
gchar * custom_lib_name
Custom Library Name and output caps string.
NvBufSurfTransformConfigParams config_params
gboolean dummy_meta_insert
typedefG_BEGIN_DECLS struct _GstNvDsVideoTemplate GstNvDsVideoTemplate
GstBaseTransformClass parent_class
nvtxDomainHandle_t nvtx_domain
NVTX Domain.
DSCustomLibrary_Factory * algo_factory
Custom Library Factory and Interface.
GType gst_nvdsvideotemplate_get_type(void)
std::vector< Property > * vecProp
GstVideoInfo out_video_info