1 /* gstreamer-base-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstBase", gir_version = "1.0", lower_case_cprefix = "gst_")]
6 [CCode (cheader_filename = "gst/base/base.h", cname = "GstAdapter", lower_case_cprefix = "gst_adapter_", type_id = "gst_adapter_get_type ()")]
7 [GIR (name = "Adapter")]
8 public class Adapter : GLib.Object {
9 [CCode (has_construct_function = false)]
11 public size_t available ();
12 public size_t available_fast ();
14 public void copy ([CCode (array_length_cname = "size", array_length_pos = 2.1, array_length_type = "gsize")] out unowned uint8[] dest, size_t offset);
15 [Version (since = "1.4")]
16 public GLib.Bytes copy_bytes (size_t offset, size_t size);
17 public uint64 distance_from_discont ();
18 [Version (since = "1.10")]
19 public Gst.ClockTime dts_at_discont ();
20 public void flush (size_t flush);
21 [Version (since = "1.6")]
22 public Gst.Buffer? get_buffer (size_t nbytes);
23 [Version (since = "1.6")]
24 public Gst.Buffer? get_buffer_fast (size_t nbytes);
25 [Version (since = "1.6")]
26 public Gst.BufferList? get_buffer_list (size_t nbytes);
27 [Version (since = "1.6")]
28 public GLib.List<Gst.Buffer>? get_list (size_t nbytes);
29 [CCode (array_length = false)]
30 public unowned uint8[]? map (size_t size);
31 public ssize_t masked_scan_uint32 (uint32 mask, uint32 pattern, size_t offset, size_t size);
32 public ssize_t masked_scan_uint32_peek (uint32 mask, uint32 pattern, size_t offset, size_t size, out uint32 value);
33 [Version (since = "1.10")]
34 public uint64 offset_at_discont ();
35 public Gst.ClockTime prev_dts (out uint64 distance);
36 [Version (since = "1.2")]
37 public Gst.ClockTime prev_dts_at_offset (size_t offset, out uint64 distance);
38 [Version (since = "1.10")]
39 public uint64 prev_offset (out uint64 distance);
40 public Gst.ClockTime prev_pts (out uint64 distance);
41 [Version (since = "1.2")]
42 public Gst.ClockTime prev_pts_at_offset (size_t offset, out uint64 distance);
43 [Version (since = "1.10")]
44 public Gst.ClockTime pts_at_discont ();
45 public void push (owned Gst.Buffer buf);
46 [CCode (array_length = false)]
47 public uint8[]? take (size_t nbytes);
48 public Gst.Buffer? take_buffer (size_t nbytes);
49 [Version (since = "1.2")]
50 public Gst.Buffer? take_buffer_fast (size_t nbytes);
51 [Version (since = "1.6")]
52 public Gst.BufferList? take_buffer_list (size_t nbytes);
53 public GLib.List<Gst.Buffer>? take_list (size_t nbytes);
56 [CCode (cheader_filename = "gst/base/base.h", cname = "GstAggregator", lower_case_cprefix = "gst_aggregator_", type_id = "gst_aggregator_get_type ()")]
57 [GIR (name = "Aggregator")]
58 public abstract class Aggregator : Gst.Element {
59 public weak Gst.Pad srcpad;
60 [CCode (has_construct_function = false)]
61 protected Aggregator ();
63 public virtual Gst.FlowReturn aggregate (bool timeout);
65 public virtual Gst.Buffer clip (Gst.Base.AggregatorPad aggregator_pad, Gst.Buffer buf);
67 public virtual bool decide_allocation (Gst.Query query);
68 public virtual Gst.FlowReturn finish_buffer (owned Gst.Buffer buffer);
70 public virtual Gst.Caps fixate_src_caps (Gst.Caps caps);
72 public virtual Gst.FlowReturn flush ();
73 public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
74 public Gst.BufferPool get_buffer_pool ();
75 public Gst.ClockTime get_latency ();
77 public virtual Gst.ClockTime get_next_time ();
79 public virtual bool negotiated_src_caps (Gst.Caps caps);
81 public virtual bool propose_allocation (Gst.Base.AggregatorPad pad, Gst.Query decide_query, Gst.Query query);
82 public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
83 public void set_src_caps (Gst.Caps caps);
84 [Version (since = "1.16")]
85 public Gst.ClockTime simple_get_next_time ();
87 public virtual bool sink_event (Gst.Base.AggregatorPad aggregator_pad, Gst.Event event);
89 public virtual bool sink_query (Gst.Base.AggregatorPad aggregator_pad, Gst.Query query);
91 public virtual bool src_activate (Gst.PadMode mode, bool active);
93 public virtual bool src_event (Gst.Event event);
95 public virtual bool src_query (Gst.Query query);
97 public virtual bool start ();
99 public virtual bool stop ();
101 public virtual Gst.FlowReturn update_src_caps (Gst.Caps caps, out Gst.Caps ret);
103 public uint64 latency { get; set; }
105 public uint64 start_time { get; set; }
107 [CCode (cheader_filename = "gst/base/base.h", cname = "GstAggregatorPad", lower_case_cprefix = "gst_aggregator_pad_", type_id = "gst_aggregator_pad_get_type ()")]
108 [GIR (name = "AggregatorPad")]
109 public class AggregatorPad : Gst.Pad {
110 public weak Gst.Segment segment;
111 [CCode (has_construct_function = false)]
112 protected AggregatorPad ();
113 public bool drop_buffer ();
115 public virtual Gst.FlowReturn flush (Gst.Base.Aggregator aggregator);
116 [Version (since = "1.14.1")]
117 public bool has_buffer ();
118 public bool is_eos ();
119 public Gst.Buffer peek_buffer ();
120 public Gst.Buffer pop_buffer ();
122 public virtual bool skip_buffer (Gst.Base.Aggregator aggregator, Gst.Buffer buffer);
124 [CCode (cheader_filename = "gst/base/gstadapter.h,gst/base/gstbaseparse.h,gst/base/gstbasesink.h,gst/base/gstbasesrc.h,gst/base/gstbasetransform.h,gst/base/gstbitreader.h,gst/base/gstbytereader.h,gst/base/gstbytewriter.h,gst/base/gstcollectpads.h,gst/base/gstpushsrc.h,gst/base/gsttypefindhelper.h", cname = "GstBitReader", has_type_id = false)]
126 [GIR (name = "BitReader")]
127 public class BitReader {
130 [CCode (array_length_cname = "size", array_length_type = "guint")]
131 public weak uint8[] data;
133 public BitReader ([CCode (array_length_type = "guint")] uint8[] data);
134 [CCode (cname = "gst_bit_reader_free")]
136 [CCode (cname = "gst_bit_reader_get_bits_uint16")]
137 public bool get_bits_uint16 (out uint16 val, uint nbits);
138 [CCode (cname = "gst_bit_reader_get_bits_uint32")]
139 public bool get_bits_uint32 (out uint32 val, uint nbits);
140 [CCode (cname = "gst_bit_reader_get_bits_uint64")]
141 public bool get_bits_uint64 (out uint64 val, uint nbits);
142 [CCode (cname = "gst_bit_reader_get_bits_uint8")]
143 public bool get_bits_uint8 (out uint8 val, uint nbits);
144 [CCode (cname = "gst_bit_reader_get_pos")]
145 public uint get_pos ();
146 [CCode (cname = "gst_bit_reader_get_remaining")]
147 public uint get_remaining ();
148 [CCode (cname = "gst_bit_reader_get_size")]
149 public uint get_size ();
150 [CCode (cname = "gst_bit_reader_init")]
151 public void init ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
152 [CCode (cname = "gst_bit_reader_peek_bits_uint16")]
153 public bool peek_bits_uint16 (out uint16 val, uint nbits);
154 [CCode (cname = "gst_bit_reader_peek_bits_uint32")]
155 public bool peek_bits_uint32 (out uint32 val, uint nbits);
156 [CCode (cname = "gst_bit_reader_peek_bits_uint64")]
157 public bool peek_bits_uint64 (out uint64 val, uint nbits);
158 [CCode (cname = "gst_bit_reader_peek_bits_uint8")]
159 public bool peek_bits_uint8 (out uint8 val, uint nbits);
160 [CCode (cname = "gst_bit_reader_set_pos")]
161 public bool set_pos (uint pos);
162 [CCode (cname = "gst_bit_reader_skip")]
163 public bool skip (uint nbits);
164 [CCode (cname = "gst_bit_reader_skip_to_byte")]
165 public bool skip_to_byte ();
167 [CCode (cheader_filename = "gst/base/gstadapter.h,gst/base/gstbaseparse.h,gst/base/gstbasesink.h,gst/base/gstbasesrc.h,gst/base/gstbasetransform.h,gst/base/gstbitreader.h,gst/base/gstbytereader.h,gst/base/gstbytewriter.h,gst/base/gstcollectpads.h,gst/base/gstpushsrc.h,gst/base/gsttypefindhelper.h", cname = "GstBitReader", has_type_id = false)]
169 [GIR (name = "ByteReader")]
170 public class ByteReader {
172 [CCode (array_length_cname = "size", array_length_type = "guint")]
173 public weak uint8[] data;
175 public ByteReader ([CCode (array_length_type = "guint")] uint8[] data);
176 [CCode (cname = "gst_byte_reader_dup_data")]
177 public bool dup_data ([CCode (array_length_cname = "size", array_length_pos = 0.5, array_length_type = "guint")] out uint8[] val);
178 [CCode (cname = "gst_byte_reader_dup_string_utf16")]
179 public bool dup_string_utf16 ([CCode (array_length = false, array_null_terminated = true)] out uint16[] str);
180 [CCode (cname = "gst_byte_reader_dup_string_utf32")]
181 public bool dup_string_utf32 ([CCode (array_length = false, array_null_terminated = true)] out uint32[] str);
182 [CCode (cname = "gst_byte_reader_dup_string_utf8")]
183 public bool dup_string_utf8 ([CCode (array_length = false, array_null_terminated = true)] out string[] str);
184 [CCode (cname = "gst_byte_reader_free")]
186 [CCode (cname = "gst_byte_reader_get_data")]
187 public bool get_data ([CCode (array_length_cname = "size", array_length_pos = 0.5, array_length_type = "guint")] out unowned uint8[] val);
188 [CCode (cname = "gst_byte_reader_get_float32_be")]
189 public bool get_float32_be (out float val);
190 [CCode (cname = "gst_byte_reader_get_float32_le")]
191 public bool get_float32_le (out float val);
192 [CCode (cname = "gst_byte_reader_get_float64_be")]
193 public bool get_float64_be (out double val);
194 [CCode (cname = "gst_byte_reader_get_float64_le")]
195 public bool get_float64_le (out double val);
196 [CCode (cname = "gst_byte_reader_get_int16_be")]
197 public bool get_int16_be (out int16 val);
198 [CCode (cname = "gst_byte_reader_get_int16_le")]
199 public bool get_int16_le (out int16 val);
200 [CCode (cname = "gst_byte_reader_get_int24_be")]
201 public bool get_int24_be (out int32 val);
202 [CCode (cname = "gst_byte_reader_get_int24_le")]
203 public bool get_int24_le (out int32 val);
204 [CCode (cname = "gst_byte_reader_get_int32_be")]
205 public bool get_int32_be (out int32 val);
206 [CCode (cname = "gst_byte_reader_get_int32_le")]
207 public bool get_int32_le (out int32 val);
208 [CCode (cname = "gst_byte_reader_get_int64_be")]
209 public bool get_int64_be (out int64 val);
210 [CCode (cname = "gst_byte_reader_get_int64_le")]
211 public bool get_int64_le (out int64 val);
212 [CCode (cname = "gst_byte_reader_get_int8")]
213 public bool get_int8 (out int8 val);
214 [CCode (cname = "gst_byte_reader_get_pos")]
215 public uint get_pos ();
216 [CCode (cname = "gst_byte_reader_get_remaining")]
217 public uint get_remaining ();
218 [CCode (cname = "gst_byte_reader_get_size")]
219 public uint get_size ();
220 [CCode (cname = "gst_byte_reader_get_string_utf8")]
221 public bool get_string_utf8 ([CCode (array_length = false, array_null_terminated = true)] out unowned string[] str);
222 [CCode (cname = "gst_byte_reader_get_uint16_be")]
223 public bool get_uint16_be (out uint16 val);
224 [CCode (cname = "gst_byte_reader_get_uint16_le")]
225 public bool get_uint16_le (out uint16 val);
226 [CCode (cname = "gst_byte_reader_get_uint24_be")]
227 public bool get_uint24_be (out uint32 val);
228 [CCode (cname = "gst_byte_reader_get_uint24_le")]
229 public bool get_uint24_le (out uint32 val);
230 [CCode (cname = "gst_byte_reader_get_uint32_be")]
231 public bool get_uint32_be (out uint32 val);
232 [CCode (cname = "gst_byte_reader_get_uint32_le")]
233 public bool get_uint32_le (out uint32 val);
234 [CCode (cname = "gst_byte_reader_get_uint64_be")]
235 public bool get_uint64_be (out uint64 val);
236 [CCode (cname = "gst_byte_reader_get_uint64_le")]
237 public bool get_uint64_le (out uint64 val);
238 [CCode (cname = "gst_byte_reader_get_uint8")]
239 public bool get_uint8 (out uint8 val);
240 [CCode (cname = "gst_byte_reader_init")]
241 public void init ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
242 [CCode (cname = "gst_byte_reader_masked_scan_uint32")]
243 public uint masked_scan_uint32 (uint32 mask, uint32 pattern, uint offset, uint size);
244 [CCode (cname = "gst_byte_reader_masked_scan_uint32_peek")]
245 [Version (since = "1.6")]
246 public uint masked_scan_uint32_peek (uint32 mask, uint32 pattern, uint offset, uint size, out uint32 value);
247 [CCode (cname = "gst_byte_reader_peek_data")]
248 public bool peek_data ([CCode (array_length_cname = "size", array_length_pos = 0.5, array_length_type = "guint")] out unowned uint8[] val);
249 [CCode (cname = "gst_byte_reader_peek_float32_be")]
250 public bool peek_float32_be (out float val);
251 [CCode (cname = "gst_byte_reader_peek_float32_le")]
252 public bool peek_float32_le (out float val);
253 [CCode (cname = "gst_byte_reader_peek_float64_be")]
254 public bool peek_float64_be (out double val);
255 [CCode (cname = "gst_byte_reader_peek_float64_le")]
256 public bool peek_float64_le (out double val);
257 [CCode (cname = "gst_byte_reader_peek_int16_be")]
258 public bool peek_int16_be (out int16 val);
259 [CCode (cname = "gst_byte_reader_peek_int16_le")]
260 public bool peek_int16_le (out int16 val);
261 [CCode (cname = "gst_byte_reader_peek_int24_be")]
262 public bool peek_int24_be (out int32 val);
263 [CCode (cname = "gst_byte_reader_peek_int24_le")]
264 public bool peek_int24_le (out int32 val);
265 [CCode (cname = "gst_byte_reader_peek_int32_be")]
266 public bool peek_int32_be (out int32 val);
267 [CCode (cname = "gst_byte_reader_peek_int32_le")]
268 public bool peek_int32_le (out int32 val);
269 [CCode (cname = "gst_byte_reader_peek_int64_be")]
270 public bool peek_int64_be (out int64 val);
271 [CCode (cname = "gst_byte_reader_peek_int64_le")]
272 public bool peek_int64_le (out int64 val);
273 [CCode (cname = "gst_byte_reader_peek_int8")]
274 public bool peek_int8 (out int8 val);
275 [CCode (cname = "gst_byte_reader_peek_string_utf8")]
276 public bool peek_string_utf8 ([CCode (array_length = false, array_null_terminated = true)] out unowned string[] str);
277 [CCode (cname = "gst_byte_reader_peek_uint16_be")]
278 public bool peek_uint16_be (out uint16 val);
279 [CCode (cname = "gst_byte_reader_peek_uint16_le")]
280 public bool peek_uint16_le (out uint16 val);
281 [CCode (cname = "gst_byte_reader_peek_uint24_be")]
282 public bool peek_uint24_be (out uint32 val);
283 [CCode (cname = "gst_byte_reader_peek_uint24_le")]
284 public bool peek_uint24_le (out uint32 val);
285 [CCode (cname = "gst_byte_reader_peek_uint32_be")]
286 public bool peek_uint32_be (out uint32 val);
287 [CCode (cname = "gst_byte_reader_peek_uint32_le")]
288 public bool peek_uint32_le (out uint32 val);
289 [CCode (cname = "gst_byte_reader_peek_uint64_be")]
290 public bool peek_uint64_be (out uint64 val);
291 [CCode (cname = "gst_byte_reader_peek_uint64_le")]
292 public bool peek_uint64_le (out uint64 val);
293 [CCode (cname = "gst_byte_reader_peek_uint8")]
294 public bool peek_uint8 (out uint8 val);
295 [CCode (cname = "gst_byte_reader_set_pos")]
296 public bool set_pos (uint pos);
297 [CCode (cname = "gst_byte_reader_skip")]
298 public bool skip (uint nbytes);
299 [CCode (cname = "gst_byte_reader_skip_string_utf16")]
300 public bool skip_string_utf16 ();
301 [CCode (cname = "gst_byte_reader_skip_string_utf32")]
302 public bool skip_string_utf32 ();
303 [CCode (cname = "gst_byte_reader_skip_string_utf8")]
304 public bool skip_string_utf8 ();
306 [CCode (cheader_filename = "gst/base/gstadapter.h,gst/base/gstbaseparse.h,gst/base/gstbasesink.h,gst/base/gstbasesrc.h,gst/base/gstbasetransform.h,gst/base/gstbitreader.h,gst/base/gstbytereader.h,gst/base/gstbytewriter.h,gst/base/gstcollectpads.h,gst/base/gstpushsrc.h,gst/base/gsttypefindhelper.h", cname = "GstBitReader", has_type_id = false)]
308 [GIR (name = "ByteWriter")]
309 public class ByteWriter {
310 public uint alloc_size;
313 public weak Gst.Base.ByteReader parent;
314 public ByteWriter ();
315 [CCode (cname = "gst_byte_writer_ensure_free_space")]
316 public bool ensure_free_space (uint size);
317 [CCode (cname = "gst_byte_writer_fill")]
318 public bool fill (uint8 value, uint size);
319 [CCode (cname = "gst_byte_writer_free")]
321 [CCode (cname = "gst_byte_writer_free_and_get_buffer")]
322 public Gst.Buffer free_and_get_buffer ();
323 [CCode (cname = "gst_byte_writer_free_and_get_data")]
324 public uint8 free_and_get_data ();
325 [CCode (cname = "gst_byte_writer_get_remaining")]
326 public uint get_remaining ();
327 [CCode (cname = "gst_byte_writer_init")]
329 [CCode (cname = "gst_byte_writer_init_with_data")]
330 public void init_with_data ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, bool initialized);
331 [CCode (cname = "gst_byte_writer_init_with_size")]
332 public void init_with_size (uint size, bool fixed);
333 [CCode (cname = "gst_byte_writer_put_buffer")]
334 public bool put_buffer (Gst.Buffer buffer, size_t offset, ssize_t size);
335 [CCode (cname = "gst_byte_writer_put_data")]
336 public bool put_data ([CCode (array_length_cname = "size", array_length_pos = 1.1, array_length_type = "guint")] uint8[] data);
337 [CCode (cname = "gst_byte_writer_put_float32_be")]
338 public bool put_float32_be (float val);
339 [CCode (cname = "gst_byte_writer_put_float32_le")]
340 public bool put_float32_le (float val);
341 [CCode (cname = "gst_byte_writer_put_float64_be")]
342 public bool put_float64_be (double val);
343 [CCode (cname = "gst_byte_writer_put_float64_le")]
344 public bool put_float64_le (double val);
345 [CCode (cname = "gst_byte_writer_put_int16_be")]
346 public bool put_int16_be (int16 val);
347 [CCode (cname = "gst_byte_writer_put_int16_le")]
348 public bool put_int16_le (int16 val);
349 [CCode (cname = "gst_byte_writer_put_int24_be")]
350 public bool put_int24_be (int32 val);
351 [CCode (cname = "gst_byte_writer_put_int24_le")]
352 public bool put_int24_le (int32 val);
353 [CCode (cname = "gst_byte_writer_put_int32_be")]
354 public bool put_int32_be (int32 val);
355 [CCode (cname = "gst_byte_writer_put_int32_le")]
356 public bool put_int32_le (int32 val);
357 [CCode (cname = "gst_byte_writer_put_int64_be")]
358 public bool put_int64_be (int64 val);
359 [CCode (cname = "gst_byte_writer_put_int64_le")]
360 public bool put_int64_le (int64 val);
361 [CCode (cname = "gst_byte_writer_put_int8")]
362 public bool put_int8 (int8 val);
363 [CCode (cname = "gst_byte_writer_put_string_utf16")]
364 public bool put_string_utf16 ([CCode (array_length = false, array_null_terminated = true)] uint16[] data);
365 [CCode (cname = "gst_byte_writer_put_string_utf32")]
366 public bool put_string_utf32 ([CCode (array_length = false, array_null_terminated = true)] uint32[] data);
367 [CCode (cname = "gst_byte_writer_put_string_utf8")]
368 public bool put_string_utf8 (string data);
369 [CCode (cname = "gst_byte_writer_put_uint16_be")]
370 public bool put_uint16_be (uint16 val);
371 [CCode (cname = "gst_byte_writer_put_uint16_le")]
372 public bool put_uint16_le (uint16 val);
373 [CCode (cname = "gst_byte_writer_put_uint24_be")]
374 public bool put_uint24_be (uint32 val);
375 [CCode (cname = "gst_byte_writer_put_uint24_le")]
376 public bool put_uint24_le (uint32 val);
377 [CCode (cname = "gst_byte_writer_put_uint32_be")]
378 public bool put_uint32_be (uint32 val);
379 [CCode (cname = "gst_byte_writer_put_uint32_le")]
380 public bool put_uint32_le (uint32 val);
381 [CCode (cname = "gst_byte_writer_put_uint64_be")]
382 public bool put_uint64_be (uint64 val);
383 [CCode (cname = "gst_byte_writer_put_uint64_le")]
384 public bool put_uint64_le (uint64 val);
385 [CCode (cname = "gst_byte_writer_put_uint8")]
386 public bool put_uint8 (uint8 val);
387 [CCode (cname = "gst_byte_writer_reset")]
388 public void reset ();
389 [CCode (cname = "gst_byte_writer_reset_and_get_buffer")]
390 public Gst.Buffer reset_and_get_buffer ();
391 [CCode (array_length = false, cname = "gst_byte_writer_reset_and_get_data")]
392 public uint8[] reset_and_get_data ();
393 public ByteWriter.with_data ([CCode (array_length_type = "guint")] uint8[] data, uint size, bool initialized);
394 public ByteWriter.with_size (uint size, bool fixed);
396 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPads", lower_case_cprefix = "gst_collect_pads_", type_id = "gst_collect_pads_get_type ()")]
397 [GIR (name = "CollectPads")]
398 public class CollectPads : Gst.Object {
399 public weak GLib.SList<Gst.Base.CollectData?> data;
400 [CCode (has_construct_function = false)]
401 public CollectPads ();
402 public unowned Gst.Base.CollectData? add_pad (Gst.Pad pad, uint size, [CCode (scope = "async")] Gst.Base.CollectDataDestroyNotify destroy_notify, bool @lock);
403 public uint available ();
404 public Gst.FlowReturn clip_running_time (Gst.Base.CollectData cdata, Gst.Buffer buf, out Gst.Buffer outbuf, void* user_data);
405 public bool event_default (Gst.Base.CollectData data, Gst.Event event, bool discard);
406 public uint flush (Gst.Base.CollectData data, uint size);
407 public Gst.Buffer? peek (Gst.Base.CollectData data);
408 public Gst.Buffer? pop (Gst.Base.CollectData data);
409 public bool query_default (Gst.Base.CollectData data, Gst.Query query, bool discard);
410 public Gst.Buffer? read_buffer (Gst.Base.CollectData data, uint size);
411 public bool remove_pad (Gst.Pad pad);
412 public void set_buffer_function (Gst.Base.CollectPadsBufferFunction func);
413 public void set_clip_function (Gst.Base.CollectPadsClipFunction clipfunc);
414 public void set_compare_function (Gst.Base.CollectPadsCompareFunction func);
415 public void set_event_function (Gst.Base.CollectPadsEventFunction func);
416 [Version (since = "1.4")]
417 public void set_flush_function (Gst.Base.CollectPadsFlushFunction func);
418 public void set_flushing (bool flushing);
419 public void set_function (Gst.Base.CollectPadsFunction func);
420 public void set_query_function (Gst.Base.CollectPadsQueryFunction func);
421 public void set_waiting (Gst.Base.CollectData data, bool waiting);
422 [Version (since = "1.4")]
423 public bool src_event_default (Gst.Pad pad, Gst.Event event);
424 public void start ();
426 public Gst.Buffer? take_buffer (Gst.Base.CollectData data, uint size);
428 [CCode (cheader_filename = "gst/base/base.h", cname = "GstDataQueue", lower_case_cprefix = "gst_data_queue_", type_id = "gst_data_queue_get_type ()")]
429 [GIR (name = "DataQueue")]
430 public class DataQueue : GLib.Object {
431 [CCode (has_construct_function = false)]
432 protected DataQueue ();
434 public virtual void empty ();
436 public virtual void full ();
438 public uint current_level_bytes { get; }
440 public uint64 current_level_time { get; }
442 public uint current_level_visible { get; }
444 [CCode (cheader_filename = "gst/base/base.h", cname = "GstFlowCombiner", copy_function = "g_boxed_copy", free_function = "g_boxed_free", lower_case_cprefix = "gst_flow_combiner_", type_id = "gst_flow_combiner_get_type ()")]
446 [GIR (name = "FlowCombiner")]
447 [Version (since = "1.4")]
448 public class FlowCombiner {
449 [CCode (has_construct_function = false)]
450 public FlowCombiner ();
451 public void add_pad (Gst.Pad pad);
452 [Version (since = "1.6")]
453 public void clear ();
455 [Version (since = "1.12.1")]
456 public unowned Gst.Base.FlowCombiner @ref ();
457 public void remove_pad (Gst.Pad pad);
458 [Version (since = "1.6")]
459 public void reset ();
460 [Version (since = "1.12.1")]
461 public void unref ();
462 public Gst.FlowReturn update_flow (Gst.FlowReturn fret);
463 [Version (since = "1.6")]
464 public Gst.FlowReturn update_pad_flow (Gst.Pad pad, Gst.FlowReturn fret);
466 [CCode (cheader_filename = "gst/base/base.h", type_id = "gst_base_parse_get_type ()")]
467 [GIR (name = "BaseParse")]
468 public abstract class Parse : Gst.Element {
470 public weak Gst.Segment segment;
471 public weak Gst.Pad sinkpad;
472 public weak Gst.Pad srcpad;
473 [CCode (has_construct_function = false)]
475 public bool add_index_entry (uint64 offset, Gst.ClockTime ts, bool key, bool force);
477 public virtual bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
478 public bool convert_default (Gst.Format src_format, int64 src_value, Gst.Format dest_format, out int64 dest_value);
480 public virtual Gst.FlowReturn detect (Gst.Buffer buffer);
481 [Version (since = "1.12")]
482 public void drain ();
483 public Gst.FlowReturn finish_frame (Gst.Base.ParseFrame frame, int size);
485 public virtual Gst.Caps get_sink_caps (Gst.Caps filter);
487 public virtual Gst.FlowReturn handle_frame (Gst.Base.ParseFrame frame, int skipsize);
488 [Version (since = "1.6")]
489 public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
491 public virtual Gst.FlowReturn pre_push_frame (Gst.Base.ParseFrame frame);
492 public Gst.FlowReturn push_frame (Gst.Base.ParseFrame frame);
493 public void set_average_bitrate (uint bitrate);
494 public void set_duration (Gst.Format fmt, int64 duration, int interval);
495 public void set_frame_rate (uint fps_num, uint fps_den, uint lead_in, uint lead_out);
496 public void set_has_timing_info (bool has_timing);
497 public void set_infer_ts (bool infer_ts);
498 public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
499 public void set_min_frame_size (uint min_size);
500 public void set_passthrough (bool passthrough);
501 public void set_pts_interpolation (bool pts_interpolate);
503 public virtual bool set_sink_caps (Gst.Caps caps);
504 public void set_syncable (bool syncable);
505 [Version (since = "1.2")]
506 public void set_ts_at_offset (size_t offset);
508 public virtual bool sink_event (Gst.Event event);
510 public virtual bool sink_query (Gst.Query query);
512 public virtual bool src_event (Gst.Event event);
514 public virtual bool src_query (Gst.Query query);
516 public virtual bool start ();
518 public virtual bool stop ();
520 public bool disable_passthrough { get; set; }
522 [CCode (cheader_filename = "gst/base/base.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_base_parse_frame_get_type ()")]
524 [GIR (name = "BaseParseFrame")]
525 public class ParseFrame {
526 public weak Gst.Buffer buffer;
528 public uint64 offset;
529 public weak Gst.Buffer out_buffer;
531 [CCode (has_construct_function = false)]
532 public ParseFrame (Gst.Buffer buffer, Gst.Base.ParseFrameFlags flags, int overhead);
533 public Gst.Base.ParseFrame copy ();
537 [CCode (cheader_filename = "gst/base/base.h", cname = "GstPushSrc", lower_case_cprefix = "gst_push_src_", type_id = "gst_push_src_get_type ()")]
538 [GIR (name = "PushSrc")]
539 public class PushSrc : Gst.Base.Src {
540 [CCode (has_construct_function = false)]
541 protected PushSrc ();
543 public virtual Gst.FlowReturn alloc (out Gst.Buffer buf);
545 public virtual Gst.FlowReturn create (out Gst.Buffer buf);
547 public virtual Gst.FlowReturn fill (Gst.Buffer buf);
549 [CCode (cheader_filename = "gst/base/base.h", type_id = "gst_base_sink_get_type ()")]
550 [GIR (name = "BaseSink")]
551 public abstract class Sink : Gst.Element {
552 public bool can_activate_pull;
553 public bool can_activate_push;
555 public bool have_newsegment;
556 public bool have_preroll;
557 public bool need_preroll;
558 public uint64 offset;
559 public Gst.PadMode pad_mode;
560 public bool playing_async;
561 public GLib.Cond preroll_cond;
562 public GLib.Mutex preroll_lock;
563 public weak Gst.Segment segment;
564 public weak Gst.Pad sinkpad;
565 [CCode (has_construct_function = false)]
568 public virtual bool activate_pull (bool active);
569 public Gst.FlowReturn do_preroll (Gst.MiniObject obj);
571 public virtual bool event (Gst.Event event);
573 public virtual Gst.Caps fixate (Gst.Caps caps);
574 public uint get_blocksize ();
576 public virtual Gst.Caps get_caps (Gst.Caps filter);
577 [Version (since = "1.12")]
578 public bool get_drop_out_of_segment ();
579 public Gst.Sample? get_last_sample ();
580 public Gst.ClockTime get_latency ();
581 [Version (since = "1.2")]
582 public uint64 get_max_bitrate ();
583 public int64 get_max_lateness ();
584 [Version (since = "1.16")]
585 public Gst.ClockTime get_processing_deadline ();
586 public Gst.ClockTime get_render_delay ();
587 public bool get_sync ();
588 public uint64 get_throttle_time ();
590 public virtual void get_times (Gst.Buffer buffer, Gst.ClockTime start, Gst.ClockTime end);
591 public Gst.ClockTimeDiff get_ts_offset ();
592 public bool is_async_enabled ();
593 public bool is_last_sample_enabled ();
594 public bool is_qos_enabled ();
596 public virtual Gst.FlowReturn prepare (Gst.Buffer buffer);
598 public virtual Gst.FlowReturn prepare_list (Gst.BufferList buffer_list);
600 public virtual Gst.FlowReturn preroll (Gst.Buffer buffer);
602 public virtual bool propose_allocation (Gst.Query query);
604 public virtual bool query (Gst.Query query);
605 public bool query_latency (out bool live, out bool upstream_live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
607 public virtual Gst.FlowReturn render (Gst.Buffer buffer);
609 public virtual Gst.FlowReturn render_list (Gst.BufferList buffer_list);
610 public void set_async_enabled (bool enabled);
611 public void set_blocksize (uint blocksize);
613 public virtual bool set_caps (Gst.Caps caps);
614 [Version (since = "1.12")]
615 public void set_drop_out_of_segment (bool drop_out_of_segment);
616 public void set_last_sample_enabled (bool enabled);
617 [Version (since = "1.2")]
618 public void set_max_bitrate (uint64 max_bitrate);
619 public void set_max_lateness (int64 max_lateness);
620 [Version (since = "1.16")]
621 public void set_processing_deadline (Gst.ClockTime processing_deadline);
622 public void set_qos_enabled (bool enabled);
623 public void set_render_delay (Gst.ClockTime delay);
624 public void set_sync (bool sync);
625 public void set_throttle_time (uint64 throttle);
626 public void set_ts_offset (Gst.ClockTimeDiff offset);
628 public virtual bool start ();
630 public virtual bool stop ();
632 public virtual bool @unlock ();
634 public virtual bool unlock_stop ();
635 public Gst.FlowReturn wait (Gst.ClockTime time, out Gst.ClockTimeDiff jitter);
636 public Gst.ClockReturn wait_clock (Gst.ClockTime time, out Gst.ClockTimeDiff jitter);
638 public virtual Gst.FlowReturn wait_event (Gst.Event event);
639 public Gst.FlowReturn wait_preroll ();
641 public bool @async { get; set; }
642 public uint blocksize { get; set; }
644 public bool enable_last_sample { get; set; }
645 public Gst.Sample last_sample { owned get; }
646 [Version (since = "1.2")]
647 public uint64 max_bitrate { get; set; }
648 public int64 max_lateness { get; set; }
649 [Version (since = "1.16")]
650 public uint64 processing_deadline { get; set; }
652 public bool qos { get; set; }
653 public uint64 render_delay { get; set; }
654 public bool sync { get; set; }
655 public uint64 throttle_time { get; set; }
656 public int64 ts_offset { get; set; }
658 [CCode (cheader_filename = "gst/base/base.h", type_id = "gst_base_src_get_type ()")]
659 [GIR (name = "BaseSrc")]
660 public abstract class Src : Gst.Element {
661 public bool can_activate_push;
662 public Gst.ClockID clock_id;
663 public GLib.Cond live_cond;
664 public GLib.Mutex live_lock;
665 public bool live_running;
666 public bool need_newsegment;
667 public int num_buffers_left;
668 public weak Gst.Event pending_seek;
669 public bool random_access;
671 public weak Gst.Segment segment;
672 public weak Gst.Pad srcpad;
673 [CCode (has_construct_function = false)]
676 public virtual Gst.FlowReturn alloc (uint64 offset, uint size, Gst.Buffer buf);
678 public virtual Gst.FlowReturn create (uint64 offset, uint size, out Gst.Buffer buf);
680 public virtual bool decide_allocation (Gst.Query query);
682 public virtual bool do_seek (Gst.Segment segment);
684 public virtual bool event (Gst.Event event);
686 public virtual Gst.FlowReturn fill (uint64 offset, uint size, Gst.Buffer buf);
688 public virtual Gst.Caps fixate (Gst.Caps caps);
689 public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
690 public uint get_blocksize ();
691 public Gst.BufferPool get_buffer_pool ();
693 public virtual Gst.Caps get_caps (Gst.Caps filter);
694 public bool get_do_timestamp ();
696 public virtual bool get_size (uint64 size);
698 public virtual void get_times (Gst.Buffer buffer, out Gst.ClockTime start, out Gst.ClockTime end);
699 public bool is_async ();
701 public virtual bool is_seekable ();
703 public virtual bool negotiate ();
704 public bool new_seamless_segment (int64 start, int64 stop, int64 time);
706 public virtual bool prepare_seek_segment (Gst.Event seek, Gst.Segment segment);
708 public virtual bool query (Gst.Query query);
709 public bool query_latency (out bool live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
710 public void set_async (bool @async);
711 [Version (since = "1.4")]
712 public void set_automatic_eos (bool automatic_eos);
713 public void set_blocksize (uint blocksize);
714 public virtual bool set_caps (Gst.Caps caps);
715 public void set_do_timestamp (bool timestamp);
716 public void set_dynamic_size (bool @dynamic);
717 public void set_format (Gst.Format format);
718 public void set_live (bool live);
720 public virtual bool start ();
721 public void start_complete (Gst.FlowReturn ret);
722 public Gst.FlowReturn start_wait ();
724 public virtual bool stop ();
725 [Version (since = "1.14")]
726 public void submit_buffer_list (owned Gst.BufferList buffer_list);
728 public virtual bool @unlock ();
730 public virtual bool unlock_stop ();
731 public Gst.FlowReturn wait_playing ();
732 public uint blocksize { get; set; }
733 public bool do_timestamp { get; set; }
735 public int num_buffers { get; set; }
737 public bool typefind { get; set; }
739 [CCode (cheader_filename = "gst/base/base.h", type_id = "gst_base_transform_get_type ()")]
740 [GIR (name = "BaseTransform")]
741 public abstract class Transform : Gst.Element {
742 public bool have_segment;
743 public weak Gst.Buffer queued_buf;
744 public weak Gst.Segment segment;
745 public weak Gst.Pad sinkpad;
746 public weak Gst.Pad srcpad;
747 [CCode (has_construct_function = false)]
748 protected Transform ();
750 public virtual bool accept_caps (Gst.PadDirection direction, Gst.Caps caps);
752 public virtual void before_transform (Gst.Buffer buffer);
754 public virtual bool copy_metadata (Gst.Buffer input, Gst.Buffer outbuf);
756 public virtual bool decide_allocation (Gst.Query query);
758 public virtual bool filter_meta (Gst.Query query, GLib.Type api, Gst.Structure @params);
760 public virtual Gst.Caps fixate_caps (Gst.PadDirection direction, Gst.Caps caps, Gst.Caps othercaps);
762 public virtual Gst.FlowReturn generate_output (out Gst.Buffer outbuf);
763 public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
764 public Gst.BufferPool get_buffer_pool ();
766 public virtual bool get_unit_size (Gst.Caps caps, out size_t size);
767 public bool is_in_place ();
768 public bool is_passthrough ();
769 public bool is_qos_enabled ();
771 public virtual Gst.FlowReturn prepare_output_buffer (Gst.Buffer input, out Gst.Buffer outbuf);
773 public virtual bool propose_allocation (Gst.Query decide_query, Gst.Query query);
775 public virtual bool query (Gst.PadDirection direction, Gst.Query query);
776 public void reconfigure_sink ();
777 public void reconfigure_src ();
779 public virtual bool set_caps (Gst.Caps incaps, Gst.Caps outcaps);
780 public void set_gap_aware (bool gap_aware);
781 public void set_in_place (bool in_place);
782 public void set_passthrough (bool passthrough);
783 [Version (since = "1.0.1")]
784 public void set_prefer_passthrough (bool prefer_passthrough);
785 public void set_qos_enabled (bool enabled);
787 public virtual bool sink_event (Gst.Event event);
789 public virtual bool src_event (Gst.Event event);
791 public virtual bool start ();
793 public virtual bool stop ();
795 public virtual Gst.FlowReturn submit_input_buffer (bool is_discont, Gst.Buffer input);
797 public virtual Gst.FlowReturn transform (Gst.Buffer inbuf, Gst.Buffer outbuf);
799 public virtual Gst.Caps transform_caps (Gst.PadDirection direction, Gst.Caps caps, Gst.Caps filter);
801 public virtual Gst.FlowReturn transform_ip (Gst.Buffer buf);
803 public virtual bool transform_meta (Gst.Buffer outbuf, Gst.Meta meta, Gst.Buffer inbuf);
805 public virtual bool transform_size (Gst.PadDirection direction, Gst.Caps caps, size_t size, Gst.Caps othercaps, out size_t othersize);
806 public void update_qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
807 [Version (since = "1.6")]
808 public bool update_src_caps (Gst.Caps updated_caps);
810 public bool qos { get; set; }
812 [CCode (cheader_filename = "gst/base/base.h", cname = "GstBitWriter", has_type_id = false)]
813 [GIR (name = "BitWriter")]
814 public struct BitWriter {
816 public uint bit_size;
817 [CCode (cname = "gst_bit_writer_align_bytes")]
818 public bool align_bytes (uint8 trailing_bit);
819 [CCode (cname = "gst_bit_writer_free")]
821 [CCode (cname = "gst_bit_writer_free_and_get_buffer")]
822 public Gst.Buffer free_and_get_buffer ();
823 [CCode (array_length = false, cname = "gst_bit_writer_free_and_get_data")]
824 public uint8[] free_and_get_data ();
825 [CCode (cname = "gst_bit_writer_get_data")]
826 public uint8 get_data ();
827 [CCode (cname = "gst_bit_writer_get_remaining")]
828 public uint get_remaining ();
829 [CCode (cname = "gst_bit_writer_get_size")]
830 public uint get_size ();
831 [CCode (cname = "gst_bit_writer_init")]
833 [CCode (cname = "gst_bit_writer_init_with_data")]
834 public void init_with_data ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "guint")] uint8[] data, bool initialized);
835 [CCode (cname = "gst_bit_writer_init_with_size")]
836 public void init_with_size (uint32 size, bool fixed);
837 [CCode (cname = "gst_bit_writer_put_bits_uint16")]
838 public bool put_bits_uint16 (uint16 value, uint nbits);
839 [CCode (cname = "gst_bit_writer_put_bits_uint32")]
840 public bool put_bits_uint32 (uint32 value, uint nbits);
841 [CCode (cname = "gst_bit_writer_put_bits_uint64")]
842 public bool put_bits_uint64 (uint64 value, uint nbits);
843 [CCode (cname = "gst_bit_writer_put_bits_uint8")]
844 public bool put_bits_uint8 (uint8 value, uint nbits);
845 [CCode (cname = "gst_bit_writer_put_bytes")]
846 public bool put_bytes (uint8 data, uint nbytes);
847 [CCode (cname = "gst_bit_writer_reset")]
848 public void reset ();
849 [CCode (cname = "gst_bit_writer_reset_and_get_buffer")]
850 public Gst.Buffer reset_and_get_buffer ();
851 [CCode (array_length = false, cname = "gst_bit_writer_reset_and_get_data")]
852 public uint8[] reset_and_get_data ();
853 [CCode (cname = "gst_bit_writer_set_pos")]
854 public bool set_pos (uint pos);
856 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectData", has_type_id = false)]
857 [GIR (name = "CollectData")]
858 public struct CollectData {
859 public weak Gst.Base.CollectPads collect;
860 public weak Gst.Pad pad;
861 public weak Gst.Buffer buffer;
863 public weak Gst.Segment segment;
864 [CCode (cname = "ABI.abi.dts")]
865 public int64 ABI_abi_dts;
867 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsStateFlags", cprefix = "GST_COLLECT_PADS_STATE_", has_type_id = false)]
869 [GIR (name = "CollectPadsStateFlags")]
870 public enum CollectPadsStateFlags {
877 [CCode (cheader_filename = "gst/base/base.h", cprefix = "GST_BASE_PARSE_FRAME_FLAG_", has_type_id = false)]
879 [GIR (name = "BaseParseFrameFlags")]
880 public enum ParseFrameFlags {
888 [CCode (cheader_filename = "gst/base/base.h", cprefix = "GST_BASE_SRC_FLAG_", has_type_id = false)]
890 [GIR (name = "BaseSrcFlags")]
891 public enum SrcFlags {
896 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectDataDestroyNotify", has_target = false)]
897 public delegate void CollectDataDestroyNotify (Gst.Base.CollectData data);
898 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsBufferFunction", instance_pos = 3.9)]
899 public delegate Gst.FlowReturn CollectPadsBufferFunction (Gst.Base.CollectPads pads, Gst.Base.CollectData data, owned Gst.Buffer buffer);
900 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsClipFunction", instance_pos = 4.9)]
901 public delegate Gst.FlowReturn CollectPadsClipFunction (Gst.Base.CollectPads pads, Gst.Base.CollectData data, owned Gst.Buffer inbuffer, out Gst.Buffer outbuffer);
902 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsCompareFunction", instance_pos = 5.9)]
903 public delegate int CollectPadsCompareFunction (Gst.Base.CollectPads pads, Gst.Base.CollectData data1, Gst.ClockTime timestamp1, Gst.Base.CollectData data2, Gst.ClockTime timestamp2);
904 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsEventFunction", instance_pos = 3.9)]
905 public delegate bool CollectPadsEventFunction (Gst.Base.CollectPads pads, Gst.Base.CollectData pad, Gst.Event event);
906 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsFlushFunction", instance_pos = 1.9)]
907 [Version (since = "1.4")]
908 public delegate void CollectPadsFlushFunction (Gst.Base.CollectPads pads);
909 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsFunction", instance_pos = 1.9)]
910 public delegate Gst.FlowReturn CollectPadsFunction (Gst.Base.CollectPads pads);
911 [CCode (cheader_filename = "gst/base/base.h", cname = "GstCollectPadsQueryFunction", instance_pos = 3.9)]
912 public delegate bool CollectPadsQueryFunction (Gst.Base.CollectPads pads, Gst.Base.CollectData pad, Gst.Query query);
913 [CCode (cheader_filename = "gst/base/base.h", cname = "GstDataQueueEmptyCallback", has_target = false)]
914 public delegate void DataQueueEmptyCallback (Gst.Base.DataQueue queue, void* checkdata);
915 [CCode (cheader_filename = "gst/base/base.h", cname = "GstDataQueueFullCallback", has_target = false)]
916 public delegate void DataQueueFullCallback (Gst.Base.DataQueue queue, void* checkdata);
917 [CCode (cheader_filename = "gst/base/base.h", cname = "GstTypeFindHelperGetRangeFunction", has_target = false)]
918 public delegate Gst.FlowReturn TypeFindHelperGetRangeFunction (Gst.Object obj, Gst.Object? parent, uint64 offset, uint length, out Gst.Buffer buffer);
919 [CCode (cheader_filename = "gst/base/base.h", cname = "GST_BASE_PARSE_FLAG_DRAINING")]
920 public const int PARSE_FLAG_DRAINING;
921 [CCode (cheader_filename = "gst/base/base.h", cname = "GST_BASE_PARSE_FLAG_LOST_SYNC")]
922 public const int PARSE_FLAG_LOST_SYNC;
923 [CCode (cheader_filename = "gst/base/base.h", cname = "GST_BASE_TRANSFORM_SINK_NAME")]
924 public const string TRANSFORM_SINK_NAME;
925 [CCode (cheader_filename = "gst/base/base.h", cname = "GST_BASE_TRANSFORM_SRC_NAME")]
926 public const string TRANSFORM_SRC_NAME;
927 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper")]
928 public static Gst.Caps? type_find_helper (Gst.Pad src, uint64 size);
929 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper_for_buffer")]
930 public static Gst.Caps? type_find_helper_for_buffer (Gst.Object? obj, Gst.Buffer buf, out Gst.TypeFindProbability prob);
931 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper_for_buffer_with_extension")]
932 [Version (since = "1.16")]
933 public static Gst.Caps? type_find_helper_for_buffer_with_extension (Gst.Object? obj, Gst.Buffer buf, string? extension, out Gst.TypeFindProbability prob);
934 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper_for_data")]
935 public static Gst.Caps? type_find_helper_for_data (Gst.Object? obj, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data, out Gst.TypeFindProbability prob);
936 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper_for_data_with_extension")]
937 [Version (since = "1.16")]
938 public static Gst.Caps? type_find_helper_for_data_with_extension (Gst.Object? obj, [CCode (array_length_cname = "size", array_length_pos = 2.5, array_length_type = "gsize")] uint8[] data, string? extension, out Gst.TypeFindProbability prob);
939 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper_for_extension")]
940 public static Gst.Caps? type_find_helper_for_extension (Gst.Object? obj, string extension);
941 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper_get_range")]
942 public static Gst.Caps? type_find_helper_get_range (Gst.Object obj, Gst.Object? parent, Gst.Base.TypeFindHelperGetRangeFunction func, uint64 size, string? extension, out Gst.TypeFindProbability prob);
943 [CCode (cheader_filename = "gst/base/base.h", cname = "gst_type_find_helper_get_range_full")]
944 [Version (since = "1.14.3")]
945 public static Gst.FlowReturn type_find_helper_get_range_full (Gst.Object obj, Gst.Object? parent, Gst.Base.TypeFindHelperGetRangeFunction func, uint64 size, string? extension, out Gst.Caps caps, out Gst.TypeFindProbability prob);