|
NVIDIA DeepStream SDK API Reference
|
7.1 Release
|
Go to the documentation of this file.
24 #ifndef __GST_NVDSAUDIOTEMPLATE_H__
25 #define __GST_NVDSAUDIOTEMPLATE_H__
27 #include <gst/base/gstbasetransform.h>
28 #include <gst/audio/audio.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"
40 #define PACKAGE "nvdsaudiotemplate"
42 #define LICENSE "Proprietary"
43 #define DESCRIPTION "NVIDIA example Template 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_NVDSAUDIOTEMPLATE (gst_nvdsaudiotemplate_get_type())
54 #define GST_NVDSAUDIOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSAUDIOTEMPLATE,GstNvDsAudioTemplate))
55 #define GST_NVDSAUDIOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSAUDIOTEMPLATE,GstNvDsAudioTemplateClass))
56 #define GST_NVDSAUDIOTEMPLATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSAUDIOTEMPLATE, GstNvDsAudioTemplateClass))
57 #define GST_IS_NVDSAUDIOTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSAUDIOTEMPLATE))
58 #define GST_IS_NVDSAUDIOTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSAUDIOTEMPLATE))
59 #define GST_NVDSAUDIOTEMPLATE_CAST(obj) ((GstNvDsAudioTemplate *)(obj))
gboolean stop
Boolean to signal output thread to stop.
gchar * custom_prop_string
GstBaseTransform base_trans
GstAudioInfo out_audio_info
GType gst_nvdsaudiotemplate_get_type(void)
GstBaseTransformClass parent_class
typedefG_BEGIN_DECLS struct _GstNvDsAudioTemplate GstNvDsAudioTemplate
gchar * custom_lib_name
Custom Library Name and output caps string.
std::vector< Property > * vecProp
IDSCustomLibrary * algo_ctx
GstAudioInfo in_audio_info
Input and Output audio info (resolution, color format, framerate, etc)
nvtxDomainHandle_t nvtx_domain
NVTX Domain.
DSCustomLibrary_Factory * algo_factory
Custom Library Factory and Interface.
guint gpu_id
GPU ID on which we expect to execute the task.