1 /* gstreamer-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
6 [CCode (cheader_filename = "gst/gst.h")]
7 public class AllocTrace {
10 public weak GLib.SList<weak void*> mem_live;
11 public weak string name;
12 public static bool available ();
13 public static unowned Gst.AllocTrace @get (string name);
14 public static unowned GLib.List<Gst.AllocTrace> list ();
15 public static int live_all ();
17 public static void print_all ();
18 public static void print_live ();
19 public void set_flags (Gst.AllocTraceFlags flags);
20 public static void set_flags_all (Gst.AllocTraceFlags flags);
22 [CCode (cheader_filename = "gst/gst.h")]
23 public class Bin : Gst.Element, Gst.ChildProxy {
24 public weak Gst.Bus child_bus;
25 public weak GLib.List<Gst.Element> children;
26 public uint32 children_cookie;
27 public bool clock_dirty;
28 public weak Gst.Element clock_provider;
29 public weak GLib.List<Gst.Message> messages;
30 public int numchildren;
32 public weak Gst.Clock provided_clock;
33 public bool state_dirty;
34 [CCode (type = "GstElement*", has_construct_function = false)]
35 public Bin (string? name);
36 public bool add (owned Gst.Element element);
38 public virtual bool add_element (Gst.Element element);
39 public void add_many (params owned Gst.Element[] elements);
40 public Gst.Pad? find_unconnected_pad (Gst.PadDirection direction);
41 public Gst.Pad? find_unlinked_pad (Gst.PadDirection direction);
42 public Gst.Element? get_by_interface (GLib.Type iface);
43 public Gst.Element? get_by_name (string name);
44 public Gst.Element? get_by_name_recurse_up (string name);
46 public virtual void handle_message (Gst.Message message);
47 public Gst.Iterator<Gst.Element> iterate_all_by_interface (GLib.Type iface);
48 public Gst.Iterator<Gst.Element> iterate_elements ();
49 public Gst.Iterator<Gst.Element> iterate_recurse ();
50 public Gst.Iterator<Gst.Element> iterate_sinks ();
51 public Gst.Iterator<Gst.Element> iterate_sorted ();
52 public Gst.Iterator<Gst.Element> iterate_sources ();
53 public bool recalculate_latency ();
54 public bool remove (Gst.Element element);
56 public virtual bool remove_element (Gst.Element element);
57 public void remove_many (params Gst.Element[] elements);
59 public bool async_handling { get; set; }
60 public virtual signal bool do_latency ();
61 public virtual signal void element_added (Gst.Element child);
62 public virtual signal void element_removed (Gst.Element child);
64 [CCode (ref_function = "gst_buffer_ref", unref_function = "gst_buffer_unref", cheader_filename = "gst/gst.h")]
65 public class Buffer : Gst.MiniObject {
66 public weak Gst.Caps caps;
67 [CCode (array_length_cname = "size", array_length_type = "guint")]
68 public weak uint8[] data;
69 public Gst.ClockTime duration;
70 public weak GLib.FreeFunc free_func;
71 public void* malloc_data;
73 public uint64 offset_end;
74 public weak Gst.Buffer parent;
76 public Gst.ClockTime timestamp;
77 [CCode (has_construct_function = false)]
79 [CCode (has_construct_function = false)]
80 public Buffer.and_alloc (uint size);
81 public Gst.Buffer copy ();
82 public void copy_metadata (Gst.Buffer src, Gst.BufferCopyFlags flags);
83 public Gst.Buffer create_sub (uint offset, uint size);
84 [CCode (cname = "GST_BUFFER_DURATION_IS_VALID")]
85 public bool duration_is_valid ();
86 [CCode (cname = "GST_BUFFER_FLAG_IS_SET")]
87 public bool flag_is_set (Gst.BufferFlag flag);
88 [CCode (cname = "GST_BUFFER_FLAG_SET")]
89 public void flag_set (Gst.BufferFlag flag);
90 [CCode (cname = "GST_BUFFER_FLAG_UNSET")]
91 public void flag_unset (Gst.BufferFlag flag);
92 public Gst.Caps get_caps ();
93 [CCode (cname = "GST_BUFFER_IS_DISCONT")]
94 public bool is_discont ();
95 public bool is_metadata_writable ();
96 public bool is_span_fast (Gst.Buffer buf2);
97 [ReturnsModifiedPointer]
98 public void join (owned Gst.Buffer buf2);
99 [ReturnsModifiedPointer]
100 public void make_metadata_writable ();
101 [ReturnsModifiedPointer]
102 public void make_writable ();
103 public Gst.Buffer merge (Gst.Buffer buf2);
104 [CCode (cname = "GST_BUFFER_OFFSET_END_IS_VALID")]
105 public bool offset_end_is_valid ();
106 [CCode (cname = "GST_BUFFER_OFFSET_IS_VALID")]
107 public bool offset_is_valid ();
108 public unowned Gst.Buffer @ref ();
109 public static void replace (ref Gst.Buffer? oldobj, Gst.Buffer? newobj);
110 public void set_caps (Gst.Caps caps);
111 public Gst.Buffer span (uint32 offset, Gst.Buffer buf2, uint32 len);
112 public void stamp (Gst.Buffer src);
113 [CCode (cname = "GST_BUFFER_TIMESTAMP_IS_VALID")]
114 public bool timestamp_is_valid ();
115 public static Gst.Buffer? try_new_and_alloc (uint size);
116 public void unref ();
118 [CCode (ref_function = "gst_buffer_list_ref", unref_function = "gst_buffer_list_unref", cheader_filename = "gst/gst.h")]
119 public class BufferList : Gst.MiniObject {
120 [CCode (has_construct_function = false)]
121 public BufferList ();
122 public Gst.BufferList copy ();
123 public void @foreach (Gst.BufferListFunc func);
124 public unowned Gst.Buffer? @get (uint group, uint idx);
125 public Gst.BufferListIterator iterate ();
126 [ReturnsModifiedPointer]
127 public void make_writable ();
128 public uint n_groups ();
129 public unowned Gst.BufferList @ref ();
130 public void unref ();
133 [CCode (cheader_filename = "gst/gst.h")]
134 public class BufferListIterator {
135 public void add (owned Gst.Buffer buffer);
136 public void add_group ();
137 public unowned Gst.Buffer? @do (Gst.BufferListDoFunction do_func);
138 public Gst.Buffer? merge_group ();
139 public uint n_buffers ();
140 public unowned Gst.Buffer? next ();
141 public bool next_group ();
142 public void remove ();
143 public unowned Gst.Buffer? steal ();
144 public void take (owned Gst.Buffer buffer);
146 [CCode (cheader_filename = "gst/gst.h")]
147 public class Bus : Gst.Object {
148 [CCode (has_construct_function = false)]
150 public void add_signal_watch ();
151 public void add_signal_watch_full (int priority);
152 [CCode (cname = "gst_bus_add_watch_full")]
153 public uint add_watch (owned Gst.BusFunc func, [CCode (pos = 0.1)] int priority = GLib.Priority.DEFAULT);
154 public uint add_watch_full (int priority, owned Gst.BusFunc func);
155 [CCode (instance_pos = -1)]
156 public bool async_signal_func (Gst.Bus bus, Gst.Message message);
157 public GLib.TimeoutSource create_watch ();
158 public void disable_sync_message_emission ();
159 public void enable_sync_message_emission ();
160 public bool have_pending ();
161 public Gst.Message? peek ();
162 public Gst.Message? poll (Gst.MessageType events, Gst.ClockTimeDiff timeout);
163 public Gst.Message? pop ();
164 public Gst.Message? pop_filtered (Gst.MessageType types);
165 public bool post (owned Gst.Message message);
166 public void remove_signal_watch ();
167 public void set_flushing (bool flushing);
168 public void set_sync_handler (Gst.BusSyncHandler? func);
169 [CCode (instance_pos = -1)]
170 public Gst.BusSyncReply sync_signal_handler (Gst.Bus bus, Gst.Message message);
171 public Gst.Message? timed_pop (Gst.ClockTime timeout);
172 public Gst.Message? timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types);
173 public virtual signal void message (Gst.Message message);
174 public virtual signal void sync_message (Gst.Message message);
176 [CCode (ref_function = "gst_caps_ref", unref_function = "gst_caps_unref", cheader_filename = "gst/gst.h")]
178 public Gst.CapsFlags flags;
179 [CCode (has_construct_function = false)]
181 public void append (owned Gst.Caps caps2);
182 public void append_structure (owned Gst.Structure structure);
183 public bool can_intersect (Gst.Caps caps2);
184 public Gst.Caps copy ();
185 public Gst.Caps copy_nth (uint nth);
186 public bool do_simplify ();
187 [CCode (has_construct_function = false)]
188 public Caps.empty ();
189 public static Gst.Caps from_string (string str);
190 [CCode (has_construct_function = false)]
191 public Caps.full (Gst.Structure struct1, ...);
192 [CCode (has_construct_function = false)]
193 public Caps.full_valist (Gst.Structure structure, void* var_args);
194 public uint get_size ();
195 public unowned Gst.Structure get_structure (uint index);
196 public Gst.Caps intersect (Gst.Caps caps2);
197 public bool is_always_compatible (Gst.Caps caps2);
198 public bool is_any ();
199 public bool is_empty ();
200 public bool is_equal (Gst.Caps caps2);
201 public bool is_equal_fixed (Gst.Caps caps2);
202 public bool is_fixed ();
203 [CCode (cname = "GST_CAPS_IS_SIMPLE")]
204 public bool is_simple ();
205 public bool is_subset (Gst.Caps superset);
206 public static Gst.Caps load_thyself (void* parent);
207 [ReturnsModifiedPointer]
208 public void make_writable ();
209 public void merge (owned Gst.Caps caps2);
210 public void merge_structure (owned Gst.Structure structure);
211 public Gst.Caps normalize ();
212 public unowned Gst.Caps @ref ();
213 public void remove_structure (uint idx);
214 public static void replace (ref Gst.Caps? oldobj, Gst.Caps? newobj);
215 public void* save_thyself (void* parent);
216 public void set_simple (string field, ...);
217 public void set_simple_valist (string field, void* varargs);
218 public void set_value (string field, Gst.Value value);
219 [CCode (has_construct_function = false)]
220 public Caps.simple (string media_type, string fieldname, ...);
221 public unowned Gst.Structure steal_structure (uint index);
222 public Gst.Caps subtract (Gst.Caps subtrahend);
223 public string to_string ();
224 public void truncate ();
225 public Gst.Caps union (Gst.Caps caps2);
226 public void unref ();
228 [CCode (cheader_filename = "gst/gst.h")]
229 public abstract class Clock : Gst.Object {
230 public weak Gst.ClockID clockid;
231 public weak GLib.List<Gst.ClockEntry> entries;
232 public weak GLib.Cond entries_changed;
233 public Gst.ClockTime external_calibration;
235 public Gst.ClockTime internal_calibration;
236 public Gst.ClockTime last_time;
237 public weak Gst.Clock master;
238 public Gst.ClockTime rate_denominator;
239 public Gst.ClockTime rate_numerator;
240 public Gst.ClockTime resolution;
241 public weak GLib.Mutex slave_lock;
242 public int time_index;
243 [CCode (array_length = false)]
244 public weak Gst.ClockTime[] times;
245 [CCode (has_construct_function = false)]
247 public bool add_observation (Gst.ClockTime slave, Gst.ClockTime master, out double r_squared);
248 public Gst.ClockTime adjust_unlocked (Gst.ClockTime @internal);
250 public virtual Gst.ClockTime change_resolution (Gst.ClockTime old_resolution, Gst.ClockTime new_resolution);
251 public void get_calibration (out Gst.ClockTime @internal, out Gst.ClockTime external, out Gst.ClockTime rate_num, out Gst.ClockTime rate_denom);
252 public virtual Gst.ClockTime get_internal_time ();
253 public Gst.Clock? get_master ();
254 public virtual Gst.ClockTime get_resolution ();
255 public Gst.ClockTime get_time ();
256 public void set_calibration (Gst.ClockTime @internal, Gst.ClockTime external, Gst.ClockTime rate_num, Gst.ClockTime rate_denom);
257 public bool set_master (Gst.Clock? master);
258 public Gst.ClockTime set_resolution (Gst.ClockTime resolution);
259 public Gst.ClockTime unadjust_unlocked (Gst.ClockTime external);
261 public virtual void unschedule (Gst.ClockEntry entry);
263 public virtual Gst.ClockReturn wait (Gst.ClockEntry entry);
265 public virtual Gst.ClockReturn wait_async (Gst.ClockEntry entry);
267 public virtual Gst.ClockReturn wait_jitter (Gst.ClockEntry entry, out Gst.ClockTimeDiff jitter);
269 public bool stats { get; set; }
271 public uint64 timeout { get; set; }
273 public int window_size { get; set; }
275 public int window_threshold { get; set; }
278 [CCode (cheader_filename = "gst/gst.h")]
279 public class ClockEntry {
280 public weak Gst.Clock clock;
281 public weak GLib.DestroyNotify destroy_data;
282 public weak Gst.ClockCallback func;
283 public Gst.ClockTime interval;
285 public Gst.ClockReturn status;
286 public Gst.ClockTime time;
287 public Gst.ClockEntryType type;
288 public void* user_data;
291 [CCode (ref_function = "gst_clock_id_ref", unref_function = "gst_clock_id_unref", cheader_filename = "gst/gst.h")]
292 public class ClockID {
293 public static int compare_func (void* id1, void* id2);
294 public Gst.ClockTime get_time ();
295 [CCode (cname = "gst_clock_new_periodic_id")]
296 public ClockID.periodic (Gst.Clock clock, Gst.ClockTime start_time, Gst.ClockTime interval);
297 [CCode (cname = "gst_clock_new_single_shot_id")]
298 public ClockID.single_shot (Gst.Clock clock, Gst.ClockTime time);
299 public void unschedule ();
300 public Gst.ClockReturn wait (Gst.ClockTimeDiff jitter);
301 public Gst.ClockReturn wait_async (Gst.ClockCallback func);
302 public Gst.ClockReturn wait_async_full (Gst.ClockCallback func, GLib.DestroyNotify destroy_data);
305 [CCode (type_id = "GST_TYPE_DATE", cheader_filename = "gst/gst.h")]
309 [CCode (cheader_filename = "gst/gst.h")]
310 public class DebugCategory {
311 [CCode (cname = "GST_CAT_DEBUG")]
312 public void debug (string format, ...);
313 [CCode (cname = "GST_CAT_DEBUG_OBJECT")]
314 public void debug_object (GLib.Object obj, string format, ...);
315 [CCode (cname = "GST_CAT_ERROR")]
316 public void error (string format, ...);
317 [CCode (cname = "GST_CAT_ERROR_OBJECT")]
318 public void error_object (GLib.Object obj, string format, ...);
319 [CCode (cname = "GST_DEBUG_CATEGORY_GET")]
320 public static unowned Gst.DebugCategory @get (string name);
321 public uint get_color ();
322 public unowned string get_description ();
323 public unowned string get_name ();
324 public Gst.DebugLevel get_threshold ();
325 [CCode (cname = "GST_CAT_INFO")]
326 public void info (string format, ...);
327 [CCode (cname = "GST_CAT_INFO_OBJECT")]
328 public void info_object (GLib.Object obj, string format, ...);
329 [CCode (cname = "GST_DEBUG_CATEGORY_INIT")]
330 public void init (string name, uint color, string description);
331 [CCode (cname = "GST_CAT_LOG")]
332 public void log (string format, ...);
333 [CCode (cname = "GST_CAT_LOG_OBJECT")]
334 public void log_object (GLib.Object obj, string format, ...);
335 public void reset_threshold ();
336 public void set_threshold (Gst.DebugLevel level);
337 [CCode (cname = "GST_CAT_WARNING")]
338 public void warning (string format, ...);
339 [CCode (cname = "GST_CAT_WARNING_OBJECT")]
340 public void warning_object (GLib.Object obj, string format, ...);
343 [CCode (cheader_filename = "gst/gst.h")]
344 public class DebugMessage {
345 public unowned string @get ();
347 [CCode (cheader_filename = "gst/gst.h")]
348 public abstract class Element : Gst.Object {
349 public Gst.ClockTimeDiff base_time;
350 public weak Gst.Bus bus;
351 public weak Gst.Clock clock;
352 public Gst.State current_state;
353 public Gst.StateChangeReturn last_return;
354 public Gst.State next_state;
355 public uint16 numpads;
356 public uint16 numsinkpads;
357 public uint16 numsrcpads;
358 public weak GLib.List<Gst.Pad> pads;
359 public uint32 pads_cookie;
360 public Gst.State pending_state;
361 public weak GLib.List<Gst.Pad> sinkpads;
362 public weak GLib.List<Gst.Pad> srcpads;
363 public weak GLib.Cond state_cond;
364 public uint32 state_cookie;
365 public void* state_lock;
366 [CCode (cname = "abidata.ABI.target_state")]
367 public Gst.State target_state;
368 [CCode (has_construct_function = false)]
369 protected Element ();
370 public void abort_state ();
371 public bool add_pad (owned Gst.Pad pad);
372 [CCode (cname = "gst_element_class_add_pad_template")]
373 public class void add_pad_template (Gst.PadTemplate templ);
374 public virtual Gst.StateChangeReturn change_state (Gst.StateChange transition);
375 public Gst.StateChangeReturn continue_state (Gst.StateChangeReturn ret);
376 public void create_all_pads ();
377 public void found_tags (owned Gst.TagList list);
378 public void found_tags_for_pad (Gst.Pad pad, owned Gst.TagList list);
379 public Gst.ClockTime get_base_time ();
380 public Gst.Bus? get_bus ();
381 public Gst.Clock? get_clock ();
382 public Gst.Pad? get_compatible_pad (Gst.Pad pad, Gst.Caps? caps);
383 public unowned Gst.PadTemplate? get_compatible_pad_template (Gst.PadTemplate compattempl);
384 public unowned Gst.ElementFactory? get_factory ();
385 public virtual Gst.Index? get_index ();
386 public Gst.Pad? get_pad (string name);
387 [CCode (cname = "gst_element_class_get_pad_template")]
388 public class unowned Gst.PadTemplate? get_pad_template (string name);
389 [CCode (cname = "gst_element_class_get_pad_template_list")]
390 public class unowned GLib.List<Gst.PadTemplate> get_pad_template_list ();
391 [CCode (array_length = false)]
392 public virtual unowned Gst.QueryType[]? get_query_types ();
393 public Gst.Pad? get_request_pad (string name);
394 public Gst.ClockTime get_start_time ();
395 public virtual Gst.StateChangeReturn get_state (out Gst.State state, out Gst.State pending, Gst.ClockTime timeout);
396 public Gst.Pad? get_static_pad (string name);
397 public bool implements_interface (GLib.Type iface_type);
398 [CCode (cname = "gst_element_class_install_std_props")]
399 public class void install_std_props (...);
400 public bool is_indexable ();
401 public bool is_locked_state ();
402 public Gst.Iterator<Gst.Pad> iterate_pads ();
403 public Gst.Iterator<Gst.Pad> iterate_sink_pads ();
404 public Gst.Iterator<Gst.Pad> iterate_src_pads ();
405 public bool link (Gst.Element dest);
406 public bool link_filtered (Gst.Element dest, Gst.Caps filter);
407 public bool link_many (Gst.Element element_2, ...);
408 public bool link_pads (string srcpadname, Gst.Element dest, string destpadname);
409 public bool link_pads_filtered (string srcpadname, Gst.Element dest, string destpadname, Gst.Caps filter);
410 public bool link_pads_full (string srcpadname, Gst.Element dest, string destpadname, Gst.PadLinkCheck flags);
411 public void lost_state ();
412 public void lost_state_full (bool new_base_time);
413 public static Gst.Element? make_from_uri (Gst.URIType type, string uri, string? elementname);
414 public void message_full (Gst.MessageType type, GLib.Quark domain, int code, owned string? text, owned string? debug, string file, string function, int line);
415 public bool post_message (owned Gst.Message message);
416 public virtual Gst.Clock? provide_clock ();
417 public bool provides_clock ();
418 public virtual bool query (Gst.Query query);
419 public bool query_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
420 public bool query_duration (ref Gst.Format format, out int64 duration);
421 public bool query_position (ref Gst.Format format, out int64 cur);
422 public static bool register (Gst.Plugin? plugin, string name, uint rank, GLib.Type type);
424 public virtual void release_pad (Gst.Pad pad);
425 public void release_request_pad (Gst.Pad pad);
426 public bool remove_pad (Gst.Pad pad);
428 public virtual unowned Gst.Pad request_new_pad (Gst.PadTemplate templ, string? name);
429 public bool requires_clock ();
430 public bool seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType cur_type, int64 cur, Gst.SeekType stop_type, int64 stop);
431 public bool seek_simple (Gst.Format format, Gst.SeekFlags seek_flags, int64 seek_pos);
432 public virtual bool send_event (owned Gst.Event event);
433 public void set_base_time (Gst.ClockTime time);
434 public virtual void set_bus (Gst.Bus? bus);
435 public virtual bool set_clock (Gst.Clock? clock);
436 [CCode (cname = "gst_element_class_set_details")]
437 public class void set_details (Gst.ElementDetails details);
438 [CCode (cname = "gst_element_class_set_details_simple")]
439 public class void set_details_simple (string longname, string classification, string description, string author);
440 public virtual void set_index (Gst.Index? index);
441 public bool set_locked_state (bool locked_state);
442 public void set_start_time (Gst.ClockTime time);
443 public virtual Gst.StateChangeReturn set_state (Gst.State state);
444 public bool sync_state_with_parent ();
445 public void unlink (Gst.Element dest);
446 public void unlink_many (Gst.Element element_2, ...);
447 public void unlink_pads (string srcpadname, Gst.Element dest, string destpadname);
449 public virtual signal void no_more_pads ();
450 public virtual signal void pad_added (Gst.Pad pad);
451 public virtual signal void pad_removed (Gst.Pad pad);
453 [CCode (cheader_filename = "gst/gst.h")]
454 public class ElementFactory : Gst.PluginFeature {
455 [CCode (has_construct_function = false)]
456 protected ElementFactory ();
457 public bool can_sink_caps (Gst.Caps caps);
458 public bool can_src_caps (Gst.Caps caps);
459 public Gst.Element? create (string? name);
460 public static Gst.ElementFactory? find (string name);
461 public unowned string get_author ();
462 public unowned string get_description ();
463 public GLib.Type get_element_type ();
464 public unowned string get_klass ();
465 public unowned string get_longname ();
466 public uint get_num_pad_templates ();
467 public unowned GLib.List<Gst.StaticPadTemplate> get_static_pad_templates ();
468 [CCode (array_length = false, array_null_terminated = true)]
469 public string[]? get_uri_protocols ();
470 public int get_uri_type ();
471 public bool has_interface (string interfacename);
472 public static Gst.Element? make (string factoryname, string? name);
474 [CCode (ref_function = "gst_event_ref", unref_function = "gst_event_unref", cheader_filename = "gst/gst.h")]
475 public class Event : Gst.MiniObject {
476 public weak Gst.Object src;
477 public uint64 timestamp;
478 public Gst.EventType type;
479 [CCode (has_construct_function = false)]
480 public Event.buffer_size (Gst.Format format, int64 minsize, int64 maxsize, bool @async);
481 public Gst.Event copy ();
482 [CCode (has_construct_function = false)]
483 public Event.custom (Gst.EventType type, owned Gst.Structure structure);
484 [CCode (has_construct_function = false)]
486 [CCode (has_construct_function = false)]
487 public Event.flush_start ();
488 [CCode (has_construct_function = false)]
489 public Event.flush_stop ();
490 public uint32 get_seqnum ();
491 public unowned Gst.Structure get_structure ();
492 public bool has_name (string name);
493 [CCode (cname = "GST_EVENT_IS_DOWNSTREAM")]
494 public bool is_downstream ();
495 [CCode (cname = "GST_EVENT_IS_SERIALIZED")]
496 public bool is_serialized ();
497 [CCode (cname = "GST_EVENT_IS_UPSTREAM")]
498 public bool is_upstream ();
499 [CCode (has_construct_function = false)]
500 public Event.latency (Gst.ClockTime latency);
501 [CCode (has_construct_function = false)]
502 public Event.navigation (owned Gst.Structure structure);
503 [CCode (has_construct_function = false)]
504 public Event.new_segment (bool update, double rate, Gst.Format format, int64 start, int64 stop, int64 position);
505 [CCode (has_construct_function = false)]
506 public Event.new_segment_full (bool update, double rate, double applied_rate, Gst.Format format, int64 start, int64 stop, int64 position);
507 public void parse_buffer_size (out Gst.Format format, out int64 minsize, out int64 maxsize, out bool @async);
508 public void parse_latency (out Gst.ClockTime latency);
509 public void parse_new_segment (out bool update, out double rate, out Gst.Format format, out int64 start, out int64 stop, out int64 position);
510 public void parse_new_segment_full (out bool update, out double rate, out double applied_rate, out Gst.Format format, out int64 start, out int64 stop, out int64 position);
511 public void parse_qos (out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
512 public void parse_seek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out int64 start, out Gst.SeekType stop_type, out int64 stop);
513 public void parse_sink_message (out unowned Gst.Message msg);
514 public void parse_step (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
515 public void parse_tag (out unowned Gst.TagList taglist);
516 [CCode (has_construct_function = false)]
517 public Event.qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
518 public unowned Gst.Event @ref ();
519 public static void replace (ref Gst.Event? oldobj, Gst.Event? newobj);
520 [CCode (has_construct_function = false)]
521 public Event.seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, int64 start, Gst.SeekType stop_type, int64 stop);
522 public void set_seqnum (uint32 seqnum);
523 [CCode (has_construct_function = false)]
524 public Event.sink_message (owned Gst.Message msg);
525 [CCode (has_construct_function = false)]
526 public Event.step (Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate);
527 [CCode (has_construct_function = false)]
528 public Event.tag (owned Gst.TagList taglist);
529 public static Gst.EventTypeFlags type_get_flags (Gst.EventType type);
530 public static unowned string type_get_name (Gst.EventType type);
531 public static GLib.Quark type_to_quark (Gst.EventType type);
532 public void unref ();
535 [CCode (type_id = "GST_TYPE_GERROR", cheader_filename = "gst/gst.h")]
536 public class GError {
538 [CCode (cheader_filename = "gst/gst.h")]
539 public class GhostPad : Gst.Pad {
540 [CCode (type = "GstPad*", has_construct_function = false)]
541 public GhostPad (string? name, Gst.Pad target);
542 [CCode (type = "GstPad*", has_construct_function = false)]
543 public GhostPad.from_template (string? name, Gst.Pad target, Gst.PadTemplate templ);
544 public Gst.Pad? get_target ();
545 [CCode (type = "GstPad*", has_construct_function = false)]
546 public GhostPad.no_target (string? name, Gst.PadDirection dir);
547 [CCode (type = "GstPad*", has_construct_function = false)]
548 public GhostPad.no_target_from_template (string? name, Gst.PadTemplate templ);
549 public bool set_target (Gst.Pad? newtarget);
551 [CCode (cheader_filename = "gst/gst.h")]
552 public abstract class Index : Gst.Object {
553 [CCode (has_construct_function = false)]
555 public unowned Gst.IndexEntry add_association (int id, Gst.AssocFlags flags, Gst.Format format, int64 value, ...);
556 public unowned Gst.IndexEntry? add_associationv (int id, Gst.AssocFlags flags, [CCode (array_length_pos = 2.9)] Gst.IndexAssociation[] list);
558 public virtual void add_entry (Gst.IndexEntry entry);
559 public unowned Gst.IndexEntry? add_format (int id, Gst.Format format);
560 public unowned Gst.IndexEntry? add_id (int id, string description);
561 public unowned Gst.IndexEntry? add_object (int id, string key, GLib.Type type, void* object);
562 public virtual void commit (int id);
563 public virtual unowned Gst.IndexEntry? get_assoc_entry (int id, Gst.IndexLookupMethod method, Gst.AssocFlags flags, Gst.Format format, int64 value);
564 public unowned Gst.IndexEntry? get_assoc_entry_full (int id, Gst.IndexLookupMethod method, Gst.AssocFlags flags, Gst.Format format, int64 value, GLib.CompareDataFunc func);
565 public Gst.IndexCertainty get_certainty ();
566 public int get_group ();
567 public virtual bool get_writer_id (Gst.Object writer, out int id);
568 [CCode (cname = "GST_INDEX_IS_READABLE")]
569 public bool is_readable ();
570 [CCode (cname = "GST_INDEX_IS_WRITABLE")]
571 public bool is_writable ();
572 public int new_group ();
573 public void set_certainty (Gst.IndexCertainty certainty);
574 [CCode (cname = "gst_index_set_filter_full")]
575 public void set_filter (owned Gst.IndexFilter filter);
576 public bool set_group (int groupnum);
577 [CCode (cname = "gst_index_set_resolver_full")]
578 public void set_resolver (owned Gst.IndexResolver resolver);
580 public Gst.IndexResolver resolver { owned get; set; }
581 public virtual signal void entry_added (Gst.IndexEntry entry);
584 [CCode (copy_function = "gst_index_entry_copy", cheader_filename = "gst/gst.h")]
585 public class IndexEntry {
586 public Gst.IndexEntryType type;
587 [CCode (cname = "GST_INDEX_ASSOC_FLAGS")]
588 public Gst.AssocFlags assoc_flags ();
589 [CCode (cname = "GST_INDEX_ASSOC_FORMAT")]
590 public Gst.Format assoc_format (int i);
591 public bool assoc_map (Gst.Format format, out int64 value);
592 [CCode (cname = "GST_INDEX_ASSOC_VALUE")]
593 public Gst.IndexAssociation assoc_value (int i);
594 public Gst.IndexEntry copy ();
595 [CCode (cname = "GST_INDEX_FORMAT_FORMAT")]
596 public Gst.Format format_format ();
597 [CCode (cname = "GST_INDEX_FORMAT_KEY")]
598 public unowned string format_key ();
599 [CCode (cname = "GST_INDEX_ID_DESCRIPTION")]
600 public unowned string id_description ();
601 [CCode (cname = "GST_INDEX_NASSOCS")]
602 public int n_assocs ();
604 [CCode (cheader_filename = "gst/gst.h")]
605 public class IndexFactory : Gst.PluginFeature {
606 public weak string longdesc;
607 public GLib.Type type;
608 [CCode (has_construct_function = false)]
609 public IndexFactory (string name, string longdesc, GLib.Type type);
610 public Gst.Index create ();
611 public void destroy ();
612 public static Gst.IndexFactory? find (string name);
613 public static Gst.Index? make (string name);
616 [CCode (cheader_filename = "gst/gst.h")]
617 public class Iterator<T> {
618 public uint32 cookie;
619 public weak GLib.Mutex @lock;
620 public void* master_cookie;
621 public weak Gst.Iterator pushed;
622 public GLib.Type type;
623 [CCode (has_construct_function = false)]
624 public Iterator (uint size, GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, Gst.IteratorNextFunction<T> next, Gst.IteratorItemFunction<T> item, Gst.IteratorResyncFunction resync, Gst.IteratorFreeFunction free);
625 public T find_custom (GLib.CompareFunc func, T user_data);
626 public Gst.IteratorResult fold ([CCode (delegate_target_pos = 2.1)] Gst.IteratorFoldFunction<T> func, out Gst.Value ret);
627 public Gst.IteratorResult @foreach (GLib.Func func);
628 [CCode (has_construct_function = false)]
629 public Iterator.list (GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, GLib.List<T> list, void* owner, Gst.IteratorItemFunction<T> item, Gst.IteratorDisposeFunction free);
630 public Gst.IteratorResult next (out T elem);
631 public void push (Gst.Iterator other);
632 public void resync ();
633 [CCode (has_construct_function = false)]
634 public Iterator.single (GLib.Type type, T object, Gst.CopyFunction copy, GLib.FreeFunc free);
636 [CCode (ref_function = "gst_message_ref", unref_function = "gst_message_unref", cheader_filename = "gst/gst.h")]
637 public class Message : Gst.MiniObject {
638 public weak Gst.Object src;
639 public uint64 timestamp;
640 public Gst.MessageType type;
641 [CCode (has_construct_function = false)]
642 public Message.application (Gst.Object src, owned Gst.Structure? structure);
643 [CCode (has_construct_function = false)]
644 public Message.async_done (Gst.Object src);
645 [CCode (has_construct_function = false)]
646 public Message.async_start (Gst.Object src, bool new_base_time);
647 [CCode (has_construct_function = false)]
648 public Message.buffering (Gst.Object src, int percent);
649 [CCode (has_construct_function = false)]
650 public Message.clock_lost (Gst.Object src, Gst.Clock clock);
651 [CCode (has_construct_function = false)]
652 public Message.clock_provide (Gst.Object src, Gst.Clock clock, bool ready);
653 public Gst.Message copy ();
654 [CCode (has_construct_function = false)]
655 public Message.custom (Gst.MessageType type, Gst.Object src, owned Gst.Structure? structure);
656 [CCode (has_construct_function = false)]
657 public Message.duration (Gst.Object src, Gst.Format format, int64 duration);
658 [CCode (has_construct_function = false)]
659 public Message.element (Gst.Object src, owned Gst.Structure? structure);
660 [CCode (has_construct_function = false)]
661 public Message.eos (Gst.Object src);
662 [CCode (has_construct_function = false)]
663 public Message.error (Gst.Object src, GLib.Error error, string? debug);
664 public uint32 get_seqnum ();
665 public unowned Gst.Value? get_stream_status_object ();
666 public unowned Gst.Structure? get_structure ();
667 [CCode (has_construct_function = false)]
668 public Message.info (Gst.Object src, GLib.Error error, string? debug);
669 [CCode (has_construct_function = false)]
670 public Message.latency (Gst.Object src);
671 [ReturnsModifiedPointer]
672 public void make_writable ();
673 [CCode (has_construct_function = false)]
674 public Message.new_clock (Gst.Object src, Gst.Clock clock);
675 public void parse_async_start (out bool new_base_time);
676 public void parse_buffering (out int percent);
677 public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
678 public void parse_clock_lost (out unowned Gst.Clock clock);
679 public void parse_clock_provide (out unowned Gst.Clock clock, out bool ready);
680 public void parse_duration (out Gst.Format format, out int64 duration);
681 public void parse_error (out GLib.Error gerror, out string? debug);
682 public void parse_info (out GLib.Error gerror, out string? debug);
683 public void parse_new_clock (out unowned Gst.Clock clock);
684 public void parse_qos (bool live, uint64 running_time, uint64 stream_time, uint64 timestamp, uint64 duration);
685 public void parse_qos_stats (Gst.Format format, uint64 processed, uint64 dropped);
686 public void parse_qos_values (int64 jitter, double proportion, int quality);
687 public void parse_request_state (out Gst.State state);
688 public void parse_segment_done (out Gst.Format format, out int64 position);
689 public void parse_segment_start (out Gst.Format format, out int64 position);
690 public void parse_state_changed (out Gst.State oldstate, out Gst.State newstate, out Gst.State pending);
691 public void parse_step_done (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate, out uint64 duration, out bool eos);
692 public void parse_step_start (out bool active, out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
693 public void parse_stream_status (out Gst.StreamStatusType type, out unowned Gst.Element owner);
694 public void parse_structure_change (out Gst.StructureChangeType type, out unowned Gst.Element owner, out bool busy);
695 public void parse_tag (out Gst.TagList tag_list);
696 public void parse_tag_full (out unowned Gst.Pad pad, out unowned Gst.TagList tag_list);
697 public void parse_warning (out GLib.Error gerror, out string? debug);
698 [CCode (has_construct_function = false)]
699 public Message.qos (Gst.Object src, bool live, uint64 running_time, uint64 stream_time, uint64 timestamp, uint64 duration);
700 public unowned Gst.Message @ref ();
701 [CCode (has_construct_function = false)]
702 public Message.request_state (Gst.Object src, Gst.State state);
703 [CCode (has_construct_function = false)]
704 public Message.segment_done (Gst.Object src, Gst.Format format, int64 position);
705 [CCode (has_construct_function = false)]
706 public Message.segment_start (Gst.Object src, Gst.Format format, int64 position);
707 public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
708 public void set_qos_stats (Gst.Format format, uint64 processed, uint64 dropped);
709 public void set_qos_values (int64 jitter, double proportion, int quality);
710 public void set_seqnum (uint32 seqnum);
711 public void set_stream_status_object (ref unowned Gst.Value? object);
712 [CCode (has_construct_function = false)]
713 public Message.state_changed (Gst.Object src, Gst.State oldstate, Gst.State newstate, Gst.State pending);
714 [CCode (has_construct_function = false)]
715 public Message.state_dirty (Gst.Object src);
716 [CCode (has_construct_function = false)]
717 public Message.step_done (Gst.Object src, Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate, uint64 duration, bool eos);
718 [CCode (has_construct_function = false)]
719 public Message.step_start (Gst.Object src, bool active, Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate);
720 [CCode (has_construct_function = false)]
721 public Message.stream_status (Gst.Object src, Gst.StreamStatusType type, Gst.Element owner);
722 [CCode (has_construct_function = false)]
723 public Message.structure_change (Gst.Object src, Gst.StructureChangeType type, Gst.Element owner, bool busy);
724 [CCode (has_construct_function = false)]
725 public Message.tag (Gst.Object src, Gst.TagList tag_list);
726 [CCode (has_construct_function = false)]
727 public Message.tag_full (Gst.Object src, Gst.Pad pad, Gst.TagList tag_list);
728 public static GLib.Quark type_to_quark (Gst.MessageType type);
729 public void unref ();
730 [CCode (has_construct_function = false)]
731 public Message.warning (Gst.Object src, GLib.Error error, string? debug);
733 [CCode (ref_function = "gst_mini_object_ref", unref_function = "gst_mini_object_unref", cheader_filename = "gst/gst.h")]
734 public abstract class MiniObject {
735 public Gst.MiniObjectFlags flags;
736 [CCode (has_construct_function = false)]
737 public MiniObject (GLib.Type type);
738 public virtual Gst.MiniObject copy ();
739 public virtual void finalize ();
740 [CCode (cname = "GST_MINI_OBJECT_FLAG_IS_SET")]
741 public bool flag_is_set (Gst.MiniObjectFlags flag);
742 [CCode (cname = "GST_MINI_OBJECT_FLAG_SET")]
743 public void flag_set (Gst.MiniObjectFlags flag);
744 [CCode (cname = "GST_MINI_OBJECT_FLAG_UNSET")]
745 public void flag_unset (Gst.MiniObjectFlags flag);
746 public bool is_writable ();
747 [ReturnsModifiedPointer]
748 public void make_writable ();
749 public unowned Gst.MiniObject @ref ();
750 public static void replace (ref Gst.MiniObject? oldobj, Gst.MiniObject? newobj);
751 public void unref ();
753 [CCode (ref_function = "gst_object_ref", unref_function = "gst_object_unref", cheader_filename = "gst/gst.h")]
754 public abstract class Object : GLib.Object {
755 public Gst.ObjectFlags flags;
756 public weak GLib.Mutex @lock;
757 public weak string name_prefix;
758 public weak Gst.Object parent;
759 [CCode (has_construct_function = false)]
761 public static bool check_uniqueness (GLib.List<Gst.Object> list, string name);
762 public static void default_deep_notify (GLib.Object object, Gst.Object orig, GLib.ParamSpec pspec, string? excluded_props);
763 public void default_error (GLib.Error error, string? debug);
764 [CCode (cname = "GST_OBJECT_FLAG_IS_SET")]
765 public bool flag_is_set (Gst.ObjectFlags flag);
766 [CCode (cname = "GST_OBJECT_FLAG_SET")]
767 public void flag_set (Gst.ObjectFlags flag);
768 [CCode (cname = "GST_OBJECT_FLAG_UNSET")]
769 public void flag_unset (Gst.ObjectFlags flag);
770 public string get_name ();
771 public string get_name_prefix ();
772 public Gst.Object get_parent ();
773 public string get_path_string ();
774 public bool has_ancestor (Gst.Object ancestor);
775 [CCode (cname = "GST_OBJECT_IS_DISPOSING")]
776 public bool is_disposing ();
777 [CCode (cname = "GST_OBJECT_IS_FLOATING")]
778 public bool is_floating ();
779 public unowned Gst.Object @ref ();
780 public void ref_sink ();
781 public static void replace (ref Gst.Object? oldobj, Gst.Object? newobj);
782 public virtual void restore_thyself (void* self);
783 public virtual void* save_thyself (void* parent);
784 public bool set_name (string name);
785 public void set_name_prefix (string name_prefix);
786 public bool set_parent (Gst.Object parent);
788 public void unparent ();
789 public void unref ();
790 public string name { get; set construct; }
791 public virtual signal void deep_notify (Gst.Object orig, GLib.ParamSpec pspec);
792 public virtual signal void object_saved (void* parent);
793 public virtual signal void parent_set (Gst.Object parent);
794 public virtual signal void parent_unset (Gst.Object parent);
796 [CCode (cheader_filename = "gst/gst.h")]
797 public class Pad : Gst.Object {
798 public weak Gst.PadAcceptCapsFunction acceptcapsfunc;
799 public weak Gst.PadActivateFunction activatefunc;
800 public weak Gst.PadActivateModeFunction activatepullfunc;
801 public weak Gst.PadActivateModeFunction activatepushfunc;
802 public weak Gst.PadBufferAllocFunction bufferallocfunc;
803 public weak Gst.PadChainFunction chainfunc;
804 public weak Gst.PadCheckGetRangeFunction checkgetrangefunc;
805 public void* element_private;
806 public weak Gst.PadEventFunction eventfunc;
807 public weak Gst.PadFixateCapsFunction fixatecapsfunc;
808 public weak Gst.PadGetCapsFunction getcapsfunc;
809 public weak Gst.PadGetRangeFunction getrangefunc;
810 public weak Gst.PadIntLinkFunction intlinkfunc;
811 public weak Gst.PadIterIntLinkFunction iterintlinkfunc;
812 public weak Gst.PadLinkFunction linkfunc;
813 public Gst.ActivateMode mode;
814 public weak Gst.PadQueryFunction queryfunc;
815 public weak Gst.PadQueryTypeFunction querytypefunc;
816 public weak Gst.PadSetCapsFunction setcapsfunc;
817 public weak Gst.PadUnlinkFunction unlinkfunc;
818 [CCode (has_construct_function = false)]
819 public Pad (string name, Gst.PadDirection direction);
820 public bool accept_caps (Gst.Caps caps);
821 public bool activate_pull (bool active);
822 public bool activate_push (bool active);
823 [CCode (cname = "gst_pad_add_buffer_probe_full")]
824 public uint add_buffer_probe ([CCode (type = "GCallback")] owned Gst.BufferProbeCallback handler);
825 [CCode (cname = "gst_pad_add_data_probe_full")]
826 public uint add_data_probe ([CCode (type = "GCallback")] owned Gst.DataProbeCallback handler);
827 [CCode (cname = "gst_pad_add_event_probe_full")]
828 public uint add_event_probe ([CCode (type = "GCallback")] owned Gst.EventProbeCallback handler);
829 public Gst.FlowReturn alloc_buffer (uint64 offset, int size, Gst.Caps caps, out Gst.Buffer buf);
830 public Gst.FlowReturn alloc_buffer_and_set_caps (uint64 offset, int size, Gst.Caps caps, out Gst.Buffer buf);
831 public bool can_link (Gst.Pad sinkpad);
832 public Gst.FlowReturn chain (owned Gst.Buffer buffer);
833 public Gst.FlowReturn chain_list (owned Gst.BufferList list);
834 public bool check_pull_range ();
835 public bool dispatcher (Gst.PadDispatcherFunction dispatch);
836 public bool event_default (owned Gst.Event event);
837 public void fixate_caps (Gst.Caps caps);
838 [CCode (has_construct_function = false)]
839 public Pad.from_static_template (Gst.StaticPadTemplate templ, string name);
840 [CCode (has_construct_function = false)]
841 public Pad.from_template (Gst.PadTemplate templ, string name);
842 public Gst.Caps get_allowed_caps ();
843 public Gst.Caps get_caps ();
844 public Gst.Caps get_caps_reffed ();
845 public Gst.PadDirection get_direction ();
846 public void* get_element_private ();
847 [CCode (instance_pos = -1)]
848 public Gst.Caps get_fixed_caps_func (Gst.Pad pad);
849 public GLib.List<Gst.Pad> get_internal_links ();
850 public GLib.List<Gst.Pad> get_internal_links_default ();
851 public Gst.Caps get_negotiated_caps ();
852 public unowned Gst.PadTemplate get_pad_template ();
853 public unowned Gst.Caps get_pad_template_caps ();
854 public Gst.Element? get_parent_element ();
855 public Gst.Pad get_peer ();
856 [CCode (array_length = false)]
857 public unowned Gst.QueryType[]? get_query_types ();
858 [CCode (array_length = false)]
859 public unowned Gst.QueryType[]? get_query_types_default ();
860 public Gst.FlowReturn get_range (uint64 offset, uint size, out Gst.Buffer buffer);
861 public bool is_active ();
862 public bool is_blocked ();
863 public bool is_blocking ();
864 public bool is_linked ();
865 public Gst.Iterator<Gst.Pad> iterate_internal_links ();
866 public Gst.Iterator<Gst.Pad> iterate_internal_links_default ();
867 public Gst.PadLinkReturn link (Gst.Pad sinkpad);
868 public Gst.PadLinkReturn link_full (Gst.Pad sinkpad, Gst.PadLinkCheck flags);
869 public void load_and_link (Gst.Object parent);
870 public bool pause_task ();
871 public bool peer_accept_caps (Gst.Caps caps);
872 public Gst.Caps peer_get_caps ();
873 public Gst.Caps peer_get_caps_reffed ();
874 public bool peer_query (Gst.Query query);
875 [CCode (instance_pos = -1)]
876 public Gst.Caps proxy_getcaps (Gst.Pad pad);
877 [CCode (instance_pos = -1)]
878 public bool proxy_setcaps (Gst.Caps caps);
879 public Gst.FlowReturn pull_range (uint64 offset, uint size, out Gst.Buffer buffer);
880 public Gst.FlowReturn push (owned Gst.Buffer buffer);
881 public bool push_event (owned Gst.Event event);
882 public Gst.FlowReturn push_list (owned Gst.BufferList list);
883 public bool query (Gst.Query query);
884 public bool query_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
885 public bool query_default (Gst.Query query);
886 public bool query_duration (ref Gst.Format format, out int64 duration);
887 public bool query_peer_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
888 public bool query_peer_duration (ref Gst.Format format, out int64 duration);
889 public bool query_peer_position (ref Gst.Format format, out int64 cur);
890 public bool query_position (ref Gst.Format format, out int64 cur);
891 public void remove_buffer_probe (uint handler_id);
892 public void remove_data_probe (uint handler_id);
893 public void remove_event_probe (uint handler_id);
894 public bool send_event (owned Gst.Event event);
895 public void set_acceptcaps_function (Gst.PadAcceptCapsFunction acceptcaps);
896 public void set_activate_function (Gst.PadActivateFunction activate);
897 public void set_activatepull_function (Gst.PadActivateModeFunction activatepull);
898 public void set_activatepush_function (Gst.PadActivateModeFunction activatepush);
899 public bool set_active (bool active);
900 public bool set_blocked (bool blocked);
901 [CCode (cname = "gst_pad_set_blocked_async_full")]
902 public bool set_blocked_async (bool blocked, owned Gst.PadBlockCallback callback);
903 public void set_bufferalloc_function (Gst.PadBufferAllocFunction bufalloc);
904 public bool set_caps (Gst.Caps? caps);
905 public void set_chain_function (Gst.PadChainFunction chain);
906 public void set_chain_list_function (Gst.PadChainListFunction chainlist);
907 public void set_checkgetrange_function (Gst.PadCheckGetRangeFunction check);
908 public void set_element_private (void* priv);
909 public void set_event_function (Gst.PadEventFunction event);
910 public void set_fixatecaps_function (Gst.PadFixateCapsFunction fixatecaps);
911 public void set_getcaps_function (Gst.PadGetCapsFunction getcaps);
912 public void set_getrange_function (Gst.PadGetRangeFunction @get);
913 public void set_internal_link_function (Gst.PadIntLinkFunction intlink);
914 public void set_iterate_internal_links_function (Gst.PadIterIntLinkFunction iterintlink);
915 public void set_link_function (Gst.PadLinkFunction link);
916 public void set_query_function (Gst.PadQueryFunction query);
917 public void set_setcaps_function (Gst.PadSetCapsFunction setcaps);
918 public void set_unlink_function (Gst.PadUnlinkFunction unlink);
919 public bool start_task (Gst.TaskFunction func);
920 public bool stop_task ();
921 [CCode (cname = "GST_PAD_STREAM_LOCK")]
922 public void stream_lock ();
923 [CCode (cname = "GST_PAD_STREAM_UNLOCK")]
924 public void stream_unlock ();
925 public bool unlink (Gst.Pad sinkpad);
926 public void use_fixed_caps ();
928 public Gst.Caps caps { owned get; }
929 public Gst.PadDirection direction { get; construct; }
931 public Gst.PadTemplate template { owned get; set; }
932 public virtual signal bool have_data (Gst.MiniObject data);
933 public virtual signal void linked (Gst.Pad peer);
934 public virtual signal void request_link ();
935 public virtual signal void unlinked (Gst.Pad peer);
937 [CCode (cheader_filename = "gst/gst.h")]
938 public class PadTemplate : Gst.Object {
939 [CCode (has_construct_function = false)]
940 public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, owned Gst.Caps caps);
941 public unowned Gst.Caps get_caps ();
942 public Gst.Caps caps { get; construct; }
944 public Gst.PadDirection direction { get; construct; }
946 public string name_template { owned get; construct; }
948 public Gst.PadPresence presence { get; construct; }
950 public virtual signal void pad_created (Gst.Pad pad);
952 [CCode (cheader_filename = "gst/gst.h")]
953 public class ParamSpecFraction : GLib.ParamSpec {
961 [CCode (cheader_filename = "gst/gst.h")]
962 public class ParamSpecMiniObject : GLib.ParamSpec {
965 [CCode (cheader_filename = "gst/gst.h")]
966 public class ParseContext {
967 [CCode (has_construct_function = false)]
968 public ParseContext ();
969 [CCode (array_length = false, array_null_terminated = true)]
970 public string[] get_missing_elements ();
972 [CCode (cheader_filename = "gst/gst.h")]
973 public class Pipeline : Gst.Bin, Gst.ChildProxy {
974 [CCode (type = "GstElement*", has_construct_function = false)]
975 public Pipeline (string? name);
976 public void auto_clock ();
977 public bool get_auto_flush_bus ();
978 public Gst.Bus get_bus ();
979 public Gst.Clock? get_clock ();
980 public Gst.ClockTime get_delay ();
981 public Gst.ClockTime get_last_stream_time ();
982 public void set_auto_flush_bus (bool auto_flush);
983 public bool set_clock (Gst.Clock? clock);
984 public void set_delay (Gst.ClockTime delay);
985 public void set_new_stream_time (Gst.ClockTime time);
986 public void use_clock (Gst.Clock? clock);
987 public bool auto_flush_bus { get; set; }
988 public uint64 delay { get; set; }
990 [CCode (cheader_filename = "gst/gst.h")]
991 public class Plugin : Gst.Object {
992 [CCode (has_construct_function = false)]
994 public void add_dependency ([CCode (array_length = false)] string?[] env_vars, [CCode (array_length = false)] string?[] paths, [CCode (array_length = false)] string?[] names, Gst.PluginDependencyFlags flags);
995 public void add_dependency_simple (string? env_vars, string? paths, string? names, Gst.PluginDependencyFlags flags);
996 public static GLib.Quark error_quark ();
997 public unowned Gst.Structure get_cache_data ();
998 public unowned string get_description ();
999 public unowned string get_filename ();
1000 public unowned string get_license ();
1001 public unowned GLib.Module get_module ();
1002 public unowned string get_name ();
1003 public unowned string get_origin ();
1004 public unowned string get_package ();
1005 public unowned string get_source ();
1006 public unowned string get_version ();
1007 public bool is_loaded ();
1008 public Gst.Plugin? load ();
1009 public static Gst.Plugin? load_by_name (string name);
1010 public static Gst.Plugin? load_file (string filename) throws GLib.Error;
1011 [CCode (instance_pos = -1)]
1012 public bool name_filter (Gst.Plugin plugin, string name);
1013 public static bool register_static (int major_version, int minor_version, string name, string description, Gst.PluginInitFunc init_func, string version, string license, string source, string package, string origin);
1014 public static bool register_static_full (int major_version, int minor_version, string name, string description, Gst.PluginInitFullFunc init_full_func, string version, string license, string source, string package, string origin);
1015 public void set_cache_data (owned Gst.Structure cache_data);
1017 [CCode (cheader_filename = "gst/gst.h")]
1018 public abstract class PluginFeature : Gst.Object {
1019 [CCode (has_construct_function = false)]
1020 protected PluginFeature ();
1021 public bool check_version (uint min_major, uint min_minor, uint min_micro);
1022 public unowned string get_name ();
1023 public uint get_rank ();
1024 public Gst.PluginFeature? load ();
1025 public void set_name (string name);
1026 public void set_rank (uint rank);
1027 [CCode (instance_pos = -1)]
1028 public bool type_name_filter (Gst.PluginFeature feature, Gst.TypeNameData data);
1031 [CCode (cheader_filename = "gst/gst.h")]
1033 [CCode (has_construct_function = false)]
1034 public Poll (bool controllable);
1035 public bool add_fd (Gst.PollFD fd);
1036 public bool read_control ();
1037 public bool remove_fd (Gst.PollFD fd);
1038 public void restart ();
1039 public bool set_controllable (bool controllable);
1040 public void set_flushing (bool flushing);
1041 [CCode (has_construct_function = false)]
1042 public Poll.timer ();
1043 public int wait (Gst.ClockTime timeout);
1044 public bool write_control ();
1046 [CCode (cheader_filename = "gst/gst.h")]
1047 public class ProxyPad : Gst.Pad {
1048 [CCode (has_construct_function = false)]
1049 protected ProxyPad ();
1051 [CCode (ref_function = "gst_query_ref", unref_function = "gst_query_unref", cheader_filename = "gst/gst.h")]
1052 public class Query : Gst.MiniObject {
1053 public weak Gst.Structure structure;
1054 public Gst.QueryType type;
1055 [CCode (has_construct_function = false)]
1056 public Query.application (Gst.QueryType type, owned Gst.Structure structure);
1057 [CCode (has_construct_function = false)]
1058 public Query.buffering (Gst.Format format);
1059 [CCode (has_construct_function = false)]
1060 public Query.convert (Gst.Format src_format, int64 value, Gst.Format dest_format);
1061 public Gst.Query copy ();
1062 [CCode (has_construct_function = false)]
1063 public Query.duration (Gst.Format format);
1064 [CCode (has_construct_function = false)]
1065 public Query.formats ();
1066 public unowned Gst.Structure get_structure ();
1067 [CCode (has_construct_function = false)]
1068 public Query.latency ();
1069 [ReturnsModifiedPointer]
1070 public void make_writable ();
1071 public void parse_buffering_percent (out bool busy, out int percent);
1072 public void parse_buffering_range (out Gst.Format format, out int64 start, out int64 stop, out int64 estimated_total);
1073 public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
1074 public void parse_convert (out Gst.Format src_format, out int64 src_value, out Gst.Format dest_format, out int64 dest_value);
1075 public void parse_duration (out Gst.Format format, out int64 duration);
1076 public void parse_formats_length (out uint n_formats);
1077 public void parse_formats_nth (uint nth, out Gst.Format format);
1078 public void parse_latency (out bool live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
1079 public void parse_position (out Gst.Format format, out int64 cur);
1080 public void parse_seeking (out Gst.Format format, out bool seekable, out int64 segment_start, out int64 segment_end);
1081 public void parse_segment (out double rate, out Gst.Format format, out int64 start_value, out int64 stop_value);
1082 public void parse_uri (out string uri);
1083 [CCode (has_construct_function = false)]
1084 public Query.position (Gst.Format format);
1085 public unowned Gst.Query @ref ();
1086 [CCode (has_construct_function = false)]
1087 public Query.seeking (Gst.Format format);
1088 [CCode (has_construct_function = false)]
1089 public Query.segment (Gst.Format format);
1090 public void set_buffering_percent (bool busy, int percent);
1091 public void set_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total);
1092 public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
1093 public void set_convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
1094 public void set_duration (Gst.Format format, int64 duration);
1095 public void set_formats (int n_formats, ...);
1096 public void set_formatsv ([CCode (array_length_pos = 0.9)] Gst.Format[] formats);
1097 public void set_latency (bool live, Gst.ClockTime min_latency, Gst.ClockTime max_latency);
1098 public void set_position (Gst.Format format, int64 cur);
1099 public void set_seeking (Gst.Format format, bool seekable, int64 segment_start, int64 segment_end);
1100 public void set_segment (double rate, Gst.Format format, int64 start_value, int64 stop_value);
1101 public void set_uri (string uri);
1102 public static bool types_contains (Gst.QueryType types, Gst.QueryType type);
1103 public void unref ();
1104 [CCode (has_construct_function = false)]
1105 public Query.uri ();
1107 [CCode (cheader_filename = "gst/gst.h")]
1108 public class Registry : Gst.Object {
1109 [CCode (has_construct_function = false)]
1110 protected Registry ();
1111 public bool add_feature (owned Gst.PluginFeature feature);
1112 public void add_path (string path);
1113 public bool add_plugin (owned Gst.Plugin plugin);
1114 public GLib.List<Gst.PluginFeature> feature_filter ([CCode (delegate_target_pos = 2.1)] Gst.PluginFeatureFilter filter, bool first);
1115 public Gst.PluginFeature? find_feature (string name, GLib.Type type);
1116 public Gst.Plugin? find_plugin (string name);
1117 public static bool fork_is_enabled ();
1118 public static void fork_set_enabled (bool enabled);
1119 public static unowned Gst.Registry get_default ();
1120 public GLib.List<Gst.PluginFeature> get_feature_list (GLib.Type type);
1121 public GLib.List<Gst.PluginFeature> get_feature_list_by_plugin (string name);
1122 public uint32 get_feature_list_cookie ();
1123 public GLib.List<string> get_path_list ();
1124 public GLib.List<Gst.Plugin> get_plugin_list ();
1125 public Gst.Plugin? lookup (string filename);
1126 public Gst.PluginFeature? lookup_feature (string name);
1127 public GLib.List<Gst.Plugin> plugin_filter (Gst.PluginFilter filter, bool first);
1128 public void remove_feature (Gst.PluginFeature feature);
1129 public void remove_plugin (Gst.Plugin plugin);
1130 public bool scan_path (string path);
1131 public bool xml_read_cache (string location);
1132 public bool xml_write_cache (string location);
1133 public virtual signal void feature_added (void* feature);
1134 public virtual signal void plugin_added (void* plugin);
1137 [CCode (copy_function = "gst_segment_copy", type_id = "GST_TYPE_SEGMENT", cheader_filename = "gst/gst.h")]
1138 public class Segment {
1139 public double abs_rate;
1141 public double applied_rate;
1142 public int64 duration;
1143 public Gst.SeekFlags flags;
1144 public Gst.Format format;
1145 public int64 last_stop;
1150 [CCode (has_construct_function = false)]
1152 public bool clip (Gst.Format format, int64 start, int64 stop, out int64 clip_start, out int64 clip_stop);
1153 public Gst.Segment copy ();
1154 public void init (Gst.Format format);
1155 public void set_duration (Gst.Format format, int64 duration);
1156 public void set_last_stop (Gst.Format format, int64 position);
1157 public void set_newsegment (bool update, double rate, Gst.Format format, int64 start, int64 stop, int64 time);
1158 public void set_newsegment_full (bool update, double rate, double applied_rate, Gst.Format format, int64 start, int64 stop, int64 time);
1159 public bool set_running_time (Gst.Format format, int64 running_time);
1160 public void set_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, int64 start, Gst.SeekType stop_type, int64 stop, bool update);
1161 public int64 to_position (Gst.Format format, int64 running_time);
1162 public int64 to_running_time (Gst.Format format, int64 position);
1163 public int64 to_stream_time (Gst.Format format, int64 position);
1167 [CCode (copy_function = "gst_structure_copy", type_id = "GST_TYPE_STRUCTURE", cheader_filename = "gst/gst.h")]
1168 public class Structure {
1169 [CCode (has_construct_function = false)]
1170 public Structure (string name, string firstfield, ...);
1171 public Gst.Structure copy ();
1172 [CCode (cname = "gst_structure_empty_new", has_construct_function = false)]
1173 public Structure.empty (string name);
1174 public bool fixate_field_boolean (string field_name, bool target);
1175 public bool fixate_field_nearest_double (string field_name, double target);
1176 public bool fixate_field_nearest_fraction (string field_name, int target_numerator, int target_denominator);
1177 public bool fixate_field_nearest_int (string field_name, int target);
1178 public bool fixate_field_string (string field_name, string target);
1179 public bool @foreach (Gst.StructureForeachFunc func);
1180 public static Gst.Structure? from_string (string str, out unowned string end);
1181 public bool @get (...);
1182 public bool get_boolean (string fieldname, out bool value);
1183 public bool get_clock_time (string fieldname, out Gst.ClockTime value);
1184 public bool get_date (string fieldname, out GLib.Date value);
1185 public bool get_double (string fieldname, out double value);
1186 public bool get_enum (string fieldname, GLib.Type enumtype, out int value);
1187 public GLib.Type get_field_type (string fieldname);
1188 public bool get_fourcc (string fieldname, out uint32 value);
1189 public bool get_fraction (string fieldname, out int value_numerator, out int value_denominator);
1190 public bool get_int (string fieldname, out int value);
1191 public unowned string get_name ();
1192 public GLib.Quark get_name_id ();
1193 public unowned string? get_string (string fieldname);
1194 public bool get_uint (string fieldname, out uint value);
1195 public bool get_valist (string first_fieldname, va_list args);
1196 public unowned Gst.Value? get_value (string fieldname);
1197 public bool has_field (string fieldname);
1198 public bool has_field_typed (string fieldname, GLib.Type type);
1199 public bool has_name (string name);
1200 [CCode (cname = "gst_structure_id_new", has_construct_function = false)]
1201 public Structure.id (GLib.Quark quark, GLib.Quark field_quark, ...);
1202 [CCode (cname = "gst_structure_id_empty_new", has_construct_function = false)]
1203 public Structure.id_empty (GLib.Quark quark);
1204 public bool id_get (...);
1205 public bool id_get_valist (GLib.Quark first_field_id, va_list args);
1206 public unowned Gst.Value? id_get_value (GLib.Quark field);
1207 public bool id_has_field (GLib.Quark field);
1208 public bool id_has_field_typed (GLib.Quark field, GLib.Type type);
1209 public void id_set (GLib.Quark fieldname, ...);
1210 public void id_set_valist (GLib.Quark fieldname, va_list varargs);
1211 public void id_set_value (GLib.Quark field, Gst.Value value);
1212 public bool map_in_place (Gst.StructureMapFunc func);
1213 public int n_fields ();
1214 public unowned string nth_field_name (uint index);
1215 public void remove_all_fields ();
1216 public void remove_field (string fieldname);
1217 public void remove_fields (string fieldname, ...);
1218 public void remove_fields_valist (string fieldname, va_list varargs);
1219 public void @set (string fieldname, ...);
1220 public void set_name (string name);
1221 public void set_parent_refcount (ref int refcount);
1222 public void set_valist (string fieldname, va_list varargs);
1223 public void set_value (string fieldname, Gst.Value value);
1224 public string to_string ();
1225 [CCode (has_construct_function = false)]
1226 public Structure.valist (string name, string firstfield, va_list varargs);
1228 [CCode (cheader_filename = "gst/gst.h")]
1229 public class SystemClock : Gst.Clock {
1230 [CCode (has_construct_function = false)]
1231 protected SystemClock ();
1232 public static Gst.Clock obtain ();
1234 public Gst.ClockType clock_type { get; set; }
1237 [CCode (copy_function = "gst_tag_list_copy", cheader_filename = "gst/gst.h")]
1238 public class TagList {
1239 [CCode (has_construct_function = false)]
1241 public void add (Gst.TagMergeMode mode, string tag, ...);
1242 public void add_valist (Gst.TagMergeMode mode, string tag, void* var_args);
1243 public void add_valist_values (Gst.TagMergeMode mode, string tag, void* var_args);
1244 public void add_value (Gst.TagMergeMode mode, string tag, Gst.Value value);
1245 public void add_values (Gst.TagMergeMode mode, string tag, ...);
1246 public Gst.TagList copy ();
1247 public static bool copy_value (out Gst.Value dest, Gst.TagList list, string tag);
1248 public void @foreach (Gst.TagForeachFunc func);
1249 [CCode (has_construct_function = false)]
1250 public TagList.full (string tag);
1251 [CCode (has_construct_function = false)]
1252 public TagList.full_valist (void* var_args);
1253 public bool get_boolean (string tag, out bool value);
1254 public bool get_boolean_index (string tag, uint index, out bool value);
1255 public bool get_buffer (string tag, out unowned Gst.Buffer value);
1256 public bool get_buffer_index (string tag, uint index, out unowned Gst.Buffer value);
1257 public bool get_char (string tag, out char value);
1258 public bool get_char_index (string tag, uint index, out char value);
1259 public bool get_date (string tag, out GLib.Date? value);
1260 public bool get_date_index (string tag, uint index, out GLib.Date? value);
1261 public bool get_double (string tag, out double value);
1262 public bool get_double_index (string tag, uint index, out double value);
1263 public bool get_float (string tag, out float value);
1264 public bool get_float_index (string tag, uint index, out float value);
1265 public bool get_int (string tag, out int value);
1266 public bool get_int64 (string tag, out int64 value);
1267 public bool get_int64_index (string tag, uint index, out int64 value);
1268 public bool get_int_index (string tag, uint index, out int value);
1269 public bool get_long (string tag, out long value);
1270 public bool get_long_index (string tag, uint index, out long value);
1271 public bool get_pointer (string tag, out void* value);
1272 public bool get_pointer_index (string tag, uint index, out void* value);
1273 public bool get_string (string tag, out string value);
1274 public bool get_string_index (string tag, uint index, out string value);
1275 public uint get_tag_size (string tag);
1276 public bool get_uchar (string tag, out uchar value);
1277 public bool get_uchar_index (string tag, uint index, out uchar value);
1278 public bool get_uint (string tag, out uint value);
1279 public bool get_uint64 (string tag, out uint64 value);
1280 public bool get_uint64_index (string tag, uint index, out uint64 value);
1281 public bool get_uint_index (string tag, uint index, out uint value);
1282 public bool get_ulong (string tag, out ulong value);
1283 public bool get_ulong_index (string tag, uint index, out ulong value);
1284 public unowned Gst.Value? get_value_index (string tag, uint index);
1285 public void insert (Gst.TagList from, Gst.TagMergeMode mode);
1286 public bool is_empty ();
1287 public Gst.TagList merge (Gst.TagList list2, Gst.TagMergeMode mode);
1288 public bool peek_string_index (string tag, uint index, string value);
1289 public void remove_tag (string tag);
1291 [CCode (cheader_filename = "gst/gst.h")]
1292 public class Task : Gst.Object {
1293 public void* abidata;
1294 public weak GLib.Cond cond;
1296 public weak Gst.TaskFunction func;
1298 public bool running;
1299 public Gst.TaskState state;
1300 [CCode (has_construct_function = false)]
1302 public static void cleanup_all ();
1303 public static unowned Gst.Task create (Gst.TaskFunction func, void* data);
1304 public unowned Gst.TaskPool get_pool ();
1305 public Gst.TaskState get_state ();
1306 public bool join ();
1307 public bool pause ();
1308 public void set_lock (void* mutex);
1309 public void set_pool (Gst.TaskPool pool);
1310 public void set_priority (GLib.ThreadPriority priority);
1311 public bool set_state (Gst.TaskState state);
1312 public void set_thread_callbacks (Gst.TaskThreadCallbacks callbacks, GLib.DestroyNotify notify);
1313 public bool start ();
1314 public bool stop ();
1316 [CCode (cheader_filename = "gst/gst.h")]
1317 public class TaskPool : Gst.Object {
1318 public weak GLib.ThreadPool pool;
1319 [CCode (has_construct_function = false)]
1321 public virtual void cleanup ();
1322 public virtual void join (void* id);
1323 public virtual void prepare () throws GLib.Error;
1324 public virtual void* push (Gst.TaskPoolFunction func) throws GLib.Error;
1327 [CCode (cheader_filename = "gst/gst.h")]
1328 public class TaskThreadCallbacks {
1329 public weak GLib.Callback enter_thread;
1330 public weak GLib.Callback leave_thread;
1333 [CCode (free_function = "gst_trace_destroy", cheader_filename = "gst/gst.h")]
1334 public class Trace {
1335 public weak Gst.TraceEntry buf;
1336 public int bufoffset;
1339 public weak string filename;
1340 [CCode (has_construct_function = false)]
1341 public Trace (string filename, int size);
1342 public void flush ();
1343 public static void read_tsc (int64 dst);
1344 public void set_default ();
1345 public void text_flush ();
1348 [CCode (cheader_filename = "gst/gst.h")]
1349 public class TraceEntry {
1351 [CCode (array_length = false)]
1352 public weak char[] message;
1353 public uint32 sequence;
1354 public int64 timestamp;
1357 [CCode (cheader_filename = "gst/gst.h")]
1358 public class TypeFind {
1360 [CCode (cname = "gst_type_find_get_length")]
1361 public uint64 get_length ();
1362 [CCode (cname = "gst_type_find_peek")]
1363 public uchar peek (int64 offset, uint size);
1364 [CCode (cname = "gst_type_find_register")]
1365 public static bool register (Gst.Plugin plugin, string name, uint rank, Gst.TypeFindFunction func, string extensions, Gst.Caps possible_caps, void* data, GLib.DestroyNotify data_notify);
1366 [CCode (cname = "gst_type_find_suggest")]
1367 public void suggest (uint probability, Gst.Caps caps);
1368 [CCode (cname = "gst_type_find_suggest_simple")]
1369 public void suggest_simple (uint probability, string media_type, string fieldname);
1371 [CCode (cheader_filename = "gst/gst.h")]
1372 public class TypeFindFactory : Gst.PluginFeature {
1373 public weak Gst.Caps caps;
1374 public weak string extensions;
1375 public weak Gst.TypeFindFunction function;
1376 public void* user_data;
1377 public weak GLib.DestroyNotify user_data_notify;
1378 [CCode (has_construct_function = false)]
1379 protected TypeFindFactory ();
1380 [CCode (cname = "gst_type_find_factory_call_function")]
1381 public void call_function (Gst.TypeFind find);
1382 [CCode (cname = "gst_type_find_factory_get_caps")]
1383 public unowned Gst.Caps get_caps ();
1384 [CCode (cname = "gst_type_find_factory_get_extensions")]
1385 public unowned string get_extensions ();
1386 [CCode (cname = "gst_type_find_factory_get_list")]
1387 public static GLib.List<Gst.PluginFeature> get_list ();
1390 [CCode (cheader_filename = "gst/gst.h")]
1391 public class TypeNameData {
1392 public weak string name;
1393 public GLib.Type type;
1396 [CCode (cheader_filename = "gst/gst.h")]
1397 public class ValueTable {
1398 public weak Gst.ValueCompareFunc compare;
1399 public weak Gst.ValueDeserializeFunc deserialize;
1400 public weak Gst.ValueSerializeFunc serialize;
1401 public GLib.Type type;
1403 [CCode (cheader_filename = "gst/gst.h")]
1404 public class XML : Gst.Object {
1406 public weak GLib.List<Gst.Element> topelements;
1407 [CCode (has_construct_function = false)]
1409 public unowned Gst.Element get_element (string name);
1410 public unowned GLib.List<Gst.Element> get_topelements ();
1411 public static unowned Gst.Element make_element (void* cur, Gst.Object parent);
1413 public virtual void object_saved (Gst.Object object, void* self);
1414 public bool parse_doc (void* doc, string root);
1415 public bool parse_file (string fname, string root);
1416 public bool parse_memory (uchar[] buffer, uint size, string root);
1417 public static void* write (Gst.Element element);
1418 public static int write_file (Gst.Element element, GLib.FileStream @out);
1419 public virtual signal void object_loaded (Gst.Object object, void* self);
1421 [CCode (cheader_filename = "gst/gst.h")]
1422 public interface ChildProxy : Gst.Object {
1423 public void @get (string first_property_name, ...);
1424 public abstract Gst.Object? get_child_by_index (uint index);
1425 public Gst.Object? get_child_by_name (string name);
1426 public abstract uint get_children_count ();
1427 public void get_property (string name, ref Gst.Value value);
1428 public void get_valist (string first_property_name, void* var_args);
1429 public bool lookup (string name, out Gst.Object? target, out unowned GLib.ParamSpec? pspec);
1430 public void @set (string first_property_name, ...);
1431 public void set_property (string name, Gst.Value value);
1432 public void set_valist (string first_property_name, void* var_args);
1434 public signal void child_added (GLib.Object child);
1436 public signal void child_removed (GLib.Object child);
1438 [CCode (cheader_filename = "gst/gst.h")]
1439 public interface ImplementsInterface : Gst.Element {
1440 public unowned Gst.Element? cast (GLib.Type type);
1441 public bool check (GLib.Type type);
1443 public abstract bool supported (GLib.Type iface_type);
1445 [CCode (cheader_filename = "gst/gst.h")]
1446 public interface Preset {
1447 public abstract bool delete_preset (string name);
1448 public abstract bool get_meta (string name, string tag, out string value);
1449 [CCode (array_length = false, array_null_terminated = true)]
1450 public abstract string[] get_preset_names ();
1451 [CCode (array_length = false, array_null_terminated = true)]
1452 public abstract string[] get_property_names ();
1453 public abstract bool load_preset (string name);
1454 public abstract bool rename_preset (string old_name, string new_name);
1455 public abstract bool save_preset (string name);
1456 public abstract bool set_meta (string name, string tag, string value);
1458 [CCode (cheader_filename = "gst/gst.h")]
1459 public interface TagSetter : Gst.Element {
1460 public void add_tag_valist (Gst.TagMergeMode mode, string tag, void* var_args);
1461 public void add_tag_valist_values (Gst.TagMergeMode mode, string tag, void* var_args);
1462 public void add_tag_value (Gst.TagMergeMode mode, string tag, Gst.Value value);
1463 public void add_tag_values (Gst.TagMergeMode mode, string tag, ...);
1464 public void add_tags (Gst.TagMergeMode mode, string tag, ...);
1465 public unowned Gst.TagList get_tag_list ();
1466 public Gst.TagMergeMode get_tag_merge_mode ();
1467 public void merge_tags (Gst.TagList list, Gst.TagMergeMode mode);
1468 public void reset_tags ();
1469 public void set_tag_merge_mode (Gst.TagMergeMode mode);
1471 [CCode (cheader_filename = "gst/gst.h")]
1472 public interface URIHandler {
1473 public abstract unowned string[] get_protocols ();
1475 public abstract unowned string[] get_protocols_full (GLib.Type type);
1477 public abstract Gst.URIType get_type ();
1479 public abstract Gst.URIType get_type_full (GLib.Type type);
1480 public abstract unowned string get_uri ();
1481 public uint get_uri_type ();
1482 public abstract bool set_uri (string uri);
1484 public signal void new_uri (string uri);
1486 [CCode (type_id = "GST_TYPE_ARRAY", cheader_filename = "gst/gst.h")]
1487 public struct Array {
1489 [CCode (cheader_filename = "gst/gst.h")]
1491 [IntegerType (rank = 0)]
1492 public struct ClockTime : uint64 {
1493 [CCode (cname = "GST_TIME_ARGS")]
1494 public unowned string args ();
1495 [CCode (cname = "GST_CLOCK_TIME_IS_VALID")]
1496 public bool is_valid ();
1498 [CCode (cheader_filename = "gst/gst.h")]
1500 [IntegerType (rank = 0)]
1501 public struct ClockTimeDiff : int64 {
1503 [CCode (type_id = "GST_TYPE_DOUBLE_RANGE", cheader_filename = "gst/gst.h")]
1504 public struct DoubleRange {
1506 [CCode (type_id = "GST_TYPE_ELEMENT_DETAILS", cheader_filename = "gst/gst.h")]
1507 public struct ElementDetails {
1508 public weak string longname;
1509 public weak string klass;
1510 public weak string description;
1511 public weak string author;
1513 [CCode (type_id = "GST_TYPE_FORMAT_DEFINITION", cheader_filename = "gst/gst.h")]
1514 public struct FormatDefinition {
1515 public Gst.Format value;
1516 public weak string nick;
1517 public weak string description;
1518 public GLib.Quark quark;
1520 [CCode (type_id = "GST_TYPE_FRACTION", cheader_filename = "gst/gst.h")]
1521 public struct Fraction {
1523 [CCode (type_id = "GST_TYPE_FRACTION_RANGE", cheader_filename = "gst/gst.h")]
1524 public struct FractionRange {
1526 [CCode (type_id = "GST_TYPE_INDEX_ASSOCIATION", cheader_filename = "gst/gst.h")]
1527 public struct IndexAssociation {
1528 public Gst.Format format;
1531 [CCode (type_id = "GST_TYPE_INT_RANGE", cheader_filename = "gst/gst.h")]
1532 public struct IntRange {
1534 [CCode (type_id = "GST_TYPE_LIST", cheader_filename = "gst/gst.h")]
1535 public struct List {
1537 [CCode (type_id = "GST_TYPE_PLUGIN_DESC", cheader_filename = "gst/gst.h")]
1538 public struct PluginDesc {
1539 public int major_version;
1540 public int minor_version;
1541 public weak string name;
1542 public weak string description;
1543 public weak Gst.PluginInitFunc plugin_init;
1544 public weak string version;
1545 public weak string license;
1546 public weak string source;
1547 public weak string package;
1548 public weak string origin;
1549 public weak void*[] _gst_reserved;
1551 [CCode (type_id = "GST_TYPE_POLL_FD", cheader_filename = "gst/gst.h")]
1552 public struct PollFD {
1555 public static bool can_read (Gst.Poll @set, Gst.PollFD fd);
1556 public static bool can_write (Gst.Poll @set, Gst.PollFD fd);
1557 public static bool ctl_read (Gst.Poll @set, Gst.PollFD fd, bool active);
1558 public static bool ctl_write (Gst.Poll @set, Gst.PollFD fd, bool active);
1559 public static bool has_closed (Gst.Poll @set, Gst.PollFD fd);
1560 public static bool has_error (Gst.Poll @set, Gst.PollFD fd);
1561 public static void ignored (Gst.Poll @set, Gst.PollFD fd);
1562 public void init ();
1564 [CCode (type_id = "GST_TYPE_QUERY_TYPE_DEFINITION", cheader_filename = "gst/gst.h")]
1565 public struct QueryTypeDefinition {
1566 public weak string description;
1567 public weak string nick;
1568 public GLib.Quark quark;
1569 public Gst.QueryType value;
1571 [CCode (type_id = "GST_TYPE_STATIC_CAPS", cheader_filename = "gst/gst.h")]
1572 public struct StaticCaps {
1573 [CCode (cname = "string")]
1574 public weak string str;
1575 public Gst.Caps @get ();
1577 [CCode (type_id = "GST_TYPE_STATIC_PAD_TEMPLATE", cheader_filename = "gst/gst.h")]
1578 public struct StaticPadTemplate {
1579 public weak string name_template;
1580 public Gst.PadDirection direction;
1581 public Gst.PadPresence presence;
1582 public Gst.StaticCaps static_caps;
1583 public Gst.PadTemplate @get ();
1584 public Gst.Caps get_caps ();
1586 [CCode (cname = "GValue", type_id = "G_TYPE_VALUE", cheader_filename = "gst/gst.h")]
1587 public struct Value : GLib.Value {
1588 public void array_append_value (Gst.Value append_value);
1589 public uint array_get_size ();
1590 public static GLib.Type array_get_type ();
1591 public unowned Gst.Value? array_get_value (uint index);
1592 public void array_prepend_value (Gst.Value prepend_value);
1593 public static bool can_compare (Gst.Value value1, Gst.Value value2);
1594 public static bool can_intersect (Gst.Value value1, Gst.Value value2);
1595 public static bool can_subtract (Gst.Value minuend, Gst.Value subtrahend);
1596 public static bool can_union (Gst.Value value1, Gst.Value value2);
1597 public static int compare (Gst.Value value1, Gst.Value value2);
1598 public bool deserialize (string src);
1599 public static bool fraction_multiply (GLib.Value product, GLib.Value factor1, GLib.Value factor2);
1600 public static bool fraction_subtract (GLib.Value dest, GLib.Value minuend, GLib.Value subtrahend);
1601 public unowned Gst.Buffer get_buffer ();
1602 public Gst.Caps get_caps ();
1603 public GLib.Date get_date ();
1604 public double get_double_range_max ();
1605 public double get_double_range_min ();
1606 public uint get_fourcc ();
1607 public int get_fraction_denominator ();
1608 public int get_fraction_numerator ();
1609 public unowned Gst.Value? get_fraction_range_max ();
1610 public unowned Gst.Value? get_fraction_range_min ();
1611 public int get_int_range_max ();
1612 public int get_int_range_min ();
1613 public unowned Gst.Structure get_structure ();
1614 public void init_and_copy (Gst.Value src);
1615 public static bool intersect (Gst.Value dest, Gst.Value value1, Gst.Value value2);
1616 public bool is_fixed ();
1617 public void list_append_value (Gst.Value append_value);
1618 public void list_concat (Gst.Value value1, Gst.Value value2);
1619 public uint list_get_size ();
1620 public static GLib.Type list_get_type ();
1621 public unowned Gst.Value? list_get_value (uint index);
1622 public void list_prepend_value (Gst.Value prepend_value);
1623 [CCode (cname = "GST_MAKE_FOURCC")]
1624 public static uint make_fourcc (char a, char b, char c, char d);
1625 public static void register (Gst.ValueTable table);
1626 public static void register_intersect_func (GLib.Type type1, GLib.Type type2, Gst.ValueIntersectFunc func);
1627 public static void register_subtract_func (GLib.Type minuend_type, GLib.Type subtrahend_type, Gst.ValueSubtractFunc func);
1628 public static void register_union_func (GLib.Type type1, GLib.Type type2, Gst.ValueUnionFunc func);
1629 public string serialize ();
1630 public void set_buffer (Gst.Buffer b);
1631 public void set_caps (Gst.Caps caps);
1632 public void set_date (GLib.Date date);
1633 public void set_double_range (double start, double end);
1634 public void set_fourcc (uint fourcc);
1635 public void set_fraction (int numerator, int denominator);
1636 public void set_fraction_range (Gst.Value start, Gst.Value end);
1637 public void set_fraction_range_full (int numerator_start, int denominator_start, int numerator_end, int denominator_end);
1638 public void set_int_range (int start, int end);
1639 public void set_structure (Gst.Structure structure);
1640 [CCode (cname = "GST_STR_FOURCC")]
1641 public static uint str_fourcc (string str);
1642 public static bool subtract (Gst.Value dest, Gst.Value minuend, Gst.Value subtrahend);
1643 public void take_buffer (Gst.Buffer b);
1644 public static bool union (Gst.Value dest, Gst.Value value1, Gst.Value value2);
1646 [CCode (cprefix = "GST_ACTIVATE_", cheader_filename = "gst/gst.h")]
1647 public enum ActivateMode {
1652 [CCode (cprefix = "GST_ALLOC_TRACE_", cheader_filename = "gst/gst.h")]
1654 public enum AllocTraceFlags {
1658 [CCode (cprefix = "GST_ASSOCIATION_FLAG_", cheader_filename = "gst/gst.h")]
1660 public enum AssocFlags {
1666 [CCode (cprefix = "GST_BIN_FLAG_", cheader_filename = "gst/gst.h")]
1668 public enum BinFlags {
1671 [CCode (cprefix = "GST_BUFFER_COPY_", cheader_filename = "gst/gst.h")]
1673 public enum BufferCopyFlags {
1678 [CCode (cprefix = "GST_BUFFER_FLAG_", cheader_filename = "gst/gst.h")]
1680 public enum BufferFlag {
1692 [CCode (cprefix = "GST_BUFFER_LIST_", cheader_filename = "gst/gst.h")]
1693 public enum BufferListItem {
1698 [CCode (cprefix = "GST_BUFFERING_", cheader_filename = "gst/gst.h")]
1699 public enum BufferingMode {
1705 [CCode (cprefix = "GST_BUS_", cheader_filename = "gst/gst.h")]
1707 public enum BusFlags {
1711 [CCode (cprefix = "GST_BUS_", cheader_filename = "gst/gst.h")]
1712 public enum BusSyncReply {
1717 [CCode (cprefix = "GST_CAPS_FLAGS_", cheader_filename = "gst/gst.h")]
1719 public enum CapsFlags {
1722 [CCode (cprefix = "GST_CLOCK_ENTRY_", cheader_filename = "gst/gst.h")]
1723 public enum ClockEntryType {
1727 [CCode (cprefix = "GST_CLOCK_FLAG_", cheader_filename = "gst/gst.h")]
1729 public enum ClockFlags {
1731 CAN_DO_SINGLE_ASYNC,
1732 CAN_DO_PERIODIC_SYNC,
1733 CAN_DO_PERIODIC_ASYNC,
1738 [CCode (cprefix = "GST_CLOCK_", cheader_filename = "gst/gst.h")]
1739 public enum ClockReturn {
1748 [CCode (cprefix = "GST_CLOCK_TYPE_", cheader_filename = "gst/gst.h")]
1749 public enum ClockType {
1753 [CCode (cprefix = "GST_DEBUG_", cheader_filename = "gst/gst.h")]
1754 public enum DebugColorFlags {
1774 [CCode (cprefix = "GST_DEBUG_GRAPH_SHOW_", cheader_filename = "gst/gst.h")]
1776 public enum DebugGraphDetails {
1783 [CCode (cprefix = "GST_LEVEL_", cheader_filename = "gst/gst.h")]
1784 public enum DebugLevel {
1795 [CCode (cname = "gst_debug_level_get_name")]
1796 public unowned string to_string ();
1798 [CCode (cprefix = "GST_ELEMENT_", cheader_filename = "gst/gst.h")]
1800 public enum ElementFlags {
1806 [CCode (cprefix = "GST_EVENT_", cheader_filename = "gst/gst.h")]
1807 public enum EventType {
1823 CUSTOM_DOWNSTREAM_OOB,
1826 public Gst.EventTypeFlags get_flags ();
1827 public GLib.Quark to_quark ();
1828 public unowned string get_name ();
1829 [CCode (cname = "gst_event_type_get_name")]
1830 public unowned string to_string ();
1832 [CCode (cprefix = "GST_EVENT_TYPE_", cheader_filename = "gst/gst.h")]
1834 public enum EventTypeFlags {
1839 [CCode (cprefix = "GST_FLOW_", cheader_filename = "gst/gst.h")]
1840 public enum FlowReturn {
1855 [CCode (cname = "GST_FLOW_IS_FATAL")]
1856 public bool is_fatal ();
1857 [CCode (cname = "GST_FLOW_IS_SUCCESS")]
1858 public bool is_success ();
1859 [CCode (cname = "gst_flow_get_name")]
1860 public unowned string to_string ();
1862 [CCode (cprefix = "GST_FORMAT_", cheader_filename = "gst/gst.h")]
1863 public enum Format {
1870 public Gst.FormatDefinition get_details ();
1871 public GLib.Quark to_quark ();
1872 public unowned string get_name ();
1873 [CCode (cname = "gst_format_get_name")]
1874 public unowned string to_string ();
1875 public const int64 PERCENT_MAX;
1876 public const int64 PERCENT_SCALE;
1878 [CCode (cprefix = "GST_INDEX_", cheader_filename = "gst/gst.h")]
1879 public enum IndexCertainty {
1884 [CCode (cprefix = "GST_INDEX_ENTRY_", cheader_filename = "gst/gst.h")]
1885 public enum IndexEntryType {
1891 [CCode (cprefix = "GST_INDEX_", cheader_filename = "gst/gst.h")]
1893 public enum IndexFlags {
1898 [CCode (cprefix = "GST_INDEX_LOOKUP_", cheader_filename = "gst/gst.h")]
1899 public enum IndexLookupMethod {
1904 [CCode (cprefix = "GST_INDEX_RESOLVER_", cheader_filename = "gst/gst.h")]
1905 public enum IndexResolverMethod {
1910 [CCode (cprefix = "GST_ITERATOR_ITEM_", cheader_filename = "gst/gst.h")]
1911 public enum IteratorItem {
1916 [CCode (cprefix = "GST_ITERATOR_", cheader_filename = "gst/gst.h")]
1917 public enum IteratorResult {
1923 [CCode (cprefix = "GST_LIBRARY_ERROR_", cheader_filename = "gst/gst.h")]
1924 public enum LibraryError {
1933 [CCode (cprefix = "GST_MESSAGE_", cheader_filename = "gst/gst.h")]
1935 public enum MessageType {
1963 public GLib.Quark to_quark ();
1964 public unowned string get_name ();
1965 [CCode (cname = "gst_message_type_get_name")]
1966 public unowned string to_string ();
1968 [CCode (cprefix = "GST_MINI_OBJECT_FLAG_", cheader_filename = "gst/gst.h")]
1970 public enum MiniObjectFlags {
1974 [CCode (cprefix = "GST_OBJECT_", cheader_filename = "gst/gst.h")]
1976 public enum ObjectFlags {
1981 [CCode (cprefix = "GST_PAD_", cheader_filename = "gst/gst.h")]
1982 public enum PadDirection {
1987 [CCode (cprefix = "GST_PAD_", cheader_filename = "gst/gst.h")]
1989 public enum PadFlags {
1997 [CCode (cprefix = "GST_PAD_LINK_CHECK_", cheader_filename = "gst/gst.h")]
1999 public enum PadLinkCheck {
2005 [CCode (cprefix = "GST_PAD_LINK_", cheader_filename = "gst/gst.h")]
2006 public enum PadLinkReturn {
2014 [CCode (cname = "GST_PAD_LINK_FAILED")]
2015 public bool failed ();
2016 [CCode (cname = "GST_PAD_LINK_SUCCESSFUL")]
2017 public bool successful ();
2019 [CCode (cprefix = "GST_PAD_", cheader_filename = "gst/gst.h")]
2020 public enum PadPresence {
2025 [CCode (cprefix = "GST_PAD_TEMPLATE_", cheader_filename = "gst/gst.h")]
2027 public enum PadTemplateFlags {
2031 [CCode (cprefix = "GST_PARSE_ERROR_", cheader_filename = "gst/gst.h")]
2032 public enum ParseError {
2037 COULD_NOT_SET_PROPERTY,
2041 [CCode (cprefix = "GST_PARSE_FLAG_", cheader_filename = "gst/gst.h")]
2043 public enum ParseFlags {
2047 [CCode (cprefix = "GST_PIPELINE_FLAG_", cheader_filename = "gst/gst.h")]
2049 public enum PipelineFlags {
2053 [CCode (cprefix = "GST_PLUGIN_DEPENDENCY_FLAG_", cheader_filename = "gst/gst.h")]
2055 public enum PluginDependencyFlags {
2058 PATHS_ARE_DEFAULT_ONLY,
2061 [CCode (cprefix = "GST_PLUGIN_ERROR_", cheader_filename = "gst/gst.h")]
2062 public enum PluginError {
2067 [CCode (cprefix = "GST_PLUGIN_FLAG_", cheader_filename = "gst/gst.h")]
2069 public enum PluginFlags {
2073 [CCode (cprefix = "GST_QUERY_", cheader_filename = "gst/gst.h")]
2074 public enum QueryType {
2088 public GLib.Quark to_quark ();
2089 public unowned string get_name ();
2090 public Gst.QueryTypeDefinition get_details ();
2091 public static Gst.QueryType get_by_nick ();
2092 public static Gst.Iterator<Gst.QueryTypeDefinition> iterate_definitions ();
2093 public static Gst.QueryType register (string nick, string description);
2094 [CCode (cname = "gst_query_type_get_name")]
2095 public unowned string to_string ();
2097 [CCode (cprefix = "GST_RANK_", cheader_filename = "gst/gst.h")]
2104 [CCode (cprefix = "GST_RESOURCE_ERROR_", cheader_filename = "gst/gst.h")]
2105 public enum ResourceError {
2122 [CCode (cprefix = "GST_SEARCH_MODE_", cheader_filename = "gst/gst.h")]
2123 public enum SearchMode {
2128 [CCode (cprefix = "GST_SEEK_FLAG_", cheader_filename = "gst/gst.h")]
2130 public enum SeekFlags {
2138 [CCode (cprefix = "GST_SEEK_TYPE_", cheader_filename = "gst/gst.h")]
2139 public enum SeekType {
2145 [CCode (cprefix = "GST_STATE_", cheader_filename = "gst/gst.h")]
2152 [CCode (cname = "GST_STATE_GET_NEXT")]
2153 public Gst.State get_next (Gst.State pending);
2154 [CCode (cname = "gst_element_state_get_name")]
2155 public unowned string to_string ();
2157 [CCode (cprefix = "GST_STATE_CHANGE_", cheader_filename = "gst/gst.h")]
2158 public enum StateChange {
2165 [CCode (cname = "GST_STATE_TRANSITION")]
2166 public static Gst.StateChange transition (Gst.State cur, Gst.State next);
2167 [CCode (cname = "GST_STATE_TRANSITION_CURRENT")]
2168 public static Gst.State transition_current ();
2169 [CCode (cname = "GST_STATE_TRANSITION_NEXT")]
2170 public static Gst.State transition_next ();
2172 [CCode (cprefix = "GST_STATE_CHANGE_", cheader_filename = "gst/gst.h")]
2173 public enum StateChangeReturn {
2178 [CCode (cname = "gst_element_state_change_return_get_name")]
2179 public unowned string to_string ();
2181 [CCode (cprefix = "GST_STREAM_ERROR_", cheader_filename = "gst/gst.h")]
2182 public enum StreamError {
2198 [CCode (cprefix = "GST_STREAM_STATUS_TYPE_", cheader_filename = "gst/gst.h")]
2199 public enum StreamStatusType {
2208 [CCode (cprefix = "GST_STRUCTURE_CHANGE_TYPE_PAD_", cheader_filename = "gst/gst.h")]
2209 public enum StructureChangeType {
2213 [CCode (cprefix = "GST_TAG_FLAG_", cheader_filename = "gst/gst.h")]
2214 public enum TagFlag {
2221 [CCode (cprefix = "GST_TAG_MERGE_", cheader_filename = "gst/gst.h")]
2222 public enum TagMergeMode {
2232 [CCode (cprefix = "GST_TASK_", cheader_filename = "gst/gst.h")]
2233 public enum TaskState {
2238 [CCode (cprefix = "GST_TYPE_FIND_", cheader_filename = "gst/gst.h")]
2239 public enum TypeFindProbability {
2246 [CCode (cprefix = "GST_URI_", cheader_filename = "gst/gst.h")]
2247 public enum URIType {
2252 [CCode (cprefix = "GST_CORE_ERROR_", cheader_filename = "gst/gst.h")]
2253 public errordomain CoreError {
2270 [CCode (cheader_filename = "gst/gst.h")]
2271 public delegate unowned Gst.Buffer BufferListDoFunction (Gst.Buffer buffer);
2272 [CCode (cheader_filename = "gst/gst.h")]
2273 public delegate Gst.BufferListItem BufferListFunc (out unowned Gst.Buffer buffer, uint group, uint idx);
2274 [CCode (cheader_filename = "gst/gst.h")]
2275 public delegate bool BufferProbeCallback (Gst.Pad pad, Gst.Buffer buffer);
2276 [CCode (cheader_filename = "gst/gst.h")]
2277 public delegate bool BusFunc (Gst.Bus bus, Gst.Message message);
2278 [CCode (cheader_filename = "gst/gst.h")]
2279 public delegate Gst.BusSyncReply BusSyncHandler (Gst.Bus bus, Gst.Message message);
2280 [CCode (cheader_filename = "gst/gst.h")]
2281 public delegate bool ClockCallback (Gst.Clock clock, Gst.ClockTime time, Gst.ClockID id);
2282 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2283 public delegate void* CopyFunction (void* object);
2284 [CCode (cheader_filename = "gst/gst.h")]
2285 public delegate bool DataProbeCallback (Gst.Pad pad, Gst.MiniObject data);
2286 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2287 public delegate void DebugFuncPtr ();
2288 [CCode (cheader_filename = "gst/gst.h")]
2289 public delegate bool EventProbeCallback (Gst.Pad pad, Gst.Event event);
2290 [CCode (cheader_filename = "gst/gst.h")]
2291 public delegate bool FilterFunc (void* obj);
2292 [CCode (cheader_filename = "gst/gst.h")]
2293 public delegate bool IndexFilter (Gst.Index index, Gst.IndexEntry entry);
2294 [CCode (cheader_filename = "gst/gst.h")]
2295 public delegate bool IndexResolver (Gst.Index index, Gst.Object writer, string writer_string);
2296 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2297 public delegate void IteratorDisposeFunction (void* owner);
2298 [CCode (cheader_filename = "gst/gst.h")]
2299 public delegate bool IteratorFoldFunction<T> (T item, ref Gst.Value ret);
2300 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2301 public delegate void IteratorFreeFunction (Gst.Iterator it);
2302 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2303 public delegate Gst.IteratorItem IteratorItemFunction<T> (Gst.Iterator it, out T item);
2304 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2305 public delegate Gst.IteratorResult IteratorNextFunction<T> (Gst.Iterator it, out T result);
2306 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2307 public delegate void IteratorResyncFunction (Gst.Iterator it);
2308 [CCode (cheader_filename = "gst/gst.h")]
2309 public delegate void LogFunction (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, Gst.DebugMessage message);
2310 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2311 public delegate unowned Gst.MiniObject MiniObjectCopyFunction (Gst.MiniObject obj);
2312 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2313 public delegate void MiniObjectFinalizeFunction (Gst.MiniObject obj);
2314 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2315 public delegate bool PadAcceptCapsFunction (Gst.Pad pad, Gst.Caps caps);
2316 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2317 public delegate bool PadActivateFunction (Gst.Pad pad);
2318 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2319 public delegate bool PadActivateModeFunction (Gst.Pad pad, bool active);
2320 [CCode (cheader_filename = "gst/gst.h")]
2321 public delegate void PadBlockCallback (Gst.Pad pad, bool blocked);
2322 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2323 public delegate Gst.FlowReturn PadBufferAllocFunction (Gst.Pad pad, uint64 offset, uint size, Gst.Caps caps, out Gst.Buffer buf);
2324 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2325 public delegate Gst.FlowReturn PadChainFunction (Gst.Pad pad, owned Gst.Buffer buffer);
2326 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2327 public delegate Gst.FlowReturn PadChainListFunction (Gst.Pad pad, owned Gst.BufferList list);
2328 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2329 public delegate bool PadCheckGetRangeFunction (Gst.Pad pad);
2330 [CCode (cheader_filename = "gst/gst.h")]
2331 public delegate bool PadDispatcherFunction (Gst.Pad pad);
2332 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2333 public delegate bool PadEventFunction (Gst.Pad pad, owned Gst.Event event);
2334 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2335 public delegate void PadFixateCapsFunction (Gst.Pad pad, Gst.Caps caps);
2336 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2337 public delegate Gst.Caps PadGetCapsFunction (Gst.Pad pad);
2338 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2339 public delegate Gst.FlowReturn PadGetRangeFunction (Gst.Pad pad, uint64 offset, uint length, out Gst.Buffer buffer);
2340 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2341 public delegate GLib.List<Gst.Pad> PadIntLinkFunction (Gst.Pad pad);
2342 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2343 public delegate Gst.Iterator<Gst.Pad> PadIterIntLinkFunction (Gst.Pad pad);
2344 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2345 public delegate Gst.PadLinkReturn PadLinkFunction (Gst.Pad pad, Gst.Pad peer);
2346 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2347 public delegate bool PadQueryFunction (Gst.Pad pad, Gst.Query query);
2348 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2349 public delegate Gst.QueryType PadQueryTypeFunction (Gst.Pad pad);
2350 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2351 public delegate bool PadSetCapsFunction (Gst.Pad pad, Gst.Caps caps);
2352 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2353 public delegate void PadUnlinkFunction (Gst.Pad pad);
2354 [CCode (cheader_filename = "gst/gst.h")]
2355 public delegate bool PluginFeatureFilter (Gst.PluginFeature feature);
2356 [CCode (cheader_filename = "gst/gst.h")]
2357 public delegate bool PluginFilter (Gst.Plugin plugin);
2358 [CCode (cheader_filename = "gst/gst.h")]
2359 public delegate bool PluginInitFullFunc (Gst.Plugin plugin);
2360 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2361 public delegate bool PluginInitFunc (Gst.Plugin plugin);
2362 [CCode (cheader_filename = "gst/gst.h")]
2363 public delegate bool StructureForeachFunc (GLib.Quark field_id, Gst.Value value);
2364 [CCode (cheader_filename = "gst/gst.h")]
2365 public delegate bool StructureMapFunc (GLib.Quark field_id, ref Gst.Value value);
2366 [CCode (cheader_filename = "gst/gst.h")]
2367 public delegate void TagForeachFunc (Gst.TagList list, string tag);
2368 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2369 public delegate void TagMergeFunc (Gst.Value dest, Gst.Value src);
2370 [CCode (cheader_filename = "gst/gst.h")]
2371 public delegate void TaskFunction ();
2372 [CCode (cheader_filename = "gst/gst.h")]
2373 public delegate void TaskPoolFunction ();
2374 [CCode (cheader_filename = "gst/gst.h")]
2375 public delegate void TypeFindFunction (Gst.TypeFind find);
2376 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2377 public delegate int ValueCompareFunc (Gst.Value value1, Gst.Value value2);
2378 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2379 public delegate bool ValueDeserializeFunc (Gst.Value dest, string s);
2380 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2381 public delegate bool ValueIntersectFunc (Gst.Value dest, Gst.Value value1, Gst.Value value2);
2382 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2383 public delegate unowned string ValueSerializeFunc (Gst.Value value1);
2384 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2385 public delegate bool ValueSubtractFunc (Gst.Value dest, Gst.Value minuend, Gst.Value subtrahend);
2386 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2387 public delegate bool ValueUnionFunc (Gst.Value dest, Gst.Value value1, Gst.Value value2);
2388 [CCode (cheader_filename = "gst/gst.h")]
2389 public const int BUFFER_COPY_ALL;
2390 [CCode (cheader_filename = "gst/gst.h")]
2391 public const int BUFFER_OFFSET_NONE;
2392 [CCode (cheader_filename = "gst/gst.h")]
2393 public const string BUFFER_TRACE_NAME;
2394 [CCode (cheader_filename = "gst/gst.h")]
2395 public const string CLOCK_ENTRY_TRACE_NAME;
2396 [CCode (cheader_filename = "gst/gst.h")]
2397 public const int CLOCK_TIME_NONE;
2398 [CCode (cheader_filename = "gst/gst.h")]
2399 public const int DEBUG_BG_MASK;
2400 [CCode (cheader_filename = "gst/gst.h")]
2401 public const int DEBUG_FG_MASK;
2402 [CCode (cheader_filename = "gst/gst.h")]
2403 public const int DEBUG_FORMAT_MASK;
2404 [CCode (cheader_filename = "gst/gst.h")]
2405 public const string EVENT_TRACE_NAME;
2406 [CCode (cheader_filename = "gst/gst.h")]
2407 public const int EVENT_TYPE_BOTH;
2408 [CCode (cheader_filename = "gst/gst.h")]
2409 public const int EVENT_TYPE_SHIFT;
2410 [CCode (cheader_filename = "gst/gst.h")]
2411 public const string FOURCC_FORMAT;
2412 [CCode (cheader_filename = "gst/gst.h")]
2413 public const string LICENSE_UNKNOWN;
2414 [CCode (cheader_filename = "gst/gst.h")]
2415 public const string MESSAGE_TRACE_NAME;
2416 [CCode (cheader_filename = "gst/gst.h")]
2417 public const int MSECOND;
2418 [CCode (cheader_filename = "gst/gst.h")]
2419 public const int NSECOND;
2420 [CCode (cheader_filename = "gst/gst.h")]
2421 public const int PAD_LINK_CHECK_DEFAULT;
2422 [CCode (cheader_filename = "gst/gst.h")]
2423 public const int PARAM_CONTROLLABLE;
2424 [CCode (cheader_filename = "gst/gst.h")]
2425 public const int PARAM_MUTABLE_PAUSED;
2426 [CCode (cheader_filename = "gst/gst.h")]
2427 public const int PARAM_MUTABLE_PLAYING;
2428 [CCode (cheader_filename = "gst/gst.h")]
2429 public const int PARAM_MUTABLE_READY;
2430 [CCode (cheader_filename = "gst/gst.h")]
2431 public const int PARAM_USER_SHIFT;
2432 [CCode (cheader_filename = "gst/gst.h")]
2433 public const int SECOND;
2434 [CCode (cheader_filename = "gst/gst.h")]
2435 public const string TAG_ALBUM;
2436 [CCode (cheader_filename = "gst/gst.h")]
2437 public const string TAG_ALBUM_ARTIST;
2438 [CCode (cheader_filename = "gst/gst.h")]
2439 public const string TAG_ALBUM_ARTIST_SORTNAME;
2440 [CCode (cheader_filename = "gst/gst.h")]
2441 public const string TAG_ALBUM_GAIN;
2442 [CCode (cheader_filename = "gst/gst.h")]
2443 public const string TAG_ALBUM_PEAK;
2444 [CCode (cheader_filename = "gst/gst.h")]
2445 public const string TAG_ALBUM_SORTNAME;
2446 [CCode (cheader_filename = "gst/gst.h")]
2447 public const string TAG_ALBUM_VOLUME_COUNT;
2448 [CCode (cheader_filename = "gst/gst.h")]
2449 public const string TAG_ALBUM_VOLUME_NUMBER;
2450 [CCode (cheader_filename = "gst/gst.h")]
2451 public const string TAG_ARTIST;
2452 [CCode (cheader_filename = "gst/gst.h")]
2453 public const string TAG_ARTIST_SORTNAME;
2454 [CCode (cheader_filename = "gst/gst.h")]
2455 public const string TAG_ATTACHMENT;
2456 [CCode (cheader_filename = "gst/gst.h")]
2457 public const string TAG_AUDIO_CODEC;
2458 [CCode (cheader_filename = "gst/gst.h")]
2459 public const string TAG_BEATS_PER_MINUTE;
2460 [CCode (cheader_filename = "gst/gst.h")]
2461 public const string TAG_BITRATE;
2462 [CCode (cheader_filename = "gst/gst.h")]
2463 public const string TAG_CODEC;
2464 [CCode (cheader_filename = "gst/gst.h")]
2465 public const string TAG_COMMENT;
2466 [CCode (cheader_filename = "gst/gst.h")]
2467 public const string TAG_COMPOSER;
2468 [CCode (cheader_filename = "gst/gst.h")]
2469 public const string TAG_COMPOSER_SORTNAME;
2470 [CCode (cheader_filename = "gst/gst.h")]
2471 public const string TAG_CONTACT;
2472 [CCode (cheader_filename = "gst/gst.h")]
2473 public const string TAG_CONTAINER_FORMAT;
2474 [CCode (cheader_filename = "gst/gst.h")]
2475 public const string TAG_COPYRIGHT;
2476 [CCode (cheader_filename = "gst/gst.h")]
2477 public const string TAG_COPYRIGHT_URI;
2478 [CCode (cheader_filename = "gst/gst.h")]
2479 public const string TAG_DATE;
2480 [CCode (cheader_filename = "gst/gst.h")]
2481 public const string TAG_DESCRIPTION;
2482 [CCode (cheader_filename = "gst/gst.h")]
2483 public const string TAG_DEVICE_MANUFACTURER;
2484 [CCode (cheader_filename = "gst/gst.h")]
2485 public const string TAG_DEVICE_MODEL;
2486 [CCode (cheader_filename = "gst/gst.h")]
2487 public const string TAG_DURATION;
2488 [CCode (cheader_filename = "gst/gst.h")]
2489 public const string TAG_ENCODER;
2490 [CCode (cheader_filename = "gst/gst.h")]
2491 public const string TAG_ENCODER_VERSION;
2492 [CCode (cheader_filename = "gst/gst.h")]
2493 public const string TAG_EXTENDED_COMMENT;
2494 [CCode (cheader_filename = "gst/gst.h")]
2495 public const string TAG_GENRE;
2496 [CCode (cheader_filename = "gst/gst.h")]
2497 public const string TAG_GEO_LOCATION_CAPTURE_DIRECTION;
2498 [CCode (cheader_filename = "gst/gst.h")]
2499 public const string TAG_GEO_LOCATION_CITY;
2500 [CCode (cheader_filename = "gst/gst.h")]
2501 public const string TAG_GEO_LOCATION_COUNTRY;
2502 [CCode (cheader_filename = "gst/gst.h")]
2503 public const string TAG_GEO_LOCATION_ELEVATION;
2504 [CCode (cheader_filename = "gst/gst.h")]
2505 public const string TAG_GEO_LOCATION_LATITUDE;
2506 [CCode (cheader_filename = "gst/gst.h")]
2507 public const string TAG_GEO_LOCATION_LONGITUDE;
2508 [CCode (cheader_filename = "gst/gst.h")]
2509 public const string TAG_GEO_LOCATION_MOVEMENT_DIRECTION;
2510 [CCode (cheader_filename = "gst/gst.h")]
2511 public const string TAG_GEO_LOCATION_MOVEMENT_SPEED;
2512 [CCode (cheader_filename = "gst/gst.h")]
2513 public const string TAG_GEO_LOCATION_NAME;
2514 [CCode (cheader_filename = "gst/gst.h")]
2515 public const string TAG_GEO_LOCATION_SUBLOCATION;
2516 [CCode (cheader_filename = "gst/gst.h")]
2517 public const string TAG_GROUPING;
2518 [CCode (cheader_filename = "gst/gst.h")]
2519 public const string TAG_HOMEPAGE;
2520 [CCode (cheader_filename = "gst/gst.h")]
2521 public const string TAG_IMAGE;
2522 [CCode (cheader_filename = "gst/gst.h")]
2523 public const string TAG_IMAGE_ORIENTATION;
2524 [CCode (cheader_filename = "gst/gst.h")]
2525 public const string TAG_ISRC;
2526 [CCode (cheader_filename = "gst/gst.h")]
2527 public const string TAG_KEYWORDS;
2528 [CCode (cheader_filename = "gst/gst.h")]
2529 public const string TAG_LANGUAGE_CODE;
2530 [CCode (cheader_filename = "gst/gst.h")]
2531 public const string TAG_LICENSE;
2532 [CCode (cheader_filename = "gst/gst.h")]
2533 public const string TAG_LICENSE_URI;
2534 [CCode (cheader_filename = "gst/gst.h")]
2535 public const string TAG_LOCATION;
2536 [CCode (cheader_filename = "gst/gst.h")]
2537 public const string TAG_LYRICS;
2538 [CCode (cheader_filename = "gst/gst.h")]
2539 public const string TAG_MAXIMUM_BITRATE;
2540 [CCode (cheader_filename = "gst/gst.h")]
2541 public const string TAG_MINIMUM_BITRATE;
2542 [CCode (cheader_filename = "gst/gst.h")]
2543 public const string TAG_NOMINAL_BITRATE;
2544 [CCode (cheader_filename = "gst/gst.h")]
2545 public const string TAG_ORGANIZATION;
2546 [CCode (cheader_filename = "gst/gst.h")]
2547 public const string TAG_PERFORMER;
2548 [CCode (cheader_filename = "gst/gst.h")]
2549 public const string TAG_PREVIEW_IMAGE;
2550 [CCode (cheader_filename = "gst/gst.h")]
2551 public const string TAG_REFERENCE_LEVEL;
2552 [CCode (cheader_filename = "gst/gst.h")]
2553 public const string TAG_SERIAL;
2554 [CCode (cheader_filename = "gst/gst.h")]
2555 public const string TAG_SHOW_EPISODE_NUMBER;
2556 [CCode (cheader_filename = "gst/gst.h")]
2557 public const string TAG_SHOW_NAME;
2558 [CCode (cheader_filename = "gst/gst.h")]
2559 public const string TAG_SHOW_SEASON_NUMBER;
2560 [CCode (cheader_filename = "gst/gst.h")]
2561 public const string TAG_SHOW_SORTNAME;
2562 [CCode (cheader_filename = "gst/gst.h")]
2563 public const string TAG_SUBTITLE_CODEC;
2564 [CCode (cheader_filename = "gst/gst.h")]
2565 public const string TAG_TITLE;
2566 [CCode (cheader_filename = "gst/gst.h")]
2567 public const string TAG_TITLE_SORTNAME;
2568 [CCode (cheader_filename = "gst/gst.h")]
2569 public const string TAG_TRACK_COUNT;
2570 [CCode (cheader_filename = "gst/gst.h")]
2571 public const string TAG_TRACK_GAIN;
2572 [CCode (cheader_filename = "gst/gst.h")]
2573 public const string TAG_TRACK_NUMBER;
2574 [CCode (cheader_filename = "gst/gst.h")]
2575 public const string TAG_TRACK_PEAK;
2576 [CCode (cheader_filename = "gst/gst.h")]
2577 public const string TAG_USER_RATING;
2578 [CCode (cheader_filename = "gst/gst.h")]
2579 public const string TAG_VERSION;
2580 [CCode (cheader_filename = "gst/gst.h")]
2581 public const string TAG_VIDEO_CODEC;
2582 [CCode (cheader_filename = "gst/gst.h")]
2583 public const string TIME_FORMAT;
2584 [CCode (cheader_filename = "gst/gst.h")]
2585 public const int USECOND;
2586 [CCode (cheader_filename = "gst/gst.h")]
2587 public const int VALUE_EQUAL;
2588 [CCode (cheader_filename = "gst/gst.h")]
2589 public const int VALUE_GREATER_THAN;
2590 [CCode (cheader_filename = "gst/gst.h")]
2591 public const int VALUE_LESS_THAN;
2592 [CCode (cheader_filename = "gst/gst.h")]
2593 public const int VALUE_UNORDERED;
2594 [CCode (cheader_filename = "gst/gst.h")]
2595 public const int VERSION_MAJOR;
2596 [CCode (cheader_filename = "gst/gst.h")]
2597 public const int VERSION_MICRO;
2598 [CCode (cheader_filename = "gst/gst.h")]
2599 public const int VERSION_MINOR;
2600 [CCode (cheader_filename = "gst/gst.h")]
2601 public const int VERSION_NANO;
2602 [CCode (cheader_filename = "gst/gst.h")]
2603 public static void atomic_int_set (int atomic_int, int value);
2604 [CCode (cheader_filename = "gst/gst.h")]
2605 public static GLib.Quark core_error_quark ();
2606 [CCode (cheader_filename = "gst/gst.h")]
2607 public static void debug_add_log_function (Gst.LogFunction func, void* data);
2608 [CCode (cname = "GST_DEBUG_BIN_TO_DOT_FILE", cheader_filename = "gst/gst.h")]
2609 public static void debug_bin_to_dot_file (Gst.Bin bin, Gst.DebugGraphDetails details, string prefix);
2610 [CCode (cname = "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS", cheader_filename = "gst/gst.h")]
2611 public static void debug_bin_to_dot_file_with_ts (Gst.Bin bin, Gst.DebugGraphDetails details, string prefix);
2612 [CCode (cheader_filename = "gst/gst.h")]
2613 public static unowned string debug_construct_term_color (uint colorinfo);
2614 [CCode (cheader_filename = "gst/gst.h")]
2615 public static int debug_construct_win_color (uint colorinfo);
2616 [CCode (cheader_filename = "gst/gst.h")]
2617 public static GLib.SList<Gst.DebugCategory> debug_get_all_categories ();
2618 [CCode (cheader_filename = "gst/gst.h")]
2619 public static Gst.DebugLevel debug_get_default_threshold ();
2620 [CCode (cheader_filename = "gst/gst.h")]
2621 public static bool debug_is_active ();
2622 [CCode (cheader_filename = "gst/gst.h")]
2623 public static bool debug_is_colored ();
2624 [CCode (cheader_filename = "gst/gst.h")]
2625 public static void debug_log (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, string format);
2626 [CCode (cheader_filename = "gst/gst.h")]
2627 public static void debug_log_default (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, Gst.DebugMessage message, void* unused);
2628 [CCode (cheader_filename = "gst/gst.h")]
2629 public static void debug_log_valist (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, string format, void* args);
2630 [CCode (cheader_filename = "gst/gst.h")]
2631 public static void debug_print_stack_trace ();
2632 [CCode (cheader_filename = "gst/gst.h")]
2633 public static uint debug_remove_log_function (Gst.LogFunction func);
2634 [CCode (cheader_filename = "gst/gst.h")]
2635 public static uint debug_remove_log_function_by_data (void* data);
2636 [CCode (cheader_filename = "gst/gst.h")]
2637 public static void debug_set_active (bool active);
2638 [CCode (cheader_filename = "gst/gst.h")]
2639 public static void debug_set_colored (bool colored);
2640 [CCode (cheader_filename = "gst/gst.h")]
2641 public static void debug_set_default_threshold (Gst.DebugLevel level);
2642 [CCode (cheader_filename = "gst/gst.h")]
2643 public static void debug_set_threshold_for_name (string name, Gst.DebugLevel level);
2644 [CCode (cheader_filename = "gst/gst.h")]
2645 public static void debug_unset_threshold_for_name (string name);
2646 [CCode (cheader_filename = "gst/gst.h")]
2647 public static bool default_registry_check_feature_version (string feature_name, uint min_major, uint min_minor, uint min_micro);
2648 [CCode (cheader_filename = "gst/gst.h")]
2649 public static void deinit ();
2650 [CCode (cheader_filename = "gst/gst.h")]
2651 public static GLib.Type double_range_get_type ();
2652 [CCode (cheader_filename = "gst/gst.h")]
2653 public static string error_get_message (GLib.Quark domain, int code);
2654 [CCode (cheader_filename = "gst/gst.h")]
2655 public static GLib.List filter_run (GLib.List list, Gst.FilterFunc func, bool first);
2656 [CCode (cheader_filename = "gst/gst.h")]
2657 public static GLib.Quark flow_to_quark (Gst.FlowReturn ret);
2658 [CCode (cheader_filename = "gst/gst.h")]
2659 public static Gst.Format format_get_by_nick (string nick);
2660 [CCode (cheader_filename = "gst/gst.h")]
2661 public static Gst.FormatDefinition format_get_details (Gst.Format format);
2662 [CCode (cheader_filename = "gst/gst.h")]
2663 public static Gst.Iterator<Gst.FormatDefinition> format_iterate_definitions ();
2664 [CCode (cheader_filename = "gst/gst.h")]
2665 public static Gst.Format format_register (string nick, string description);
2666 [CCode (cheader_filename = "gst/gst.h")]
2667 public static GLib.Quark format_to_quark (Gst.Format format);
2668 [CCode (cheader_filename = "gst/gst.h")]
2669 public static bool formats_contains (Gst.Format formats, Gst.Format format);
2670 [CCode (cheader_filename = "gst/gst.h")]
2671 public static GLib.Type fourcc_get_type ();
2672 [CCode (cheader_filename = "gst/gst.h")]
2673 public static GLib.Type fraction_get_type ();
2674 [CCode (cheader_filename = "gst/gst.h")]
2675 public static GLib.Type fraction_range_get_type ();
2676 [CCode (cheader_filename = "gst/gst.h")]
2677 public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
2678 [CCode (cheader_filename = "gst/gst.h")]
2679 public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv) throws GLib.Error;
2680 [CCode (cheader_filename = "gst/gst.h")]
2681 public static GLib.OptionGroup init_get_option_group ();
2682 [CCode (cheader_filename = "gst/gst.h")]
2683 public static GLib.Type int_range_get_type ();
2684 [CCode (cheader_filename = "gst/gst.h")]
2685 public static bool is_tag_list (void* p);
2686 [CCode (cheader_filename = "gst/gst.h")]
2687 public static GLib.Quark library_error_quark ();
2688 [CCode (cheader_filename = "gst/gst.h")]
2689 public static void marshal_BOOLEAN__POINTER (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2690 [CCode (cheader_filename = "gst/gst.h")]
2691 public static void marshal_BOOLEAN__VOID (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2692 [CCode (cheader_filename = "gst/gst.h")]
2693 public static void marshal_BOXED__BOXED (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2694 [CCode (cheader_filename = "gst/gst.h")]
2695 public static void marshal_POINTER__POINTER (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2696 [CCode (cheader_filename = "gst/gst.h")]
2697 public static void marshal_VOID__BOXED_OBJECT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2698 [CCode (cheader_filename = "gst/gst.h")]
2699 public static void marshal_VOID__INT64 (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2700 [CCode (cheader_filename = "gst/gst.h")]
2701 public static void marshal_VOID__INT_INT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2702 [CCode (cheader_filename = "gst/gst.h")]
2703 public static void marshal_VOID__OBJECT_BOXED (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2704 [CCode (cheader_filename = "gst/gst.h")]
2705 public static void marshal_VOID__OBJECT_BOXED_STRING (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2706 [CCode (cheader_filename = "gst/gst.h")]
2707 public static void marshal_VOID__OBJECT_OBJECT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2708 [CCode (cheader_filename = "gst/gst.h")]
2709 public static void marshal_VOID__OBJECT_OBJECT_STRING (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2710 [CCode (cheader_filename = "gst/gst.h")]
2711 public static void marshal_VOID__OBJECT_PARAM (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2712 [CCode (cheader_filename = "gst/gst.h")]
2713 public static void marshal_VOID__OBJECT_POINTER (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2714 [CCode (cheader_filename = "gst/gst.h")]
2715 public static void marshal_VOID__OBJECT_STRING (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2716 [CCode (cheader_filename = "gst/gst.h")]
2717 public static void marshal_VOID__POINTER_OBJECT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2718 [CCode (cheader_filename = "gst/gst.h")]
2719 public static void marshal_VOID__UINT_BOXED (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2720 [CCode (cheader_filename = "gst/gst.h")]
2721 public static unowned GLib.ParamSpec param_spec_fraction (string name, string nick, string blurb, int min_num, int min_denom, int max_num, int max_denom, int default_num, int default_denom, GLib.ParamFlags flags);
2722 [CCode (cheader_filename = "gst/gst.h")]
2723 public static unowned GLib.ParamSpec param_spec_mini_object (string name, string nick, string blurb, GLib.Type object_type, GLib.ParamFlags flags);
2724 [CCode (cheader_filename = "gst/gst.h")]
2725 public static Gst.Element? parse_bin_from_description (string bin_description, bool ghost_unlinked_pads) throws GLib.Error;
2726 [CCode (cheader_filename = "gst/gst.h")]
2727 public static Gst.Element? parse_bin_from_description_full (string bin_description, bool ghost_unlinked_pads, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
2728 [CCode (cheader_filename = "gst/gst.h")]
2729 public static GLib.Quark parse_error_quark ();
2730 [CCode (cheader_filename = "gst/gst.h")]
2731 public static Gst.Element? parse_launch (string pipeline_description) throws GLib.Error;
2732 [CCode (cheader_filename = "gst/gst.h")]
2733 public static Gst.Element? parse_launch_full (string pipeline_description, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
2734 [CCode (cheader_filename = "gst/gst.h")]
2735 public static Gst.Element? parse_launchv ([CCode (array_length = false)] string[] argv) throws GLib.Error;
2736 [CCode (cheader_filename = "gst/gst.h")]
2737 public static Gst.Element? parse_launchv_full ([CCode (array_length = false)] string[] argv, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
2738 [CCode (cheader_filename = "gst/gst.h")]
2739 public static void print_element_args (GLib.StringBuilder buf, int indent, Gst.Element element);
2740 [CCode (cheader_filename = "gst/gst.h")]
2741 public static void print_pad_caps (GLib.StringBuilder buf, int indent, Gst.Pad pad);
2742 [CCode (cheader_filename = "gst/gst.h")]
2743 public static GLib.Quark resource_error_quark ();
2744 [CCode (cheader_filename = "gst/gst.h")]
2745 public static bool segtrap_is_enabled ();
2746 [CCode (cheader_filename = "gst/gst.h")]
2747 public static void segtrap_set_enabled (bool enabled);
2748 [CCode (cheader_filename = "gst/gst.h")]
2749 public static GLib.Quark stream_error_quark ();
2750 [CCode (cheader_filename = "gst/gst.h")]
2751 public static bool tag_exists (string tag);
2752 [CCode (cheader_filename = "gst/gst.h")]
2753 public static unowned string tag_get_description (string tag);
2754 [CCode (cheader_filename = "gst/gst.h")]
2755 public static Gst.TagFlag tag_get_flag (string tag);
2756 [CCode (cheader_filename = "gst/gst.h")]
2757 public static unowned string tag_get_nick (string tag);
2758 [CCode (cheader_filename = "gst/gst.h")]
2759 public static GLib.Type tag_get_type (string tag);
2760 [CCode (cheader_filename = "gst/gst.h")]
2761 public static bool tag_is_fixed (string tag);
2762 [CCode (cheader_filename = "gst/gst.h")]
2763 public static void tag_merge_strings_with_comma (Gst.Value dest, Gst.Value src);
2764 [CCode (cheader_filename = "gst/gst.h")]
2765 public static void tag_merge_use_first (Gst.Value dest, Gst.Value src);
2766 [CCode (cheader_filename = "gst/gst.h")]
2767 public static void tag_register (string name, Gst.TagFlag flag, GLib.Type type, string nick, string blurb, Gst.TagMergeFunc func);
2768 [CCode (cheader_filename = "gst/gst.h")]
2769 public static bool update_registry ();
2770 [CCode (cheader_filename = "gst/gst.h")]
2771 public static unowned string uri_construct (string protocol, string location);
2772 [CCode (cheader_filename = "gst/gst.h")]
2773 public static unowned string uri_get_location (string uri);
2774 [CCode (cheader_filename = "gst/gst.h")]
2775 public static unowned string uri_get_protocol (string uri);
2776 [CCode (cheader_filename = "gst/gst.h")]
2777 public static bool uri_has_protocol (string uri, string protocol);
2778 [CCode (cheader_filename = "gst/gst.h")]
2779 public static bool uri_is_valid (string uri);
2780 [CCode (cheader_filename = "gst/gst.h")]
2781 public static bool uri_protocol_is_supported (Gst.URIType type, string protocol);
2782 [CCode (cheader_filename = "gst/gst.h")]
2783 public static bool uri_protocol_is_valid (string protocol);
2784 [CCode (cheader_filename = "gst/gst.h")]
2785 public static void* util_array_binary_search (void* array, uint num_elements, size_t element_size, GLib.CompareDataFunc search_func, Gst.SearchMode mode, void* search_data);
2786 [CCode (cheader_filename = "gst/gst.h")]
2787 public static void util_double_to_fraction (double src, int dest_n, int dest_d);
2788 [CCode (cheader_filename = "gst/gst.h")]
2789 public static void util_dump_mem (uchar[] mem, uint size);
2790 [CCode (cheader_filename = "gst/gst.h")]
2791 public static bool util_fraction_add (int a_n, int a_d, int b_n, int b_d, int res_n, int res_d);
2792 [CCode (cheader_filename = "gst/gst.h")]
2793 public static bool util_fraction_multiply (int a_n, int a_d, int b_n, int b_d, int res_n, int res_d);
2794 [CCode (cheader_filename = "gst/gst.h")]
2795 public static void util_fraction_to_double (int src_n, int src_d, double dest);
2796 [CCode (cheader_filename = "gst/gst.h")]
2797 public static uint64 util_gdouble_to_guint64 (double value);
2798 [CCode (cheader_filename = "gst/gst.h")]
2799 public static Gst.ClockTime util_get_timestamp ();
2800 [CCode (cheader_filename = "gst/gst.h")]
2801 public static int util_greatest_common_divisor (int a, int b);
2802 [CCode (cheader_filename = "gst/gst.h")]
2803 public static double util_guint64_to_gdouble (uint64 value);
2804 [CCode (cheader_filename = "gst/gst.h")]
2805 public static int32 util_seqnum_compare (uint32 s1, uint32 s2);
2806 [CCode (cheader_filename = "gst/gst.h")]
2807 public static uint32 util_seqnum_next ();
2808 [CCode (cheader_filename = "gst/gst.h")]
2809 public static void util_set_object_arg (GLib.Object object, string name, string value);
2810 [CCode (cheader_filename = "gst/gst.h")]
2811 public static void util_set_value_from_string (Gst.Value value, string value_str);
2812 [CCode (cheader_filename = "gst/gst.h")]
2813 public static uint64 util_uint64_scale (uint64 val, uint64 num, uint64 denom);
2814 [CCode (cheader_filename = "gst/gst.h")]
2815 public static uint64 util_uint64_scale_ceil (uint64 val, uint64 num, uint64 denom);
2816 [CCode (cheader_filename = "gst/gst.h")]
2817 public static uint64 util_uint64_scale_int (uint64 val, int num, int denom);
2818 [CCode (cheader_filename = "gst/gst.h")]
2819 public static uint64 util_uint64_scale_int_ceil (uint64 val, int num, int denom);
2820 [CCode (cheader_filename = "gst/gst.h")]
2821 public static uint64 util_uint64_scale_int_round (uint64 val, int num, int denom);
2822 [CCode (cheader_filename = "gst/gst.h")]
2823 public static uint64 util_uint64_scale_round (uint64 val, uint64 num, uint64 denom);
2824 [CCode (cheader_filename = "gst/gst.h")]
2825 public static unowned Gst.MiniObject value_dup_mini_object (Gst.Value value);
2826 [CCode (cheader_filename = "gst/gst.h")]
2827 public static void version (out uint major, out uint minor, out uint micro, out uint nano);
2828 [CCode (cheader_filename = "gst/gst.h")]
2829 public static string version_string ();