Doxygen Book
gstjoin.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-2.1-only */
14 #ifndef __GST_JOIN_H__
15 #define __GST_JOIN_H__
16 
17 #include <gst/gst.h>
18 
19 G_BEGIN_DECLS
20 #define GST_TYPE_JOIN \
21  (gst_join_get_type())
22 #define GST_JOIN(obj) \
23  (G_TYPE_CHECK_INSTANCE_CAST ((obj), GST_TYPE_JOIN, GstJoin))
24 #define GST_JOIN_CLASS(klass) \
25  (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_JOIN, GstJoinClass))
26 #define GST_IS_JOIN(obj) \
27  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_JOIN))
28 #define GST_IS_JOIN_CLASS(klass) \
29  (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_JOIN))
30 typedef struct _GstJoin GstJoin;
31 typedef struct _GstJoinClass GstJoinClass;
32 
36 struct _GstJoin
37 {
38  GstElement element;
39 
40  GstPad *srcpad;
41 
42  GstPad *active_sinkpad;
43  guint n_pads; /* number of pads */
44  guint padcount; /* sequence number for pads */
45 
46  gboolean have_group_id;
47 
48  GMutex lock;
49  GCond cond;
50 };
51 
56 {
57  GstElementClass parent_class;
58 };
59 
63 G_GNUC_INTERNAL GType gst_join_get_type (void);
64 
65 G_END_DECLS
66 #endif /* __GST_JOIN_H__ */
_GstJoin::padcount
guint padcount
Definition: gstjoin.h:44
_GstJoinClass::parent_class
GstElementClass parent_class
Definition: gstjoin.h:57
gst_join_get_type
G_GNUC_INTERNAL GType gst_join_get_type(void)
Get Type function required for gst elements.
_GstJoinClass
GstJoinClass inherits GstElementClass.
Definition: gstjoin.h:55
_GstJoin::n_pads
guint n_pads
Definition: gstjoin.h:43
_GstJoin::have_group_id
gboolean have_group_id
Definition: gstjoin.h:46
_GstJoin::active_sinkpad
GstPad * active_sinkpad
Definition: gstjoin.h:42
_GstJoin::cond
GCond cond
Definition: gstjoin.h:49
_GstJoin
Internal data structure for join instances.
Definition: gstjoin.h:36
_GstJoin::srcpad
GstPad * srcpad
Definition: gstjoin.h:40
_GstJoin::lock
GMutex lock
Definition: gstjoin.h:48
_GstJoin::element
GstElement element
Definition: gstjoin.h:38