|
NVIDIA DeepStream SDK API Reference
|
7.1 Release
|
Go to the documentation of this file.
24 #ifndef __GST_NVDSVIDEOTEMPLATE_H__
25 #define __GST_NVDSVIDEOTEMPLATE_H__
27 #include <gst/base/gstbasetransform.h>
28 #include <gst/video/video.h>
29 #include <glib-object.h>
32 #include <cuda_runtime.h>
34 #include "nvtx3/nvToolsExt.h"
36 #include "nvdscustomlib_factory.hpp"
37 #include "nvdscustomlib_interface.hpp"
41 #define PACKAGE "nvdsvideotemplate"
43 #define LICENSE "Proprietary"
44 #define DESCRIPTION "NVIDIA nvdsvideotemplate plugin for integration with DeepStream on DGPU/Jetson"
45 #define BINARY_PACKAGE "NVIDIA DeepStream Template Plugin"
46 #define URL "http://nvidia.com/"
54 #define GST_TYPE_NVDSVIDEOTEMPLATE (gst_nvdsvideotemplate_get_type())
55 #define GST_NVDSVIDEOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSVIDEOTEMPLATE,GstNvDsVideoTemplate))
56 #define GST_NVDSVIDEOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSVIDEOTEMPLATE,GstNvDsVideoTemplateClass))
57 #define GST_NVDSVIDEOTEMPLATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSVIDEOTEMPLATE, GstNvDsVideoTemplateClass))
58 #define GST_IS_NVDSVIDEOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSVIDEOTEMPLATE))
59 #define GST_IS_NVDSVIDEOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSVIDEOTEMPLATE))
60 #define GST_NVDSVIDEOTEMPLATE_CAST(obj) ((GstNvDsVideoTemplate *)(obj))
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)
gchar * custom_lib_name
Custom Library Name and output caps string.
guint gpu_id
GPU ID on which we expect to execute the task.
gboolean fill_dummy_batch_meta
DSCustomLibrary_Factory * algo_factory
Custom Library Factory and Interface.
std::vector< Property > * vecProp
GstBaseTransform base_trans
NvBufSurfTransformConfigParams config_params
gboolean dummy_meta_insert
GstBaseTransformClass parent_class
nvtxDomainHandle_t nvtx_domain
NVTX Domain.
GType gst_nvdsvideotemplate_get_type(void)
gchar * custom_prop_string
typedefG_BEGIN_DECLS struct _GstNvDsVideoTemplate GstNvDsVideoTemplate
GstVideoInfo out_video_info