NVIDIA DeepStream SDK API Reference

6.4 Release
gstnvdsA2Vtemplate.h
Go to the documentation of this file.
1 
23 #ifndef __GST_NVDSA2VTEMPLATE_H__
24 #define __GST_NVDSA2VTEMPLATE_H__
25 
26 #include <vector>
27 #include "gstaudio2video.h"
28 #include "nvdscustomlib_factory.hpp"
29 #include "nvdscustomlib_interface.hpp"
30 
31 G_BEGIN_DECLS
32 
33 /* Package and library details required for plugin_init */
34 #define PACKAGE "nvdsA2Vtemplate"
35 #define VERSION "1.0"
36 #define LICENSE "Proprietary"
37 #define DESCRIPTION "Nvidia nvdsA2Vtemplate plugin for handling audio in to video out related use cases \0"
38 #define BINARY_PACKAGE "NVIDIA DeepStream A2Vtemplate Plugin"
39 #define URL "http://nvidia.com/"
40 
41 /* Standard boilerplate stuff */
42 #define GST_TYPE_NVDSA2VTEMPLATE (gst_nvdsA2Vtemplate_get_type())
43 #define GST_NVDSA2VTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSA2VTEMPLATE,GstNvDsA2Vtemplate))
44 #define GST_NVDSA2VTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSA2VTEMPLATE,GstNvDsA2VtemplateClass))
45 #define GST_NVDSA2VTEMPLATE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GST_TYPE_NVDSA2VTEMPLATE, GstNvDsA2VtemplateClass))
46 #define GST_IS_NVDSA2VTEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSA2VTEMPLATE))
47 #define GST_IS_NVDSA2VTEMPLATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSA2VTEMPLATE))
48 #define GST_NVDSA2VTEMPLATE_CAST(obj) ((GstNvDsA2Vtemplate *)(obj))
49 
52 
54 {
56  GstPadEventFunction parent_sink_event_fn;
57 
61 
64 
65  /* Store custom lib property values */
66  std::vector<Property> *vecProp;
68 
69  gboolean gpu_on;
70 
71  /* < private > */
72  GstBufferPool *pool;
73 };
74 
76 {
78  GstStateChangeReturn (* parent_change_state_fn) (GstElement * element,
79  GstStateChange transition);
80 };
81 
82 GType gst_nvdsA2Vtemplate_get_type (void);
83 
84 G_END_DECLS
85 #endif /* __GST_NVDSA2VTEMPLATE_H__ */
_GstNvDsA2Vtemplate::algo_factory
DSCustomLibrary_Factory * algo_factory
Custom Library Factory and Interface.
Definition: gstnvdsA2Vtemplate.h:59
DSCustomLibrary_Factory
Definition: gst-nvdsA2Vtemplate/includes/nvdscustomlib_factory.hpp:39
gst_nvdsA2Vtemplate_get_type
GType gst_nvdsA2Vtemplate_get_type(void)
_GstNvDsA2Vtemplate
Definition: gstnvdsA2Vtemplate.h:53
_GstNvDsA2Vtemplate::vecProp
std::vector< Property > * vecProp
Definition: gstnvdsA2Vtemplate.h:66
_GstNvDsA2Vtemplate::parent
GstAudio2Video parent
Definition: gstnvdsA2Vtemplate.h:55
_GstAudio2VideoClass
Definition: gstaudio2video.h:59
IDSCustomLibrary
Definition: gst-nvdsA2Vtemplate/includes/nvdscustomlib_interface.hpp:53
gstaudio2video.h
_GstNvDsA2Vtemplate::pool
GstBufferPool * pool
Definition: gstnvdsA2Vtemplate.h:72
_GstNvDsA2VtemplateClass::parent_change_state_fn
GstStateChangeReturn(* parent_change_state_fn)(GstElement *element, GstStateChange transition)
Definition: gstnvdsA2Vtemplate.h:78
_GstNvDsA2Vtemplate::custom_prop_string
gchar * custom_prop_string
Definition: gstnvdsA2Vtemplate.h:67
_GstNvDsA2Vtemplate::algo_ctx
IDSCustomLibrary * algo_ctx
Definition: gstnvdsA2Vtemplate.h:60
_GstNvDsA2Vtemplate::custom_lib_name
gchar * custom_lib_name
Custom Library Name and output caps string.
Definition: gstnvdsA2Vtemplate.h:63
_GstNvDsA2Vtemplate::parent_sink_event_fn
GstPadEventFunction parent_sink_event_fn
Definition: gstnvdsA2Vtemplate.h:56
_GstNvDsA2Vtemplate::gpu_on
gboolean gpu_on
Definition: gstnvdsA2Vtemplate.h:69
_GstNvDsA2VtemplateClass
Definition: gstnvdsA2Vtemplate.h:75
_GstNvDsA2VtemplateClass::parent_class
GstAudio2VideoClass parent_class
Definition: gstnvdsA2Vtemplate.h:77
_GstAudio2Video
Definition: gstaudio2video.h:43