NVIDIA DeepStream SDK API Reference

6.4 Release
gstnvdsmetaextract.h
Go to the documentation of this file.
1 
24 #ifndef __GST_NVDSMETAEXTRACT_H__
25 #define __GST_NVDSMETAEXTRACT_H__
26 
27 #include <gst/gst.h>
28 #include <gst/base/gstbasetransform.h>
29 
30 G_BEGIN_DECLS
31 
32 /* #defines don't like whitespacey bits */
33 #define GST_TYPE_NVDSMETAEXTRACT \
34  (gst_nvdsmetaextract_get_type())
35 #define GST_NVDSMETAEXTRACT(obj) \
36  (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSMETAEXTRACT,Gstnvdsmetaextract))
37 #define GST_NVDSMETAEXTRACT_CLASS(klass) \
38  (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSMETAEXTRACT,GstnvdsmetaextractClass))
39 #define GST_IS_NVDSMETAEXTRACT(obj) \
40  (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSMETAEXTRACT))
41 #define GST_IS_NVDSMETAEXTRACT_CLASS(klass) \
42  (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSMETAEXTRACT))
43 
46 
48 {
49  GstBaseTransform element;
50 
51  GstPad *sinkpad, *srcpad;
52  gboolean is_same_caps;
53 
54  /* source and sink pad caps */
55  GstCaps *sinkcaps;
56  GstCaps *srccaps;
57 
58  guint frame_width;
59  guint frame_height;
60 
61  void *lib_handle;
63  void (*deserialize_func)(GstBuffer *buf);
64 };
65 
67 {
68  GstBaseTransformClass parent_class;
69 };
70 
71 GType gst_nvdsmetaextract_get_type (void);
72 
73 gboolean nvds_metaextract_init (GstPlugin * nvdsmetaextract);
74 
75 G_END_DECLS
76 
77 #endif /* __GST_NVDSMETAEXTRACT_H__ */
_Gstnvdsmetaextract::element
GstBaseTransform element
Definition: gstnvdsmetaextract.h:49
_Gstnvdsmetaextract::deserialization_lib_name
gchar * deserialization_lib_name
Definition: gstnvdsmetaextract.h:62
_Gstnvdsmetaextract::srccaps
GstCaps * srccaps
Definition: gstnvdsmetaextract.h:56
_Gstnvdsmetaextract::sinkpad
GstPad * sinkpad
Definition: gstnvdsmetaextract.h:51
_Gstnvdsmetaextract::frame_width
guint frame_width
Definition: gstnvdsmetaextract.h:58
_GstnvdsmetaextractClass::parent_class
GstBaseTransformClass parent_class
Definition: gstnvdsmetaextract.h:68
nvds_metaextract_init
gboolean nvds_metaextract_init(GstPlugin *nvdsmetaextract)
_Gstnvdsmetaextract::lib_handle
void * lib_handle
Definition: gstnvdsmetaextract.h:61
_Gstnvdsmetaextract::sinkcaps
GstCaps * sinkcaps
Definition: gstnvdsmetaextract.h:55
_Gstnvdsmetaextract::srcpad
GstPad * srcpad
Definition: gstnvdsmetaextract.h:51
_Gstnvdsmetaextract
Definition: gstnvdsmetaextract.h:47
_GstnvdsmetaextractClass
Definition: gstnvdsmetaextract.h:66
_Gstnvdsmetaextract::is_same_caps
gboolean is_same_caps
Definition: gstnvdsmetaextract.h:52
_Gstnvdsmetaextract::deserialize_func
void(* deserialize_func)(GstBuffer *buf)
Definition: gstnvdsmetaextract.h:63
GstBuffer
struct _GstBuffer GstBuffer
Definition: idatatype.h:19
gst_nvdsmetaextract_get_type
GType gst_nvdsmetaextract_get_type(void)
_Gstnvdsmetaextract::frame_height
guint frame_height
Definition: gstnvdsmetaextract.h:59