Doxygen Book
gsttensor_split.h
Go to the documentation of this file.
1 
28 #ifndef __GST_TENSOR_SPLIT_H__
29 #define __GST_TENSOR_SPLIT_H__
30 
31 #include <gst/gst.h>
32 #include <tensor_common.h>
33 
34 G_BEGIN_DECLS
35 
36 #define GST_TYPE_TENSOR_SPLIT (gst_tensor_split_get_type ())
37 #define GST_TENSOR_SPLIT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TENSOR_SPLIT, GstTensorSplit))
38 #define GST_TENSOR_SPLIT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_TENSOR_SPLIT, GstTensorSplitClass))
39 #define GST_TENSOR_SPLIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_TENSOR_SPLIT, GstTensorSplitClass))
40 #define GST_IS_TENSOR_SPLIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_SPLIT))
41 #define GST_IS_TENSOR_SPLIT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_SPLIT))
42 #define GST_TENSOR_SPLIT_CAST(obj) ((GstTensorSplit*)(obj))
43 
46 
51 {
52  GstElement element;
53 
54  gboolean silent;
55  GstPad *sinkpad;
56  GSList *srcpads;
57  guint32 num_tensors;
58  guint32 num_srcpads;
59  GList *tensorpick;
60  GArray *tensorseg;
61  gboolean have_group_id;
62  guint group_id;
64 };
65 
70 {
71  GstElementClass parent_class;
72 };
73 
77 GType gst_tensor_split_get_type (void);
78 
79 G_END_DECLS
80 
81 #endif /* __GST_TENSOR_SPLIT_H__ */
_GstTensorSplit::num_srcpads
guint32 num_srcpads
Definition: gsttensor_split.h:58
_GstTensorSplit::sinkpad
GstPad * sinkpad
Definition: gsttensor_split.h:55
_GstTensorSplit::tensorseg
GArray * tensorseg
Definition: gsttensor_split.h:60
_GstTensorSplit::element
GstElement element
Definition: gsttensor_split.h:52
_GstTensorSplit::have_group_id
gboolean have_group_id
Definition: gsttensor_split.h:61
GstTensorsConfig
Internal data structure for configured tensors info (for other/tensors).
Definition: tensor_typedef.h:284
_GstTensorSplit::silent
gboolean silent
Definition: gsttensor_split.h:54
_GstTensorSplit
Tensor Split data structure.
Definition: gsttensor_split.h:50
_GstTensorSplit::group_id
guint group_id
Definition: gsttensor_split.h:62
_GstTensorSplit::sink_tensor_conf
GstTensorsConfig sink_tensor_conf
Definition: gsttensor_split.h:63
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorSplitClass
GstTensorSplitClass inherits GstElementClass.
Definition: gsttensor_split.h:69
_GstTensorSplit::srcpads
GSList * srcpads
Definition: gsttensor_split.h:56
_GstTensorSplit::num_tensors
guint32 num_tensors
Definition: gsttensor_split.h:57
_GstTensorSplit::tensorpick
GList * tensorpick
Definition: gsttensor_split.h:59
_GstTensorSplitClass::parent_class
GstElementClass parent_class
Definition: gsttensor_split.h:71
gst_tensor_split_get_type
GType gst_tensor_split_get_type(void)
Get Type function required for gst elements.