|
NVIDIA DeepStream SDK API Reference
|
6.4 Release
|
Go to the documentation of this file.
23 #ifndef __GST_NVDSVIDEOTEMPLATE_H__
24 #define __GST_NVDSVIDEOTEMPLATE_H__
26 #include <gst/base/gstbasetransform.h>
27 #include <gst/video/video.h>
28 #include <glib-object.h>
31 #include <cuda_runtime.h>
33 #include "nvtx3/nvToolsExt.h"
35 #include "nvdscustomlib_factory.hpp"
36 #include "nvdscustomlib_interface.hpp"
40 #define PACKAGE "nvdsvideotemplate"
42 #define LICENSE "Proprietary"
43 #define DESCRIPTION "NVIDIA nvdsvideotemplate plugin for integration with DeepStream on DGPU/Jetson"
44 #define BINARY_PACKAGE "NVIDIA DeepStream Template Plugin"
45 #define URL "http://nvidia.com/"
53 #define GST_TYPE_NVDSVIDEOTEMPLATE (gst_nvdsvideotemplate_get_type())
54 #define GST_NVDSVIDEOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSVIDEOTEMPLATE,GstNvDsVideoTemplate))
55 #define GST_NVDSVIDEOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSVIDEOTEMPLATE,GstNvDsVideoTemplateClass))
56 #define GST_NVDSVIDEOTEMPLATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSVIDEOTEMPLATE, GstNvDsVideoTemplateClass))
57 #define GST_IS_NVDSVIDEOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSVIDEOTEMPLATE))
58 #define GST_IS_NVDSVIDEOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSVIDEOTEMPLATE))
59 #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