gio-2.0: "address" parameter of Socket.receive_message() is optional
[vala-gnome.git] / vapi / metadata / Gst-1.0-custom.vala
blob87467efaded59402472fb9acec50acd9cf235fe9
1 namespace Gst {
2 [Compact, CCode (copy_function = "gst_allocation_params_copy", free_function = "gst_allocation_params_free", type_id = "gst_allocation_params_get_type ()")]
3 public class AllocationParams {
6 [CCode (type_id = "gst_bin_get_type ()")]
7 public class Bin : Gst.Element {
8 public void add_many (params Gst.Element[] elements);
9 public void remove_many (params Gst.Element[] elements);
12 [Compact, CCode (ref_function = "gst_buffer_ref", type_id = "gst_buffer_get_type ()", unref_function = "gst_buffer_unref")]
13 public class Buffer {
14 [CCode (has_construct_function = false, simple_generics = true)]
15 public static Buffer new_wrapped_full<T> (Gst.MemoryFlags flags, [CCode (array_length_cname = "maxsize", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data, size_t offset, size_t size, owned T user_data);
16 [CCode (instance_pos= 1.9)]
17 public bool copy_into (Gst.Buffer dst, Gst.BufferCopyFlags flags, size_t offset, size_t size);
20 [Compact, CCode (ref_function = "gst_buffer_list_ref", type_id = "gst_buffer_list_get_type ()", unref_function = "gst_buffer_list_unref")]
21 public class BufferList {
24 [Compact, CCode (ref_function = "gst_caps_ref", type_id = "gst_caps_get_type ()", unref_function = "gst_caps_unref")]
25 public class Caps {
26 [CCode (has_construct_function = false)]
27 public Caps.full (params Gst.Structure[] structure);
30 [Compact, CCode (copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_caps_features_get_type ()")]
31 public class CapsFeatures {
32 [CCode (has_construct_function = false)]
33 public CapsFeatures.id (params GLib.Quark[] features);
36 [CCode (type_id = "gst_control_binding_get_type ()")]
37 public abstract class ControlBinding : Gst.Object {
38 public virtual bool get_value_array<T> (Gst.ClockTime timestamp, Gst.ClockTime interval, [CCode (array_length_pos = 2.5, array_length_type = "guint")] T[] values);
41 [Compact, CCode (ref_function = "gst_date_time_ref", type_id = "gst_date_time_get_type ()", unref_function = "gst_date_time_unref")]
42 public class DateTime {
45 [CCode (type_id = "gst_element_get_type ()")]
46 public abstract class Element : Gst.Object {
47 public bool link_many (params Gst.Element[] elements);
48 public void unlink_many (params Gst.Element[] elements);
51 [Compact, CCode (ref_function = "gst_event_ref", type_id = "gst_event_get_type ()", unref_function = "gst_event_unref")]
52 public class Event {
55 [Compact, CCode (copy_function = "gst_iterator_copy", free_function = "gst_iterator_free", type_id = "gst_iterator_get_type ()")]
56 public class Iterator {
57 [CCode (simple_generics = true)]
58 public Gst.Iterator filter<T> ([CCode (type = "GCompareFunc")] GLib.SearchFunc<GLib.Value,T> func, T user_data);
59 [CCode (simple_generics = true)]
60 public bool find_custom<T> ([CCode (type = "GCompareFunc")] GLib.SearchFunc<GLib.Value,T> func, out GLib.Value elem, T user_data);
63 [Compact, CCode (ref_function = "gst_mini_object_ref", unref_function = "gst_mini_object_unref", get_value_function = "g_value_get_boxed", set_value_function = "g_value_set_boxed", take_value_function = "g_value_take_boxed")]
64 public abstract class MiniObject {
65 [CCode (simple_generics = true)]
66 public T get_qdata<T> (GLib.Quark quark);
67 [CCode (simple_generics = true)]
68 public void set_qdata<T> (GLib.Quark quark, owned T data);
71 [Compact, CCode (ref_function = "gst_memory_ref", type_id = "gst_memory_get_type ()", unref_function = "gst_memory_unref")]
72 public class Memory {
73 [CCode (has_construct_function = false, simple_generics = true)]
74 public static Memory new_wrapped<T> (Gst.MemoryFlags flags, [CCode (array_length_cname = "maxsize", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data, size_t offset, size_t size, owned T user_data);
77 [Compact, CCode (ref_function = "gst_message_ref", type_id = "gst_message_get_type ()", unref_function = "gst_message_unref")]
78 public class Message {
81 [Compact, CCode (free_function = "gst_parse_context_free", type_id = "gst_parse_context_get_type ()")]
82 public class ParseContext {
85 [Compact, CCode (ref_function = "gst_query_ref", type_id = "gst_query_get_type ()", unref_function = "gst_query_unref")]
86 public class Query {
87 [CCode (sentinel = "")]
88 public void set_formats (int n_formats, params Gst.Format[] formats);
91 [Compact, CCode (ref_function = "gst_sample_ref", type_id = "gst_sample_get_type ()", unref_function = "gst_sample_unref")]
92 public class Sample {
95 [Compact, CCode (copy_function = "gst_segment_copy", free_function = "gst_segment_free", type_id = "gst_segment_get_type ()")]
96 public class Segment {
99 [Compact, CCode (copy_function = "gst_structure_copy", free_function = "gst_structure_free", type_id = "gst_structure_get_type ()")]
100 public class Structure {
101 public void remove_fields (params string[] field_names);
104 [Compact, CCode (ref_function = "gst_tag_list_ref", type_id = "gst_tag_list_get_type ()", unref_function = "gst_tag_list_unref")]
105 public class TagList {
108 [Compact, CCode (ref_function = "gst_toc_ref", type_id = "gst_toc_get_type ()", unref_function = "gst_toc_unref")]
109 public class Toc {
112 [Compact, CCode (ref_function = "gst_toc_entry_ref", type_id = "gst_toc_entry_get_type ()", unref_function = "gst_toc_entry_unref")]
113 public class TocEntry {
116 [Compact, CCode (ref_function = "gst_atomic_queue_ref", type_id = "gst_atomic_queue_get_type ()", unref_function = "gst_atomic_queue_unref")]
117 public class AtomicQueue<T> {
118 public unowned T? peek<T> ();
119 public T pop ();
120 public void push (owned T data);