3 [CCode (cheader_filename
= "gst/gst.h", cname
= "GST_DEBUG_BIN_TO_DOT_FILE")]
4 public static void BIN_TO_DOT_FILE (Gst
.Bin bin
, Gst
.DebugGraphDetails details
, string file_name
);
5 [CCode (cheader_filename
= "gst/gst.h", cname
= "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS")]
6 public static void BIN_TO_DOT_FILE_WITH_TS (Gst
.Bin bin
, Gst
.DebugGraphDetails details
, string file_name
);
9 [Compact
, CCode (copy_function
= "gst_allocation_params_copy", free_function
= "gst_allocation_params_free", type_id
= "gst_allocation_params_get_type ()")]
10 public class AllocationParams
{
13 [CCode (type_id
= "gst_bin_get_type ()")]
14 public class Bin
: Gst
.Element
{
15 public void add_many (params Gst
.Element
[] elements
);
16 public void remove_many (params Gst
.Element
[] elements
);
19 [Compact
, CCode (ref_function
= "gst_buffer_ref", type_id
= "gst_buffer_get_type ()", unref_function
= "gst_buffer_unref")]
21 [CCode (has_construct_function
= false, simple_generics
= true)]
22 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
);
23 [CCode (instance_pos
= 1.9)]
24 public bool copy_into (Gst
.Buffer dst
, Gst
.BufferCopyFlags flags
, size_t offset
, size_t size
);
27 [Compact
, CCode (ref_function
= "gst_buffer_list_ref", type_id
= "gst_buffer_list_get_type ()", unref_function
= "gst_buffer_list_unref")]
28 public class BufferList
{
31 [Compact
, CCode (ref_function
= "gst_caps_ref", type_id
= "gst_caps_get_type ()", unref_function
= "gst_caps_unref")]
33 [CCode (has_construct_function
= false)]
34 public Caps
.full (params Gst
.Structure
[] structure
);
37 [Compact
, CCode (copy_function
= "g_boxed_copy", free_function
= "g_boxed_free", type_id
= "gst_caps_features_get_type ()")]
38 public class CapsFeatures
{
39 [CCode (has_construct_function
= false)]
40 public CapsFeatures
.id (params GLib
.Quark
[] features
);
43 [CCode (type_id
= "gst_control_binding_get_type ()")]
44 public abstract class ControlBinding
: Gst
.Object
{
45 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
);
48 [Compact
, CCode (ref_function
= "gst_date_time_ref", type_id
= "gst_date_time_get_type ()", unref_function
= "gst_date_time_unref")]
49 public class DateTime
{
52 [CCode (type_id
= "gst_element_get_type ()")]
53 public abstract class Element
: Gst
.Object
{
54 public bool link_many (params Gst
.Element
[] elements
);
55 public void unlink_many (params Gst
.Element
[] elements
);
58 [Compact
, CCode (ref_function
= "gst_event_ref", type_id
= "gst_event_get_type ()", unref_function
= "gst_event_unref")]
62 [Compact
, CCode (copy_function
= "gst_iterator_copy", free_function
= "gst_iterator_free", type_id
= "gst_iterator_get_type ()")]
63 public class Iterator
{
64 [CCode (simple_generics
= true)]
65 public Gst
.Iterator filter
<T
> ([CCode (type
= "GCompareFunc")] GLib
.SearchFunc
<GLib
.Value
,T
> func
, T user_data
);
66 [CCode (simple_generics
= true)]
67 public bool find_custom
<T
> ([CCode (type
= "GCompareFunc")] GLib
.SearchFunc
<GLib
.Value
,T
> func
, out GLib
.Value elem
, T user_data
);
70 [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")]
71 public abstract class MiniObject
{
72 [CCode (simple_generics
= true)]
73 public T get_qdata
<T
> (GLib
.Quark quark
);
74 [CCode (simple_generics
= true)]
75 public void set_qdata
<T
> (GLib
.Quark quark
, owned T data
);
78 [Compact
, CCode (ref_function
= "gst_memory_ref", type_id
= "gst_memory_get_type ()", unref_function
= "gst_memory_unref")]
80 [CCode (has_construct_function
= false, simple_generics
= true)]
81 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
);
84 [Compact
, CCode (ref_function
= "gst_message_ref", type_id
= "gst_message_get_type ()", unref_function
= "gst_message_unref")]
85 public class Message
{
88 [Compact
, CCode (free_function
= "gst_parse_context_free", type_id
= "gst_parse_context_get_type ()")]
89 public class ParseContext
{
92 [Compact
, CCode (ref_function
= "gst_query_ref", type_id
= "gst_query_get_type ()", unref_function
= "gst_query_unref")]
94 [CCode (sentinel
= "")]
95 public void set_formats (int n_formats
, params Gst
.Format
[] formats
);
98 [Compact
, CCode (ref_function
= "gst_sample_ref", type_id
= "gst_sample_get_type ()", unref_function
= "gst_sample_unref")]
102 [Compact
, CCode (copy_function
= "gst_segment_copy", free_function
= "gst_segment_free", type_id
= "gst_segment_get_type ()")]
103 public class Segment
{
106 [Compact
, CCode (copy_function
= "gst_structure_copy", free_function
= "gst_structure_free", type_id
= "gst_structure_get_type ()")]
107 public class Structure
{
108 public void remove_fields (params
string[] field_names
);
111 [Compact
, CCode (ref_function
= "gst_tag_list_ref", type_id
= "gst_tag_list_get_type ()", unref_function
= "gst_tag_list_unref")]
112 public class TagList
{
115 [Compact
, CCode (ref_function
= "gst_toc_ref", type_id
= "gst_toc_get_type ()", unref_function
= "gst_toc_unref")]
119 [Compact
, CCode (ref_function
= "gst_toc_entry_ref", type_id
= "gst_toc_entry_get_type ()", unref_function
= "gst_toc_entry_unref")]
120 public class TocEntry
{
123 [Compact
, CCode (ref_function
= "gst_atomic_queue_ref", type_id
= "gst_atomic_queue_get_type ()", unref_function
= "gst_atomic_queue_unref")]
124 public class AtomicQueue
<T
> {
125 public unowned T? peek
<T
> ();
127 public void push (owned T data
);
130 [CCode (cheader_filename
= "gst/gst.h", cname
= "GST_TIME_ARGS", use_inplace
= true)]
131 public static uint TIME_ARGS (Gst
.ClockTime t
);
132 [CCode (cheader_filename
= "gst/gst.h", cname
= "GST_STIME_ARGS", use_inplace
= true)]
133 public static uint STIME_ARGS (Gst
.ClockTimeDiff t
);