mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
plugins: sprinkle some more G_GNUC_INTERNAL
This commit is contained in:
parent
2b17de7504
commit
14632db174
18 changed files with 37 additions and 27 deletions
|
@ -59,7 +59,7 @@ struct _GstCapsFilterClass {
|
|||
GstBaseTransformClass trans_class;
|
||||
};
|
||||
|
||||
GType gst_capsfilter_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_capsfilter_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ struct _GstFakeSinkClass {
|
|||
void (*preroll_handoff) (GstElement *element, GstBuffer *buf, GstPad *pad);
|
||||
};
|
||||
|
||||
GType gst_fake_sink_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_fake_sink_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@ struct _GstFakeSrcClass {
|
|||
void (*handoff) (GstElement *element, GstBuffer *buf, GstPad *pad);
|
||||
};
|
||||
|
||||
GType gst_fake_src_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_fake_src_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ struct _GstFdSinkClass {
|
|||
GstBaseSinkClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_fd_sink_get_type(void);
|
||||
G_GNUC_INTERNAL GType gst_fd_sink_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ struct _GstFdSrcClass {
|
|||
void (*timeout) (GstElement *element);
|
||||
};
|
||||
|
||||
GType gst_fd_src_get_type(void);
|
||||
G_GNUC_INTERNAL GType gst_fd_src_get_type(void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ struct _GstFileSinkClass {
|
|||
GstBaseSinkClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_file_sink_get_type(void);
|
||||
G_GNUC_INTERNAL GType gst_file_sink_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ struct _GstFileSrcClass {
|
|||
GstBaseSrcClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_file_src_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_file_src_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ struct _GstFunnelClass {
|
|||
GstElementClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_funnel_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_funnel_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ struct _GstIdentityClass {
|
|||
void (*handoff) (GstElement *element, GstBuffer *buf);
|
||||
};
|
||||
|
||||
GType gst_identity_get_type(void);
|
||||
G_GNUC_INTERNAL GType gst_identity_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ struct _GstInputSelectorClass {
|
|||
gint64 (*block) (GstInputSelector *self);
|
||||
};
|
||||
|
||||
GType gst_input_selector_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_input_selector_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ struct _GstMultiQueueClass {
|
|||
void (*overrun) (GstMultiQueue *queue);
|
||||
};
|
||||
|
||||
GType gst_multi_queue_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_multi_queue_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ struct _GstOutputSelectorClass {
|
|||
GstElementClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_output_selector_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_output_selector_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ struct _GstQueueClass {
|
|||
void (*pushing) (GstQueue *queue);
|
||||
};
|
||||
|
||||
GType gst_queue_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_queue_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ struct _GstQueue2Class
|
|||
GstElementClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_queue2_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_queue2_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -35,17 +35,27 @@ struct _GstQueueArray
|
|||
guint length;
|
||||
};
|
||||
|
||||
void gst_queue_array_init (GstQueueArray * array, guint initial_size);
|
||||
void gst_queue_array_clear (GstQueueArray * array);
|
||||
G_GNUC_INTERNAL void gst_queue_array_init (GstQueueArray * array,
|
||||
guint initial_size);
|
||||
|
||||
GstQueueArray *gst_queue_array_new (guint initial_size);
|
||||
gpointer gst_queue_array_pop_head (GstQueueArray * array);
|
||||
void gst_queue_array_push_tail (GstQueueArray * array, gpointer data);
|
||||
gboolean gst_queue_array_is_empty (GstQueueArray * array);
|
||||
void gst_queue_array_free (GstQueueArray * array);
|
||||
G_GNUC_INTERNAL void gst_queue_array_clear (GstQueueArray * array);
|
||||
|
||||
void gst_queue_array_drop_element (GstQueueArray * array, guint idx);
|
||||
guint gst_queue_array_find (GstQueueArray * array, GCompareFunc func,
|
||||
gpointer data);
|
||||
G_GNUC_INTERNAL GstQueueArray * gst_queue_array_new (guint initial_size);
|
||||
|
||||
G_GNUC_INTERNAL gpointer gst_queue_array_pop_head (GstQueueArray * array);
|
||||
|
||||
G_GNUC_INTERNAL void gst_queue_array_push_tail (GstQueueArray * array,
|
||||
gpointer data);
|
||||
|
||||
G_GNUC_INTERNAL gboolean gst_queue_array_is_empty (GstQueueArray * array);
|
||||
|
||||
G_GNUC_INTERNAL void gst_queue_array_free (GstQueueArray * array);
|
||||
|
||||
G_GNUC_INTERNAL void gst_queue_array_drop_element (GstQueueArray * array,
|
||||
guint idx);
|
||||
|
||||
G_GNUC_INTERNAL guint gst_queue_array_find (GstQueueArray * array,
|
||||
GCompareFunc func,
|
||||
gpointer data);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -86,7 +86,7 @@ struct _GstTeeClass {
|
|||
GstElementClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_tee_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_tee_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ struct _GstTypeFindElementClass {
|
|||
GstCaps *caps);
|
||||
};
|
||||
|
||||
GType gst_type_find_element_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_type_find_element_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@ struct _GstValveClass
|
|||
GstElementClass parent_class;
|
||||
};
|
||||
|
||||
GType gst_valve_get_type (void);
|
||||
G_GNUC_INTERNAL GType gst_valve_get_type (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
|
Loading…
Reference in a new issue