Doxygen Book
gsttensor_mux.h
Go to the documentation of this file.
1 
28 #ifndef __GST_TENSOR_MUX_H__
29 #define __GST_TENSOR_MUX_H__
30 
31 #include <gst/gst.h>
32 #include <tensor_common.h>
33 
34 G_BEGIN_DECLS
35 #define GST_TYPE_TENSOR_MUX (gst_tensor_mux_get_type ())
36 #define GST_TENSOR_MUX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_TENSOR_MUX, GstTensorMux))
37 #define GST_TENSOR_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_TENSOR_MUX, GstTensorMuxClass))
38 #define GST_TENSOR_MUX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_TENSOR_MUX, GstTensorMuxClass))
39 #define GST_IS_TENSOR_MUX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_TENSOR_MUX))
40 #define GST_IS_TENSOR_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_TENSOR_MUX))
41 #define GST_TENSOR_MUX_CAST(obj)((GstTensorMux*)(obj))
42 typedef struct _GstTensorMux GstTensorMux;
44 
49 {
50  GstElement element;
51 
52  gboolean silent;
54  GstPad *srcpad;
55 
56  GstCollectPads *collect;
57  gboolean negotiated;
58  gboolean need_segment;
61  gboolean need_set_time;
62  GstClockTime current_time;
63 
65 };
66 
71 {
72  GstElementClass parent_class;
73 };
74 
78 GType gst_tensor_mux_get_type (void);
79 
80 G_END_DECLS
81 #endif
_GstTensorMux::srcpad
GstPad * srcpad
Definition: gsttensor_mux.h:54
_tensor_time_sync_data
Tensor Merge/Mux time sync data.
Definition: tensor_common.h:82
_GstTensorMux::need_stream_start
gboolean need_stream_start
Definition: gsttensor_mux.h:59
_GstTensorMux::negotiated
gboolean negotiated
Definition: gsttensor_mux.h:57
_GstTensorMux::tensors_config
GstTensorsConfig tensors_config
Definition: gsttensor_mux.h:64
_GstTensorMuxClass::parent_class
GstElementClass parent_class
Definition: gsttensor_mux.h:72
_GstTensorMux::need_segment
gboolean need_segment
Definition: gsttensor_mux.h:58
GstTensorsConfig
Internal data structure for configured tensors info (for other/tensors).
Definition: tensor_typedef.h:284
_GstTensorMux::collect
GstCollectPads * collect
Definition: gsttensor_mux.h:56
_GstTensorMux::send_stream_start
gboolean send_stream_start
Definition: gsttensor_mux.h:60
_GstTensorMux::sync
tensor_time_sync_data sync
Definition: gsttensor_mux.h:53
_GstTensorMux::silent
gboolean silent
Definition: gsttensor_mux.h:52
tensor_common.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
_GstTensorMuxClass
GstTensroMuxClass inherits GstElementClass.
Definition: gsttensor_mux.h:70
_GstTensorMux::current_time
GstClockTime current_time
Definition: gsttensor_mux.h:62
_GstTensorMux::need_set_time
gboolean need_set_time
Definition: gsttensor_mux.h:61
_GstTensorMux::element
GstElement element
Definition: gsttensor_mux.h:50
gst_tensor_mux_get_type
GType gst_tensor_mux_get_type(void)
Get Type function required for gst elements.
_GstTensorMux
Tensor Muxer data structure.
Definition: gsttensor_mux.h:48