Skip to main content

gstreamer_sys/
lib.rs

1// This file was generated by gir (https://github.com/gtk-rs/gir)
2// from gir-files (https://github.com/gtk-rs/gir-files)
3// from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git)
4// DO NOT EDIT
5
6#![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)]
7#![allow(
8    clippy::approx_constant,
9    clippy::type_complexity,
10    clippy::unreadable_literal,
11    clippy::upper_case_acronyms
12)]
13#![cfg_attr(docsrs, feature(doc_cfg))]
14
15use glib_sys as glib;
16use gobject_sys as gobject;
17
18mod manual;
19
20pub use manual::*;
21
22#[allow(unused_imports)]
23use libc::{FILE, intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t};
24#[cfg(unix)]
25#[allow(unused_imports)]
26use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
27#[allow(unused_imports)]
28use std::ffi::{
29    c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
30};
31
32#[allow(unused_imports)]
33use glib::{GType, gboolean, gconstpointer, gpointer};
34
35// Aliases
36pub type GstBufferMapInfo = GstMapInfo;
37pub type GstClockID = gpointer;
38pub type GstClockTime = u64;
39pub type GstClockTimeDiff = i64;
40pub type GstElementFactoryListType = u64;
41pub type GstMemoryMapInfo = GstMapInfo;
42pub type GstTraceSpanId = u64;
43
44// Enums
45pub type GstBufferingMode = c_int;
46pub const GST_BUFFERING_STREAM: GstBufferingMode = 0;
47pub const GST_BUFFERING_DOWNLOAD: GstBufferingMode = 1;
48pub const GST_BUFFERING_TIMESHIFT: GstBufferingMode = 2;
49pub const GST_BUFFERING_LIVE: GstBufferingMode = 3;
50
51pub type GstBusSyncReply = c_int;
52pub const GST_BUS_DROP: GstBusSyncReply = 0;
53pub const GST_BUS_PASS: GstBusSyncReply = 1;
54pub const GST_BUS_ASYNC: GstBusSyncReply = 2;
55
56pub type GstCapsIntersectMode = c_int;
57pub const GST_CAPS_INTERSECT_ZIG_ZAG: GstCapsIntersectMode = 0;
58pub const GST_CAPS_INTERSECT_FIRST: GstCapsIntersectMode = 1;
59
60pub type GstClockEntryType = c_int;
61pub const GST_CLOCK_ENTRY_SINGLE: GstClockEntryType = 0;
62pub const GST_CLOCK_ENTRY_PERIODIC: GstClockEntryType = 1;
63
64pub type GstClockReturn = c_int;
65pub const GST_CLOCK_OK: GstClockReturn = 0;
66pub const GST_CLOCK_EARLY: GstClockReturn = 1;
67pub const GST_CLOCK_UNSCHEDULED: GstClockReturn = 2;
68pub const GST_CLOCK_BUSY: GstClockReturn = 3;
69pub const GST_CLOCK_BADTIME: GstClockReturn = 4;
70pub const GST_CLOCK_ERROR: GstClockReturn = 5;
71pub const GST_CLOCK_UNSUPPORTED: GstClockReturn = 6;
72pub const GST_CLOCK_DONE: GstClockReturn = 7;
73
74pub type GstClockType = c_int;
75pub const GST_CLOCK_TYPE_REALTIME: GstClockType = 0;
76pub const GST_CLOCK_TYPE_MONOTONIC: GstClockType = 1;
77pub const GST_CLOCK_TYPE_OTHER: GstClockType = 2;
78pub const GST_CLOCK_TYPE_TAI: GstClockType = 3;
79
80pub type GstCoreError = c_int;
81pub const GST_CORE_ERROR_FAILED: GstCoreError = 1;
82pub const GST_CORE_ERROR_TOO_LAZY: GstCoreError = 2;
83pub const GST_CORE_ERROR_NOT_IMPLEMENTED: GstCoreError = 3;
84pub const GST_CORE_ERROR_STATE_CHANGE: GstCoreError = 4;
85pub const GST_CORE_ERROR_PAD: GstCoreError = 5;
86pub const GST_CORE_ERROR_THREAD: GstCoreError = 6;
87pub const GST_CORE_ERROR_NEGOTIATION: GstCoreError = 7;
88pub const GST_CORE_ERROR_EVENT: GstCoreError = 8;
89pub const GST_CORE_ERROR_SEEK: GstCoreError = 9;
90pub const GST_CORE_ERROR_CAPS: GstCoreError = 10;
91pub const GST_CORE_ERROR_TAG: GstCoreError = 11;
92pub const GST_CORE_ERROR_MISSING_PLUGIN: GstCoreError = 12;
93pub const GST_CORE_ERROR_CLOCK: GstCoreError = 13;
94pub const GST_CORE_ERROR_DISABLED: GstCoreError = 14;
95pub const GST_CORE_ERROR_NUM_ERRORS: GstCoreError = 15;
96
97pub type GstDebugColorMode = c_int;
98pub const GST_DEBUG_COLOR_MODE_OFF: GstDebugColorMode = 0;
99pub const GST_DEBUG_COLOR_MODE_ON: GstDebugColorMode = 1;
100pub const GST_DEBUG_COLOR_MODE_UNIX: GstDebugColorMode = 2;
101
102pub type GstDebugLevel = c_int;
103pub const GST_LEVEL_NONE: GstDebugLevel = 0;
104pub const GST_LEVEL_ERROR: GstDebugLevel = 1;
105pub const GST_LEVEL_WARNING: GstDebugLevel = 2;
106pub const GST_LEVEL_FIXME: GstDebugLevel = 3;
107pub const GST_LEVEL_INFO: GstDebugLevel = 4;
108pub const GST_LEVEL_DEBUG: GstDebugLevel = 5;
109pub const GST_LEVEL_LOG: GstDebugLevel = 6;
110pub const GST_LEVEL_TRACE: GstDebugLevel = 7;
111pub const GST_LEVEL_MEMDUMP: GstDebugLevel = 9;
112pub const GST_LEVEL_COUNT: GstDebugLevel = 10;
113
114pub type GstEventType = c_int;
115pub const GST_EVENT_UNKNOWN: GstEventType = 0;
116pub const GST_EVENT_FLUSH_START: GstEventType = 2563;
117pub const GST_EVENT_FLUSH_STOP: GstEventType = 5127;
118pub const GST_EVENT_STREAM_START: GstEventType = 10254;
119pub const GST_EVENT_CAPS: GstEventType = 12814;
120pub const GST_EVENT_SEGMENT: GstEventType = 17934;
121pub const GST_EVENT_STREAM_COLLECTION: GstEventType = 19230;
122pub const GST_EVENT_TAG: GstEventType = 20510;
123pub const GST_EVENT_BUFFERSIZE: GstEventType = 23054;
124pub const GST_EVENT_SINK_MESSAGE: GstEventType = 25630;
125pub const GST_EVENT_STREAM_GROUP_DONE: GstEventType = 26894;
126pub const GST_EVENT_EOS: GstEventType = 28174;
127pub const GST_EVENT_TOC: GstEventType = 30750;
128pub const GST_EVENT_PROTECTION: GstEventType = 33310;
129pub const GST_EVENT_SEGMENT_DONE: GstEventType = 38406;
130pub const GST_EVENT_GAP: GstEventType = 40966;
131pub const GST_EVENT_INSTANT_RATE_CHANGE: GstEventType = 46090;
132pub const GST_EVENT_QOS: GstEventType = 48641;
133pub const GST_EVENT_SEEK: GstEventType = 51201;
134pub const GST_EVENT_NAVIGATION: GstEventType = 53761;
135pub const GST_EVENT_LATENCY: GstEventType = 56321;
136pub const GST_EVENT_STEP: GstEventType = 58881;
137pub const GST_EVENT_RECONFIGURE: GstEventType = 61441;
138pub const GST_EVENT_TOC_SELECT: GstEventType = 64001;
139pub const GST_EVENT_SELECT_STREAMS: GstEventType = 66561;
140pub const GST_EVENT_INSTANT_RATE_SYNC_TIME: GstEventType = 66817;
141pub const GST_EVENT_CUSTOM_UPSTREAM: GstEventType = 69121;
142pub const GST_EVENT_CUSTOM_DOWNSTREAM: GstEventType = 71686;
143pub const GST_EVENT_CUSTOM_DOWNSTREAM_OOB: GstEventType = 74242;
144pub const GST_EVENT_CUSTOM_DOWNSTREAM_STICKY: GstEventType = 76830;
145pub const GST_EVENT_CUSTOM_BOTH: GstEventType = 79367;
146pub const GST_EVENT_CUSTOM_BOTH_OOB: GstEventType = 81923;
147
148pub type GstFlowReturn = c_int;
149pub const GST_FLOW_CUSTOM_SUCCESS_2: GstFlowReturn = 102;
150pub const GST_FLOW_CUSTOM_SUCCESS_1: GstFlowReturn = 101;
151pub const GST_FLOW_CUSTOM_SUCCESS: GstFlowReturn = 100;
152pub const GST_FLOW_OK: GstFlowReturn = 0;
153pub const GST_FLOW_NOT_LINKED: GstFlowReturn = -1;
154pub const GST_FLOW_FLUSHING: GstFlowReturn = -2;
155pub const GST_FLOW_EOS: GstFlowReturn = -3;
156pub const GST_FLOW_NOT_NEGOTIATED: GstFlowReturn = -4;
157pub const GST_FLOW_ERROR: GstFlowReturn = -5;
158pub const GST_FLOW_NOT_SUPPORTED: GstFlowReturn = -6;
159pub const GST_FLOW_CUSTOM_ERROR: GstFlowReturn = -100;
160pub const GST_FLOW_CUSTOM_ERROR_1: GstFlowReturn = -101;
161pub const GST_FLOW_CUSTOM_ERROR_2: GstFlowReturn = -102;
162
163pub type GstFormat = c_int;
164pub const GST_FORMAT_UNDEFINED: GstFormat = 0;
165pub const GST_FORMAT_DEFAULT: GstFormat = 1;
166pub const GST_FORMAT_BYTES: GstFormat = 2;
167pub const GST_FORMAT_TIME: GstFormat = 3;
168pub const GST_FORMAT_BUFFERS: GstFormat = 4;
169pub const GST_FORMAT_PERCENT: GstFormat = 5;
170
171pub type GstIteratorItem = c_int;
172pub const GST_ITERATOR_ITEM_SKIP: GstIteratorItem = 0;
173pub const GST_ITERATOR_ITEM_PASS: GstIteratorItem = 1;
174pub const GST_ITERATOR_ITEM_END: GstIteratorItem = 2;
175
176pub type GstIteratorResult = c_int;
177pub const GST_ITERATOR_DONE: GstIteratorResult = 0;
178pub const GST_ITERATOR_OK: GstIteratorResult = 1;
179pub const GST_ITERATOR_RESYNC: GstIteratorResult = 2;
180pub const GST_ITERATOR_ERROR: GstIteratorResult = 3;
181
182pub type GstLibraryError = c_int;
183pub const GST_LIBRARY_ERROR_FAILED: GstLibraryError = 1;
184pub const GST_LIBRARY_ERROR_TOO_LAZY: GstLibraryError = 2;
185pub const GST_LIBRARY_ERROR_INIT: GstLibraryError = 3;
186pub const GST_LIBRARY_ERROR_SHUTDOWN: GstLibraryError = 4;
187pub const GST_LIBRARY_ERROR_SETTINGS: GstLibraryError = 5;
188pub const GST_LIBRARY_ERROR_ENCODE: GstLibraryError = 6;
189pub const GST_LIBRARY_ERROR_NUM_ERRORS: GstLibraryError = 7;
190
191pub type GstPadDirection = c_int;
192pub const GST_PAD_UNKNOWN: GstPadDirection = 0;
193pub const GST_PAD_SRC: GstPadDirection = 1;
194pub const GST_PAD_SINK: GstPadDirection = 2;
195
196pub type GstPadLinkReturn = c_int;
197pub const GST_PAD_LINK_OK: GstPadLinkReturn = 0;
198pub const GST_PAD_LINK_WRONG_HIERARCHY: GstPadLinkReturn = -1;
199pub const GST_PAD_LINK_WAS_LINKED: GstPadLinkReturn = -2;
200pub const GST_PAD_LINK_WRONG_DIRECTION: GstPadLinkReturn = -3;
201pub const GST_PAD_LINK_NOFORMAT: GstPadLinkReturn = -4;
202pub const GST_PAD_LINK_NOSCHED: GstPadLinkReturn = -5;
203pub const GST_PAD_LINK_REFUSED: GstPadLinkReturn = -6;
204
205pub type GstPadMode = c_int;
206pub const GST_PAD_MODE_NONE: GstPadMode = 0;
207pub const GST_PAD_MODE_PUSH: GstPadMode = 1;
208pub const GST_PAD_MODE_PULL: GstPadMode = 2;
209
210pub type GstPadPresence = c_int;
211pub const GST_PAD_ALWAYS: GstPadPresence = 0;
212pub const GST_PAD_SOMETIMES: GstPadPresence = 1;
213pub const GST_PAD_REQUEST: GstPadPresence = 2;
214
215pub type GstPadProbeReturn = c_int;
216pub const GST_PAD_PROBE_DROP: GstPadProbeReturn = 0;
217pub const GST_PAD_PROBE_OK: GstPadProbeReturn = 1;
218pub const GST_PAD_PROBE_REMOVE: GstPadProbeReturn = 2;
219pub const GST_PAD_PROBE_PASS: GstPadProbeReturn = 3;
220pub const GST_PAD_PROBE_HANDLED: GstPadProbeReturn = 4;
221
222pub type GstParseError = c_int;
223pub const GST_PARSE_ERROR_SYNTAX: GstParseError = 0;
224pub const GST_PARSE_ERROR_NO_SUCH_ELEMENT: GstParseError = 1;
225pub const GST_PARSE_ERROR_NO_SUCH_PROPERTY: GstParseError = 2;
226pub const GST_PARSE_ERROR_LINK: GstParseError = 3;
227pub const GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY: GstParseError = 4;
228pub const GST_PARSE_ERROR_EMPTY_BIN: GstParseError = 5;
229pub const GST_PARSE_ERROR_EMPTY: GstParseError = 6;
230pub const GST_PARSE_ERROR_DELAYED_LINK: GstParseError = 7;
231#[cfg(feature = "v1_30")]
232#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
233pub const GST_PARSE_ERROR_SENSITIVE_PROPERTY: GstParseError = 8;
234#[cfg(feature = "v1_30")]
235#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
236pub const GST_PARSE_ERROR_UNTRUSTED_ELEMENT: GstParseError = 9;
237
238pub type GstPluginError = c_int;
239pub const GST_PLUGIN_ERROR_MODULE: GstPluginError = 0;
240pub const GST_PLUGIN_ERROR_DEPENDENCIES: GstPluginError = 1;
241pub const GST_PLUGIN_ERROR_NAME_MISMATCH: GstPluginError = 2;
242
243pub type GstProgressType = c_int;
244pub const GST_PROGRESS_TYPE_START: GstProgressType = 0;
245pub const GST_PROGRESS_TYPE_CONTINUE: GstProgressType = 1;
246pub const GST_PROGRESS_TYPE_COMPLETE: GstProgressType = 2;
247pub const GST_PROGRESS_TYPE_CANCELED: GstProgressType = 3;
248pub const GST_PROGRESS_TYPE_ERROR: GstProgressType = 4;
249
250pub type GstPromiseResult = c_int;
251pub const GST_PROMISE_RESULT_PENDING: GstPromiseResult = 0;
252pub const GST_PROMISE_RESULT_INTERRUPTED: GstPromiseResult = 1;
253pub const GST_PROMISE_RESULT_REPLIED: GstPromiseResult = 2;
254pub const GST_PROMISE_RESULT_EXPIRED: GstPromiseResult = 3;
255
256pub type GstQOSType = c_int;
257pub const GST_QOS_TYPE_OVERFLOW: GstQOSType = 0;
258pub const GST_QOS_TYPE_UNDERFLOW: GstQOSType = 1;
259pub const GST_QOS_TYPE_THROTTLE: GstQOSType = 2;
260
261pub type GstQueryType = c_int;
262pub const GST_QUERY_UNKNOWN: GstQueryType = 0;
263pub const GST_QUERY_POSITION: GstQueryType = 2563;
264pub const GST_QUERY_DURATION: GstQueryType = 5123;
265pub const GST_QUERY_LATENCY: GstQueryType = 7683;
266pub const GST_QUERY_JITTER: GstQueryType = 10243;
267pub const GST_QUERY_RATE: GstQueryType = 12803;
268pub const GST_QUERY_SEEKING: GstQueryType = 15363;
269pub const GST_QUERY_SEGMENT: GstQueryType = 17923;
270pub const GST_QUERY_CONVERT: GstQueryType = 20483;
271pub const GST_QUERY_FORMATS: GstQueryType = 23043;
272pub const GST_QUERY_BUFFERING: GstQueryType = 28163;
273pub const GST_QUERY_CUSTOM: GstQueryType = 30723;
274pub const GST_QUERY_URI: GstQueryType = 33283;
275pub const GST_QUERY_ALLOCATION: GstQueryType = 35846;
276pub const GST_QUERY_SCHEDULING: GstQueryType = 38401;
277pub const GST_QUERY_ACCEPT_CAPS: GstQueryType = 40963;
278pub const GST_QUERY_CAPS: GstQueryType = 43523;
279pub const GST_QUERY_DRAIN: GstQueryType = 46086;
280pub const GST_QUERY_CONTEXT: GstQueryType = 48643;
281pub const GST_QUERY_BITRATE: GstQueryType = 51202;
282#[cfg(feature = "v1_22")]
283#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
284pub const GST_QUERY_SELECTABLE: GstQueryType = 53763;
285
286pub type GstRank = c_int;
287pub const GST_RANK_NONE: GstRank = 0;
288pub const GST_RANK_MARGINAL: GstRank = 64;
289pub const GST_RANK_SECONDARY: GstRank = 128;
290pub const GST_RANK_PRIMARY: GstRank = 256;
291
292pub type GstResourceError = c_int;
293pub const GST_RESOURCE_ERROR_FAILED: GstResourceError = 1;
294pub const GST_RESOURCE_ERROR_TOO_LAZY: GstResourceError = 2;
295pub const GST_RESOURCE_ERROR_NOT_FOUND: GstResourceError = 3;
296pub const GST_RESOURCE_ERROR_BUSY: GstResourceError = 4;
297pub const GST_RESOURCE_ERROR_OPEN_READ: GstResourceError = 5;
298pub const GST_RESOURCE_ERROR_OPEN_WRITE: GstResourceError = 6;
299pub const GST_RESOURCE_ERROR_OPEN_READ_WRITE: GstResourceError = 7;
300pub const GST_RESOURCE_ERROR_CLOSE: GstResourceError = 8;
301pub const GST_RESOURCE_ERROR_READ: GstResourceError = 9;
302pub const GST_RESOURCE_ERROR_WRITE: GstResourceError = 10;
303pub const GST_RESOURCE_ERROR_SEEK: GstResourceError = 11;
304pub const GST_RESOURCE_ERROR_SYNC: GstResourceError = 12;
305pub const GST_RESOURCE_ERROR_SETTINGS: GstResourceError = 13;
306pub const GST_RESOURCE_ERROR_NO_SPACE_LEFT: GstResourceError = 14;
307pub const GST_RESOURCE_ERROR_NOT_AUTHORIZED: GstResourceError = 15;
308pub const GST_RESOURCE_ERROR_NUM_ERRORS: GstResourceError = 16;
309
310pub type GstSearchMode = c_int;
311pub const GST_SEARCH_MODE_EXACT: GstSearchMode = 0;
312pub const GST_SEARCH_MODE_BEFORE: GstSearchMode = 1;
313pub const GST_SEARCH_MODE_AFTER: GstSearchMode = 2;
314
315pub type GstSeekType = c_int;
316pub const GST_SEEK_TYPE_NONE: GstSeekType = 0;
317pub const GST_SEEK_TYPE_SET: GstSeekType = 1;
318pub const GST_SEEK_TYPE_END: GstSeekType = 2;
319
320pub type GstState = c_int;
321pub const GST_STATE_VOID_PENDING: GstState = 0;
322pub const GST_STATE_NULL: GstState = 1;
323pub const GST_STATE_READY: GstState = 2;
324pub const GST_STATE_PAUSED: GstState = 3;
325pub const GST_STATE_PLAYING: GstState = 4;
326
327pub type GstStateChange = c_int;
328pub const GST_STATE_CHANGE_NULL_TO_READY: GstStateChange = 10;
329pub const GST_STATE_CHANGE_READY_TO_PAUSED: GstStateChange = 19;
330pub const GST_STATE_CHANGE_PAUSED_TO_PLAYING: GstStateChange = 28;
331pub const GST_STATE_CHANGE_PLAYING_TO_PAUSED: GstStateChange = 35;
332pub const GST_STATE_CHANGE_PAUSED_TO_READY: GstStateChange = 26;
333pub const GST_STATE_CHANGE_READY_TO_NULL: GstStateChange = 17;
334pub const GST_STATE_CHANGE_NULL_TO_NULL: GstStateChange = 9;
335pub const GST_STATE_CHANGE_READY_TO_READY: GstStateChange = 18;
336pub const GST_STATE_CHANGE_PAUSED_TO_PAUSED: GstStateChange = 27;
337pub const GST_STATE_CHANGE_PLAYING_TO_PLAYING: GstStateChange = 36;
338
339pub type GstStateChangeReturn = c_int;
340pub const GST_STATE_CHANGE_FAILURE: GstStateChangeReturn = 0;
341pub const GST_STATE_CHANGE_SUCCESS: GstStateChangeReturn = 1;
342pub const GST_STATE_CHANGE_ASYNC: GstStateChangeReturn = 2;
343pub const GST_STATE_CHANGE_NO_PREROLL: GstStateChangeReturn = 3;
344
345pub type GstStreamError = c_int;
346pub const GST_STREAM_ERROR_FAILED: GstStreamError = 1;
347pub const GST_STREAM_ERROR_TOO_LAZY: GstStreamError = 2;
348pub const GST_STREAM_ERROR_NOT_IMPLEMENTED: GstStreamError = 3;
349pub const GST_STREAM_ERROR_TYPE_NOT_FOUND: GstStreamError = 4;
350pub const GST_STREAM_ERROR_WRONG_TYPE: GstStreamError = 5;
351pub const GST_STREAM_ERROR_CODEC_NOT_FOUND: GstStreamError = 6;
352pub const GST_STREAM_ERROR_DECODE: GstStreamError = 7;
353pub const GST_STREAM_ERROR_ENCODE: GstStreamError = 8;
354pub const GST_STREAM_ERROR_DEMUX: GstStreamError = 9;
355pub const GST_STREAM_ERROR_MUX: GstStreamError = 10;
356pub const GST_STREAM_ERROR_FORMAT: GstStreamError = 11;
357pub const GST_STREAM_ERROR_DECRYPT: GstStreamError = 12;
358pub const GST_STREAM_ERROR_DECRYPT_NOKEY: GstStreamError = 13;
359pub const GST_STREAM_ERROR_NUM_ERRORS: GstStreamError = 14;
360
361pub type GstStreamStatusType = c_int;
362pub const GST_STREAM_STATUS_TYPE_CREATE: GstStreamStatusType = 0;
363pub const GST_STREAM_STATUS_TYPE_ENTER: GstStreamStatusType = 1;
364pub const GST_STREAM_STATUS_TYPE_LEAVE: GstStreamStatusType = 2;
365pub const GST_STREAM_STATUS_TYPE_DESTROY: GstStreamStatusType = 3;
366pub const GST_STREAM_STATUS_TYPE_START: GstStreamStatusType = 8;
367pub const GST_STREAM_STATUS_TYPE_PAUSE: GstStreamStatusType = 9;
368pub const GST_STREAM_STATUS_TYPE_STOP: GstStreamStatusType = 10;
369
370pub type GstStructureChangeType = c_int;
371pub const GST_STRUCTURE_CHANGE_TYPE_PAD_LINK: GstStructureChangeType = 0;
372pub const GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK: GstStructureChangeType = 1;
373
374pub type GstTagFlag = c_int;
375pub const GST_TAG_FLAG_UNDEFINED: GstTagFlag = 0;
376pub const GST_TAG_FLAG_META: GstTagFlag = 1;
377pub const GST_TAG_FLAG_ENCODED: GstTagFlag = 2;
378pub const GST_TAG_FLAG_DECODED: GstTagFlag = 3;
379pub const GST_TAG_FLAG_COUNT: GstTagFlag = 4;
380
381pub type GstTagMergeMode = c_int;
382pub const GST_TAG_MERGE_UNDEFINED: GstTagMergeMode = 0;
383pub const GST_TAG_MERGE_REPLACE_ALL: GstTagMergeMode = 1;
384pub const GST_TAG_MERGE_REPLACE: GstTagMergeMode = 2;
385pub const GST_TAG_MERGE_APPEND: GstTagMergeMode = 3;
386pub const GST_TAG_MERGE_PREPEND: GstTagMergeMode = 4;
387pub const GST_TAG_MERGE_KEEP: GstTagMergeMode = 5;
388pub const GST_TAG_MERGE_KEEP_ALL: GstTagMergeMode = 6;
389pub const GST_TAG_MERGE_COUNT: GstTagMergeMode = 7;
390
391pub type GstTagScope = c_int;
392pub const GST_TAG_SCOPE_STREAM: GstTagScope = 0;
393pub const GST_TAG_SCOPE_GLOBAL: GstTagScope = 1;
394
395pub type GstTaskState = c_int;
396pub const GST_TASK_STARTED: GstTaskState = 0;
397pub const GST_TASK_STOPPED: GstTaskState = 1;
398pub const GST_TASK_PAUSED: GstTaskState = 2;
399
400pub type GstTocEntryType = c_int;
401pub const GST_TOC_ENTRY_TYPE_ANGLE: GstTocEntryType = -3;
402pub const GST_TOC_ENTRY_TYPE_VERSION: GstTocEntryType = -2;
403pub const GST_TOC_ENTRY_TYPE_EDITION: GstTocEntryType = -1;
404pub const GST_TOC_ENTRY_TYPE_INVALID: GstTocEntryType = 0;
405pub const GST_TOC_ENTRY_TYPE_TITLE: GstTocEntryType = 1;
406pub const GST_TOC_ENTRY_TYPE_TRACK: GstTocEntryType = 2;
407pub const GST_TOC_ENTRY_TYPE_CHAPTER: GstTocEntryType = 3;
408
409pub type GstTocLoopType = c_int;
410pub const GST_TOC_LOOP_NONE: GstTocLoopType = 0;
411pub const GST_TOC_LOOP_FORWARD: GstTocLoopType = 1;
412pub const GST_TOC_LOOP_REVERSE: GstTocLoopType = 2;
413pub const GST_TOC_LOOP_PING_PONG: GstTocLoopType = 3;
414
415pub type GstTocScope = c_int;
416pub const GST_TOC_SCOPE_GLOBAL: GstTocScope = 1;
417pub const GST_TOC_SCOPE_CURRENT: GstTocScope = 2;
418
419pub type GstTracerFieldType = c_int;
420pub const GST_TRACER_FIELD_TYPE_BOOLEAN: GstTracerFieldType = 0;
421pub const GST_TRACER_FIELD_TYPE_INT: GstTracerFieldType = 1;
422pub const GST_TRACER_FIELD_TYPE_UINT: GstTracerFieldType = 2;
423pub const GST_TRACER_FIELD_TYPE_INT64: GstTracerFieldType = 3;
424pub const GST_TRACER_FIELD_TYPE_UINT64: GstTracerFieldType = 4;
425pub const GST_TRACER_FIELD_TYPE_DOUBLE: GstTracerFieldType = 5;
426pub const GST_TRACER_FIELD_TYPE_STRING: GstTracerFieldType = 6;
427pub const GST_TRACER_FIELD_TYPE_CLOCK_TIME: GstTracerFieldType = 7;
428pub const GST_TRACER_FIELD_TYPE_STRUCTURE: GstTracerFieldType = 8;
429pub const GST_TRACER_FIELD_TYPE_OBJECT: GstTracerFieldType = 9;
430
431pub type GstTracerValueScope = c_int;
432pub const GST_TRACER_VALUE_SCOPE_PROCESS: GstTracerValueScope = 0;
433pub const GST_TRACER_VALUE_SCOPE_THREAD: GstTracerValueScope = 1;
434pub const GST_TRACER_VALUE_SCOPE_ELEMENT: GstTracerValueScope = 2;
435pub const GST_TRACER_VALUE_SCOPE_PAD: GstTracerValueScope = 3;
436
437pub type GstTypeFindProbability = c_int;
438pub const GST_TYPE_FIND_NONE: GstTypeFindProbability = 0;
439pub const GST_TYPE_FIND_MINIMUM: GstTypeFindProbability = 1;
440pub const GST_TYPE_FIND_POSSIBLE: GstTypeFindProbability = 50;
441pub const GST_TYPE_FIND_LIKELY: GstTypeFindProbability = 80;
442pub const GST_TYPE_FIND_NEARLY_CERTAIN: GstTypeFindProbability = 99;
443pub const GST_TYPE_FIND_MAXIMUM: GstTypeFindProbability = 100;
444
445pub type GstURIError = c_int;
446pub const GST_URI_ERROR_UNSUPPORTED_PROTOCOL: GstURIError = 0;
447pub const GST_URI_ERROR_BAD_URI: GstURIError = 1;
448pub const GST_URI_ERROR_BAD_STATE: GstURIError = 2;
449pub const GST_URI_ERROR_BAD_REFERENCE: GstURIError = 3;
450
451pub type GstURIType = c_int;
452pub const GST_URI_UNKNOWN: GstURIType = 0;
453pub const GST_URI_SINK: GstURIType = 1;
454pub const GST_URI_SRC: GstURIType = 2;
455
456// Constants
457pub const GST_ALLOCATOR_SYSMEM: &[u8] = b"SystemMemory\0";
458pub const GST_BUFFER_COPY_ALL: GstBufferCopyFlags = 15;
459pub const GST_BUFFER_COPY_METADATA: GstBufferCopyFlags = 7;
460pub const GST_BUFFER_OFFSET_NONE: u64 = 18446744073709551615;
461pub const GST_CAN_INLINE: c_int = 1;
462pub const GST_CAPS_FEATURE_MEMORY_SYSTEM_MEMORY: &[u8] = b"memory:SystemMemory\0";
463pub const GST_CLOCK_TIME_NONE: GstClockTime = 18446744073709551615;
464pub const GST_DEBUG_BG_MASK: c_int = 240;
465pub const GST_DEBUG_FG_MASK: c_int = 15;
466pub const GST_DEBUG_FORMAT_MASK: c_int = 65280;
467pub const GST_ELEMENT_FACTORY_KLASS_DECODER: &[u8] = b"Decoder\0";
468pub const GST_ELEMENT_FACTORY_KLASS_DECRYPTOR: &[u8] = b"Decryptor\0";
469pub const GST_ELEMENT_FACTORY_KLASS_DEMUXER: &[u8] = b"Demuxer\0";
470pub const GST_ELEMENT_FACTORY_KLASS_DEPAYLOADER: &[u8] = b"Depayloader\0";
471pub const GST_ELEMENT_FACTORY_KLASS_ENCODER: &[u8] = b"Encoder\0";
472pub const GST_ELEMENT_FACTORY_KLASS_ENCRYPTOR: &[u8] = b"Encryptor\0";
473pub const GST_ELEMENT_FACTORY_KLASS_FORMATTER: &[u8] = b"Formatter\0";
474pub const GST_ELEMENT_FACTORY_KLASS_HARDWARE: &[u8] = b"Hardware\0";
475pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_AUDIO: &[u8] = b"Audio\0";
476pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_IMAGE: &[u8] = b"Image\0";
477pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_METADATA: &[u8] = b"Metadata\0";
478pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE: &[u8] = b"Subtitle\0";
479pub const GST_ELEMENT_FACTORY_KLASS_MEDIA_VIDEO: &[u8] = b"Video\0";
480pub const GST_ELEMENT_FACTORY_KLASS_MUXER: &[u8] = b"Muxer\0";
481pub const GST_ELEMENT_FACTORY_KLASS_PARSER: &[u8] = b"Parser\0";
482pub const GST_ELEMENT_FACTORY_KLASS_PAYLOADER: &[u8] = b"Payloader\0";
483pub const GST_ELEMENT_FACTORY_KLASS_SINK: &[u8] = b"Sink\0";
484pub const GST_ELEMENT_FACTORY_KLASS_SRC: &[u8] = b"Source\0";
485pub const GST_ELEMENT_FACTORY_TYPE_ANY: GstElementFactoryListType = 562949953421311;
486pub const GST_ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS: GstElementFactoryListType = 3940649673949188;
487pub const GST_ELEMENT_FACTORY_TYPE_AUDIO_ENCODER: GstElementFactoryListType = 1125899906842626;
488pub const GST_ELEMENT_FACTORY_TYPE_DECODABLE: GstElementFactoryListType = 1377;
489pub const GST_ELEMENT_FACTORY_TYPE_DECODER: GstElementFactoryListType = 1;
490pub const GST_ELEMENT_FACTORY_TYPE_DECRYPTOR: GstElementFactoryListType = 1024;
491pub const GST_ELEMENT_FACTORY_TYPE_DEMUXER: GstElementFactoryListType = 32;
492pub const GST_ELEMENT_FACTORY_TYPE_DEPAYLOADER: GstElementFactoryListType = 256;
493pub const GST_ELEMENT_FACTORY_TYPE_ENCODER: GstElementFactoryListType = 2;
494pub const GST_ELEMENT_FACTORY_TYPE_ENCRYPTOR: GstElementFactoryListType = 2048;
495pub const GST_ELEMENT_FACTORY_TYPE_FORMATTER: GstElementFactoryListType = 512;
496pub const GST_ELEMENT_FACTORY_TYPE_HARDWARE: GstElementFactoryListType = 4096;
497pub const GST_ELEMENT_FACTORY_TYPE_MAX_ELEMENTS: GstElementFactoryListType = 281474976710656;
498pub const GST_ELEMENT_FACTORY_TYPE_MEDIA_ANY: GstElementFactoryListType = 18446462598732840960;
499pub const GST_ELEMENT_FACTORY_TYPE_MEDIA_AUDIO: GstElementFactoryListType = 1125899906842624;
500pub const GST_ELEMENT_FACTORY_TYPE_MEDIA_IMAGE: GstElementFactoryListType = 2251799813685248;
501pub const GST_ELEMENT_FACTORY_TYPE_MEDIA_METADATA: GstElementFactoryListType = 9007199254740992;
502pub const GST_ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE: GstElementFactoryListType = 4503599627370496;
503pub const GST_ELEMENT_FACTORY_TYPE_MEDIA_VIDEO: GstElementFactoryListType = 562949953421312;
504pub const GST_ELEMENT_FACTORY_TYPE_MUXER: GstElementFactoryListType = 16;
505pub const GST_ELEMENT_FACTORY_TYPE_PARSER: GstElementFactoryListType = 64;
506pub const GST_ELEMENT_FACTORY_TYPE_PAYLOADER: GstElementFactoryListType = 128;
507pub const GST_ELEMENT_FACTORY_TYPE_SINK: GstElementFactoryListType = 4;
508pub const GST_ELEMENT_FACTORY_TYPE_SRC: GstElementFactoryListType = 8;
509pub const GST_ELEMENT_FACTORY_TYPE_TIMESTAMPER: GstElementFactoryListType = 8192;
510pub const GST_ELEMENT_FACTORY_TYPE_VIDEO_ENCODER: GstElementFactoryListType = 2814749767106562;
511pub const GST_ELEMENT_METADATA_AUTHOR: &[u8] = b"author\0";
512pub const GST_ELEMENT_METADATA_DESCRIPTION: &[u8] = b"description\0";
513pub const GST_ELEMENT_METADATA_DOC_URI: &[u8] = b"doc-uri\0";
514pub const GST_ELEMENT_METADATA_ICON_NAME: &[u8] = b"icon-name\0";
515pub const GST_ELEMENT_METADATA_KLASS: &[u8] = b"klass\0";
516pub const GST_ELEMENT_METADATA_LONGNAME: &[u8] = b"long-name\0";
517pub const GST_ELEMENT_METADATA_UNTRUSTED_AWARE: &[u8] = b"untrusted-aware\0";
518pub const GST_EVENT_NUM_SHIFT: c_int = 8;
519pub const GST_EVENT_TYPE_BOTH: GstEventTypeFlags = 3;
520pub const GST_FLAG_SET_MASK_EXACT: c_uint = 4294967295;
521pub const GST_FORMAT_PERCENT_MAX: i64 = 1000000;
522pub const GST_FORMAT_PERCENT_SCALE: i64 = 10000;
523pub const GST_GROUP_ID_INVALID: c_int = 0;
524pub const GST_LICENSE_UNKNOWN: &[u8] = b"unknown\0";
525pub const GST_LOCK_FLAG_READWRITE: GstLockFlags = 3;
526pub const GST_MAP_READWRITE: GstMapFlags = 3;
527pub const GST_META_TAG_MEMORY_REFERENCE_STR: &[u8] = b"memory-reference\0";
528pub const GST_META_TAG_MEMORY_STR: &[u8] = b"memory\0";
529pub const GST_MSECOND: GstClockTimeDiff = 1000000;
530pub const GST_NSECOND: GstClockTimeDiff = 1;
531pub const GST_PARAM_CONDITIONALLY_AVAILABLE: c_int = 16384;
532pub const GST_PARAM_CONTROLLABLE: c_int = 512;
533pub const GST_PARAM_DOC_SHOW_DEFAULT: c_int = 8192;
534pub const GST_PARAM_MUTABLE_PAUSED: c_int = 2048;
535pub const GST_PARAM_MUTABLE_PLAYING: c_int = 4096;
536pub const GST_PARAM_MUTABLE_READY: c_int = 1024;
537pub const GST_PARAM_UNTRUSTED_SENSITIVE: c_int = 32768;
538pub const GST_PARAM_USER_SHIFT: c_int = 65536;
539pub const GST_PROP_KIND_BITRATE: &[u8] = b"bitrate\0";
540pub const GST_PROP_KIND_COLOR: &[u8] = b"color\0";
541pub const GST_PROP_KIND_FIELD_EXTENSIONS: &[u8] = b"extensions\0";
542pub const GST_PROP_KIND_FIELD_MIMETYPES: &[u8] = b"mimetypes\0";
543pub const GST_PROP_KIND_FIELD_SUBTYPE: &[u8] = b"subtype\0";
544pub const GST_PROP_KIND_FIELD_UNIT: &[u8] = b"unit\0";
545pub const GST_PROP_KIND_FONT: &[u8] = b"font\0";
546pub const GST_PROP_KIND_LOCATION: &[u8] = b"location\0";
547pub const GST_PROP_KIND_NETWORK: &[u8] = b"network\0";
548pub const GST_PROP_KIND_SECURITY: &[u8] = b"security\0";
549pub const GST_PROP_KIND_SUBTYPE_ARGB: &[u8] = b"argb\0";
550pub const GST_PROP_KIND_SUBTYPE_DESC: &[u8] = b"desc\0";
551pub const GST_PROP_KIND_SUBTYPE_DIRECTORY: &[u8] = b"directory\0";
552pub const GST_PROP_KIND_SUBTYPE_HOSTNAME: &[u8] = b"hostname\0";
553pub const GST_PROP_KIND_SUBTYPE_PASSWORD: &[u8] = b"password\0";
554pub const GST_PROP_KIND_SUBTYPE_PATH: &[u8] = b"path\0";
555pub const GST_PROP_KIND_SUBTYPE_PATTERN: &[u8] = b"pattern\0";
556pub const GST_PROP_KIND_SUBTYPE_URI: &[u8] = b"uri\0";
557pub const GST_PROP_KIND_UNIT_BITS_PER_SEC: &[u8] = b"bits-per-sec\0";
558pub const GST_PROP_KIND_UNIT_BYTES_PER_SEC: &[u8] = b"bytes-per-sec\0";
559pub const GST_PROP_KIND_UNIT_KILOBITS_PER_SEC: &[u8] = b"kilobits-per-sec\0";
560pub const GST_PROTECTION_SYSTEM_ID_CAPS_FIELD: &[u8] = b"protection-system\0";
561pub const GST_PROTECTION_UNSPECIFIED_SYSTEM_ID: &[u8] = b"unspecified-system-id\0";
562pub const GST_QUERY_NUM_SHIFT: c_int = 8;
563pub const GST_QUERY_TYPE_BOTH: GstQueryTypeFlags = 3;
564pub const GST_SECOND: GstClockTimeDiff = 1000000000;
565pub const GST_SEGMENT_INSTANT_FLAGS: c_int = 912;
566pub const GST_SEQNUM_INVALID: c_int = 0;
567pub const GST_TAG_ALBUM: &[u8] = b"album\0";
568pub const GST_TAG_ALBUM_ARTIST: &[u8] = b"album-artist\0";
569pub const GST_TAG_ALBUM_ARTIST_SORTNAME: &[u8] = b"album-artist-sortname\0";
570pub const GST_TAG_ALBUM_GAIN: &[u8] = b"replaygain-album-gain\0";
571pub const GST_TAG_ALBUM_GAIN_R128: &[u8] = b"r128-album-gain\0";
572pub const GST_TAG_ALBUM_PEAK: &[u8] = b"replaygain-album-peak\0";
573pub const GST_TAG_ALBUM_SORTNAME: &[u8] = b"album-sortname\0";
574pub const GST_TAG_ALBUM_VOLUME_COUNT: &[u8] = b"album-disc-count\0";
575pub const GST_TAG_ALBUM_VOLUME_NUMBER: &[u8] = b"album-disc-number\0";
576pub const GST_TAG_APPLICATION_DATA: &[u8] = b"application-data\0";
577pub const GST_TAG_APPLICATION_NAME: &[u8] = b"application-name\0";
578pub const GST_TAG_ARTIST: &[u8] = b"artist\0";
579pub const GST_TAG_ARTIST_SORTNAME: &[u8] = b"artist-sortname\0";
580pub const GST_TAG_ATTACHMENT: &[u8] = b"attachment\0";
581pub const GST_TAG_AUDIO_CODEC: &[u8] = b"audio-codec\0";
582pub const GST_TAG_BEATS_PER_MINUTE: &[u8] = b"beats-per-minute\0";
583pub const GST_TAG_BITRATE: &[u8] = b"bitrate\0";
584pub const GST_TAG_CODEC: &[u8] = b"codec\0";
585pub const GST_TAG_COMMENT: &[u8] = b"comment\0";
586pub const GST_TAG_COMPOSER: &[u8] = b"composer\0";
587pub const GST_TAG_COMPOSER_SORTNAME: &[u8] = b"composer-sortname\0";
588pub const GST_TAG_CONDUCTOR: &[u8] = b"conductor\0";
589pub const GST_TAG_CONTACT: &[u8] = b"contact\0";
590pub const GST_TAG_CONTAINER_FORMAT: &[u8] = b"container-format\0";
591pub const GST_TAG_CONTAINER_SPECIFIC_TRACK_ID: &[u8] = b"container-specific-track-id\0";
592pub const GST_TAG_COPYRIGHT: &[u8] = b"copyright\0";
593pub const GST_TAG_COPYRIGHT_URI: &[u8] = b"copyright-uri\0";
594pub const GST_TAG_DATE: &[u8] = b"date\0";
595pub const GST_TAG_DATE_TIME: &[u8] = b"datetime\0";
596pub const GST_TAG_DESCRIPTION: &[u8] = b"description\0";
597pub const GST_TAG_DEVICE_MANUFACTURER: &[u8] = b"device-manufacturer\0";
598pub const GST_TAG_DEVICE_MODEL: &[u8] = b"device-model\0";
599pub const GST_TAG_DURATION: &[u8] = b"duration\0";
600pub const GST_TAG_ENCODED_BY: &[u8] = b"encoded-by\0";
601pub const GST_TAG_ENCODER: &[u8] = b"encoder\0";
602pub const GST_TAG_ENCODER_VERSION: &[u8] = b"encoder-version\0";
603pub const GST_TAG_EXTENDED_COMMENT: &[u8] = b"extended-comment\0";
604pub const GST_TAG_GENRE: &[u8] = b"genre\0";
605pub const GST_TAG_GEO_LOCATION_CAPTURE_DIRECTION: &[u8] = b"geo-location-capture-direction\0";
606pub const GST_TAG_GEO_LOCATION_CITY: &[u8] = b"geo-location-city\0";
607pub const GST_TAG_GEO_LOCATION_COUNTRY: &[u8] = b"geo-location-country\0";
608pub const GST_TAG_GEO_LOCATION_ELEVATION: &[u8] = b"geo-location-elevation\0";
609pub const GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR: &[u8] = b"geo-location-horizontal-error\0";
610pub const GST_TAG_GEO_LOCATION_LATITUDE: &[u8] = b"geo-location-latitude\0";
611pub const GST_TAG_GEO_LOCATION_LONGITUDE: &[u8] = b"geo-location-longitude\0";
612pub const GST_TAG_GEO_LOCATION_MOVEMENT_DIRECTION: &[u8] = b"geo-location-movement-direction\0";
613pub const GST_TAG_GEO_LOCATION_MOVEMENT_SPEED: &[u8] = b"geo-location-movement-speed\0";
614pub const GST_TAG_GEO_LOCATION_NAME: &[u8] = b"geo-location-name\0";
615pub const GST_TAG_GEO_LOCATION_SUBLOCATION: &[u8] = b"geo-location-sublocation\0";
616pub const GST_TAG_GROUPING: &[u8] = b"grouping\0";
617pub const GST_TAG_HOMEPAGE: &[u8] = b"homepage\0";
618pub const GST_TAG_IMAGE: &[u8] = b"image\0";
619pub const GST_TAG_IMAGE_ORIENTATION: &[u8] = b"image-orientation\0";
620pub const GST_TAG_INTERPRETED_BY: &[u8] = b"interpreted-by\0";
621pub const GST_TAG_ISRC: &[u8] = b"isrc\0";
622pub const GST_TAG_KEYWORDS: &[u8] = b"keywords\0";
623pub const GST_TAG_LANGUAGE_CODE: &[u8] = b"language-code\0";
624pub const GST_TAG_LANGUAGE_NAME: &[u8] = b"language-name\0";
625pub const GST_TAG_LICENSE: &[u8] = b"license\0";
626pub const GST_TAG_LICENSE_URI: &[u8] = b"license-uri\0";
627pub const GST_TAG_LOCATION: &[u8] = b"location\0";
628pub const GST_TAG_LYRICS: &[u8] = b"lyrics\0";
629pub const GST_TAG_MAXIMUM_BITRATE: &[u8] = b"maximum-bitrate\0";
630pub const GST_TAG_MIDI_BASE_NOTE: &[u8] = b"midi-base-note\0";
631pub const GST_TAG_MINIMUM_BITRATE: &[u8] = b"minimum-bitrate\0";
632pub const GST_TAG_NOMINAL_BITRATE: &[u8] = b"nominal-bitrate\0";
633pub const GST_TAG_ORGANIZATION: &[u8] = b"organization\0";
634pub const GST_TAG_PERFORMER: &[u8] = b"performer\0";
635pub const GST_TAG_PREVIEW_IMAGE: &[u8] = b"preview-image\0";
636pub const GST_TAG_PRIVATE_DATA: &[u8] = b"private-data\0";
637pub const GST_TAG_PUBLISHER: &[u8] = b"publisher\0";
638pub const GST_TAG_REFERENCE_LEVEL: &[u8] = b"replaygain-reference-level\0";
639pub const GST_TAG_SERIAL: &[u8] = b"serial\0";
640pub const GST_TAG_SHOW_EPISODE_NUMBER: &[u8] = b"show-episode-number\0";
641pub const GST_TAG_SHOW_NAME: &[u8] = b"show-name\0";
642pub const GST_TAG_SHOW_SEASON_NUMBER: &[u8] = b"show-season-number\0";
643pub const GST_TAG_SHOW_SORTNAME: &[u8] = b"show-sortname\0";
644pub const GST_TAG_SUBTITLE_CODEC: &[u8] = b"subtitle-codec\0";
645pub const GST_TAG_TITLE: &[u8] = b"title\0";
646pub const GST_TAG_TITLE_SORTNAME: &[u8] = b"title-sortname\0";
647pub const GST_TAG_TRACK_COUNT: &[u8] = b"track-count\0";
648pub const GST_TAG_TRACK_GAIN: &[u8] = b"replaygain-track-gain\0";
649pub const GST_TAG_TRACK_GAIN_R128: &[u8] = b"r128-track-gain\0";
650pub const GST_TAG_TRACK_NUMBER: &[u8] = b"track-number\0";
651pub const GST_TAG_TRACK_PEAK: &[u8] = b"replaygain-track-peak\0";
652pub const GST_TAG_USER_RATING: &[u8] = b"user-rating\0";
653pub const GST_TAG_VERSION: &[u8] = b"version\0";
654pub const GST_TAG_VIDEO_CODEC: &[u8] = b"video-codec\0";
655pub const GST_TASK_POOL_CONTEXT_TYPE: &[u8] = b"gst.task.pool\0";
656pub const GST_TOC_REPEAT_COUNT_INFINITE: c_int = -1;
657pub const GST_TRACE_SPAN_ID_NONE: GstTraceSpanId = 0;
658pub const GST_URI_NO_PORT: c_int = 0;
659pub const GST_USECOND: GstClockTimeDiff = 1000;
660pub const GST_VALUE_EQUAL: c_int = 0;
661pub const GST_VALUE_GREATER_THAN: c_int = 1;
662pub const GST_VALUE_LESS_THAN: c_int = -1;
663pub const GST_VALUE_UNORDERED: c_int = 2;
664
665// Flags
666pub type GstAllocatorFlags = c_uint;
667pub const GST_ALLOCATOR_FLAG_CUSTOM_ALLOC: GstAllocatorFlags = 16;
668#[cfg(feature = "v1_24")]
669#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
670pub const GST_ALLOCATOR_FLAG_NO_COPY: GstAllocatorFlags = 32;
671pub const GST_ALLOCATOR_FLAG_LAST: GstAllocatorFlags = 1048576;
672
673pub type GstBinFlags = c_uint;
674pub const GST_BIN_FLAG_NO_RESYNC: GstBinFlags = 16384;
675pub const GST_BIN_FLAG_STREAMS_AWARE: GstBinFlags = 32768;
676pub const GST_BIN_FLAG_LAST: GstBinFlags = 524288;
677
678pub type GstBufferCopyFlags = c_uint;
679pub const GST_BUFFER_COPY_NONE: GstBufferCopyFlags = 0;
680pub const GST_BUFFER_COPY_FLAGS: GstBufferCopyFlags = 1;
681pub const GST_BUFFER_COPY_TIMESTAMPS: GstBufferCopyFlags = 2;
682pub const GST_BUFFER_COPY_META: GstBufferCopyFlags = 4;
683pub const GST_BUFFER_COPY_MEMORY: GstBufferCopyFlags = 8;
684pub const GST_BUFFER_COPY_MERGE: GstBufferCopyFlags = 16;
685pub const GST_BUFFER_COPY_DEEP: GstBufferCopyFlags = 32;
686
687pub type GstBufferFlags = c_uint;
688pub const GST_BUFFER_FLAG_LIVE: GstBufferFlags = 16;
689pub const GST_BUFFER_FLAG_DECODE_ONLY: GstBufferFlags = 32;
690pub const GST_BUFFER_FLAG_DISCONT: GstBufferFlags = 64;
691pub const GST_BUFFER_FLAG_RESYNC: GstBufferFlags = 128;
692pub const GST_BUFFER_FLAG_CORRUPTED: GstBufferFlags = 256;
693pub const GST_BUFFER_FLAG_MARKER: GstBufferFlags = 512;
694pub const GST_BUFFER_FLAG_HEADER: GstBufferFlags = 1024;
695pub const GST_BUFFER_FLAG_GAP: GstBufferFlags = 2048;
696pub const GST_BUFFER_FLAG_DROPPABLE: GstBufferFlags = 4096;
697pub const GST_BUFFER_FLAG_DELTA_UNIT: GstBufferFlags = 8192;
698pub const GST_BUFFER_FLAG_TAG_MEMORY: GstBufferFlags = 16384;
699pub const GST_BUFFER_FLAG_SYNC_AFTER: GstBufferFlags = 32768;
700pub const GST_BUFFER_FLAG_NON_DROPPABLE: GstBufferFlags = 65536;
701pub const GST_BUFFER_FLAG_LAST: GstBufferFlags = 1048576;
702
703pub type GstBufferPoolAcquireFlags = c_uint;
704pub const GST_BUFFER_POOL_ACQUIRE_FLAG_NONE: GstBufferPoolAcquireFlags = 0;
705pub const GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT: GstBufferPoolAcquireFlags = 1;
706pub const GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT: GstBufferPoolAcquireFlags = 2;
707pub const GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT: GstBufferPoolAcquireFlags = 4;
708pub const GST_BUFFER_POOL_ACQUIRE_FLAG_LAST: GstBufferPoolAcquireFlags = 65536;
709
710pub type GstBusFlags = c_uint;
711pub const GST_BUS_FLUSHING: GstBusFlags = 16;
712pub const GST_BUS_FLAG_LAST: GstBusFlags = 32;
713
714pub type GstCapsFlags = c_uint;
715pub const GST_CAPS_FLAG_ANY: GstCapsFlags = 16;
716
717pub type GstClockFlags = c_uint;
718pub const GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC: GstClockFlags = 16;
719pub const GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC: GstClockFlags = 32;
720pub const GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC: GstClockFlags = 64;
721pub const GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC: GstClockFlags = 128;
722pub const GST_CLOCK_FLAG_CAN_SET_RESOLUTION: GstClockFlags = 256;
723pub const GST_CLOCK_FLAG_CAN_SET_MASTER: GstClockFlags = 512;
724pub const GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC: GstClockFlags = 1024;
725pub const GST_CLOCK_FLAG_LAST: GstClockFlags = 4096;
726
727pub type GstDebugColorFlags = c_uint;
728pub const GST_DEBUG_FG_BLACK: GstDebugColorFlags = 0;
729pub const GST_DEBUG_FG_RED: GstDebugColorFlags = 1;
730pub const GST_DEBUG_FG_GREEN: GstDebugColorFlags = 2;
731pub const GST_DEBUG_FG_YELLOW: GstDebugColorFlags = 3;
732pub const GST_DEBUG_FG_BLUE: GstDebugColorFlags = 4;
733pub const GST_DEBUG_FG_MAGENTA: GstDebugColorFlags = 5;
734pub const GST_DEBUG_FG_CYAN: GstDebugColorFlags = 6;
735pub const GST_DEBUG_FG_WHITE: GstDebugColorFlags = 7;
736pub const GST_DEBUG_BG_BLACK: GstDebugColorFlags = 0;
737pub const GST_DEBUG_BG_RED: GstDebugColorFlags = 16;
738pub const GST_DEBUG_BG_GREEN: GstDebugColorFlags = 32;
739pub const GST_DEBUG_BG_YELLOW: GstDebugColorFlags = 48;
740pub const GST_DEBUG_BG_BLUE: GstDebugColorFlags = 64;
741pub const GST_DEBUG_BG_MAGENTA: GstDebugColorFlags = 80;
742pub const GST_DEBUG_BG_CYAN: GstDebugColorFlags = 96;
743pub const GST_DEBUG_BG_WHITE: GstDebugColorFlags = 112;
744pub const GST_DEBUG_BOLD: GstDebugColorFlags = 256;
745pub const GST_DEBUG_UNDERLINE: GstDebugColorFlags = 512;
746
747pub type GstDebugGraphDetails = c_uint;
748pub const GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE: GstDebugGraphDetails = 1;
749pub const GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS: GstDebugGraphDetails = 2;
750pub const GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS: GstDebugGraphDetails = 4;
751pub const GST_DEBUG_GRAPH_SHOW_STATES: GstDebugGraphDetails = 8;
752pub const GST_DEBUG_GRAPH_SHOW_FULL_PARAMS: GstDebugGraphDetails = 16;
753pub const GST_DEBUG_GRAPH_SHOW_ALL: GstDebugGraphDetails = 15;
754pub const GST_DEBUG_GRAPH_SHOW_VERBOSE: GstDebugGraphDetails = 4294967295;
755
756pub type GstElementFlags = c_uint;
757pub const GST_ELEMENT_FLAG_LOCKED_STATE: GstElementFlags = 16;
758pub const GST_ELEMENT_FLAG_SINK: GstElementFlags = 32;
759pub const GST_ELEMENT_FLAG_SOURCE: GstElementFlags = 64;
760pub const GST_ELEMENT_FLAG_PROVIDE_CLOCK: GstElementFlags = 128;
761pub const GST_ELEMENT_FLAG_REQUIRE_CLOCK: GstElementFlags = 256;
762pub const GST_ELEMENT_FLAG_INDEXABLE: GstElementFlags = 512;
763pub const GST_ELEMENT_FLAG_LAST: GstElementFlags = 16384;
764
765pub type GstEventTypeFlags = c_uint;
766pub const GST_EVENT_TYPE_UPSTREAM: GstEventTypeFlags = 1;
767pub const GST_EVENT_TYPE_DOWNSTREAM: GstEventTypeFlags = 2;
768pub const GST_EVENT_TYPE_SERIALIZED: GstEventTypeFlags = 4;
769pub const GST_EVENT_TYPE_STICKY: GstEventTypeFlags = 8;
770pub const GST_EVENT_TYPE_STICKY_MULTI: GstEventTypeFlags = 16;
771#[cfg(feature = "v1_30")]
772#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
773pub const GST_EVENT_TYPE_STICKY_FLUSHED: GstEventTypeFlags = 1073741824;
774
775pub type GstGapFlags = c_uint;
776pub const GST_GAP_FLAG_MISSING_DATA: GstGapFlags = 1;
777
778pub type GstLockFlags = c_uint;
779pub const GST_LOCK_FLAG_READ: GstLockFlags = 1;
780pub const GST_LOCK_FLAG_WRITE: GstLockFlags = 2;
781pub const GST_LOCK_FLAG_EXCLUSIVE: GstLockFlags = 4;
782pub const GST_LOCK_FLAG_LAST: GstLockFlags = 256;
783
784pub type GstLogContextFlags = c_uint;
785pub const GST_LOG_CONTEXT_FLAG_NONE: GstLogContextFlags = 0;
786pub const GST_LOG_CONTEXT_FLAG_THROTTLE: GstLogContextFlags = 1;
787
788pub type GstLogContextHashFlags = c_uint;
789pub const GST_LOG_CONTEXT_DEFAULT: GstLogContextHashFlags = 0;
790pub const GST_LOG_CONTEXT_IGNORE_OBJECT: GstLogContextHashFlags = 1;
791pub const GST_LOG_CONTEXT_IGNORE_FORMAT: GstLogContextHashFlags = 2;
792pub const GST_LOG_CONTEXT_IGNORE_FILE: GstLogContextHashFlags = 4;
793pub const GST_LOG_CONTEXT_USE_LINE_NUMBER: GstLogContextHashFlags = 8;
794pub const GST_LOG_CONTEXT_USE_STRING_ARGS: GstLogContextHashFlags = 16;
795
796pub type GstMapFlags = c_uint;
797pub const GST_MAP_READ: GstMapFlags = 1;
798pub const GST_MAP_WRITE: GstMapFlags = 2;
799#[cfg(feature = "v1_28")]
800#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
801pub const GST_MAP_REF_MEMORY: GstMapFlags = 256;
802pub const GST_MAP_FLAG_LAST: GstMapFlags = 65536;
803
804pub type GstMemoryFlags = c_uint;
805pub const GST_MEMORY_FLAG_READONLY: GstMemoryFlags = 2;
806pub const GST_MEMORY_FLAG_NO_SHARE: GstMemoryFlags = 16;
807pub const GST_MEMORY_FLAG_ZERO_PREFIXED: GstMemoryFlags = 32;
808pub const GST_MEMORY_FLAG_ZERO_PADDED: GstMemoryFlags = 64;
809pub const GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS: GstMemoryFlags = 128;
810pub const GST_MEMORY_FLAG_NOT_MAPPABLE: GstMemoryFlags = 256;
811pub const GST_MEMORY_FLAG_LAST: GstMemoryFlags = 1048576;
812
813pub type GstMessageType = c_uint;
814pub const GST_MESSAGE_UNKNOWN: GstMessageType = 0;
815pub const GST_MESSAGE_EOS: GstMessageType = 1;
816pub const GST_MESSAGE_ERROR: GstMessageType = 2;
817pub const GST_MESSAGE_WARNING: GstMessageType = 4;
818pub const GST_MESSAGE_INFO: GstMessageType = 8;
819pub const GST_MESSAGE_TAG: GstMessageType = 16;
820pub const GST_MESSAGE_BUFFERING: GstMessageType = 32;
821pub const GST_MESSAGE_STATE_CHANGED: GstMessageType = 64;
822pub const GST_MESSAGE_STATE_DIRTY: GstMessageType = 128;
823pub const GST_MESSAGE_STEP_DONE: GstMessageType = 256;
824pub const GST_MESSAGE_CLOCK_PROVIDE: GstMessageType = 512;
825pub const GST_MESSAGE_CLOCK_LOST: GstMessageType = 1024;
826pub const GST_MESSAGE_NEW_CLOCK: GstMessageType = 2048;
827pub const GST_MESSAGE_STRUCTURE_CHANGE: GstMessageType = 4096;
828pub const GST_MESSAGE_STREAM_STATUS: GstMessageType = 8192;
829pub const GST_MESSAGE_APPLICATION: GstMessageType = 16384;
830pub const GST_MESSAGE_ELEMENT: GstMessageType = 32768;
831pub const GST_MESSAGE_SEGMENT_START: GstMessageType = 65536;
832pub const GST_MESSAGE_SEGMENT_DONE: GstMessageType = 131072;
833pub const GST_MESSAGE_DURATION_CHANGED: GstMessageType = 262144;
834pub const GST_MESSAGE_LATENCY: GstMessageType = 524288;
835pub const GST_MESSAGE_ASYNC_START: GstMessageType = 1048576;
836pub const GST_MESSAGE_ASYNC_DONE: GstMessageType = 2097152;
837pub const GST_MESSAGE_REQUEST_STATE: GstMessageType = 4194304;
838pub const GST_MESSAGE_STEP_START: GstMessageType = 8388608;
839pub const GST_MESSAGE_QOS: GstMessageType = 16777216;
840pub const GST_MESSAGE_PROGRESS: GstMessageType = 33554432;
841pub const GST_MESSAGE_TOC: GstMessageType = 67108864;
842pub const GST_MESSAGE_RESET_TIME: GstMessageType = 134217728;
843pub const GST_MESSAGE_STREAM_START: GstMessageType = 268435456;
844pub const GST_MESSAGE_NEED_CONTEXT: GstMessageType = 536870912;
845pub const GST_MESSAGE_HAVE_CONTEXT: GstMessageType = 1073741824;
846pub const GST_MESSAGE_EXTENDED: GstMessageType = 2147483648;
847pub const GST_MESSAGE_DEVICE_ADDED: GstMessageType = 2147483649;
848pub const GST_MESSAGE_DEVICE_REMOVED: GstMessageType = 2147483650;
849pub const GST_MESSAGE_PROPERTY_NOTIFY: GstMessageType = 2147483651;
850pub const GST_MESSAGE_STREAM_COLLECTION: GstMessageType = 2147483652;
851pub const GST_MESSAGE_STREAMS_SELECTED: GstMessageType = 2147483653;
852pub const GST_MESSAGE_REDIRECT: GstMessageType = 2147483654;
853pub const GST_MESSAGE_DEVICE_CHANGED: GstMessageType = 2147483655;
854pub const GST_MESSAGE_INSTANT_RATE_REQUEST: GstMessageType = 2147483656;
855#[cfg(feature = "v1_28")]
856#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
857pub const GST_MESSAGE_DEVICE_MONITOR_STARTED: GstMessageType = 2147483657;
858pub const GST_MESSAGE_ANY: GstMessageType = 4294967295;
859
860pub type GstMetaFlags = c_uint;
861pub const GST_META_FLAG_NONE: GstMetaFlags = 0;
862pub const GST_META_FLAG_READONLY: GstMetaFlags = 1;
863pub const GST_META_FLAG_POOLED: GstMetaFlags = 2;
864pub const GST_META_FLAG_LOCKED: GstMetaFlags = 4;
865pub const GST_META_FLAG_LAST: GstMetaFlags = 65536;
866
867pub type GstMiniObjectFlags = c_uint;
868pub const GST_MINI_OBJECT_FLAG_LOCKABLE: GstMiniObjectFlags = 1;
869pub const GST_MINI_OBJECT_FLAG_LOCK_READONLY: GstMiniObjectFlags = 2;
870pub const GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED: GstMiniObjectFlags = 4;
871pub const GST_MINI_OBJECT_FLAG_LAST: GstMiniObjectFlags = 16;
872
873pub type GstObjectFlags = c_uint;
874pub const GST_OBJECT_FLAG_MAY_BE_LEAKED: GstObjectFlags = 1;
875#[cfg(feature = "v1_24")]
876#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
877pub const GST_OBJECT_FLAG_CONSTRUCTED: GstObjectFlags = 2;
878pub const GST_OBJECT_FLAG_LAST: GstObjectFlags = 16;
879
880pub type GstPadFlags = c_uint;
881pub const GST_PAD_FLAG_BLOCKED: GstPadFlags = 16;
882pub const GST_PAD_FLAG_FLUSHING: GstPadFlags = 32;
883pub const GST_PAD_FLAG_EOS: GstPadFlags = 64;
884pub const GST_PAD_FLAG_BLOCKING: GstPadFlags = 128;
885pub const GST_PAD_FLAG_NEED_PARENT: GstPadFlags = 256;
886pub const GST_PAD_FLAG_NEED_RECONFIGURE: GstPadFlags = 512;
887pub const GST_PAD_FLAG_PENDING_EVENTS: GstPadFlags = 1024;
888pub const GST_PAD_FLAG_FIXED_CAPS: GstPadFlags = 2048;
889pub const GST_PAD_FLAG_PROXY_CAPS: GstPadFlags = 4096;
890pub const GST_PAD_FLAG_PROXY_ALLOCATION: GstPadFlags = 8192;
891pub const GST_PAD_FLAG_PROXY_SCHEDULING: GstPadFlags = 16384;
892pub const GST_PAD_FLAG_ACCEPT_INTERSECT: GstPadFlags = 32768;
893pub const GST_PAD_FLAG_ACCEPT_TEMPLATE: GstPadFlags = 65536;
894pub const GST_PAD_FLAG_LAST: GstPadFlags = 1048576;
895
896pub type GstPadLinkCheck = c_uint;
897pub const GST_PAD_LINK_CHECK_NOTHING: GstPadLinkCheck = 0;
898pub const GST_PAD_LINK_CHECK_HIERARCHY: GstPadLinkCheck = 1;
899pub const GST_PAD_LINK_CHECK_TEMPLATE_CAPS: GstPadLinkCheck = 2;
900pub const GST_PAD_LINK_CHECK_CAPS: GstPadLinkCheck = 4;
901pub const GST_PAD_LINK_CHECK_NO_RECONFIGURE: GstPadLinkCheck = 8;
902pub const GST_PAD_LINK_CHECK_DEFAULT: GstPadLinkCheck = 5;
903
904pub type GstPadProbeType = c_uint;
905pub const GST_PAD_PROBE_TYPE_INVALID: GstPadProbeType = 0;
906pub const GST_PAD_PROBE_TYPE_IDLE: GstPadProbeType = 1;
907pub const GST_PAD_PROBE_TYPE_BLOCK: GstPadProbeType = 2;
908pub const GST_PAD_PROBE_TYPE_BUFFER: GstPadProbeType = 16;
909pub const GST_PAD_PROBE_TYPE_BUFFER_LIST: GstPadProbeType = 32;
910pub const GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM: GstPadProbeType = 64;
911pub const GST_PAD_PROBE_TYPE_EVENT_UPSTREAM: GstPadProbeType = 128;
912pub const GST_PAD_PROBE_TYPE_EVENT_FLUSH: GstPadProbeType = 256;
913pub const GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM: GstPadProbeType = 512;
914pub const GST_PAD_PROBE_TYPE_QUERY_UPSTREAM: GstPadProbeType = 1024;
915pub const GST_PAD_PROBE_TYPE_PUSH: GstPadProbeType = 4096;
916pub const GST_PAD_PROBE_TYPE_PULL: GstPadProbeType = 8192;
917pub const GST_PAD_PROBE_TYPE_BLOCKING: GstPadProbeType = 3;
918pub const GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM: GstPadProbeType = 112;
919pub const GST_PAD_PROBE_TYPE_DATA_UPSTREAM: GstPadProbeType = 128;
920pub const GST_PAD_PROBE_TYPE_DATA_BOTH: GstPadProbeType = 240;
921pub const GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM: GstPadProbeType = 114;
922pub const GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM: GstPadProbeType = 130;
923pub const GST_PAD_PROBE_TYPE_EVENT_BOTH: GstPadProbeType = 192;
924pub const GST_PAD_PROBE_TYPE_QUERY_BOTH: GstPadProbeType = 1536;
925pub const GST_PAD_PROBE_TYPE_ALL_BOTH: GstPadProbeType = 1776;
926pub const GST_PAD_PROBE_TYPE_SCHEDULING: GstPadProbeType = 12288;
927
928pub type GstPadTemplateFlags = c_uint;
929pub const GST_PAD_TEMPLATE_FLAG_LAST: GstPadTemplateFlags = 256;
930
931pub type GstParseFlags = c_uint;
932pub const GST_PARSE_FLAG_NONE: GstParseFlags = 0;
933pub const GST_PARSE_FLAG_FATAL_ERRORS: GstParseFlags = 1;
934pub const GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS: GstParseFlags = 2;
935pub const GST_PARSE_FLAG_PLACE_IN_BIN: GstParseFlags = 4;
936#[cfg(feature = "v1_30")]
937#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
938pub const GST_PARSE_FLAG_NO_UNTRUSTED: GstParseFlags = 8;
939
940pub type GstPipelineFlags = c_uint;
941pub const GST_PIPELINE_FLAG_FIXED_CLOCK: GstPipelineFlags = 524288;
942pub const GST_PIPELINE_FLAG_LAST: GstPipelineFlags = 8388608;
943
944pub type GstPluginAPIFlags = c_uint;
945pub const GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS: GstPluginAPIFlags = 1;
946
947pub type GstPluginDependencyFlags = c_uint;
948pub const GST_PLUGIN_DEPENDENCY_FLAG_NONE: GstPluginDependencyFlags = 0;
949pub const GST_PLUGIN_DEPENDENCY_FLAG_RECURSE: GstPluginDependencyFlags = 1;
950pub const GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY: GstPluginDependencyFlags = 2;
951pub const GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX: GstPluginDependencyFlags = 4;
952pub const GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX: GstPluginDependencyFlags = 8;
953pub const GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE: GstPluginDependencyFlags = 16;
954
955pub type GstPluginFlags = c_uint;
956pub const GST_PLUGIN_FLAG_CACHED: GstPluginFlags = 16;
957pub const GST_PLUGIN_FLAG_BLACKLISTED: GstPluginFlags = 32;
958#[cfg(feature = "v1_30")]
959#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
960pub const GST_PLUGIN_FLAG_STATIC_FEATURES: GstPluginFlags = 64;
961
962pub type GstQueryTypeFlags = c_uint;
963pub const GST_QUERY_TYPE_UPSTREAM: GstQueryTypeFlags = 1;
964pub const GST_QUERY_TYPE_DOWNSTREAM: GstQueryTypeFlags = 2;
965pub const GST_QUERY_TYPE_SERIALIZED: GstQueryTypeFlags = 4;
966
967pub type GstSchedulingFlags = c_uint;
968pub const GST_SCHEDULING_FLAG_SEEKABLE: GstSchedulingFlags = 1;
969pub const GST_SCHEDULING_FLAG_SEQUENTIAL: GstSchedulingFlags = 2;
970pub const GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED: GstSchedulingFlags = 4;
971
972pub type GstSeekFlags = c_uint;
973pub const GST_SEEK_FLAG_NONE: GstSeekFlags = 0;
974pub const GST_SEEK_FLAG_FLUSH: GstSeekFlags = 1;
975pub const GST_SEEK_FLAG_ACCURATE: GstSeekFlags = 2;
976pub const GST_SEEK_FLAG_KEY_UNIT: GstSeekFlags = 4;
977pub const GST_SEEK_FLAG_SEGMENT: GstSeekFlags = 8;
978pub const GST_SEEK_FLAG_TRICKMODE: GstSeekFlags = 16;
979pub const GST_SEEK_FLAG_SKIP: GstSeekFlags = 16;
980pub const GST_SEEK_FLAG_SNAP_BEFORE: GstSeekFlags = 32;
981pub const GST_SEEK_FLAG_SNAP_AFTER: GstSeekFlags = 64;
982pub const GST_SEEK_FLAG_SNAP_NEAREST: GstSeekFlags = 96;
983pub const GST_SEEK_FLAG_TRICKMODE_KEY_UNITS: GstSeekFlags = 128;
984pub const GST_SEEK_FLAG_TRICKMODE_NO_AUDIO: GstSeekFlags = 256;
985pub const GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED: GstSeekFlags = 512;
986pub const GST_SEEK_FLAG_INSTANT_RATE_CHANGE: GstSeekFlags = 1024;
987
988pub type GstSegmentFlags = c_uint;
989pub const GST_SEGMENT_FLAG_NONE: GstSegmentFlags = 0;
990pub const GST_SEGMENT_FLAG_RESET: GstSegmentFlags = 1;
991pub const GST_SEGMENT_FLAG_TRICKMODE: GstSegmentFlags = 16;
992pub const GST_SEGMENT_FLAG_SKIP: GstSegmentFlags = 16;
993pub const GST_SEGMENT_FLAG_SEGMENT: GstSegmentFlags = 8;
994pub const GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS: GstSegmentFlags = 128;
995pub const GST_SEGMENT_FLAG_TRICKMODE_FORWARD_PREDICTED: GstSegmentFlags = 512;
996pub const GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO: GstSegmentFlags = 256;
997
998pub type GstSerializeFlags = c_uint;
999pub const GST_SERIALIZE_FLAG_NONE: GstSerializeFlags = 0;
1000pub const GST_SERIALIZE_FLAG_BACKWARD_COMPAT: GstSerializeFlags = 1;
1001#[cfg(feature = "v1_24")]
1002#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
1003pub const GST_SERIALIZE_FLAG_STRICT: GstSerializeFlags = 2;
1004
1005pub type GstStackTraceFlags = c_uint;
1006pub const GST_STACK_TRACE_SHOW_NONE: GstStackTraceFlags = 0;
1007pub const GST_STACK_TRACE_SHOW_FULL: GstStackTraceFlags = 1;
1008
1009pub type GstStreamFlags = c_uint;
1010pub const GST_STREAM_FLAG_NONE: GstStreamFlags = 0;
1011pub const GST_STREAM_FLAG_SPARSE: GstStreamFlags = 1;
1012pub const GST_STREAM_FLAG_SELECT: GstStreamFlags = 2;
1013pub const GST_STREAM_FLAG_UNSELECT: GstStreamFlags = 4;
1014
1015pub type GstStreamType = c_uint;
1016pub const GST_STREAM_TYPE_UNKNOWN: GstStreamType = 1;
1017pub const GST_STREAM_TYPE_AUDIO: GstStreamType = 2;
1018pub const GST_STREAM_TYPE_VIDEO: GstStreamType = 4;
1019pub const GST_STREAM_TYPE_CONTAINER: GstStreamType = 8;
1020pub const GST_STREAM_TYPE_TEXT: GstStreamType = 16;
1021#[cfg(feature = "v1_28")]
1022#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
1023pub const GST_STREAM_TYPE_METADATA: GstStreamType = 32;
1024
1025pub type GstTracerValueFlags = c_uint;
1026pub const GST_TRACER_VALUE_FLAGS_NONE: GstTracerValueFlags = 0;
1027pub const GST_TRACER_VALUE_FLAGS_OPTIONAL: GstTracerValueFlags = 1;
1028pub const GST_TRACER_VALUE_FLAGS_AGGREGATED: GstTracerValueFlags = 2;
1029
1030// Unions
1031#[derive(Copy, Clone)]
1032#[repr(C)]
1033pub union GstControlBinding_ABI {
1034    pub abi: GstControlBinding_ABI_abi,
1035    pub _gst_reserved: [gpointer; 4],
1036}
1037
1038impl ::std::fmt::Debug for GstControlBinding_ABI {
1039    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1040        f.debug_struct(&format!("GstControlBinding_ABI @ {self:p}"))
1041            .field("abi", unsafe { &self.abi })
1042            .finish()
1043    }
1044}
1045
1046#[derive(Copy, Clone)]
1047#[repr(C)]
1048pub union GstPadProbeInfo_ABI {
1049    pub _gst_reserved: [gpointer; 4],
1050    pub abi: GstPadProbeInfo_ABI_abi,
1051}
1052
1053impl ::std::fmt::Debug for GstPadProbeInfo_ABI {
1054    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1055        f.debug_struct(&format!("GstPadProbeInfo_ABI @ {self:p}"))
1056            .field("_gst_reserved", unsafe { &self._gst_reserved })
1057            .field("abi", unsafe { &self.abi })
1058            .finish()
1059    }
1060}
1061
1062#[derive(Copy, Clone)]
1063#[repr(C)]
1064pub union GstPadTemplate_ABI {
1065    pub _gst_reserved: [gpointer; 4],
1066    pub abi: GstPadTemplate_ABI_abi,
1067}
1068
1069impl ::std::fmt::Debug for GstPadTemplate_ABI {
1070    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1071        f.debug_struct(&format!("GstPadTemplate_ABI @ {self:p}"))
1072            .field("_gst_reserved", unsafe { &self._gst_reserved })
1073            .field("abi", unsafe { &self.abi })
1074            .finish()
1075    }
1076}
1077
1078#[derive(Copy, Clone)]
1079#[repr(C)]
1080pub union GstPad_ABI {
1081    pub _gst_reserved: [gpointer; 4],
1082    pub abi: GstPad_ABI_abi,
1083}
1084
1085impl ::std::fmt::Debug for GstPad_ABI {
1086    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1087        f.debug_struct(&format!("GstPad_ABI @ {self:p}"))
1088            .field("_gst_reserved", unsafe { &self._gst_reserved })
1089            .field("abi", unsafe { &self.abi })
1090            .finish()
1091    }
1092}
1093
1094#[derive(Copy, Clone)]
1095#[repr(C)]
1096pub union GstTraceValue {
1097    pub v_boolean: gboolean,
1098    pub v_int: c_int,
1099    pub v_uint: c_uint,
1100    pub v_int64: i64,
1101    pub v_uint64: u64,
1102    pub v_double: c_double,
1103    pub v_string: *const c_char,
1104    pub v_structure: *mut GstStructure,
1105    pub v_object: *mut gobject::GObject,
1106    pub _gst_reserved: [gpointer; 4],
1107}
1108
1109impl ::std::fmt::Debug for GstTraceValue {
1110    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1111        f.debug_struct(&format!("GstTraceValue @ {self:p}"))
1112            .field("v_boolean", unsafe { &self.v_boolean })
1113            .field("v_int", unsafe { &self.v_int })
1114            .field("v_uint", unsafe { &self.v_uint })
1115            .field("v_int64", unsafe { &self.v_int64 })
1116            .field("v_uint64", unsafe { &self.v_uint64 })
1117            .field("v_double", unsafe { &self.v_double })
1118            .field("v_string", unsafe { &self.v_string })
1119            .field("v_structure", unsafe { &self.v_structure })
1120            .field("v_object", unsafe { &self.v_object })
1121            .finish()
1122    }
1123}
1124
1125// Callbacks
1126pub type GstAllocationMetaParamsAggregator = Option<
1127    unsafe extern "C" fn(
1128        *mut *mut GstStructure,
1129        *const GstStructure,
1130        *const GstStructure,
1131    ) -> gboolean,
1132>;
1133pub type GstBufferForeachMetaFunc =
1134    Option<unsafe extern "C" fn(*mut GstBuffer, *mut *mut GstMeta, gpointer) -> gboolean>;
1135pub type GstBufferListFunc =
1136    Option<unsafe extern "C" fn(*mut *mut GstBuffer, c_uint, gpointer) -> gboolean>;
1137pub type GstBusFunc =
1138    Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage, gpointer) -> gboolean>;
1139pub type GstBusSyncHandler =
1140    Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage, gpointer) -> GstBusSyncReply>;
1141pub type GstCallAsyncFunc = Option<unsafe extern "C" fn(gpointer)>;
1142pub type GstCapsFilterMapFunc =
1143    Option<unsafe extern "C" fn(*mut GstCapsFeatures, *mut GstStructure, gpointer) -> gboolean>;
1144pub type GstCapsForeachFunc =
1145    Option<unsafe extern "C" fn(*mut GstCapsFeatures, *mut GstStructure, gpointer) -> gboolean>;
1146pub type GstCapsMapFunc =
1147    Option<unsafe extern "C" fn(*mut GstCapsFeatures, *mut GstStructure, gpointer) -> gboolean>;
1148pub type GstClockCallback =
1149    Option<unsafe extern "C" fn(*mut GstClock, GstClockTime, GstClockID, gpointer) -> gboolean>;
1150pub type GstControlBindingConvert =
1151    Option<unsafe extern "C" fn(*mut GstControlBinding, c_double, *mut gobject::GValue)>;
1152pub type GstControlSourceGetValue =
1153    Option<unsafe extern "C" fn(*mut GstControlSource, GstClockTime, *mut c_double) -> gboolean>;
1154pub type GstControlSourceGetValueArray = Option<
1155    unsafe extern "C" fn(
1156        *mut GstControlSource,
1157        GstClockTime,
1158        GstClockTime,
1159        c_uint,
1160        *mut c_double,
1161    ) -> gboolean,
1162>;
1163pub type GstCustomMetaTransformFunction = Option<
1164    unsafe extern "C" fn(
1165        *mut GstBuffer,
1166        *mut GstCustomMeta,
1167        *mut GstBuffer,
1168        glib::GQuark,
1169        gpointer,
1170        gpointer,
1171    ) -> gboolean,
1172>;
1173pub type GstDebugFuncPtr = Option<unsafe extern "C" fn()>;
1174pub type GstElementCallAsyncFunc = Option<unsafe extern "C" fn(*mut GstElement, gpointer)>;
1175pub type GstElementForeachPadFunc =
1176    Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad, gpointer) -> gboolean>;
1177pub type GstIteratorCopyFunction =
1178    Option<unsafe extern "C" fn(*const GstIterator, *mut GstIterator)>;
1179pub type GstIteratorFoldFunction = Option<
1180    unsafe extern "C" fn(*const gobject::GValue, *mut gobject::GValue, gpointer) -> gboolean,
1181>;
1182pub type GstIteratorForeachFunction =
1183    Option<unsafe extern "C" fn(*const gobject::GValue, gpointer)>;
1184pub type GstIteratorFreeFunction = Option<unsafe extern "C" fn(*mut GstIterator)>;
1185pub type GstIteratorItemFunction =
1186    Option<unsafe extern "C" fn(*mut GstIterator, *const gobject::GValue) -> GstIteratorItem>;
1187pub type GstIteratorNextFunction =
1188    Option<unsafe extern "C" fn(*mut GstIterator, *mut gobject::GValue) -> GstIteratorResult>;
1189pub type GstIteratorResyncFunction = Option<unsafe extern "C" fn(*mut GstIterator)>;
1190pub type GstLogFunction = Option<
1191    unsafe extern "C" fn(
1192        *mut GstDebugCategory,
1193        GstDebugLevel,
1194        *const c_char,
1195        *const c_char,
1196        c_int,
1197        *mut gobject::GObject,
1198        *mut GstDebugMessage,
1199        gpointer,
1200    ),
1201>;
1202pub type GstMemoryCopyFunction =
1203    Option<unsafe extern "C" fn(*mut GstMemory, ssize_t, ssize_t) -> *mut GstMemory>;
1204pub type GstMemoryIsSpanFunction =
1205    Option<unsafe extern "C" fn(*mut GstMemory, *mut GstMemory, *mut size_t) -> gboolean>;
1206pub type GstMemoryMapFullFunction =
1207    Option<unsafe extern "C" fn(*mut GstMemory, *mut GstMapInfo, size_t) -> gpointer>;
1208pub type GstMemoryMapFunction =
1209    Option<unsafe extern "C" fn(*mut GstMemory, size_t, GstMapFlags) -> gpointer>;
1210pub type GstMemoryShareFunction =
1211    Option<unsafe extern "C" fn(*mut GstMemory, ssize_t, ssize_t) -> *mut GstMemory>;
1212pub type GstMemoryUnmapFullFunction = Option<unsafe extern "C" fn(*mut GstMemory, *mut GstMapInfo)>;
1213pub type GstMemoryUnmapFunction = Option<unsafe extern "C" fn(*mut GstMemory)>;
1214pub type GstMetaClearFunction = Option<unsafe extern "C" fn(*mut GstBuffer, *mut GstMeta)>;
1215pub type GstMetaDeserializeFunction = Option<
1216    unsafe extern "C" fn(*const GstMetaInfo, *mut GstBuffer, *const u8, size_t, u8) -> *mut GstMeta,
1217>;
1218pub type GstMetaFreeFunction = Option<unsafe extern "C" fn(*mut GstMeta, *mut GstBuffer)>;
1219pub type GstMetaInitFunction =
1220    Option<unsafe extern "C" fn(*mut GstMeta, gpointer, *mut GstBuffer) -> gboolean>;
1221pub type GstMetaSerializeFunction =
1222    Option<unsafe extern "C" fn(*const GstMeta, *mut GstByteArrayInterface, *mut u8) -> gboolean>;
1223pub type GstMetaTransformFunction = Option<
1224    unsafe extern "C" fn(
1225        *mut GstBuffer,
1226        *mut GstMeta,
1227        *mut GstBuffer,
1228        glib::GQuark,
1229        gpointer,
1230    ) -> gboolean,
1231>;
1232pub type GstMiniObjectCopyFunction =
1233    Option<unsafe extern "C" fn(*const GstMiniObject) -> *mut GstMiniObject>;
1234pub type GstMiniObjectDisposeFunction =
1235    Option<unsafe extern "C" fn(*mut GstMiniObject) -> gboolean>;
1236pub type GstMiniObjectFreeFunction = Option<unsafe extern "C" fn(*mut GstMiniObject)>;
1237pub type GstMiniObjectNotify = Option<unsafe extern "C" fn(gpointer, *mut GstMiniObject)>;
1238pub type GstObjectCallAsyncFunc = Option<unsafe extern "C" fn(*mut GstObject, gpointer)>;
1239pub type GstPadActivateFunction =
1240    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject) -> gboolean>;
1241pub type GstPadActivateModeFunction =
1242    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, GstPadMode, gboolean) -> gboolean>;
1243pub type GstPadChainFunction =
1244    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstBuffer) -> GstFlowReturn>;
1245pub type GstPadChainListFunction =
1246    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstBufferList) -> GstFlowReturn>;
1247pub type GstPadEventFullFunction =
1248    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstEvent) -> GstFlowReturn>;
1249pub type GstPadEventFunction =
1250    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstEvent) -> gboolean>;
1251pub type GstPadForwardFunction = Option<unsafe extern "C" fn(*mut GstPad, gpointer) -> gboolean>;
1252pub type GstPadGetRangeFunction = Option<
1253    unsafe extern "C" fn(
1254        *mut GstPad,
1255        *mut GstObject,
1256        u64,
1257        c_uint,
1258        *mut *mut GstBuffer,
1259    ) -> GstFlowReturn,
1260>;
1261pub type GstPadIterIntLinkFunction =
1262    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject) -> *mut GstIterator>;
1263pub type GstPadLinkFunction =
1264    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstPad) -> GstPadLinkReturn>;
1265pub type GstPadProbeCallback =
1266    Option<unsafe extern "C" fn(*mut GstPad, *mut GstPadProbeInfo, gpointer) -> GstPadProbeReturn>;
1267pub type GstPadQueryFunction =
1268    Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstQuery) -> gboolean>;
1269pub type GstPadStickyEventsForeachFunction =
1270    Option<unsafe extern "C" fn(*mut GstPad, *mut *mut GstEvent, gpointer) -> gboolean>;
1271pub type GstPadUnlinkFunction = Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject)>;
1272pub type GstPluginFeatureFilter =
1273    Option<unsafe extern "C" fn(*mut GstPluginFeature, gpointer) -> gboolean>;
1274pub type GstPluginFilter = Option<unsafe extern "C" fn(*mut GstPlugin, gpointer) -> gboolean>;
1275pub type GstPluginInitFullFunc = Option<unsafe extern "C" fn(*mut GstPlugin, gpointer) -> gboolean>;
1276pub type GstPluginInitFunc = Option<unsafe extern "C" fn(*mut GstPlugin) -> gboolean>;
1277pub type GstPromiseChangeFunc = Option<unsafe extern "C" fn(*mut GstPromise, gpointer)>;
1278pub type GstStructureFilterMapFunc =
1279    Option<unsafe extern "C" fn(glib::GQuark, *mut gobject::GValue, gpointer) -> gboolean>;
1280pub type GstStructureFilterMapIdStrFunc =
1281    Option<unsafe extern "C" fn(*const GstIdStr, *mut gobject::GValue, gpointer) -> gboolean>;
1282pub type GstStructureForeachFunc =
1283    Option<unsafe extern "C" fn(glib::GQuark, *const gobject::GValue, gpointer) -> gboolean>;
1284pub type GstStructureForeachIdStrFunc =
1285    Option<unsafe extern "C" fn(*const GstIdStr, *const gobject::GValue, gpointer) -> gboolean>;
1286pub type GstStructureMapFunc =
1287    Option<unsafe extern "C" fn(glib::GQuark, *mut gobject::GValue, gpointer) -> gboolean>;
1288pub type GstStructureMapIdStrFunc =
1289    Option<unsafe extern "C" fn(*const GstIdStr, *mut gobject::GValue, gpointer) -> gboolean>;
1290pub type GstTagForeachFunc =
1291    Option<unsafe extern "C" fn(*const GstTagList, *const c_char, gpointer)>;
1292pub type GstTagMergeFunc =
1293    Option<unsafe extern "C" fn(*mut gobject::GValue, *const gobject::GValue)>;
1294pub type GstTaskFunction = Option<unsafe extern "C" fn(gpointer)>;
1295pub type GstTaskPoolFunction = Option<unsafe extern "C" fn(*mut c_void)>;
1296pub type GstTaskThreadFunc =
1297    Option<unsafe extern "C" fn(*mut GstTask, *mut glib::GThread, gpointer)>;
1298pub type GstTypeFindFunction = Option<unsafe extern "C" fn(*mut GstTypeFind, gpointer)>;
1299pub type GstValueCompareFunc =
1300    Option<unsafe extern "C" fn(*const gobject::GValue, *const gobject::GValue) -> c_int>;
1301pub type GstValueDeserializeFunc =
1302    Option<unsafe extern "C" fn(*mut gobject::GValue, *const c_char) -> gboolean>;
1303pub type GstValueDeserializeWithPSpecFunc = Option<
1304    unsafe extern "C" fn(*mut gobject::GValue, *const c_char, *mut gobject::GParamSpec) -> gboolean,
1305>;
1306pub type GstValueHashFunc =
1307    Option<unsafe extern "C" fn(*const gobject::GValue, *mut c_uint) -> gboolean>;
1308pub type GstValueSerializeFunc =
1309    Option<unsafe extern "C" fn(*const gobject::GValue) -> *mut c_char>;
1310
1311// Records
1312#[derive(Copy, Clone)]
1313#[repr(C)]
1314pub struct GstAllocationParams {
1315    pub flags: GstMemoryFlags,
1316    pub align: size_t,
1317    pub prefix: size_t,
1318    pub padding: size_t,
1319    pub _gst_reserved: [gpointer; 4],
1320}
1321
1322impl ::std::fmt::Debug for GstAllocationParams {
1323    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1324        f.debug_struct(&format!("GstAllocationParams @ {self:p}"))
1325            .field("flags", &self.flags)
1326            .field("align", &self.align)
1327            .field("prefix", &self.prefix)
1328            .field("padding", &self.padding)
1329            .finish()
1330    }
1331}
1332
1333#[derive(Copy, Clone)]
1334#[repr(C)]
1335pub struct GstAllocatorClass {
1336    pub object_class: GstObjectClass,
1337    pub alloc: Option<
1338        unsafe extern "C" fn(*mut GstAllocator, size_t, *mut GstAllocationParams) -> *mut GstMemory,
1339    >,
1340    pub free: Option<unsafe extern "C" fn(*mut GstAllocator, *mut GstMemory)>,
1341    pub _gst_reserved: [gpointer; 4],
1342}
1343
1344impl ::std::fmt::Debug for GstAllocatorClass {
1345    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1346        f.debug_struct(&format!("GstAllocatorClass @ {self:p}"))
1347            .field("object_class", &self.object_class)
1348            .field("alloc", &self.alloc)
1349            .field("free", &self.free)
1350            .finish()
1351    }
1352}
1353
1354#[repr(C)]
1355#[allow(dead_code)]
1356pub struct _GstAllocatorPrivate {
1357    _data: [u8; 0],
1358    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1359}
1360
1361pub type GstAllocatorPrivate = _GstAllocatorPrivate;
1362
1363#[repr(C)]
1364#[allow(dead_code)]
1365pub struct GstAtomicQueue {
1366    _data: [u8; 0],
1367    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1368}
1369
1370impl ::std::fmt::Debug for GstAtomicQueue {
1371    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1372        f.debug_struct(&format!("GstAtomicQueue @ {self:p}"))
1373            .finish()
1374    }
1375}
1376
1377#[derive(Copy, Clone)]
1378#[repr(C)]
1379pub struct GstBinClass {
1380    pub parent_class: GstElementClass,
1381    pub pool: *mut glib::GThreadPool,
1382    pub element_added: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement)>,
1383    pub element_removed: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement)>,
1384    pub add_element: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement) -> gboolean>,
1385    pub remove_element: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement) -> gboolean>,
1386    pub handle_message: Option<unsafe extern "C" fn(*mut GstBin, *mut GstMessage)>,
1387    pub do_latency: Option<unsafe extern "C" fn(*mut GstBin) -> gboolean>,
1388    pub deep_element_added: Option<unsafe extern "C" fn(*mut GstBin, *mut GstBin, *mut GstElement)>,
1389    pub deep_element_removed:
1390        Option<unsafe extern "C" fn(*mut GstBin, *mut GstBin, *mut GstElement)>,
1391    pub _gst_reserved: [gpointer; 2],
1392}
1393
1394impl ::std::fmt::Debug for GstBinClass {
1395    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1396        f.debug_struct(&format!("GstBinClass @ {self:p}"))
1397            .field("parent_class", &self.parent_class)
1398            .field("element_added", &self.element_added)
1399            .field("element_removed", &self.element_removed)
1400            .field("add_element", &self.add_element)
1401            .field("remove_element", &self.remove_element)
1402            .field("handle_message", &self.handle_message)
1403            .field("do_latency", &self.do_latency)
1404            .field("deep_element_added", &self.deep_element_added)
1405            .field("deep_element_removed", &self.deep_element_removed)
1406            .finish()
1407    }
1408}
1409
1410#[repr(C)]
1411#[allow(dead_code)]
1412pub struct _GstBinPrivate {
1413    _data: [u8; 0],
1414    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1415}
1416
1417pub type GstBinPrivate = _GstBinPrivate;
1418
1419#[derive(Copy, Clone)]
1420#[repr(C)]
1421pub struct GstBuffer {
1422    pub mini_object: GstMiniObject,
1423    pub pool: *mut GstBufferPool,
1424    pub pts: GstClockTime,
1425    pub dts: GstClockTime,
1426    pub duration: GstClockTime,
1427    pub offset: u64,
1428    pub offset_end: u64,
1429}
1430
1431impl ::std::fmt::Debug for GstBuffer {
1432    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1433        f.debug_struct(&format!("GstBuffer @ {self:p}"))
1434            .field("mini_object", &self.mini_object)
1435            .field("pool", &self.pool)
1436            .field("pts", &self.pts)
1437            .field("dts", &self.dts)
1438            .field("duration", &self.duration)
1439            .field("offset", &self.offset)
1440            .field("offset_end", &self.offset_end)
1441            .finish()
1442    }
1443}
1444
1445#[repr(C)]
1446#[allow(dead_code)]
1447pub struct GstBufferList {
1448    _data: [u8; 0],
1449    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1450}
1451
1452impl ::std::fmt::Debug for GstBufferList {
1453    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1454        f.debug_struct(&format!("GstBufferList @ {self:p}"))
1455            .finish()
1456    }
1457}
1458
1459#[derive(Copy, Clone)]
1460#[repr(C)]
1461pub struct GstBufferPoolAcquireParams {
1462    pub format: GstFormat,
1463    pub start: i64,
1464    pub stop: i64,
1465    pub flags: GstBufferPoolAcquireFlags,
1466    pub _gst_reserved: [gpointer; 4],
1467}
1468
1469impl ::std::fmt::Debug for GstBufferPoolAcquireParams {
1470    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1471        f.debug_struct(&format!("GstBufferPoolAcquireParams @ {self:p}"))
1472            .field("format", &self.format)
1473            .field("start", &self.start)
1474            .field("stop", &self.stop)
1475            .field("flags", &self.flags)
1476            .finish()
1477    }
1478}
1479
1480#[derive(Copy, Clone)]
1481#[repr(C)]
1482pub struct GstBufferPoolClass {
1483    pub object_class: GstObjectClass,
1484    pub get_options: Option<unsafe extern "C" fn(*mut GstBufferPool) -> *mut *const c_char>,
1485    pub set_config: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstStructure) -> gboolean>,
1486    pub start: Option<unsafe extern "C" fn(*mut GstBufferPool) -> gboolean>,
1487    pub stop: Option<unsafe extern "C" fn(*mut GstBufferPool) -> gboolean>,
1488    pub acquire_buffer: Option<
1489        unsafe extern "C" fn(
1490            *mut GstBufferPool,
1491            *mut *mut GstBuffer,
1492            *mut GstBufferPoolAcquireParams,
1493        ) -> GstFlowReturn,
1494    >,
1495    pub alloc_buffer: Option<
1496        unsafe extern "C" fn(
1497            *mut GstBufferPool,
1498            *mut *mut GstBuffer,
1499            *mut GstBufferPoolAcquireParams,
1500        ) -> GstFlowReturn,
1501    >,
1502    pub reset_buffer: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstBuffer)>,
1503    pub release_buffer: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstBuffer)>,
1504    pub free_buffer: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstBuffer)>,
1505    pub flush_start: Option<unsafe extern "C" fn(*mut GstBufferPool)>,
1506    pub flush_stop: Option<unsafe extern "C" fn(*mut GstBufferPool)>,
1507    pub _gst_reserved: [gpointer; 2],
1508}
1509
1510impl ::std::fmt::Debug for GstBufferPoolClass {
1511    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1512        f.debug_struct(&format!("GstBufferPoolClass @ {self:p}"))
1513            .field("object_class", &self.object_class)
1514            .field("get_options", &self.get_options)
1515            .field("set_config", &self.set_config)
1516            .field("start", &self.start)
1517            .field("stop", &self.stop)
1518            .field("acquire_buffer", &self.acquire_buffer)
1519            .field("alloc_buffer", &self.alloc_buffer)
1520            .field("reset_buffer", &self.reset_buffer)
1521            .field("release_buffer", &self.release_buffer)
1522            .field("free_buffer", &self.free_buffer)
1523            .field("flush_start", &self.flush_start)
1524            .field("flush_stop", &self.flush_stop)
1525            .finish()
1526    }
1527}
1528
1529#[repr(C)]
1530#[allow(dead_code)]
1531pub struct _GstBufferPoolPrivate {
1532    _data: [u8; 0],
1533    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1534}
1535
1536pub type GstBufferPoolPrivate = _GstBufferPoolPrivate;
1537
1538#[derive(Copy, Clone)]
1539#[repr(C)]
1540pub struct GstBusClass {
1541    pub parent_class: GstObjectClass,
1542    pub message: Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage)>,
1543    pub sync_message: Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage)>,
1544    pub _gst_reserved: [gpointer; 4],
1545}
1546
1547impl ::std::fmt::Debug for GstBusClass {
1548    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1549        f.debug_struct(&format!("GstBusClass @ {self:p}"))
1550            .field("parent_class", &self.parent_class)
1551            .field("message", &self.message)
1552            .field("sync_message", &self.sync_message)
1553            .finish()
1554    }
1555}
1556
1557#[repr(C)]
1558#[allow(dead_code)]
1559pub struct _GstBusPrivate {
1560    _data: [u8; 0],
1561    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1562}
1563
1564pub type GstBusPrivate = _GstBusPrivate;
1565
1566#[derive(Copy, Clone)]
1567#[repr(C)]
1568pub struct GstByteArrayInterface {
1569    pub data: *mut u8,
1570    pub len: size_t,
1571    pub resize: Option<unsafe extern "C" fn(*mut GstByteArrayInterface, size_t) -> gboolean>,
1572    pub _gst_reserved: [gpointer; 4],
1573}
1574
1575impl ::std::fmt::Debug for GstByteArrayInterface {
1576    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1577        f.debug_struct(&format!("GstByteArrayInterface @ {self:p}"))
1578            .field("data", &self.data)
1579            .field("len", &self.len)
1580            .field("resize", &self.resize)
1581            .finish()
1582    }
1583}
1584
1585#[derive(Copy, Clone)]
1586#[repr(C)]
1587pub struct GstCaps {
1588    pub mini_object: GstMiniObject,
1589}
1590
1591impl ::std::fmt::Debug for GstCaps {
1592    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1593        f.debug_struct(&format!("GstCaps @ {self:p}"))
1594            .field("mini_object", &self.mini_object)
1595            .finish()
1596    }
1597}
1598
1599#[repr(C)]
1600#[allow(dead_code)]
1601pub struct GstCapsFeatures {
1602    _data: [u8; 0],
1603    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1604}
1605
1606impl ::std::fmt::Debug for GstCapsFeatures {
1607    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1608        f.debug_struct(&format!("GstCapsFeatures @ {self:p}"))
1609            .finish()
1610    }
1611}
1612
1613#[derive(Copy, Clone)]
1614#[repr(C)]
1615pub struct GstChildProxyInterface {
1616    pub parent: gobject::GTypeInterface,
1617    pub get_child_by_name:
1618        Option<unsafe extern "C" fn(*mut GstChildProxy, *const c_char) -> *mut gobject::GObject>,
1619    pub get_child_by_index:
1620        Option<unsafe extern "C" fn(*mut GstChildProxy, c_uint) -> *mut gobject::GObject>,
1621    pub get_children_count: Option<unsafe extern "C" fn(*mut GstChildProxy) -> c_uint>,
1622    pub child_added:
1623        Option<unsafe extern "C" fn(*mut GstChildProxy, *mut gobject::GObject, *const c_char)>,
1624    pub child_removed:
1625        Option<unsafe extern "C" fn(*mut GstChildProxy, *mut gobject::GObject, *const c_char)>,
1626    pub _gst_reserved: [gpointer; 4],
1627}
1628
1629impl ::std::fmt::Debug for GstChildProxyInterface {
1630    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1631        f.debug_struct(&format!("GstChildProxyInterface @ {self:p}"))
1632            .field("parent", &self.parent)
1633            .field("get_child_by_name", &self.get_child_by_name)
1634            .field("get_child_by_index", &self.get_child_by_index)
1635            .field("get_children_count", &self.get_children_count)
1636            .field("child_added", &self.child_added)
1637            .field("child_removed", &self.child_removed)
1638            .finish()
1639    }
1640}
1641
1642#[derive(Copy, Clone)]
1643#[repr(C)]
1644pub struct GstClockClass {
1645    pub parent_class: GstObjectClass,
1646    pub change_resolution:
1647        Option<unsafe extern "C" fn(*mut GstClock, GstClockTime, GstClockTime) -> GstClockTime>,
1648    pub get_resolution: Option<unsafe extern "C" fn(*mut GstClock) -> GstClockTime>,
1649    pub get_internal_time: Option<unsafe extern "C" fn(*mut GstClock) -> GstClockTime>,
1650    pub wait: Option<
1651        unsafe extern "C" fn(
1652            *mut GstClock,
1653            *mut GstClockEntry,
1654            *mut GstClockTimeDiff,
1655        ) -> GstClockReturn,
1656    >,
1657    pub wait_async:
1658        Option<unsafe extern "C" fn(*mut GstClock, *mut GstClockEntry) -> GstClockReturn>,
1659    pub unschedule: Option<unsafe extern "C" fn(*mut GstClock, *mut GstClockEntry)>,
1660    pub _gst_reserved: [gpointer; 4],
1661}
1662
1663impl ::std::fmt::Debug for GstClockClass {
1664    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1665        f.debug_struct(&format!("GstClockClass @ {self:p}"))
1666            .field("parent_class", &self.parent_class)
1667            .field("change_resolution", &self.change_resolution)
1668            .field("get_resolution", &self.get_resolution)
1669            .field("get_internal_time", &self.get_internal_time)
1670            .field("wait", &self.wait)
1671            .field("wait_async", &self.wait_async)
1672            .field("unschedule", &self.unschedule)
1673            .finish()
1674    }
1675}
1676
1677#[derive(Copy, Clone)]
1678#[repr(C)]
1679pub struct GstClockEntry {
1680    pub refcount: c_int,
1681    pub clock: *mut GstClock,
1682    pub type_: GstClockEntryType,
1683    pub time: GstClockTime,
1684    pub interval: GstClockTime,
1685    pub status: GstClockReturn,
1686    pub func: GstClockCallback,
1687    pub user_data: gpointer,
1688    pub destroy_data: glib::GDestroyNotify,
1689    pub unscheduled: gboolean,
1690    pub woken_up: gboolean,
1691    pub _gst_reserved: [gpointer; 4],
1692}
1693
1694impl ::std::fmt::Debug for GstClockEntry {
1695    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1696        f.debug_struct(&format!("GstClockEntry @ {self:p}"))
1697            .field("refcount", &self.refcount)
1698            .finish()
1699    }
1700}
1701
1702#[repr(C)]
1703#[allow(dead_code)]
1704pub struct _GstClockPrivate {
1705    _data: [u8; 0],
1706    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1707}
1708
1709pub type GstClockPrivate = _GstClockPrivate;
1710
1711#[repr(C)]
1712#[allow(dead_code)]
1713pub struct GstContext {
1714    _data: [u8; 0],
1715    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1716}
1717
1718impl ::std::fmt::Debug for GstContext {
1719    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1720        f.debug_struct(&format!("GstContext @ {self:p}")).finish()
1721    }
1722}
1723
1724#[derive(Copy, Clone)]
1725#[repr(C)]
1726pub struct GstControlBindingClass {
1727    pub parent_class: GstObjectClass,
1728    pub sync_values: Option<
1729        unsafe extern "C" fn(
1730            *mut GstControlBinding,
1731            *mut GstObject,
1732            GstClockTime,
1733            GstClockTime,
1734        ) -> gboolean,
1735    >,
1736    pub get_value:
1737        Option<unsafe extern "C" fn(*mut GstControlBinding, GstClockTime) -> *mut gobject::GValue>,
1738    pub get_value_array: Option<
1739        unsafe extern "C" fn(
1740            *mut GstControlBinding,
1741            GstClockTime,
1742            GstClockTime,
1743            c_uint,
1744            gpointer,
1745        ) -> gboolean,
1746    >,
1747    pub get_g_value_array: Option<
1748        unsafe extern "C" fn(
1749            *mut GstControlBinding,
1750            GstClockTime,
1751            GstClockTime,
1752            c_uint,
1753            *mut gobject::GValue,
1754        ) -> gboolean,
1755    >,
1756    pub _gst_reserved: [gpointer; 4],
1757}
1758
1759impl ::std::fmt::Debug for GstControlBindingClass {
1760    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1761        f.debug_struct(&format!("GstControlBindingClass @ {self:p}"))
1762            .field("parent_class", &self.parent_class)
1763            .field("sync_values", &self.sync_values)
1764            .field("get_value", &self.get_value)
1765            .field("get_value_array", &self.get_value_array)
1766            .field("get_g_value_array", &self.get_g_value_array)
1767            .finish()
1768    }
1769}
1770
1771#[repr(C)]
1772#[allow(dead_code)]
1773pub struct _GstControlBindingPrivate {
1774    _data: [u8; 0],
1775    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1776}
1777
1778pub type GstControlBindingPrivate = _GstControlBindingPrivate;
1779
1780#[derive(Copy, Clone)]
1781#[repr(C)]
1782pub struct GstControlBinding_ABI_abi {
1783    pub priv_: *mut GstControlBindingPrivate,
1784}
1785
1786impl ::std::fmt::Debug for GstControlBinding_ABI_abi {
1787    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1788        f.debug_struct(&format!("GstControlBinding_ABI_abi @ {self:p}"))
1789            .finish()
1790    }
1791}
1792
1793#[derive(Copy, Clone)]
1794#[repr(C)]
1795pub struct GstControlSourceClass {
1796    pub parent_class: GstObjectClass,
1797    pub _gst_reserved: [gpointer; 4],
1798}
1799
1800impl ::std::fmt::Debug for GstControlSourceClass {
1801    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1802        f.debug_struct(&format!("GstControlSourceClass @ {self:p}"))
1803            .field("parent_class", &self.parent_class)
1804            .finish()
1805    }
1806}
1807
1808#[derive(Copy, Clone)]
1809#[repr(C)]
1810pub struct GstCustomMeta {
1811    pub meta: GstMeta,
1812    pub structure: *mut GstStructure,
1813}
1814
1815impl ::std::fmt::Debug for GstCustomMeta {
1816    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1817        f.debug_struct(&format!("GstCustomMeta @ {self:p}"))
1818            .field("meta", &self.meta)
1819            .field("structure", &self.structure)
1820            .finish()
1821    }
1822}
1823
1824#[repr(C)]
1825#[allow(dead_code)]
1826pub struct GstDateTime {
1827    _data: [u8; 0],
1828    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1829}
1830
1831impl ::std::fmt::Debug for GstDateTime {
1832    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1833        f.debug_struct(&format!("GstDateTime @ {self:p}")).finish()
1834    }
1835}
1836
1837#[derive(Copy, Clone)]
1838#[repr(C)]
1839pub struct GstDebugCategory {
1840    pub threshold: c_int,
1841    pub color: c_uint,
1842    pub name: *const c_char,
1843    pub description: *const c_char,
1844}
1845
1846impl ::std::fmt::Debug for GstDebugCategory {
1847    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1848        f.debug_struct(&format!("GstDebugCategory @ {self:p}"))
1849            .finish()
1850    }
1851}
1852
1853#[repr(C)]
1854#[allow(dead_code)]
1855pub struct _GstDebugMessage {
1856    _data: [u8; 0],
1857    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1858}
1859
1860pub type GstDebugMessage = _GstDebugMessage;
1861
1862#[derive(Copy, Clone)]
1863#[repr(C)]
1864pub struct GstDeviceClass {
1865    pub parent_class: GstObjectClass,
1866    pub create_element:
1867        Option<unsafe extern "C" fn(*mut GstDevice, *const c_char) -> *mut GstElement>,
1868    pub reconfigure_element:
1869        Option<unsafe extern "C" fn(*mut GstDevice, *mut GstElement) -> gboolean>,
1870    pub _gst_reserved: [gpointer; 4],
1871}
1872
1873impl ::std::fmt::Debug for GstDeviceClass {
1874    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1875        f.debug_struct(&format!("GstDeviceClass @ {self:p}"))
1876            .field("parent_class", &self.parent_class)
1877            .field("create_element", &self.create_element)
1878            .field("reconfigure_element", &self.reconfigure_element)
1879            .finish()
1880    }
1881}
1882
1883#[derive(Copy, Clone)]
1884#[repr(C)]
1885pub struct GstDeviceMonitorClass {
1886    pub parent_class: GstObjectClass,
1887    pub _gst_reserved: [gpointer; 4],
1888}
1889
1890impl ::std::fmt::Debug for GstDeviceMonitorClass {
1891    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1892        f.debug_struct(&format!("GstDeviceMonitorClass @ {self:p}"))
1893            .field("parent_class", &self.parent_class)
1894            .finish()
1895    }
1896}
1897
1898#[repr(C)]
1899#[allow(dead_code)]
1900pub struct _GstDeviceMonitorPrivate {
1901    _data: [u8; 0],
1902    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1903}
1904
1905pub type GstDeviceMonitorPrivate = _GstDeviceMonitorPrivate;
1906
1907#[repr(C)]
1908#[allow(dead_code)]
1909pub struct _GstDevicePrivate {
1910    _data: [u8; 0],
1911    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1912}
1913
1914pub type GstDevicePrivate = _GstDevicePrivate;
1915
1916#[derive(Copy, Clone)]
1917#[repr(C)]
1918pub struct GstDeviceProviderClass {
1919    pub parent_class: GstObjectClass,
1920    pub factory: *mut GstDeviceProviderFactory,
1921    pub probe: Option<unsafe extern "C" fn(*mut GstDeviceProvider) -> *mut glib::GList>,
1922    pub start: Option<unsafe extern "C" fn(*mut GstDeviceProvider) -> gboolean>,
1923    pub stop: Option<unsafe extern "C" fn(*mut GstDeviceProvider)>,
1924    pub metadata: gpointer,
1925    pub _gst_reserved: [gpointer; 4],
1926}
1927
1928impl ::std::fmt::Debug for GstDeviceProviderClass {
1929    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1930        f.debug_struct(&format!("GstDeviceProviderClass @ {self:p}"))
1931            .field("parent_class", &self.parent_class)
1932            .field("factory", &self.factory)
1933            .field("probe", &self.probe)
1934            .field("start", &self.start)
1935            .field("stop", &self.stop)
1936            .finish()
1937    }
1938}
1939
1940#[repr(C)]
1941#[allow(dead_code)]
1942pub struct _GstDeviceProviderFactoryClass {
1943    _data: [u8; 0],
1944    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1945}
1946
1947pub type GstDeviceProviderFactoryClass = _GstDeviceProviderFactoryClass;
1948
1949#[repr(C)]
1950#[allow(dead_code)]
1951pub struct _GstDeviceProviderPrivate {
1952    _data: [u8; 0],
1953    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1954}
1955
1956pub type GstDeviceProviderPrivate = _GstDeviceProviderPrivate;
1957
1958#[repr(C)]
1959#[allow(dead_code)]
1960pub struct _GstDynamicTypeFactoryClass {
1961    _data: [u8; 0],
1962    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1963}
1964
1965pub type GstDynamicTypeFactoryClass = _GstDynamicTypeFactoryClass;
1966
1967#[derive(Copy, Clone)]
1968#[repr(C)]
1969pub struct GstElementClass {
1970    pub parent_class: GstObjectClass,
1971    pub metadata: gpointer,
1972    pub elementfactory: *mut GstElementFactory,
1973    pub padtemplates: *mut glib::GList,
1974    pub numpadtemplates: c_int,
1975    pub pad_templ_cookie: u32,
1976    pub pad_added: Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad)>,
1977    pub pad_removed: Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad)>,
1978    pub no_more_pads: Option<unsafe extern "C" fn(*mut GstElement)>,
1979    pub request_new_pad: Option<
1980        unsafe extern "C" fn(
1981            *mut GstElement,
1982            *mut GstPadTemplate,
1983            *const c_char,
1984            *const GstCaps,
1985        ) -> *mut GstPad,
1986    >,
1987    pub release_pad: Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad)>,
1988    pub get_state: Option<
1989        unsafe extern "C" fn(
1990            *mut GstElement,
1991            *mut GstState,
1992            *mut GstState,
1993            GstClockTime,
1994        ) -> GstStateChangeReturn,
1995    >,
1996    pub set_state: Option<unsafe extern "C" fn(*mut GstElement, GstState) -> GstStateChangeReturn>,
1997    pub change_state:
1998        Option<unsafe extern "C" fn(*mut GstElement, GstStateChange) -> GstStateChangeReturn>,
1999    pub state_changed: Option<unsafe extern "C" fn(*mut GstElement, GstState, GstState, GstState)>,
2000    pub set_bus: Option<unsafe extern "C" fn(*mut GstElement, *mut GstBus)>,
2001    pub provide_clock: Option<unsafe extern "C" fn(*mut GstElement) -> *mut GstClock>,
2002    pub set_clock: Option<unsafe extern "C" fn(*mut GstElement, *mut GstClock) -> gboolean>,
2003    pub send_event: Option<unsafe extern "C" fn(*mut GstElement, *mut GstEvent) -> gboolean>,
2004    pub query: Option<unsafe extern "C" fn(*mut GstElement, *mut GstQuery) -> gboolean>,
2005    pub post_message: Option<unsafe extern "C" fn(*mut GstElement, *mut GstMessage) -> gboolean>,
2006    pub set_context: Option<unsafe extern "C" fn(*mut GstElement, *mut GstContext)>,
2007    pub _gst_reserved: [gpointer; 18],
2008}
2009
2010impl ::std::fmt::Debug for GstElementClass {
2011    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2012        f.debug_struct(&format!("GstElementClass @ {self:p}"))
2013            .field("parent_class", &self.parent_class)
2014            .field("metadata", &self.metadata)
2015            .field("elementfactory", &self.elementfactory)
2016            .field("padtemplates", &self.padtemplates)
2017            .field("numpadtemplates", &self.numpadtemplates)
2018            .field("pad_templ_cookie", &self.pad_templ_cookie)
2019            .field("pad_added", &self.pad_added)
2020            .field("pad_removed", &self.pad_removed)
2021            .field("no_more_pads", &self.no_more_pads)
2022            .field("request_new_pad", &self.request_new_pad)
2023            .field("release_pad", &self.release_pad)
2024            .field("get_state", &self.get_state)
2025            .field("set_state", &self.set_state)
2026            .field("change_state", &self.change_state)
2027            .field("state_changed", &self.state_changed)
2028            .field("set_bus", &self.set_bus)
2029            .field("provide_clock", &self.provide_clock)
2030            .field("set_clock", &self.set_clock)
2031            .field("send_event", &self.send_event)
2032            .field("query", &self.query)
2033            .field("post_message", &self.post_message)
2034            .field("set_context", &self.set_context)
2035            .finish()
2036    }
2037}
2038
2039#[repr(C)]
2040#[allow(dead_code)]
2041pub struct _GstElementFactoryClass {
2042    _data: [u8; 0],
2043    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2044}
2045
2046pub type GstElementFactoryClass = _GstElementFactoryClass;
2047
2048#[derive(Copy, Clone)]
2049#[repr(C)]
2050pub struct GstEvent {
2051    pub mini_object: GstMiniObject,
2052    pub type_: GstEventType,
2053    pub timestamp: u64,
2054    pub seqnum: u32,
2055}
2056
2057impl ::std::fmt::Debug for GstEvent {
2058    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2059        f.debug_struct(&format!("GstEvent @ {self:p}"))
2060            .field("mini_object", &self.mini_object)
2061            .field("type_", &self.type_)
2062            .field("timestamp", &self.timestamp)
2063            .field("seqnum", &self.seqnum)
2064            .finish()
2065    }
2066}
2067
2068#[derive(Copy, Clone)]
2069#[repr(C)]
2070pub struct GstFormatDefinition {
2071    pub value: GstFormat,
2072    pub nick: *const c_char,
2073    pub description: *const c_char,
2074    pub quark: glib::GQuark,
2075}
2076
2077impl ::std::fmt::Debug for GstFormatDefinition {
2078    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2079        f.debug_struct(&format!("GstFormatDefinition @ {self:p}"))
2080            .field("value", &self.value)
2081            .field("nick", &self.nick)
2082            .field("description", &self.description)
2083            .field("quark", &self.quark)
2084            .finish()
2085    }
2086}
2087
2088#[derive(Copy, Clone)]
2089#[repr(C)]
2090pub struct GstGhostPadClass {
2091    pub parent_class: GstProxyPadClass,
2092    pub _gst_reserved: [gpointer; 4],
2093}
2094
2095impl ::std::fmt::Debug for GstGhostPadClass {
2096    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2097        f.debug_struct(&format!("GstGhostPadClass @ {self:p}"))
2098            .field("parent_class", &self.parent_class)
2099            .finish()
2100    }
2101}
2102
2103#[repr(C)]
2104#[allow(dead_code)]
2105pub struct _GstGhostPadPrivate {
2106    _data: [u8; 0],
2107    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2108}
2109
2110pub type GstGhostPadPrivate = _GstGhostPadPrivate;
2111
2112#[derive(Copy, Clone)]
2113#[repr(C)]
2114pub struct GstIterator {
2115    pub copy: GstIteratorCopyFunction,
2116    pub next: GstIteratorNextFunction,
2117    pub item: GstIteratorItemFunction,
2118    pub resync: GstIteratorResyncFunction,
2119    pub free: GstIteratorFreeFunction,
2120    pub pushed: *mut GstIterator,
2121    pub type_: GType,
2122    pub lock: *mut glib::GMutex,
2123    pub cookie: u32,
2124    pub master_cookie: *mut u32,
2125    pub size: c_uint,
2126    pub _gst_reserved: [gpointer; 4],
2127}
2128
2129impl ::std::fmt::Debug for GstIterator {
2130    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2131        f.debug_struct(&format!("GstIterator @ {self:p}"))
2132            .field("copy", &self.copy)
2133            .field("next", &self.next)
2134            .field("item", &self.item)
2135            .field("resync", &self.resync)
2136            .field("free", &self.free)
2137            .field("pushed", &self.pushed)
2138            .field("type_", &self.type_)
2139            .field("lock", &self.lock)
2140            .field("cookie", &self.cookie)
2141            .field("master_cookie", &self.master_cookie)
2142            .field("size", &self.size)
2143            .finish()
2144    }
2145}
2146
2147#[repr(C)]
2148#[allow(dead_code)]
2149pub struct _GstLogContext {
2150    _data: [u8; 0],
2151    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2152}
2153
2154pub type GstLogContext = _GstLogContext;
2155
2156#[repr(C)]
2157#[allow(dead_code)]
2158pub struct _GstLogContextBuilder {
2159    _data: [u8; 0],
2160    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2161}
2162
2163pub type GstLogContextBuilder = _GstLogContextBuilder;
2164
2165#[derive(Copy, Clone)]
2166#[repr(C)]
2167pub struct GstMapInfo {
2168    pub memory: *mut GstMemory,
2169    pub flags: GstMapFlags,
2170    pub data: *mut u8,
2171    pub size: size_t,
2172    pub maxsize: size_t,
2173    pub user_data: [gpointer; 4],
2174    pub _gst_reserved: [gpointer; 4],
2175}
2176
2177impl ::std::fmt::Debug for GstMapInfo {
2178    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2179        f.debug_struct(&format!("GstMapInfo @ {self:p}"))
2180            .field("memory", &self.memory)
2181            .field("flags", &self.flags)
2182            .field("data", &self.data)
2183            .field("size", &self.size)
2184            .field("maxsize", &self.maxsize)
2185            .field("user_data", &self.user_data)
2186            .finish()
2187    }
2188}
2189
2190#[derive(Copy, Clone)]
2191#[repr(C)]
2192pub struct GstMemory {
2193    pub mini_object: GstMiniObject,
2194    pub allocator: *mut GstAllocator,
2195    pub parent: *mut GstMemory,
2196    pub maxsize: size_t,
2197    pub align: size_t,
2198    pub offset: size_t,
2199    pub size: size_t,
2200}
2201
2202impl ::std::fmt::Debug for GstMemory {
2203    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2204        f.debug_struct(&format!("GstMemory @ {self:p}"))
2205            .field("mini_object", &self.mini_object)
2206            .field("allocator", &self.allocator)
2207            .field("parent", &self.parent)
2208            .field("maxsize", &self.maxsize)
2209            .field("align", &self.align)
2210            .field("offset", &self.offset)
2211            .field("size", &self.size)
2212            .finish()
2213    }
2214}
2215
2216#[derive(Copy, Clone)]
2217#[repr(C)]
2218pub struct GstMessage {
2219    pub mini_object: GstMiniObject,
2220    pub type_: GstMessageType,
2221    pub timestamp: u64,
2222    pub src: *mut GstObject,
2223    pub seqnum: u32,
2224    pub lock: glib::GMutex,
2225    pub cond: glib::GCond,
2226}
2227
2228impl ::std::fmt::Debug for GstMessage {
2229    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2230        f.debug_struct(&format!("GstMessage @ {self:p}"))
2231            .field("mini_object", &self.mini_object)
2232            .field("type_", &self.type_)
2233            .field("timestamp", &self.timestamp)
2234            .field("src", &self.src)
2235            .field("seqnum", &self.seqnum)
2236            .finish()
2237    }
2238}
2239
2240#[derive(Copy, Clone)]
2241#[repr(C)]
2242pub struct GstMeta {
2243    pub flags: GstMetaFlags,
2244    pub info: *const GstMetaInfo,
2245}
2246
2247impl ::std::fmt::Debug for GstMeta {
2248    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2249        f.debug_struct(&format!("GstMeta @ {self:p}"))
2250            .field("flags", &self.flags)
2251            .field("info", &self.info)
2252            .finish()
2253    }
2254}
2255
2256#[repr(C)]
2257#[allow(dead_code)]
2258pub struct _GstMetaFactoryClass {
2259    _data: [u8; 0],
2260    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2261}
2262
2263pub type GstMetaFactoryClass = _GstMetaFactoryClass;
2264
2265#[derive(Copy, Clone)]
2266#[repr(C)]
2267pub struct GstMetaInfo {
2268    pub api: GType,
2269    pub type_: GType,
2270    pub size: size_t,
2271    pub init_func: GstMetaInitFunction,
2272    pub free_func: GstMetaFreeFunction,
2273    pub transform_func: GstMetaTransformFunction,
2274    pub serialize_func: GstMetaSerializeFunction,
2275    pub deserialize_func: GstMetaDeserializeFunction,
2276    pub clear_func: GstMetaClearFunction,
2277}
2278
2279impl ::std::fmt::Debug for GstMetaInfo {
2280    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2281        f.debug_struct(&format!("GstMetaInfo @ {self:p}"))
2282            .field("api", &self.api)
2283            .field("type_", &self.type_)
2284            .field("size", &self.size)
2285            .field("init_func", &self.init_func)
2286            .field("free_func", &self.free_func)
2287            .field("transform_func", &self.transform_func)
2288            .field("serialize_func", &self.serialize_func)
2289            .field("deserialize_func", &self.deserialize_func)
2290            .field("clear_func", &self.clear_func)
2291            .finish()
2292    }
2293}
2294
2295#[derive(Copy, Clone)]
2296#[repr(C)]
2297pub struct GstMetaTransformCopy {
2298    pub region: gboolean,
2299    pub offset: size_t,
2300    pub size: size_t,
2301}
2302
2303impl ::std::fmt::Debug for GstMetaTransformCopy {
2304    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2305        f.debug_struct(&format!("GstMetaTransformCopy @ {self:p}"))
2306            .field("region", &self.region)
2307            .field("offset", &self.offset)
2308            .field("size", &self.size)
2309            .finish()
2310    }
2311}
2312
2313#[derive(Copy, Clone)]
2314#[repr(C)]
2315pub struct GstMiniObject {
2316    pub type_: GType,
2317    pub refcount: c_int,
2318    pub lockstate: c_int,
2319    pub flags: c_uint,
2320    pub copy: GstMiniObjectCopyFunction,
2321    pub dispose: GstMiniObjectDisposeFunction,
2322    pub free: GstMiniObjectFreeFunction,
2323    pub priv_uint: c_uint,
2324    pub priv_pointer: gpointer,
2325}
2326
2327impl ::std::fmt::Debug for GstMiniObject {
2328    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2329        f.debug_struct(&format!("GstMiniObject @ {self:p}"))
2330            .field("type_", &self.type_)
2331            .field("refcount", &self.refcount)
2332            .field("lockstate", &self.lockstate)
2333            .field("flags", &self.flags)
2334            .field("copy", &self.copy)
2335            .field("dispose", &self.dispose)
2336            .field("free", &self.free)
2337            .finish()
2338    }
2339}
2340
2341#[derive(Copy, Clone)]
2342#[repr(C)]
2343pub struct GstObjectClass {
2344    pub parent_class: gobject::GInitiallyUnownedClass,
2345    pub path_string_separator: *const c_char,
2346    pub deep_notify:
2347        Option<unsafe extern "C" fn(*mut GstObject, *mut GstObject, *mut gobject::GParamSpec)>,
2348    pub _gst_reserved: [gpointer; 4],
2349}
2350
2351impl ::std::fmt::Debug for GstObjectClass {
2352    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2353        f.debug_struct(&format!("GstObjectClass @ {self:p}"))
2354            .field("parent_class", &self.parent_class)
2355            .field("path_string_separator", &self.path_string_separator)
2356            .field("deep_notify", &self.deep_notify)
2357            .finish()
2358    }
2359}
2360
2361#[derive(Copy, Clone)]
2362#[repr(C)]
2363pub struct GstPadClass {
2364    pub parent_class: GstObjectClass,
2365    pub linked: Option<unsafe extern "C" fn(*mut GstPad, *mut GstPad)>,
2366    pub unlinked: Option<unsafe extern "C" fn(*mut GstPad, *mut GstPad)>,
2367    pub _gst_reserved: [gpointer; 4],
2368}
2369
2370impl ::std::fmt::Debug for GstPadClass {
2371    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2372        f.debug_struct(&format!("GstPadClass @ {self:p}"))
2373            .field("parent_class", &self.parent_class)
2374            .field("linked", &self.linked)
2375            .field("unlinked", &self.unlinked)
2376            .finish()
2377    }
2378}
2379
2380#[repr(C)]
2381#[allow(dead_code)]
2382pub struct _GstPadPrivate {
2383    _data: [u8; 0],
2384    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2385}
2386
2387pub type GstPadPrivate = _GstPadPrivate;
2388
2389#[derive(Copy, Clone)]
2390#[repr(C)]
2391pub struct GstPadProbeInfo {
2392    pub type_: GstPadProbeType,
2393    pub id: c_ulong,
2394    pub data: gpointer,
2395    pub offset: u64,
2396    pub size: c_uint,
2397    pub ABI: GstPadProbeInfo_ABI,
2398}
2399
2400impl ::std::fmt::Debug for GstPadProbeInfo {
2401    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2402        f.debug_struct(&format!("GstPadProbeInfo @ {self:p}"))
2403            .field("type_", &self.type_)
2404            .field("id", &self.id)
2405            .field("data", &self.data)
2406            .field("offset", &self.offset)
2407            .field("size", &self.size)
2408            .field("ABI", &self.ABI)
2409            .finish()
2410    }
2411}
2412
2413#[derive(Copy, Clone)]
2414#[repr(C)]
2415pub struct GstPadProbeInfo_ABI_abi {
2416    pub flow_ret: GstFlowReturn,
2417}
2418
2419impl ::std::fmt::Debug for GstPadProbeInfo_ABI_abi {
2420    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2421        f.debug_struct(&format!("GstPadProbeInfo_ABI_abi @ {self:p}"))
2422            .field("flow_ret", &self.flow_ret)
2423            .finish()
2424    }
2425}
2426
2427#[derive(Copy, Clone)]
2428#[repr(C)]
2429pub struct GstPadTemplateClass {
2430    pub parent_class: GstObjectClass,
2431    pub pad_created: Option<unsafe extern "C" fn(*mut GstPadTemplate, *mut GstPad)>,
2432    pub _gst_reserved: [gpointer; 4],
2433}
2434
2435impl ::std::fmt::Debug for GstPadTemplateClass {
2436    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2437        f.debug_struct(&format!("GstPadTemplateClass @ {self:p}"))
2438            .field("parent_class", &self.parent_class)
2439            .field("pad_created", &self.pad_created)
2440            .finish()
2441    }
2442}
2443
2444#[derive(Copy, Clone)]
2445#[repr(C)]
2446pub struct GstPadTemplate_ABI_abi {
2447    pub gtype: GType,
2448    pub documentation_caps: *mut GstCaps,
2449}
2450
2451impl ::std::fmt::Debug for GstPadTemplate_ABI_abi {
2452    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2453        f.debug_struct(&format!("GstPadTemplate_ABI_abi @ {self:p}"))
2454            .field("gtype", &self.gtype)
2455            .field("documentation_caps", &self.documentation_caps)
2456            .finish()
2457    }
2458}
2459
2460#[derive(Copy, Clone)]
2461#[repr(C)]
2462pub struct GstPad_ABI_abi {
2463    pub last_flowret: GstFlowReturn,
2464    pub eventfullfunc: GstPadEventFullFunction,
2465}
2466
2467impl ::std::fmt::Debug for GstPad_ABI_abi {
2468    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2469        f.debug_struct(&format!("GstPad_ABI_abi @ {self:p}"))
2470            .field("last_flowret", &self.last_flowret)
2471            .field("eventfullfunc", &self.eventfullfunc)
2472            .finish()
2473    }
2474}
2475
2476#[derive(Copy, Clone)]
2477#[repr(C)]
2478pub struct GstParentBufferMeta {
2479    pub parent: GstMeta,
2480    pub buffer: *mut GstBuffer,
2481}
2482
2483impl ::std::fmt::Debug for GstParentBufferMeta {
2484    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2485        f.debug_struct(&format!("GstParentBufferMeta @ {self:p}"))
2486            .field("parent", &self.parent)
2487            .field("buffer", &self.buffer)
2488            .finish()
2489    }
2490}
2491
2492#[repr(C)]
2493#[allow(dead_code)]
2494pub struct GstParseContext {
2495    _data: [u8; 0],
2496    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2497}
2498
2499impl ::std::fmt::Debug for GstParseContext {
2500    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2501        f.debug_struct(&format!("GstParseContext @ {self:p}"))
2502            .finish()
2503    }
2504}
2505
2506#[derive(Copy, Clone)]
2507#[repr(C)]
2508pub struct GstPipelineClass {
2509    pub parent_class: GstBinClass,
2510    pub _gst_reserved: [gpointer; 4],
2511}
2512
2513impl ::std::fmt::Debug for GstPipelineClass {
2514    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2515        f.debug_struct(&format!("GstPipelineClass @ {self:p}"))
2516            .field("parent_class", &self.parent_class)
2517            .finish()
2518    }
2519}
2520
2521#[repr(C)]
2522#[allow(dead_code)]
2523pub struct _GstPipelinePrivate {
2524    _data: [u8; 0],
2525    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2526}
2527
2528pub type GstPipelinePrivate = _GstPipelinePrivate;
2529
2530#[repr(C)]
2531#[allow(dead_code)]
2532pub struct _GstPluginClass {
2533    _data: [u8; 0],
2534    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2535}
2536
2537pub type GstPluginClass = _GstPluginClass;
2538
2539#[derive(Copy, Clone)]
2540#[repr(C)]
2541pub struct GstPluginDesc {
2542    pub major_version: c_int,
2543    pub minor_version: c_int,
2544    pub name: *const c_char,
2545    pub description: *const c_char,
2546    pub plugin_init: GstPluginInitFunc,
2547    pub version: *const c_char,
2548    pub license: *const c_char,
2549    pub source: *const c_char,
2550    pub package: *const c_char,
2551    pub origin: *const c_char,
2552    pub release_datetime: *const c_char,
2553    pub _gst_reserved: [gpointer; 4],
2554}
2555
2556impl ::std::fmt::Debug for GstPluginDesc {
2557    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2558        f.debug_struct(&format!("GstPluginDesc @ {self:p}"))
2559            .field("major_version", &self.major_version)
2560            .field("minor_version", &self.minor_version)
2561            .field("name", &self.name)
2562            .field("description", &self.description)
2563            .field("plugin_init", &self.plugin_init)
2564            .field("version", &self.version)
2565            .field("license", &self.license)
2566            .field("source", &self.source)
2567            .field("package", &self.package)
2568            .field("origin", &self.origin)
2569            .field("release_datetime", &self.release_datetime)
2570            .finish()
2571    }
2572}
2573
2574#[repr(C)]
2575#[allow(dead_code)]
2576pub struct _GstPluginFeatureClass {
2577    _data: [u8; 0],
2578    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2579}
2580
2581pub type GstPluginFeatureClass = _GstPluginFeatureClass;
2582
2583#[repr(C)]
2584#[allow(dead_code)]
2585pub struct _GstPoll {
2586    _data: [u8; 0],
2587    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2588}
2589
2590pub type GstPoll = _GstPoll;
2591
2592#[derive(Copy, Clone)]
2593#[repr(C)]
2594pub struct GstPollFD {
2595    pub fd: c_int,
2596    pub idx: c_int,
2597}
2598
2599impl ::std::fmt::Debug for GstPollFD {
2600    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2601        f.debug_struct(&format!("GstPollFD @ {self:p}"))
2602            .field("fd", &self.fd)
2603            .finish()
2604    }
2605}
2606
2607#[derive(Copy, Clone)]
2608#[repr(C)]
2609pub struct GstPresetInterface {
2610    pub parent: gobject::GTypeInterface,
2611    pub get_preset_names: Option<unsafe extern "C" fn(*mut GstPreset) -> *mut *mut c_char>,
2612    pub get_property_names: Option<unsafe extern "C" fn(*mut GstPreset) -> *mut *mut c_char>,
2613    pub load_preset: Option<unsafe extern "C" fn(*mut GstPreset, *const c_char) -> gboolean>,
2614    pub save_preset: Option<unsafe extern "C" fn(*mut GstPreset, *const c_char) -> gboolean>,
2615    pub rename_preset:
2616        Option<unsafe extern "C" fn(*mut GstPreset, *const c_char, *const c_char) -> gboolean>,
2617    pub delete_preset: Option<unsafe extern "C" fn(*mut GstPreset, *const c_char) -> gboolean>,
2618    pub set_meta: Option<
2619        unsafe extern "C" fn(
2620            *mut GstPreset,
2621            *const c_char,
2622            *const c_char,
2623            *mut *mut c_char,
2624        ) -> gboolean,
2625    >,
2626    pub get_meta: Option<
2627        unsafe extern "C" fn(
2628            *mut GstPreset,
2629            *const c_char,
2630            *const c_char,
2631            *mut *mut c_char,
2632        ) -> gboolean,
2633    >,
2634    pub get_property: Option<
2635        unsafe extern "C" fn(
2636            *mut GstPreset,
2637            *const c_char,
2638            *const c_char,
2639            *mut gobject::GValue,
2640        ) -> gboolean,
2641    >,
2642    pub get_property_alternatives: Option<
2643        unsafe extern "C" fn(*mut GstPreset, *const c_char, *const c_char) -> *mut *mut c_char,
2644    >,
2645    pub _gst_reserved: [gpointer; 2],
2646}
2647
2648impl ::std::fmt::Debug for GstPresetInterface {
2649    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2650        f.debug_struct(&format!("GstPresetInterface @ {self:p}"))
2651            .field("parent", &self.parent)
2652            .field("get_preset_names", &self.get_preset_names)
2653            .field("get_property_names", &self.get_property_names)
2654            .field("load_preset", &self.load_preset)
2655            .field("save_preset", &self.save_preset)
2656            .field("rename_preset", &self.rename_preset)
2657            .field("delete_preset", &self.delete_preset)
2658            .field("set_meta", &self.set_meta)
2659            .field("get_meta", &self.get_meta)
2660            .field("get_property", &self.get_property)
2661            .field("get_property_alternatives", &self.get_property_alternatives)
2662            .finish()
2663    }
2664}
2665
2666#[derive(Copy, Clone)]
2667#[repr(C)]
2668pub struct GstPromise {
2669    pub parent: GstMiniObject,
2670}
2671
2672impl ::std::fmt::Debug for GstPromise {
2673    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2674        f.debug_struct(&format!("GstPromise @ {self:p}"))
2675            .field("parent", &self.parent)
2676            .finish()
2677    }
2678}
2679
2680#[derive(Copy, Clone)]
2681#[repr(C)]
2682pub struct GstProtectionMeta {
2683    pub meta: GstMeta,
2684    pub info: *mut GstStructure,
2685}
2686
2687impl ::std::fmt::Debug for GstProtectionMeta {
2688    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2689        f.debug_struct(&format!("GstProtectionMeta @ {self:p}"))
2690            .field("meta", &self.meta)
2691            .field("info", &self.info)
2692            .finish()
2693    }
2694}
2695
2696#[derive(Copy, Clone)]
2697#[repr(C)]
2698pub struct GstProxyPadClass {
2699    pub parent_class: GstPadClass,
2700    pub _gst_reserved: [gpointer; 1],
2701}
2702
2703impl ::std::fmt::Debug for GstProxyPadClass {
2704    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2705        f.debug_struct(&format!("GstProxyPadClass @ {self:p}"))
2706            .field("parent_class", &self.parent_class)
2707            .finish()
2708    }
2709}
2710
2711#[repr(C)]
2712#[allow(dead_code)]
2713pub struct _GstProxyPadPrivate {
2714    _data: [u8; 0],
2715    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2716}
2717
2718pub type GstProxyPadPrivate = _GstProxyPadPrivate;
2719
2720#[derive(Copy, Clone)]
2721#[repr(C)]
2722pub struct GstQuery {
2723    pub mini_object: GstMiniObject,
2724    pub type_: GstQueryType,
2725}
2726
2727impl ::std::fmt::Debug for GstQuery {
2728    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2729        f.debug_struct(&format!("GstQuery @ {self:p}"))
2730            .field("mini_object", &self.mini_object)
2731            .field("type_", &self.type_)
2732            .finish()
2733    }
2734}
2735
2736#[derive(Copy, Clone)]
2737#[repr(C)]
2738pub struct GstReferenceTimestampMeta {
2739    pub parent: GstMeta,
2740    pub reference: *mut GstCaps,
2741    pub timestamp: GstClockTime,
2742    pub duration: GstClockTime,
2743    pub info: *mut GstStructure,
2744}
2745
2746impl ::std::fmt::Debug for GstReferenceTimestampMeta {
2747    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2748        f.debug_struct(&format!("GstReferenceTimestampMeta @ {self:p}"))
2749            .field("parent", &self.parent)
2750            .field("reference", &self.reference)
2751            .field("timestamp", &self.timestamp)
2752            .field("duration", &self.duration)
2753            .field("info", &self.info)
2754            .finish()
2755    }
2756}
2757
2758#[derive(Copy, Clone)]
2759#[repr(C)]
2760pub struct GstRegistryClass {
2761    pub parent_class: GstObjectClass,
2762}
2763
2764impl ::std::fmt::Debug for GstRegistryClass {
2765    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2766        f.debug_struct(&format!("GstRegistryClass @ {self:p}"))
2767            .field("parent_class", &self.parent_class)
2768            .finish()
2769    }
2770}
2771
2772#[repr(C)]
2773#[allow(dead_code)]
2774pub struct _GstRegistryPrivate {
2775    _data: [u8; 0],
2776    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2777}
2778
2779pub type GstRegistryPrivate = _GstRegistryPrivate;
2780
2781#[repr(C)]
2782#[allow(dead_code)]
2783pub struct GstSample {
2784    _data: [u8; 0],
2785    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2786}
2787
2788impl ::std::fmt::Debug for GstSample {
2789    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2790        f.debug_struct(&format!("GstSample @ {self:p}")).finish()
2791    }
2792}
2793
2794#[derive(Copy, Clone)]
2795#[repr(C)]
2796pub struct GstSegment {
2797    pub flags: GstSegmentFlags,
2798    pub rate: c_double,
2799    pub applied_rate: c_double,
2800    pub format: GstFormat,
2801    pub base: u64,
2802    pub offset: u64,
2803    pub start: u64,
2804    pub stop: u64,
2805    pub time: u64,
2806    pub position: u64,
2807    pub duration: u64,
2808    pub _gst_reserved: [gpointer; 4],
2809}
2810
2811impl ::std::fmt::Debug for GstSegment {
2812    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2813        f.debug_struct(&format!("GstSegment @ {self:p}"))
2814            .field("flags", &self.flags)
2815            .field("rate", &self.rate)
2816            .field("applied_rate", &self.applied_rate)
2817            .field("format", &self.format)
2818            .field("base", &self.base)
2819            .field("offset", &self.offset)
2820            .field("start", &self.start)
2821            .field("stop", &self.stop)
2822            .field("time", &self.time)
2823            .field("position", &self.position)
2824            .field("duration", &self.duration)
2825            .finish()
2826    }
2827}
2828
2829#[derive(Copy, Clone)]
2830#[repr(C)]
2831pub struct GstSharedTaskPoolClass {
2832    pub parent_class: GstTaskPoolClass,
2833    pub _gst_reserved: [gpointer; 4],
2834}
2835
2836impl ::std::fmt::Debug for GstSharedTaskPoolClass {
2837    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2838        f.debug_struct(&format!("GstSharedTaskPoolClass @ {self:p}"))
2839            .field("parent_class", &self.parent_class)
2840            .finish()
2841    }
2842}
2843
2844#[repr(C)]
2845#[allow(dead_code)]
2846pub struct _GstSharedTaskPoolPrivate {
2847    _data: [u8; 0],
2848    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2849}
2850
2851pub type GstSharedTaskPoolPrivate = _GstSharedTaskPoolPrivate;
2852
2853#[derive(Copy, Clone)]
2854#[repr(C)]
2855pub struct GstStaticCaps {
2856    pub caps: *mut GstCaps,
2857    pub string: *const c_char,
2858    pub _gst_reserved: [gpointer; 4],
2859}
2860
2861impl ::std::fmt::Debug for GstStaticCaps {
2862    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2863        f.debug_struct(&format!("GstStaticCaps @ {self:p}"))
2864            .field("caps", &self.caps)
2865            .field("string", &self.string)
2866            .finish()
2867    }
2868}
2869
2870#[derive(Copy, Clone)]
2871#[repr(C)]
2872pub struct GstStaticPadTemplate {
2873    pub name_template: *const c_char,
2874    pub direction: GstPadDirection,
2875    pub presence: GstPadPresence,
2876    pub static_caps: GstStaticCaps,
2877}
2878
2879impl ::std::fmt::Debug for GstStaticPadTemplate {
2880    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2881        f.debug_struct(&format!("GstStaticPadTemplate @ {self:p}"))
2882            .field("name_template", &self.name_template)
2883            .field("direction", &self.direction)
2884            .field("presence", &self.presence)
2885            .field("static_caps", &self.static_caps)
2886            .finish()
2887    }
2888}
2889
2890#[derive(Copy, Clone)]
2891#[repr(C)]
2892pub struct GstStreamClass {
2893    pub parent_class: GstObjectClass,
2894    pub _gst_reserved: [gpointer; 4],
2895}
2896
2897impl ::std::fmt::Debug for GstStreamClass {
2898    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2899        f.debug_struct(&format!("GstStreamClass @ {self:p}"))
2900            .field("parent_class", &self.parent_class)
2901            .finish()
2902    }
2903}
2904
2905#[derive(Copy, Clone)]
2906#[repr(C)]
2907pub struct GstStreamCollectionClass {
2908    pub parent_class: GstObjectClass,
2909    pub stream_notify: Option<
2910        unsafe extern "C" fn(*mut GstStreamCollection, *mut GstStream, *mut gobject::GParamSpec),
2911    >,
2912    pub _gst_reserved: [gpointer; 4],
2913}
2914
2915impl ::std::fmt::Debug for GstStreamCollectionClass {
2916    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2917        f.debug_struct(&format!("GstStreamCollectionClass @ {self:p}"))
2918            .field("parent_class", &self.parent_class)
2919            .field("stream_notify", &self.stream_notify)
2920            .finish()
2921    }
2922}
2923
2924#[repr(C)]
2925#[allow(dead_code)]
2926pub struct _GstStreamCollectionPrivate {
2927    _data: [u8; 0],
2928    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2929}
2930
2931pub type GstStreamCollectionPrivate = _GstStreamCollectionPrivate;
2932
2933#[repr(C)]
2934#[allow(dead_code)]
2935pub struct _GstStreamPrivate {
2936    _data: [u8; 0],
2937    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2938}
2939
2940pub type GstStreamPrivate = _GstStreamPrivate;
2941
2942#[derive(Copy, Clone)]
2943#[repr(C)]
2944pub struct GstStructure {
2945    pub type_: GType,
2946    pub name: glib::GQuark,
2947}
2948
2949impl ::std::fmt::Debug for GstStructure {
2950    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2951        f.debug_struct(&format!("GstStructure @ {self:p}"))
2952            .field("type_", &self.type_)
2953            .finish()
2954    }
2955}
2956
2957#[derive(Copy, Clone)]
2958#[repr(C)]
2959pub struct GstSystemClockClass {
2960    pub parent_class: GstClockClass,
2961    pub _gst_reserved: [gpointer; 4],
2962}
2963
2964impl ::std::fmt::Debug for GstSystemClockClass {
2965    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2966        f.debug_struct(&format!("GstSystemClockClass @ {self:p}"))
2967            .field("parent_class", &self.parent_class)
2968            .finish()
2969    }
2970}
2971
2972#[repr(C)]
2973#[allow(dead_code)]
2974pub struct _GstSystemClockPrivate {
2975    _data: [u8; 0],
2976    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2977}
2978
2979pub type GstSystemClockPrivate = _GstSystemClockPrivate;
2980
2981#[derive(Copy, Clone)]
2982#[repr(C)]
2983pub struct GstTagList {
2984    pub mini_object: GstMiniObject,
2985}
2986
2987impl ::std::fmt::Debug for GstTagList {
2988    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2989        f.debug_struct(&format!("GstTagList @ {self:p}"))
2990            .field("mini_object", &self.mini_object)
2991            .finish()
2992    }
2993}
2994
2995#[derive(Copy, Clone)]
2996#[repr(C)]
2997pub struct GstTagSetterInterface {
2998    pub g_iface: gobject::GTypeInterface,
2999}
3000
3001impl ::std::fmt::Debug for GstTagSetterInterface {
3002    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3003        f.debug_struct(&format!("GstTagSetterInterface @ {self:p}"))
3004            .field("g_iface", &self.g_iface)
3005            .finish()
3006    }
3007}
3008
3009#[derive(Copy, Clone)]
3010#[repr(C)]
3011pub struct GstTaskClass {
3012    pub parent_class: GstObjectClass,
3013    pub pool: *mut GstTaskPool,
3014    pub _gst_reserved: [gpointer; 4],
3015}
3016
3017impl ::std::fmt::Debug for GstTaskClass {
3018    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3019        f.debug_struct(&format!("GstTaskClass @ {self:p}"))
3020            .field("parent_class", &self.parent_class)
3021            .finish()
3022    }
3023}
3024
3025#[derive(Copy, Clone)]
3026#[repr(C)]
3027pub struct GstTaskPoolClass {
3028    pub parent_class: GstObjectClass,
3029    pub prepare: Option<unsafe extern "C" fn(*mut GstTaskPool, *mut *mut glib::GError)>,
3030    pub cleanup: Option<unsafe extern "C" fn(*mut GstTaskPool)>,
3031    pub push: Option<
3032        unsafe extern "C" fn(
3033            *mut GstTaskPool,
3034            GstTaskPoolFunction,
3035            gpointer,
3036            *mut *mut glib::GError,
3037        ) -> gpointer,
3038    >,
3039    pub join: Option<unsafe extern "C" fn(*mut GstTaskPool, gpointer)>,
3040    pub dispose_handle: Option<unsafe extern "C" fn(*mut GstTaskPool, gpointer)>,
3041    pub _gst_reserved: [gpointer; 3],
3042}
3043
3044impl ::std::fmt::Debug for GstTaskPoolClass {
3045    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3046        f.debug_struct(&format!("GstTaskPoolClass @ {self:p}"))
3047            .field("parent_class", &self.parent_class)
3048            .field("prepare", &self.prepare)
3049            .field("cleanup", &self.cleanup)
3050            .field("push", &self.push)
3051            .field("join", &self.join)
3052            .field("dispose_handle", &self.dispose_handle)
3053            .finish()
3054    }
3055}
3056
3057#[repr(C)]
3058#[allow(dead_code)]
3059pub struct _GstTaskPrivate {
3060    _data: [u8; 0],
3061    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3062}
3063
3064pub type GstTaskPrivate = _GstTaskPrivate;
3065
3066#[derive(Copy, Clone)]
3067#[repr(C)]
3068pub struct GstTimedValue {
3069    pub timestamp: GstClockTime,
3070    pub value: c_double,
3071}
3072
3073impl ::std::fmt::Debug for GstTimedValue {
3074    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3075        f.debug_struct(&format!("GstTimedValue @ {self:p}"))
3076            .field("timestamp", &self.timestamp)
3077            .field("value", &self.value)
3078            .finish()
3079    }
3080}
3081
3082#[repr(C)]
3083#[allow(dead_code)]
3084pub struct GstToc {
3085    _data: [u8; 0],
3086    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3087}
3088
3089impl ::std::fmt::Debug for GstToc {
3090    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3091        f.debug_struct(&format!("GstToc @ {self:p}")).finish()
3092    }
3093}
3094
3095#[repr(C)]
3096#[allow(dead_code)]
3097pub struct GstTocEntry {
3098    _data: [u8; 0],
3099    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3100}
3101
3102impl ::std::fmt::Debug for GstTocEntry {
3103    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3104        f.debug_struct(&format!("GstTocEntry @ {self:p}")).finish()
3105    }
3106}
3107
3108#[derive(Copy, Clone)]
3109#[repr(C)]
3110pub struct GstTocSetterInterface {
3111    pub g_iface: gobject::GTypeInterface,
3112}
3113
3114impl ::std::fmt::Debug for GstTocSetterInterface {
3115    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3116        f.debug_struct(&format!("GstTocSetterInterface @ {self:p}"))
3117            .field("g_iface", &self.g_iface)
3118            .finish()
3119    }
3120}
3121
3122#[repr(C)]
3123#[allow(dead_code)]
3124pub struct _GstTraceField {
3125    _data: [u8; 0],
3126    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3127}
3128
3129pub type GstTraceField = _GstTraceField;
3130
3131#[repr(C)]
3132#[allow(dead_code)]
3133pub struct _GstTraceFormat {
3134    _data: [u8; 0],
3135    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3136}
3137
3138pub type GstTraceFormat = _GstTraceFormat;
3139
3140#[repr(C)]
3141#[allow(dead_code)]
3142pub struct _GstTraceFormatBuilder {
3143    _data: [u8; 0],
3144    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3145}
3146
3147pub type GstTraceFormatBuilder = _GstTraceFormatBuilder;
3148
3149#[derive(Copy, Clone)]
3150#[repr(C)]
3151pub struct GstTracerClass {
3152    pub parent_class: GstObjectClass,
3153    pub _gst_reserved: [gpointer; 4],
3154}
3155
3156impl ::std::fmt::Debug for GstTracerClass {
3157    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3158        f.debug_struct(&format!("GstTracerClass @ {self:p}"))
3159            .field("parent_class", &self.parent_class)
3160            .finish()
3161    }
3162}
3163
3164#[repr(C)]
3165#[allow(dead_code)]
3166pub struct _GstTracerFactoryClass {
3167    _data: [u8; 0],
3168    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3169}
3170
3171pub type GstTracerFactoryClass = _GstTracerFactoryClass;
3172
3173#[repr(C)]
3174#[allow(dead_code)]
3175pub struct _GstTracerPrivate {
3176    _data: [u8; 0],
3177    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3178}
3179
3180pub type GstTracerPrivate = _GstTracerPrivate;
3181
3182#[repr(C)]
3183#[allow(dead_code)]
3184pub struct _GstTracerRecordClass {
3185    _data: [u8; 0],
3186    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3187}
3188
3189pub type GstTracerRecordClass = _GstTracerRecordClass;
3190
3191#[derive(Copy, Clone)]
3192#[repr(C)]
3193pub struct GstTypeFind {
3194    pub peek: Option<unsafe extern "C" fn(gpointer, i64, c_uint) -> *const u8>,
3195    pub suggest: Option<unsafe extern "C" fn(gpointer, c_uint, *mut GstCaps)>,
3196    pub data: gpointer,
3197    pub get_length: Option<unsafe extern "C" fn(gpointer) -> u64>,
3198    pub _gst_reserved: [gpointer; 4],
3199}
3200
3201impl ::std::fmt::Debug for GstTypeFind {
3202    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3203        f.debug_struct(&format!("GstTypeFind @ {self:p}"))
3204            .field("peek", &self.peek)
3205            .field("suggest", &self.suggest)
3206            .field("data", &self.data)
3207            .field("get_length", &self.get_length)
3208            .finish()
3209    }
3210}
3211
3212#[repr(C)]
3213#[allow(dead_code)]
3214pub struct _GstTypeFindFactoryClass {
3215    _data: [u8; 0],
3216    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3217}
3218
3219pub type GstTypeFindFactoryClass = _GstTypeFindFactoryClass;
3220
3221#[derive(Copy, Clone)]
3222#[repr(C)]
3223pub struct GstURIHandlerInterface {
3224    pub parent: gobject::GTypeInterface,
3225    pub get_type: Option<unsafe extern "C" fn(GType) -> GstURIType>,
3226    pub get_protocols: Option<unsafe extern "C" fn(GType) -> *const *const c_char>,
3227    pub get_uri: Option<unsafe extern "C" fn(*mut GstURIHandler) -> *mut c_char>,
3228    pub set_uri: Option<
3229        unsafe extern "C" fn(*mut GstURIHandler, *const c_char, *mut *mut glib::GError) -> gboolean,
3230    >,
3231}
3232
3233impl ::std::fmt::Debug for GstURIHandlerInterface {
3234    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3235        f.debug_struct(&format!("GstURIHandlerInterface @ {self:p}"))
3236            .field("parent", &self.parent)
3237            .field("get_type", &self.get_type)
3238            .field("get_protocols", &self.get_protocols)
3239            .field("get_uri", &self.get_uri)
3240            .field("set_uri", &self.set_uri)
3241            .finish()
3242    }
3243}
3244
3245#[repr(C)]
3246#[allow(dead_code)]
3247pub struct GstUri {
3248    _data: [u8; 0],
3249    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3250}
3251
3252impl ::std::fmt::Debug for GstUri {
3253    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3254        f.debug_struct(&format!("GstUri @ {self:p}")).finish()
3255    }
3256}
3257
3258#[derive(Copy, Clone)]
3259#[repr(C)]
3260pub struct GstValueTable {
3261    pub type_: GType,
3262    pub compare: GstValueCompareFunc,
3263    pub serialize: GstValueSerializeFunc,
3264    pub deserialize: GstValueDeserializeFunc,
3265    pub deserialize_with_pspec: GstValueDeserializeWithPSpecFunc,
3266    pub hash: GstValueHashFunc,
3267    pub _gst_reserved: [gpointer; 2],
3268}
3269
3270impl ::std::fmt::Debug for GstValueTable {
3271    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3272        f.debug_struct(&format!("GstValueTable @ {self:p}"))
3273            .field("type_", &self.type_)
3274            .field("compare", &self.compare)
3275            .field("serialize", &self.serialize)
3276            .field("deserialize", &self.deserialize)
3277            .field("deserialize_with_pspec", &self.deserialize_with_pspec)
3278            .field("hash", &self.hash)
3279            .finish()
3280    }
3281}
3282
3283#[repr(C)]
3284#[allow(dead_code)]
3285pub struct _GstVecDeque {
3286    _data: [u8; 0],
3287    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3288}
3289
3290pub type GstVecDeque = _GstVecDeque;
3291
3292// Classes
3293#[derive(Copy, Clone)]
3294#[repr(C)]
3295pub struct GstAllocator {
3296    pub object: GstObject,
3297    pub mem_type: *const c_char,
3298    pub mem_map: GstMemoryMapFunction,
3299    pub mem_unmap: GstMemoryUnmapFunction,
3300    pub mem_copy: GstMemoryCopyFunction,
3301    pub mem_share: GstMemoryShareFunction,
3302    pub mem_is_span: GstMemoryIsSpanFunction,
3303    pub mem_map_full: GstMemoryMapFullFunction,
3304    pub mem_unmap_full: GstMemoryUnmapFullFunction,
3305    pub _gst_reserved: [gpointer; 2],
3306    pub priv_: *mut GstAllocatorPrivate,
3307}
3308
3309impl ::std::fmt::Debug for GstAllocator {
3310    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3311        f.debug_struct(&format!("GstAllocator @ {self:p}"))
3312            .field("object", &self.object)
3313            .field("mem_type", &self.mem_type)
3314            .field("mem_map", &self.mem_map)
3315            .field("mem_unmap", &self.mem_unmap)
3316            .field("mem_copy", &self.mem_copy)
3317            .field("mem_share", &self.mem_share)
3318            .field("mem_is_span", &self.mem_is_span)
3319            .field("mem_map_full", &self.mem_map_full)
3320            .field("mem_unmap_full", &self.mem_unmap_full)
3321            .finish()
3322    }
3323}
3324
3325#[derive(Copy, Clone)]
3326#[repr(C)]
3327pub struct GstBin {
3328    pub element: GstElement,
3329    pub numchildren: c_int,
3330    pub children: *mut glib::GList,
3331    pub children_cookie: u32,
3332    pub child_bus: *mut GstBus,
3333    pub messages: *mut glib::GList,
3334    pub polling: gboolean,
3335    pub state_dirty: gboolean,
3336    pub clock_dirty: gboolean,
3337    pub provided_clock: *mut GstClock,
3338    pub clock_provider: *mut GstElement,
3339    pub priv_: *mut GstBinPrivate,
3340    pub _gst_reserved: [gpointer; 4],
3341}
3342
3343impl ::std::fmt::Debug for GstBin {
3344    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3345        f.debug_struct(&format!("GstBin @ {self:p}"))
3346            .field("element", &self.element)
3347            .field("numchildren", &self.numchildren)
3348            .field("children", &self.children)
3349            .field("children_cookie", &self.children_cookie)
3350            .field("child_bus", &self.child_bus)
3351            .field("messages", &self.messages)
3352            .field("polling", &self.polling)
3353            .field("state_dirty", &self.state_dirty)
3354            .field("clock_dirty", &self.clock_dirty)
3355            .field("provided_clock", &self.provided_clock)
3356            .field("clock_provider", &self.clock_provider)
3357            .finish()
3358    }
3359}
3360
3361#[repr(C)]
3362#[allow(dead_code)]
3363pub struct GstBitmask {
3364    _data: [u8; 0],
3365    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3366}
3367
3368impl ::std::fmt::Debug for GstBitmask {
3369    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3370        f.debug_struct(&format!("GstBitmask @ {self:p}")).finish()
3371    }
3372}
3373
3374#[derive(Copy, Clone)]
3375#[repr(C)]
3376pub struct GstBufferPool {
3377    pub object: GstObject,
3378    pub flushing: c_int,
3379    pub priv_: *mut GstBufferPoolPrivate,
3380    pub _gst_reserved: [gpointer; 4],
3381}
3382
3383impl ::std::fmt::Debug for GstBufferPool {
3384    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3385        f.debug_struct(&format!("GstBufferPool @ {self:p}"))
3386            .field("object", &self.object)
3387            .field("flushing", &self.flushing)
3388            .finish()
3389    }
3390}
3391
3392#[derive(Copy, Clone)]
3393#[repr(C)]
3394pub struct GstBus {
3395    pub object: GstObject,
3396    pub priv_: *mut GstBusPrivate,
3397    pub _gst_reserved: [gpointer; 4],
3398}
3399
3400impl ::std::fmt::Debug for GstBus {
3401    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3402        f.debug_struct(&format!("GstBus @ {self:p}"))
3403            .field("object", &self.object)
3404            .finish()
3405    }
3406}
3407
3408#[derive(Copy, Clone)]
3409#[repr(C)]
3410pub struct GstClock {
3411    pub object: GstObject,
3412    pub priv_: *mut GstClockPrivate,
3413    pub _gst_reserved: [gpointer; 4],
3414}
3415
3416impl ::std::fmt::Debug for GstClock {
3417    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3418        f.debug_struct(&format!("GstClock @ {self:p}"))
3419            .field("object", &self.object)
3420            .finish()
3421    }
3422}
3423
3424#[derive(Copy, Clone)]
3425#[repr(C)]
3426pub struct GstControlBinding {
3427    pub parent: GstObject,
3428    pub name: *mut c_char,
3429    pub pspec: *mut gobject::GParamSpec,
3430    pub object: *mut GstObject,
3431    pub disabled: gboolean,
3432    pub ABI: GstControlBinding_ABI,
3433}
3434
3435impl ::std::fmt::Debug for GstControlBinding {
3436    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3437        f.debug_struct(&format!("GstControlBinding @ {self:p}"))
3438            .field("parent", &self.parent)
3439            .field("name", &self.name)
3440            .field("pspec", &self.pspec)
3441            .field("ABI", &self.ABI)
3442            .finish()
3443    }
3444}
3445
3446#[derive(Copy, Clone)]
3447#[repr(C)]
3448pub struct GstControlSource {
3449    pub parent: GstObject,
3450    pub get_value: GstControlSourceGetValue,
3451    pub get_value_array: GstControlSourceGetValueArray,
3452    pub _gst_reserved: [gpointer; 4],
3453}
3454
3455impl ::std::fmt::Debug for GstControlSource {
3456    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3457        f.debug_struct(&format!("GstControlSource @ {self:p}"))
3458            .field("parent", &self.parent)
3459            .field("get_value", &self.get_value)
3460            .field("get_value_array", &self.get_value_array)
3461            .finish()
3462    }
3463}
3464
3465#[derive(Copy, Clone)]
3466#[repr(C)]
3467pub struct GstDevice {
3468    pub parent: GstObject,
3469    pub priv_: *mut GstDevicePrivate,
3470    pub _gst_reserved: [gpointer; 4],
3471}
3472
3473impl ::std::fmt::Debug for GstDevice {
3474    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3475        f.debug_struct(&format!("GstDevice @ {self:p}"))
3476            .field("parent", &self.parent)
3477            .finish()
3478    }
3479}
3480
3481#[derive(Copy, Clone)]
3482#[repr(C)]
3483pub struct GstDeviceMonitor {
3484    pub parent: GstObject,
3485    pub priv_: *mut GstDeviceMonitorPrivate,
3486    pub _gst_reserved: [gpointer; 4],
3487}
3488
3489impl ::std::fmt::Debug for GstDeviceMonitor {
3490    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3491        f.debug_struct(&format!("GstDeviceMonitor @ {self:p}"))
3492            .field("parent", &self.parent)
3493            .finish()
3494    }
3495}
3496
3497#[derive(Copy, Clone)]
3498#[repr(C)]
3499pub struct GstDeviceProvider {
3500    pub parent: GstObject,
3501    pub devices: *mut glib::GList,
3502    pub priv_: *mut GstDeviceProviderPrivate,
3503    pub _gst_reserved: [gpointer; 4],
3504}
3505
3506impl ::std::fmt::Debug for GstDeviceProvider {
3507    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3508        f.debug_struct(&format!("GstDeviceProvider @ {self:p}"))
3509            .field("parent", &self.parent)
3510            .field("devices", &self.devices)
3511            .finish()
3512    }
3513}
3514
3515#[repr(C)]
3516#[allow(dead_code)]
3517pub struct GstDeviceProviderFactory {
3518    _data: [u8; 0],
3519    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3520}
3521
3522impl ::std::fmt::Debug for GstDeviceProviderFactory {
3523    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3524        f.debug_struct(&format!("GstDeviceProviderFactory @ {self:p}"))
3525            .finish()
3526    }
3527}
3528
3529#[repr(C)]
3530#[allow(dead_code)]
3531pub struct GstDoubleRange {
3532    _data: [u8; 0],
3533    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3534}
3535
3536impl ::std::fmt::Debug for GstDoubleRange {
3537    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3538        f.debug_struct(&format!("GstDoubleRange @ {self:p}"))
3539            .finish()
3540    }
3541}
3542
3543#[repr(C)]
3544#[allow(dead_code)]
3545pub struct GstDynamicTypeFactory {
3546    _data: [u8; 0],
3547    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3548}
3549
3550impl ::std::fmt::Debug for GstDynamicTypeFactory {
3551    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3552        f.debug_struct(&format!("GstDynamicTypeFactory @ {self:p}"))
3553            .finish()
3554    }
3555}
3556
3557#[derive(Copy, Clone)]
3558#[repr(C)]
3559pub struct GstElement {
3560    pub object: GstObject,
3561    pub state_lock: glib::GRecMutex,
3562    pub state_cond: glib::GCond,
3563    pub state_cookie: u32,
3564    pub target_state: GstState,
3565    pub current_state: GstState,
3566    pub next_state: GstState,
3567    pub pending_state: GstState,
3568    pub last_return: GstStateChangeReturn,
3569    pub bus: *mut GstBus,
3570    pub clock: *mut GstClock,
3571    pub base_time: GstClockTimeDiff,
3572    pub start_time: GstClockTime,
3573    pub numpads: u16,
3574    pub pads: *mut glib::GList,
3575    pub numsrcpads: u16,
3576    pub srcpads: *mut glib::GList,
3577    pub numsinkpads: u16,
3578    pub sinkpads: *mut glib::GList,
3579    pub pads_cookie: u32,
3580    pub contexts: *mut glib::GList,
3581    pub _gst_reserved: [gpointer; 3],
3582}
3583
3584impl ::std::fmt::Debug for GstElement {
3585    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3586        f.debug_struct(&format!("GstElement @ {self:p}"))
3587            .field("object", &self.object)
3588            .field("state_lock", &self.state_lock)
3589            .field("state_cond", &self.state_cond)
3590            .field("state_cookie", &self.state_cookie)
3591            .field("target_state", &self.target_state)
3592            .field("current_state", &self.current_state)
3593            .field("next_state", &self.next_state)
3594            .field("pending_state", &self.pending_state)
3595            .field("last_return", &self.last_return)
3596            .field("bus", &self.bus)
3597            .field("clock", &self.clock)
3598            .field("base_time", &self.base_time)
3599            .field("start_time", &self.start_time)
3600            .field("numpads", &self.numpads)
3601            .field("pads", &self.pads)
3602            .field("numsrcpads", &self.numsrcpads)
3603            .field("srcpads", &self.srcpads)
3604            .field("numsinkpads", &self.numsinkpads)
3605            .field("sinkpads", &self.sinkpads)
3606            .field("pads_cookie", &self.pads_cookie)
3607            .field("contexts", &self.contexts)
3608            .finish()
3609    }
3610}
3611
3612#[repr(C)]
3613#[allow(dead_code)]
3614pub struct GstElementFactory {
3615    _data: [u8; 0],
3616    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3617}
3618
3619impl ::std::fmt::Debug for GstElementFactory {
3620    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3621        f.debug_struct(&format!("GstElementFactory @ {self:p}"))
3622            .finish()
3623    }
3624}
3625
3626#[repr(C)]
3627#[allow(dead_code)]
3628pub struct GstFlagSet {
3629    _data: [u8; 0],
3630    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3631}
3632
3633impl ::std::fmt::Debug for GstFlagSet {
3634    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3635        f.debug_struct(&format!("GstFlagSet @ {self:p}")).finish()
3636    }
3637}
3638
3639#[repr(C)]
3640#[allow(dead_code)]
3641pub struct GstFraction {
3642    _data: [u8; 0],
3643    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3644}
3645
3646impl ::std::fmt::Debug for GstFraction {
3647    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3648        f.debug_struct(&format!("GstFraction @ {self:p}")).finish()
3649    }
3650}
3651
3652#[repr(C)]
3653#[allow(dead_code)]
3654pub struct GstFractionRange {
3655    _data: [u8; 0],
3656    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3657}
3658
3659impl ::std::fmt::Debug for GstFractionRange {
3660    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3661        f.debug_struct(&format!("GstFractionRange @ {self:p}"))
3662            .finish()
3663    }
3664}
3665
3666#[derive(Copy, Clone)]
3667#[repr(C)]
3668pub struct GstGhostPad {
3669    pub pad: GstProxyPad,
3670    pub priv_: *mut GstGhostPadPrivate,
3671}
3672
3673impl ::std::fmt::Debug for GstGhostPad {
3674    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3675        f.debug_struct(&format!("GstGhostPad @ {self:p}"))
3676            .field("pad", &self.pad)
3677            .finish()
3678    }
3679}
3680
3681#[repr(C)]
3682#[allow(dead_code)]
3683pub struct GstInt64Range {
3684    _data: [u8; 0],
3685    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3686}
3687
3688impl ::std::fmt::Debug for GstInt64Range {
3689    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3690        f.debug_struct(&format!("GstInt64Range @ {self:p}"))
3691            .finish()
3692    }
3693}
3694
3695#[repr(C)]
3696#[allow(dead_code)]
3697pub struct GstIntRange {
3698    _data: [u8; 0],
3699    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3700}
3701
3702impl ::std::fmt::Debug for GstIntRange {
3703    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3704        f.debug_struct(&format!("GstIntRange @ {self:p}")).finish()
3705    }
3706}
3707
3708#[repr(C)]
3709#[allow(dead_code)]
3710pub struct GstMetaFactory {
3711    _data: [u8; 0],
3712    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3713}
3714
3715impl ::std::fmt::Debug for GstMetaFactory {
3716    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3717        f.debug_struct(&format!("GstMetaFactory @ {self:p}"))
3718            .finish()
3719    }
3720}
3721
3722#[derive(Copy, Clone)]
3723#[repr(C)]
3724pub struct GstObject {
3725    pub object: gobject::GInitiallyUnowned,
3726    pub lock: glib::GMutex,
3727    pub name: *mut c_char,
3728    pub parent: *mut GstObject,
3729    pub flags: u32,
3730    pub control_bindings: *mut glib::GList,
3731    pub control_rate: u64,
3732    pub last_sync: u64,
3733    pub _gst_reserved: gpointer,
3734}
3735
3736impl ::std::fmt::Debug for GstObject {
3737    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3738        f.debug_struct(&format!("GstObject @ {self:p}"))
3739            .field("object", &self.object)
3740            .field("lock", &self.lock)
3741            .field("name", &self.name)
3742            .field("parent", &self.parent)
3743            .field("flags", &self.flags)
3744            .finish()
3745    }
3746}
3747
3748#[derive(Copy, Clone)]
3749#[repr(C)]
3750pub struct GstPad {
3751    pub object: GstObject,
3752    pub element_private: gpointer,
3753    pub padtemplate: *mut GstPadTemplate,
3754    pub direction: GstPadDirection,
3755    pub stream_rec_lock: glib::GRecMutex,
3756    pub task: *mut GstTask,
3757    pub block_cond: glib::GCond,
3758    pub probes: glib::GHookList,
3759    pub mode: GstPadMode,
3760    pub activatefunc: GstPadActivateFunction,
3761    pub activatedata: gpointer,
3762    pub activatenotify: glib::GDestroyNotify,
3763    pub activatemodefunc: GstPadActivateModeFunction,
3764    pub activatemodedata: gpointer,
3765    pub activatemodenotify: glib::GDestroyNotify,
3766    pub peer: *mut GstPad,
3767    pub linkfunc: GstPadLinkFunction,
3768    pub linkdata: gpointer,
3769    pub linknotify: glib::GDestroyNotify,
3770    pub unlinkfunc: GstPadUnlinkFunction,
3771    pub unlinkdata: gpointer,
3772    pub unlinknotify: glib::GDestroyNotify,
3773    pub chainfunc: GstPadChainFunction,
3774    pub chaindata: gpointer,
3775    pub chainnotify: glib::GDestroyNotify,
3776    pub chainlistfunc: GstPadChainListFunction,
3777    pub chainlistdata: gpointer,
3778    pub chainlistnotify: glib::GDestroyNotify,
3779    pub getrangefunc: GstPadGetRangeFunction,
3780    pub getrangedata: gpointer,
3781    pub getrangenotify: glib::GDestroyNotify,
3782    pub eventfunc: GstPadEventFunction,
3783    pub eventdata: gpointer,
3784    pub eventnotify: glib::GDestroyNotify,
3785    pub offset: i64,
3786    pub queryfunc: GstPadQueryFunction,
3787    pub querydata: gpointer,
3788    pub querynotify: glib::GDestroyNotify,
3789    pub iterintlinkfunc: GstPadIterIntLinkFunction,
3790    pub iterintlinkdata: gpointer,
3791    pub iterintlinknotify: glib::GDestroyNotify,
3792    pub num_probes: c_int,
3793    pub num_blocked: c_int,
3794    pub priv_: *mut GstPadPrivate,
3795    pub ABI: GstPad_ABI,
3796}
3797
3798impl ::std::fmt::Debug for GstPad {
3799    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3800        f.debug_struct(&format!("GstPad @ {self:p}"))
3801            .field("object", &self.object)
3802            .field("element_private", &self.element_private)
3803            .field("padtemplate", &self.padtemplate)
3804            .field("direction", &self.direction)
3805            .field("ABI", &self.ABI)
3806            .finish()
3807    }
3808}
3809
3810#[derive(Copy, Clone)]
3811#[repr(C)]
3812pub struct GstPadTemplate {
3813    pub object: GstObject,
3814    pub name_template: *mut c_char,
3815    pub direction: GstPadDirection,
3816    pub presence: GstPadPresence,
3817    pub caps: *mut GstCaps,
3818    pub ABI: GstPadTemplate_ABI,
3819}
3820
3821impl ::std::fmt::Debug for GstPadTemplate {
3822    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3823        f.debug_struct(&format!("GstPadTemplate @ {self:p}"))
3824            .field("object", &self.object)
3825            .field("name_template", &self.name_template)
3826            .field("direction", &self.direction)
3827            .field("presence", &self.presence)
3828            .field("caps", &self.caps)
3829            .field("ABI", &self.ABI)
3830            .finish()
3831    }
3832}
3833
3834#[derive(Copy, Clone)]
3835#[repr(C)]
3836pub struct GstParamSpecArray {
3837    pub parent_instance: gobject::GParamSpec,
3838    pub element_spec: *mut gobject::GParamSpec,
3839}
3840
3841impl ::std::fmt::Debug for GstParamSpecArray {
3842    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3843        f.debug_struct(&format!("GstParamSpecArray @ {self:p}"))
3844            .field("parent_instance", &self.parent_instance)
3845            .field("element_spec", &self.element_spec)
3846            .finish()
3847    }
3848}
3849
3850#[derive(Copy, Clone)]
3851#[repr(C)]
3852pub struct GstParamSpecFraction {
3853    pub parent_instance: gobject::GParamSpec,
3854    pub min_num: c_int,
3855    pub min_den: c_int,
3856    pub max_num: c_int,
3857    pub max_den: c_int,
3858    pub def_num: c_int,
3859    pub def_den: c_int,
3860}
3861
3862impl ::std::fmt::Debug for GstParamSpecFraction {
3863    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3864        f.debug_struct(&format!("GstParamSpecFraction @ {self:p}"))
3865            .field("parent_instance", &self.parent_instance)
3866            .field("min_num", &self.min_num)
3867            .field("min_den", &self.min_den)
3868            .field("max_num", &self.max_num)
3869            .field("max_den", &self.max_den)
3870            .field("def_num", &self.def_num)
3871            .field("def_den", &self.def_den)
3872            .finish()
3873    }
3874}
3875
3876#[derive(Copy, Clone)]
3877#[repr(C)]
3878pub struct GstPipeline {
3879    pub bin: GstBin,
3880    pub fixed_clock: *mut GstClock,
3881    pub stream_time: GstClockTime,
3882    pub delay: GstClockTime,
3883    pub priv_: *mut GstPipelinePrivate,
3884    pub _gst_reserved: [gpointer; 4],
3885}
3886
3887impl ::std::fmt::Debug for GstPipeline {
3888    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3889        f.debug_struct(&format!("GstPipeline @ {self:p}"))
3890            .field("bin", &self.bin)
3891            .field("fixed_clock", &self.fixed_clock)
3892            .field("stream_time", &self.stream_time)
3893            .field("delay", &self.delay)
3894            .finish()
3895    }
3896}
3897
3898#[repr(C)]
3899#[allow(dead_code)]
3900pub struct GstPlugin {
3901    _data: [u8; 0],
3902    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3903}
3904
3905impl ::std::fmt::Debug for GstPlugin {
3906    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3907        f.debug_struct(&format!("GstPlugin @ {self:p}")).finish()
3908    }
3909}
3910
3911#[repr(C)]
3912#[allow(dead_code)]
3913pub struct GstPluginFeature {
3914    _data: [u8; 0],
3915    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3916}
3917
3918impl ::std::fmt::Debug for GstPluginFeature {
3919    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3920        f.debug_struct(&format!("GstPluginFeature @ {self:p}"))
3921            .finish()
3922    }
3923}
3924
3925#[derive(Copy, Clone)]
3926#[repr(C)]
3927pub struct GstProxyPad {
3928    pub pad: GstPad,
3929    pub priv_: *mut GstProxyPadPrivate,
3930}
3931
3932impl ::std::fmt::Debug for GstProxyPad {
3933    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3934        f.debug_struct(&format!("GstProxyPad @ {self:p}"))
3935            .field("pad", &self.pad)
3936            .finish()
3937    }
3938}
3939
3940#[derive(Copy, Clone)]
3941#[repr(C)]
3942pub struct GstRegistry {
3943    pub object: GstObject,
3944    pub priv_: *mut GstRegistryPrivate,
3945}
3946
3947impl ::std::fmt::Debug for GstRegistry {
3948    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3949        f.debug_struct(&format!("GstRegistry @ {self:p}"))
3950            .field("object", &self.object)
3951            .finish()
3952    }
3953}
3954
3955#[derive(Copy, Clone)]
3956#[repr(C)]
3957pub struct GstSharedTaskPool {
3958    pub parent: GstTaskPool,
3959    pub priv_: *mut GstSharedTaskPoolPrivate,
3960    pub _gst_reserved: [gpointer; 4],
3961}
3962
3963impl ::std::fmt::Debug for GstSharedTaskPool {
3964    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3965        f.debug_struct(&format!("GstSharedTaskPool @ {self:p}"))
3966            .field("parent", &self.parent)
3967            .finish()
3968    }
3969}
3970
3971#[derive(Copy, Clone)]
3972#[repr(C)]
3973pub struct GstStream {
3974    pub object: GstObject,
3975    pub stream_id: *const c_char,
3976    pub priv_: *mut GstStreamPrivate,
3977    pub _gst_reserved: [gpointer; 4],
3978}
3979
3980impl ::std::fmt::Debug for GstStream {
3981    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3982        f.debug_struct(&format!("GstStream @ {self:p}"))
3983            .field("stream_id", &self.stream_id)
3984            .finish()
3985    }
3986}
3987
3988#[derive(Copy, Clone)]
3989#[repr(C)]
3990pub struct GstStreamCollection {
3991    pub object: GstObject,
3992    pub upstream_id: *mut c_char,
3993    pub priv_: *mut GstStreamCollectionPrivate,
3994    pub _gst_reserved: [gpointer; 4],
3995}
3996
3997impl ::std::fmt::Debug for GstStreamCollection {
3998    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3999        f.debug_struct(&format!("GstStreamCollection @ {self:p}"))
4000            .finish()
4001    }
4002}
4003
4004#[derive(Copy, Clone)]
4005#[repr(C)]
4006pub struct GstSystemClock {
4007    pub clock: GstClock,
4008    pub priv_: *mut GstSystemClockPrivate,
4009    pub _gst_reserved: [gpointer; 4],
4010}
4011
4012impl ::std::fmt::Debug for GstSystemClock {
4013    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4014        f.debug_struct(&format!("GstSystemClock @ {self:p}"))
4015            .field("clock", &self.clock)
4016            .finish()
4017    }
4018}
4019
4020#[derive(Copy, Clone)]
4021#[repr(C)]
4022pub struct GstTask {
4023    pub object: GstObject,
4024    pub state: GstTaskState,
4025    pub cond: glib::GCond,
4026    pub lock: *mut glib::GRecMutex,
4027    pub func: GstTaskFunction,
4028    pub user_data: gpointer,
4029    pub notify: glib::GDestroyNotify,
4030    pub running: gboolean,
4031    pub thread: *mut glib::GThread,
4032    pub priv_: *mut GstTaskPrivate,
4033    pub _gst_reserved: [gpointer; 4],
4034}
4035
4036impl ::std::fmt::Debug for GstTask {
4037    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4038        f.debug_struct(&format!("GstTask @ {self:p}"))
4039            .field("object", &self.object)
4040            .field("state", &self.state)
4041            .field("cond", &self.cond)
4042            .field("lock", &self.lock)
4043            .field("func", &self.func)
4044            .field("user_data", &self.user_data)
4045            .field("notify", &self.notify)
4046            .field("running", &self.running)
4047            .finish()
4048    }
4049}
4050
4051#[derive(Copy, Clone)]
4052#[repr(C)]
4053pub struct GstTaskPool {
4054    pub object: GstObject,
4055    pub pool: *mut glib::GThreadPool,
4056    pub _gst_reserved: [gpointer; 4],
4057}
4058
4059impl ::std::fmt::Debug for GstTaskPool {
4060    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4061        f.debug_struct(&format!("GstTaskPool @ {self:p}"))
4062            .field("object", &self.object)
4063            .finish()
4064    }
4065}
4066
4067#[derive(Copy, Clone)]
4068#[repr(C)]
4069pub struct GstTracer {
4070    pub parent: GstObject,
4071    pub priv_: *mut GstTracerPrivate,
4072    pub _gst_reserved: [gpointer; 4],
4073}
4074
4075impl ::std::fmt::Debug for GstTracer {
4076    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4077        f.debug_struct(&format!("GstTracer @ {self:p}"))
4078            .field("parent", &self.parent)
4079            .finish()
4080    }
4081}
4082
4083#[repr(C)]
4084#[allow(dead_code)]
4085pub struct GstTracerFactory {
4086    _data: [u8; 0],
4087    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4088}
4089
4090impl ::std::fmt::Debug for GstTracerFactory {
4091    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4092        f.debug_struct(&format!("GstTracerFactory @ {self:p}"))
4093            .finish()
4094    }
4095}
4096
4097#[repr(C)]
4098#[allow(dead_code)]
4099pub struct GstTracerRecord {
4100    _data: [u8; 0],
4101    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4102}
4103
4104impl ::std::fmt::Debug for GstTracerRecord {
4105    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4106        f.debug_struct(&format!("GstTracerRecord @ {self:p}"))
4107            .finish()
4108    }
4109}
4110
4111#[repr(C)]
4112#[allow(dead_code)]
4113pub struct GstTypeFindFactory {
4114    _data: [u8; 0],
4115    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4116}
4117
4118impl ::std::fmt::Debug for GstTypeFindFactory {
4119    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4120        f.debug_struct(&format!("GstTypeFindFactory @ {self:p}"))
4121            .finish()
4122    }
4123}
4124
4125#[repr(C)]
4126#[allow(dead_code)]
4127pub struct GstValueArray {
4128    _data: [u8; 0],
4129    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4130}
4131
4132impl ::std::fmt::Debug for GstValueArray {
4133    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4134        f.debug_struct(&format!("GstValueArray @ {self:p}"))
4135            .finish()
4136    }
4137}
4138
4139#[repr(C)]
4140#[allow(dead_code)]
4141pub struct GstValueList {
4142    _data: [u8; 0],
4143    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4144}
4145
4146impl ::std::fmt::Debug for GstValueList {
4147    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4148        f.debug_struct(&format!("GstValueList @ {self:p}")).finish()
4149    }
4150}
4151
4152#[repr(C)]
4153#[allow(dead_code)]
4154pub struct GstValueUniqueList {
4155    _data: [u8; 0],
4156    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4157}
4158
4159impl ::std::fmt::Debug for GstValueUniqueList {
4160    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4161        f.debug_struct(&format!("GstValueUniqueList @ {self:p}"))
4162            .finish()
4163    }
4164}
4165
4166// Interfaces
4167#[repr(C)]
4168#[allow(dead_code)]
4169pub struct GstChildProxy {
4170    _data: [u8; 0],
4171    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4172}
4173
4174impl ::std::fmt::Debug for GstChildProxy {
4175    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4176        write!(f, "GstChildProxy @ {self:p}")
4177    }
4178}
4179
4180#[repr(C)]
4181#[allow(dead_code)]
4182pub struct GstPreset {
4183    _data: [u8; 0],
4184    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4185}
4186
4187impl ::std::fmt::Debug for GstPreset {
4188    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4189        write!(f, "GstPreset @ {self:p}")
4190    }
4191}
4192
4193#[repr(C)]
4194#[allow(dead_code)]
4195pub struct GstTagSetter {
4196    _data: [u8; 0],
4197    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4198}
4199
4200impl ::std::fmt::Debug for GstTagSetter {
4201    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4202        write!(f, "GstTagSetter @ {self:p}")
4203    }
4204}
4205
4206#[repr(C)]
4207#[allow(dead_code)]
4208pub struct GstTocSetter {
4209    _data: [u8; 0],
4210    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4211}
4212
4213impl ::std::fmt::Debug for GstTocSetter {
4214    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4215        write!(f, "GstTocSetter @ {self:p}")
4216    }
4217}
4218
4219#[repr(C)]
4220#[allow(dead_code)]
4221pub struct GstURIHandler {
4222    _data: [u8; 0],
4223    _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4224}
4225
4226impl ::std::fmt::Debug for GstURIHandler {
4227    fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4228        write!(f, "GstURIHandler @ {self:p}")
4229    }
4230}
4231
4232unsafe extern "C" {
4233
4234    //=========================================================================
4235    // GstBufferingMode
4236    //=========================================================================
4237    pub fn gst_buffering_mode_get_type() -> GType;
4238
4239    //=========================================================================
4240    // GstBusSyncReply
4241    //=========================================================================
4242    pub fn gst_bus_sync_reply_get_type() -> GType;
4243
4244    //=========================================================================
4245    // GstCapsIntersectMode
4246    //=========================================================================
4247    pub fn gst_caps_intersect_mode_get_type() -> GType;
4248
4249    //=========================================================================
4250    // GstClockEntryType
4251    //=========================================================================
4252    pub fn gst_clock_entry_type_get_type() -> GType;
4253
4254    //=========================================================================
4255    // GstClockReturn
4256    //=========================================================================
4257    pub fn gst_clock_return_get_type() -> GType;
4258
4259    //=========================================================================
4260    // GstClockType
4261    //=========================================================================
4262    pub fn gst_clock_type_get_type() -> GType;
4263
4264    //=========================================================================
4265    // GstCoreError
4266    //=========================================================================
4267    pub fn gst_core_error_get_type() -> GType;
4268    pub fn gst_core_error_quark() -> glib::GQuark;
4269
4270    //=========================================================================
4271    // GstDebugColorMode
4272    //=========================================================================
4273    pub fn gst_debug_color_mode_get_type() -> GType;
4274
4275    //=========================================================================
4276    // GstDebugLevel
4277    //=========================================================================
4278    pub fn gst_debug_level_get_type() -> GType;
4279    pub fn gst_debug_level_get_name(level: GstDebugLevel) -> *const c_char;
4280
4281    //=========================================================================
4282    // GstEventType
4283    //=========================================================================
4284    pub fn gst_event_type_get_type() -> GType;
4285    pub fn gst_event_type_get_flags(type_: GstEventType) -> GstEventTypeFlags;
4286    pub fn gst_event_type_get_name(type_: GstEventType) -> *const c_char;
4287    pub fn gst_event_type_to_quark(type_: GstEventType) -> glib::GQuark;
4288    #[cfg(feature = "v1_22")]
4289    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
4290    pub fn gst_event_type_to_sticky_ordering(type_: GstEventType) -> c_uint;
4291
4292    //=========================================================================
4293    // GstFlowReturn
4294    //=========================================================================
4295    pub fn gst_flow_return_get_type() -> GType;
4296
4297    //=========================================================================
4298    // GstFormat
4299    //=========================================================================
4300    pub fn gst_format_get_type() -> GType;
4301    pub fn gst_format_get_by_nick(nick: *const c_char) -> GstFormat;
4302    pub fn gst_format_get_details(format: GstFormat) -> *const GstFormatDefinition;
4303    pub fn gst_format_get_name(format: GstFormat) -> *const c_char;
4304    pub fn gst_format_iterate_definitions() -> *mut GstIterator;
4305    pub fn gst_format_register(nick: *const c_char, description: *const c_char) -> GstFormat;
4306    pub fn gst_format_to_quark(format: GstFormat) -> glib::GQuark;
4307
4308    //=========================================================================
4309    // GstIteratorItem
4310    //=========================================================================
4311    pub fn gst_iterator_item_get_type() -> GType;
4312
4313    //=========================================================================
4314    // GstIteratorResult
4315    //=========================================================================
4316    pub fn gst_iterator_result_get_type() -> GType;
4317
4318    //=========================================================================
4319    // GstLibraryError
4320    //=========================================================================
4321    pub fn gst_library_error_get_type() -> GType;
4322    pub fn gst_library_error_quark() -> glib::GQuark;
4323
4324    //=========================================================================
4325    // GstPadDirection
4326    //=========================================================================
4327    pub fn gst_pad_direction_get_type() -> GType;
4328
4329    //=========================================================================
4330    // GstPadLinkReturn
4331    //=========================================================================
4332    pub fn gst_pad_link_return_get_type() -> GType;
4333
4334    //=========================================================================
4335    // GstPadMode
4336    //=========================================================================
4337    pub fn gst_pad_mode_get_type() -> GType;
4338    pub fn gst_pad_mode_get_name(mode: GstPadMode) -> *const c_char;
4339
4340    //=========================================================================
4341    // GstPadPresence
4342    //=========================================================================
4343    pub fn gst_pad_presence_get_type() -> GType;
4344
4345    //=========================================================================
4346    // GstPadProbeReturn
4347    //=========================================================================
4348    pub fn gst_pad_probe_return_get_type() -> GType;
4349
4350    //=========================================================================
4351    // GstParseError
4352    //=========================================================================
4353    pub fn gst_parse_error_get_type() -> GType;
4354    pub fn gst_parse_error_quark() -> glib::GQuark;
4355
4356    //=========================================================================
4357    // GstPluginError
4358    //=========================================================================
4359    pub fn gst_plugin_error_get_type() -> GType;
4360    pub fn gst_plugin_error_quark() -> glib::GQuark;
4361
4362    //=========================================================================
4363    // GstProgressType
4364    //=========================================================================
4365    pub fn gst_progress_type_get_type() -> GType;
4366
4367    //=========================================================================
4368    // GstPromiseResult
4369    //=========================================================================
4370    pub fn gst_promise_result_get_type() -> GType;
4371
4372    //=========================================================================
4373    // GstQOSType
4374    //=========================================================================
4375    pub fn gst_qos_type_get_type() -> GType;
4376
4377    //=========================================================================
4378    // GstQueryType
4379    //=========================================================================
4380    pub fn gst_query_type_get_type() -> GType;
4381    pub fn gst_query_type_get_flags(type_: GstQueryType) -> GstQueryTypeFlags;
4382    pub fn gst_query_type_get_name(type_: GstQueryType) -> *const c_char;
4383    pub fn gst_query_type_to_quark(type_: GstQueryType) -> glib::GQuark;
4384
4385    //=========================================================================
4386    // GstRank
4387    //=========================================================================
4388    pub fn gst_rank_get_type() -> GType;
4389
4390    //=========================================================================
4391    // GstResourceError
4392    //=========================================================================
4393    pub fn gst_resource_error_get_type() -> GType;
4394    pub fn gst_resource_error_quark() -> glib::GQuark;
4395
4396    //=========================================================================
4397    // GstSearchMode
4398    //=========================================================================
4399    pub fn gst_search_mode_get_type() -> GType;
4400
4401    //=========================================================================
4402    // GstSeekType
4403    //=========================================================================
4404    pub fn gst_seek_type_get_type() -> GType;
4405
4406    //=========================================================================
4407    // GstState
4408    //=========================================================================
4409    pub fn gst_state_get_type() -> GType;
4410    #[cfg(feature = "v1_28")]
4411    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4412    pub fn gst_state_get_name(state: GstState) -> *const c_char;
4413
4414    //=========================================================================
4415    // GstStateChange
4416    //=========================================================================
4417    pub fn gst_state_change_get_type() -> GType;
4418    pub fn gst_state_change_get_name(transition: GstStateChange) -> *const c_char;
4419
4420    //=========================================================================
4421    // GstStateChangeReturn
4422    //=========================================================================
4423    pub fn gst_state_change_return_get_type() -> GType;
4424    #[cfg(feature = "v1_28")]
4425    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4426    pub fn gst_state_change_return_get_name(state_ret: GstStateChangeReturn) -> *const c_char;
4427
4428    //=========================================================================
4429    // GstStreamError
4430    //=========================================================================
4431    pub fn gst_stream_error_get_type() -> GType;
4432    pub fn gst_stream_error_quark() -> glib::GQuark;
4433
4434    //=========================================================================
4435    // GstStreamStatusType
4436    //=========================================================================
4437    pub fn gst_stream_status_type_get_type() -> GType;
4438
4439    //=========================================================================
4440    // GstStructureChangeType
4441    //=========================================================================
4442    pub fn gst_structure_change_type_get_type() -> GType;
4443
4444    //=========================================================================
4445    // GstTagFlag
4446    //=========================================================================
4447    pub fn gst_tag_flag_get_type() -> GType;
4448
4449    //=========================================================================
4450    // GstTagMergeMode
4451    //=========================================================================
4452    pub fn gst_tag_merge_mode_get_type() -> GType;
4453
4454    //=========================================================================
4455    // GstTagScope
4456    //=========================================================================
4457    pub fn gst_tag_scope_get_type() -> GType;
4458
4459    //=========================================================================
4460    // GstTaskState
4461    //=========================================================================
4462    pub fn gst_task_state_get_type() -> GType;
4463
4464    //=========================================================================
4465    // GstTocEntryType
4466    //=========================================================================
4467    pub fn gst_toc_entry_type_get_type() -> GType;
4468    pub fn gst_toc_entry_type_get_nick(type_: GstTocEntryType) -> *const c_char;
4469
4470    //=========================================================================
4471    // GstTocLoopType
4472    //=========================================================================
4473    pub fn gst_toc_loop_type_get_type() -> GType;
4474
4475    //=========================================================================
4476    // GstTocScope
4477    //=========================================================================
4478    pub fn gst_toc_scope_get_type() -> GType;
4479
4480    //=========================================================================
4481    // GstTracerFieldType
4482    //=========================================================================
4483    #[cfg(feature = "v1_30")]
4484    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
4485    pub fn gst_tracer_field_type_get_type() -> GType;
4486
4487    //=========================================================================
4488    // GstTracerValueScope
4489    //=========================================================================
4490    pub fn gst_tracer_value_scope_get_type() -> GType;
4491
4492    //=========================================================================
4493    // GstTypeFindProbability
4494    //=========================================================================
4495    pub fn gst_type_find_probability_get_type() -> GType;
4496
4497    //=========================================================================
4498    // GstURIError
4499    //=========================================================================
4500    pub fn gst_uri_error_get_type() -> GType;
4501    pub fn gst_uri_error_quark() -> glib::GQuark;
4502
4503    //=========================================================================
4504    // GstURIType
4505    //=========================================================================
4506    pub fn gst_uri_type_get_type() -> GType;
4507
4508    //=========================================================================
4509    // GstAllocatorFlags
4510    //=========================================================================
4511    pub fn gst_allocator_flags_get_type() -> GType;
4512
4513    //=========================================================================
4514    // GstBinFlags
4515    //=========================================================================
4516    pub fn gst_bin_flags_get_type() -> GType;
4517
4518    //=========================================================================
4519    // GstBufferCopyFlags
4520    //=========================================================================
4521    pub fn gst_buffer_copy_flags_get_type() -> GType;
4522
4523    //=========================================================================
4524    // GstBufferFlags
4525    //=========================================================================
4526    pub fn gst_buffer_flags_get_type() -> GType;
4527
4528    //=========================================================================
4529    // GstBufferPoolAcquireFlags
4530    //=========================================================================
4531    pub fn gst_buffer_pool_acquire_flags_get_type() -> GType;
4532
4533    //=========================================================================
4534    // GstBusFlags
4535    //=========================================================================
4536    pub fn gst_bus_flags_get_type() -> GType;
4537
4538    //=========================================================================
4539    // GstCapsFlags
4540    //=========================================================================
4541    pub fn gst_caps_flags_get_type() -> GType;
4542
4543    //=========================================================================
4544    // GstClockFlags
4545    //=========================================================================
4546    pub fn gst_clock_flags_get_type() -> GType;
4547
4548    //=========================================================================
4549    // GstDebugColorFlags
4550    //=========================================================================
4551    pub fn gst_debug_color_flags_get_type() -> GType;
4552
4553    //=========================================================================
4554    // GstDebugGraphDetails
4555    //=========================================================================
4556    pub fn gst_debug_graph_details_get_type() -> GType;
4557
4558    //=========================================================================
4559    // GstElementFlags
4560    //=========================================================================
4561    pub fn gst_element_flags_get_type() -> GType;
4562
4563    //=========================================================================
4564    // GstEventTypeFlags
4565    //=========================================================================
4566    pub fn gst_event_type_flags_get_type() -> GType;
4567
4568    //=========================================================================
4569    // GstGapFlags
4570    //=========================================================================
4571    #[cfg(feature = "v1_20")]
4572    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4573    pub fn gst_gap_flags_get_type() -> GType;
4574
4575    //=========================================================================
4576    // GstLockFlags
4577    //=========================================================================
4578    pub fn gst_lock_flags_get_type() -> GType;
4579
4580    //=========================================================================
4581    // GstLogContextFlags
4582    //=========================================================================
4583    #[cfg(feature = "v1_28")]
4584    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4585    pub fn gst_log_context_flags_get_type() -> GType;
4586
4587    //=========================================================================
4588    // GstLogContextHashFlags
4589    //=========================================================================
4590    #[cfg(feature = "v1_28")]
4591    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4592    pub fn gst_log_context_hash_flags_get_type() -> GType;
4593
4594    //=========================================================================
4595    // GstMapFlags
4596    //=========================================================================
4597    pub fn gst_map_flags_get_type() -> GType;
4598
4599    //=========================================================================
4600    // GstMemoryFlags
4601    //=========================================================================
4602    pub fn gst_memory_flags_get_type() -> GType;
4603
4604    //=========================================================================
4605    // GstMessageType
4606    //=========================================================================
4607    pub fn gst_message_type_get_type() -> GType;
4608    pub fn gst_message_type_get_name(type_: GstMessageType) -> *const c_char;
4609    pub fn gst_message_type_to_quark(type_: GstMessageType) -> glib::GQuark;
4610
4611    //=========================================================================
4612    // GstMetaFlags
4613    //=========================================================================
4614    pub fn gst_meta_flags_get_type() -> GType;
4615
4616    //=========================================================================
4617    // GstMiniObjectFlags
4618    //=========================================================================
4619    pub fn gst_mini_object_flags_get_type() -> GType;
4620
4621    //=========================================================================
4622    // GstObjectFlags
4623    //=========================================================================
4624    pub fn gst_object_flags_get_type() -> GType;
4625
4626    //=========================================================================
4627    // GstPadFlags
4628    //=========================================================================
4629    pub fn gst_pad_flags_get_type() -> GType;
4630
4631    //=========================================================================
4632    // GstPadLinkCheck
4633    //=========================================================================
4634    pub fn gst_pad_link_check_get_type() -> GType;
4635
4636    //=========================================================================
4637    // GstPadProbeType
4638    //=========================================================================
4639    pub fn gst_pad_probe_type_get_type() -> GType;
4640
4641    //=========================================================================
4642    // GstPadTemplateFlags
4643    //=========================================================================
4644    pub fn gst_pad_template_flags_get_type() -> GType;
4645
4646    //=========================================================================
4647    // GstParseFlags
4648    //=========================================================================
4649    pub fn gst_parse_flags_get_type() -> GType;
4650
4651    //=========================================================================
4652    // GstPipelineFlags
4653    //=========================================================================
4654    pub fn gst_pipeline_flags_get_type() -> GType;
4655
4656    //=========================================================================
4657    // GstPluginAPIFlags
4658    //=========================================================================
4659    #[cfg(feature = "v1_18")]
4660    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
4661    pub fn gst_plugin_api_flags_get_type() -> GType;
4662
4663    //=========================================================================
4664    // GstPluginDependencyFlags
4665    //=========================================================================
4666    pub fn gst_plugin_dependency_flags_get_type() -> GType;
4667
4668    //=========================================================================
4669    // GstPluginFlags
4670    //=========================================================================
4671    pub fn gst_plugin_flags_get_type() -> GType;
4672
4673    //=========================================================================
4674    // GstQueryTypeFlags
4675    //=========================================================================
4676    pub fn gst_query_type_flags_get_type() -> GType;
4677
4678    //=========================================================================
4679    // GstSchedulingFlags
4680    //=========================================================================
4681    pub fn gst_scheduling_flags_get_type() -> GType;
4682
4683    //=========================================================================
4684    // GstSeekFlags
4685    //=========================================================================
4686    pub fn gst_seek_flags_get_type() -> GType;
4687
4688    //=========================================================================
4689    // GstSegmentFlags
4690    //=========================================================================
4691    pub fn gst_segment_flags_get_type() -> GType;
4692
4693    //=========================================================================
4694    // GstSerializeFlags
4695    //=========================================================================
4696    #[cfg(feature = "v1_20")]
4697    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4698    pub fn gst_serialize_flags_get_type() -> GType;
4699
4700    //=========================================================================
4701    // GstStackTraceFlags
4702    //=========================================================================
4703    pub fn gst_stack_trace_flags_get_type() -> GType;
4704
4705    //=========================================================================
4706    // GstStreamFlags
4707    //=========================================================================
4708    pub fn gst_stream_flags_get_type() -> GType;
4709
4710    //=========================================================================
4711    // GstStreamType
4712    //=========================================================================
4713    pub fn gst_stream_type_get_type() -> GType;
4714    pub fn gst_stream_type_get_name(stype: GstStreamType) -> *const c_char;
4715
4716    //=========================================================================
4717    // GstTracerValueFlags
4718    //=========================================================================
4719    pub fn gst_tracer_value_flags_get_type() -> GType;
4720
4721    //=========================================================================
4722    // GstAllocationParams
4723    //=========================================================================
4724    pub fn gst_allocation_params_get_type() -> GType;
4725    #[cfg(feature = "v1_20")]
4726    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4727    pub fn gst_allocation_params_new() -> *mut GstAllocationParams;
4728    pub fn gst_allocation_params_copy(
4729        params: *const GstAllocationParams,
4730    ) -> *mut GstAllocationParams;
4731    pub fn gst_allocation_params_free(params: *mut GstAllocationParams);
4732    pub fn gst_allocation_params_init(params: *mut GstAllocationParams);
4733
4734    //=========================================================================
4735    // GstAtomicQueue
4736    //=========================================================================
4737    pub fn gst_atomic_queue_get_type() -> GType;
4738    pub fn gst_atomic_queue_new(initial_size: c_uint) -> *mut GstAtomicQueue;
4739    pub fn gst_atomic_queue_length(queue: *mut GstAtomicQueue) -> c_uint;
4740    pub fn gst_atomic_queue_peek(queue: *mut GstAtomicQueue) -> gpointer;
4741    pub fn gst_atomic_queue_pop(queue: *mut GstAtomicQueue) -> gpointer;
4742    pub fn gst_atomic_queue_push(queue: *mut GstAtomicQueue, data: gpointer);
4743    pub fn gst_atomic_queue_ref(queue: *mut GstAtomicQueue);
4744    pub fn gst_atomic_queue_unref(queue: *mut GstAtomicQueue);
4745
4746    //=========================================================================
4747    // GstBuffer
4748    //=========================================================================
4749    pub fn gst_buffer_get_type() -> GType;
4750    pub fn gst_buffer_new() -> *mut GstBuffer;
4751    pub fn gst_buffer_new_allocate(
4752        allocator: *mut GstAllocator,
4753        size: size_t,
4754        params: *mut GstAllocationParams,
4755    ) -> *mut GstBuffer;
4756    #[cfg(feature = "v1_20")]
4757    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4758    pub fn gst_buffer_new_memdup(data: gconstpointer, size: size_t) -> *mut GstBuffer;
4759    pub fn gst_buffer_new_wrapped(data: gpointer, size: size_t) -> *mut GstBuffer;
4760    #[cfg(feature = "v1_16")]
4761    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
4762    pub fn gst_buffer_new_wrapped_bytes(bytes: *mut glib::GBytes) -> *mut GstBuffer;
4763    pub fn gst_buffer_new_wrapped_full(
4764        flags: GstMemoryFlags,
4765        data: gpointer,
4766        maxsize: size_t,
4767        offset: size_t,
4768        size: size_t,
4769        user_data: gpointer,
4770        notify: glib::GDestroyNotify,
4771    ) -> *mut GstBuffer;
4772    #[cfg(feature = "v1_20")]
4773    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4774    pub fn gst_buffer_add_custom_meta(
4775        buffer: *mut GstBuffer,
4776        name: *const c_char,
4777    ) -> *mut GstCustomMeta;
4778    pub fn gst_buffer_add_meta(
4779        buffer: *mut GstBuffer,
4780        info: *const GstMetaInfo,
4781        params: gpointer,
4782    ) -> *mut GstMeta;
4783    pub fn gst_buffer_add_parent_buffer_meta(
4784        buffer: *mut GstBuffer,
4785        ref_: *mut GstBuffer,
4786    ) -> *mut GstParentBufferMeta;
4787    pub fn gst_buffer_add_protection_meta(
4788        buffer: *mut GstBuffer,
4789        info: *mut GstStructure,
4790    ) -> *mut GstProtectionMeta;
4791    pub fn gst_buffer_add_reference_timestamp_meta(
4792        buffer: *mut GstBuffer,
4793        reference: *mut GstCaps,
4794        timestamp: GstClockTime,
4795        duration: GstClockTime,
4796    ) -> *mut GstReferenceTimestampMeta;
4797    pub fn gst_buffer_append(buf1: *mut GstBuffer, buf2: *mut GstBuffer) -> *mut GstBuffer;
4798    pub fn gst_buffer_append_memory(buffer: *mut GstBuffer, mem: *mut GstMemory);
4799    pub fn gst_buffer_append_region(
4800        buf1: *mut GstBuffer,
4801        buf2: *mut GstBuffer,
4802        offset: ssize_t,
4803        size: ssize_t,
4804    ) -> *mut GstBuffer;
4805    #[cfg(feature = "v1_18_3")]
4806    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4807    pub fn gst_buffer_copy(buf: *const GstBuffer) -> *mut GstBuffer;
4808    pub fn gst_buffer_copy_deep(buf: *const GstBuffer) -> *mut GstBuffer;
4809    pub fn gst_buffer_copy_into(
4810        dest: *mut GstBuffer,
4811        src: *mut GstBuffer,
4812        flags: GstBufferCopyFlags,
4813        offset: size_t,
4814        size: size_t,
4815    ) -> gboolean;
4816    pub fn gst_buffer_copy_region(
4817        parent: *mut GstBuffer,
4818        flags: GstBufferCopyFlags,
4819        offset: size_t,
4820        size: size_t,
4821    ) -> *mut GstBuffer;
4822    pub fn gst_buffer_extract(
4823        buffer: *mut GstBuffer,
4824        offset: size_t,
4825        dest: gpointer,
4826        size: size_t,
4827    ) -> size_t;
4828    pub fn gst_buffer_extract_dup(
4829        buffer: *mut GstBuffer,
4830        offset: size_t,
4831        size: size_t,
4832        dest: *mut u8,
4833        dest_size: *mut size_t,
4834    );
4835    pub fn gst_buffer_fill(
4836        buffer: *mut GstBuffer,
4837        offset: size_t,
4838        src: gconstpointer,
4839        size: size_t,
4840    ) -> size_t;
4841    pub fn gst_buffer_find_memory(
4842        buffer: *mut GstBuffer,
4843        offset: size_t,
4844        size: size_t,
4845        idx: *mut c_uint,
4846        length: *mut c_uint,
4847        skip: *mut size_t,
4848    ) -> gboolean;
4849    pub fn gst_buffer_foreach_meta(
4850        buffer: *mut GstBuffer,
4851        func: GstBufferForeachMetaFunc,
4852        user_data: gpointer,
4853    ) -> gboolean;
4854    pub fn gst_buffer_get_all_memory(buffer: *mut GstBuffer) -> *mut GstMemory;
4855    #[cfg(feature = "v1_20")]
4856    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4857    pub fn gst_buffer_get_custom_meta(
4858        buffer: *mut GstBuffer,
4859        name: *const c_char,
4860    ) -> *mut GstCustomMeta;
4861    pub fn gst_buffer_get_flags(buffer: *mut GstBuffer) -> GstBufferFlags;
4862    pub fn gst_buffer_get_memory(buffer: *mut GstBuffer, idx: c_uint) -> *mut GstMemory;
4863    pub fn gst_buffer_get_memory_range(
4864        buffer: *mut GstBuffer,
4865        idx: c_uint,
4866        length: c_int,
4867    ) -> *mut GstMemory;
4868    pub fn gst_buffer_get_meta(buffer: *mut GstBuffer, api: GType) -> *mut GstMeta;
4869    pub fn gst_buffer_get_n_meta(buffer: *mut GstBuffer, api_type: GType) -> c_uint;
4870    pub fn gst_buffer_get_reference_timestamp_meta(
4871        buffer: *mut GstBuffer,
4872        reference: *mut GstCaps,
4873    ) -> *mut GstReferenceTimestampMeta;
4874    pub fn gst_buffer_get_size(buffer: *mut GstBuffer) -> size_t;
4875    pub fn gst_buffer_get_sizes(
4876        buffer: *mut GstBuffer,
4877        offset: *mut size_t,
4878        maxsize: *mut size_t,
4879    ) -> size_t;
4880    pub fn gst_buffer_get_sizes_range(
4881        buffer: *mut GstBuffer,
4882        idx: c_uint,
4883        length: c_int,
4884        offset: *mut size_t,
4885        maxsize: *mut size_t,
4886    ) -> size_t;
4887    pub fn gst_buffer_has_flags(buffer: *mut GstBuffer, flags: GstBufferFlags) -> gboolean;
4888    pub fn gst_buffer_insert_memory(buffer: *mut GstBuffer, idx: c_int, mem: *mut GstMemory);
4889    pub fn gst_buffer_is_all_memory_writable(buffer: *mut GstBuffer) -> gboolean;
4890    pub fn gst_buffer_is_memory_range_writable(
4891        buffer: *mut GstBuffer,
4892        idx: c_uint,
4893        length: c_int,
4894    ) -> gboolean;
4895    pub fn gst_buffer_is_writable(buf: *const GstBuffer) -> gboolean;
4896    pub fn gst_buffer_iterate_meta(buffer: *mut GstBuffer, state: *mut gpointer) -> *mut GstMeta;
4897    pub fn gst_buffer_iterate_meta_filtered(
4898        buffer: *mut GstBuffer,
4899        state: *mut gpointer,
4900        meta_api_type: GType,
4901    ) -> *mut GstMeta;
4902    pub fn gst_buffer_make_writable(buf: *mut GstBuffer) -> *mut GstBuffer;
4903    pub fn gst_buffer_map(
4904        buffer: *mut GstBuffer,
4905        info: *mut GstMapInfo,
4906        flags: GstMapFlags,
4907    ) -> gboolean;
4908    pub fn gst_buffer_map_range(
4909        buffer: *mut GstBuffer,
4910        idx: c_uint,
4911        length: c_int,
4912        info: *mut GstMapInfo,
4913        flags: GstMapFlags,
4914    ) -> gboolean;
4915    pub fn gst_buffer_memcmp(
4916        buffer: *mut GstBuffer,
4917        offset: size_t,
4918        mem: gconstpointer,
4919        size: size_t,
4920    ) -> c_int;
4921    pub fn gst_buffer_memset(
4922        buffer: *mut GstBuffer,
4923        offset: size_t,
4924        val: u8,
4925        size: size_t,
4926    ) -> size_t;
4927    pub fn gst_buffer_n_memory(buffer: *mut GstBuffer) -> c_uint;
4928    pub fn gst_buffer_peek_memory(buffer: *mut GstBuffer, idx: c_uint) -> *mut GstMemory;
4929    pub fn gst_buffer_prepend_memory(buffer: *mut GstBuffer, mem: *mut GstMemory);
4930    #[cfg(feature = "v1_18_3")]
4931    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4932    pub fn gst_buffer_ref(buf: *mut GstBuffer) -> *mut GstBuffer;
4933    pub fn gst_buffer_remove_all_memory(buffer: *mut GstBuffer);
4934    pub fn gst_buffer_remove_memory(buffer: *mut GstBuffer, idx: c_uint);
4935    pub fn gst_buffer_remove_memory_range(buffer: *mut GstBuffer, idx: c_uint, length: c_int);
4936    pub fn gst_buffer_remove_meta(buffer: *mut GstBuffer, meta: *mut GstMeta) -> gboolean;
4937    pub fn gst_buffer_replace_all_memory(buffer: *mut GstBuffer, mem: *mut GstMemory);
4938    pub fn gst_buffer_replace_memory(buffer: *mut GstBuffer, idx: c_uint, mem: *mut GstMemory);
4939    pub fn gst_buffer_replace_memory_range(
4940        buffer: *mut GstBuffer,
4941        idx: c_uint,
4942        length: c_int,
4943        mem: *mut GstMemory,
4944    );
4945    pub fn gst_buffer_resize(buffer: *mut GstBuffer, offset: ssize_t, size: ssize_t);
4946    pub fn gst_buffer_resize_range(
4947        buffer: *mut GstBuffer,
4948        idx: c_uint,
4949        length: c_int,
4950        offset: ssize_t,
4951        size: ssize_t,
4952    ) -> gboolean;
4953    pub fn gst_buffer_set_flags(buffer: *mut GstBuffer, flags: GstBufferFlags) -> gboolean;
4954    pub fn gst_buffer_set_size(buffer: *mut GstBuffer, size: ssize_t);
4955    pub fn gst_buffer_unmap(buffer: *mut GstBuffer, info: *mut GstMapInfo);
4956    #[cfg(feature = "v1_18_3")]
4957    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4958    pub fn gst_buffer_unref(buf: *mut GstBuffer);
4959    pub fn gst_buffer_unset_flags(buffer: *mut GstBuffer, flags: GstBufferFlags) -> gboolean;
4960    pub fn gst_buffer_get_max_memory() -> c_uint;
4961    #[cfg(feature = "v1_18_3")]
4962    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4963    pub fn gst_buffer_replace(obuf: *mut *mut GstBuffer, nbuf: *mut GstBuffer) -> gboolean;
4964    #[cfg(feature = "v1_28")]
4965    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4966    pub fn gst_buffer_steal(old_buffer: *mut *mut GstBuffer) -> *mut GstBuffer;
4967    #[cfg(feature = "v1_28")]
4968    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4969    pub fn gst_buffer_take(old_buffer: *mut *mut GstBuffer, new_buffer: *mut GstBuffer)
4970    -> gboolean;
4971
4972    //=========================================================================
4973    // GstBufferList
4974    //=========================================================================
4975    pub fn gst_buffer_list_get_type() -> GType;
4976    pub fn gst_buffer_list_new() -> *mut GstBufferList;
4977    pub fn gst_buffer_list_new_sized(size: c_uint) -> *mut GstBufferList;
4978    pub fn gst_buffer_list_calculate_size(list: *mut GstBufferList) -> size_t;
4979    #[cfg(feature = "v1_18_3")]
4980    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4981    pub fn gst_buffer_list_copy(list: *const GstBufferList) -> *mut GstBufferList;
4982    pub fn gst_buffer_list_copy_deep(list: *const GstBufferList) -> *mut GstBufferList;
4983    pub fn gst_buffer_list_foreach(
4984        list: *mut GstBufferList,
4985        func: GstBufferListFunc,
4986        user_data: gpointer,
4987    ) -> gboolean;
4988    pub fn gst_buffer_list_get(list: *mut GstBufferList, idx: c_uint) -> *mut GstBuffer;
4989    pub fn gst_buffer_list_get_writable(list: *mut GstBufferList, idx: c_uint) -> *mut GstBuffer;
4990    pub fn gst_buffer_list_insert(list: *mut GstBufferList, idx: c_int, buffer: *mut GstBuffer);
4991    pub fn gst_buffer_list_is_writable(list: *const GstBufferList) -> gboolean;
4992    pub fn gst_buffer_list_length(list: *mut GstBufferList) -> c_uint;
4993    pub fn gst_buffer_list_make_writable(list: *mut GstBufferList) -> *mut GstBufferList;
4994    #[cfg(feature = "v1_18_3")]
4995    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4996    pub fn gst_buffer_list_ref(list: *mut GstBufferList) -> *mut GstBufferList;
4997    pub fn gst_buffer_list_remove(list: *mut GstBufferList, idx: c_uint, length: c_uint);
4998    #[cfg(feature = "v1_18_3")]
4999    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5000    pub fn gst_buffer_list_unref(list: *mut GstBufferList);
5001    #[cfg(feature = "v1_18_3")]
5002    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5003    pub fn gst_buffer_list_replace(
5004        old_list: *mut *mut GstBufferList,
5005        new_list: *mut GstBufferList,
5006    ) -> gboolean;
5007    #[cfg(feature = "v1_28")]
5008    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5009    pub fn gst_buffer_list_steal(old_list: *mut *mut GstBufferList) -> *mut GstBufferList;
5010    #[cfg(feature = "v1_18_3")]
5011    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5012    pub fn gst_buffer_list_take(
5013        old_list: *mut *mut GstBufferList,
5014        new_list: *mut GstBufferList,
5015    ) -> gboolean;
5016
5017    //=========================================================================
5018    // GstCaps
5019    //=========================================================================
5020    pub fn gst_caps_get_type() -> GType;
5021    pub fn gst_caps_new_any() -> *mut GstCaps;
5022    pub fn gst_caps_new_empty() -> *mut GstCaps;
5023    pub fn gst_caps_new_empty_simple(media_type: *const c_char) -> *mut GstCaps;
5024    pub fn gst_caps_new_full(struct1: *mut GstStructure, ...) -> *mut GstCaps;
5025    //pub fn gst_caps_new_full_valist(structure: *mut GstStructure, var_args: /*Unimplemented*/va_list) -> *mut GstCaps;
5026    #[cfg(feature = "v1_26")]
5027    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5028    pub fn gst_caps_new_id_str_empty_simple(media_type: *const GstIdStr) -> *mut GstCaps;
5029    #[cfg(feature = "v1_26")]
5030    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5031    pub fn gst_caps_new_id_str_simple(
5032        media_type: *const GstIdStr,
5033        fieldname: *const GstIdStr,
5034        ...
5035    ) -> *mut GstCaps;
5036    pub fn gst_caps_new_simple(
5037        media_type: *const c_char,
5038        fieldname: *const c_char,
5039        ...
5040    ) -> *mut GstCaps;
5041    #[cfg(feature = "v1_26")]
5042    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5043    pub fn gst_caps_new_static_str_empty_simple(media_type: *const c_char) -> *mut GstCaps;
5044    #[cfg(feature = "v1_26")]
5045    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5046    pub fn gst_caps_new_static_str_simple(
5047        media_type: *const c_char,
5048        fieldname: *const c_char,
5049        ...
5050    ) -> *mut GstCaps;
5051    pub fn gst_caps_append(caps1: *mut GstCaps, caps2: *mut GstCaps);
5052    pub fn gst_caps_append_structure(caps: *mut GstCaps, structure: *mut GstStructure);
5053    pub fn gst_caps_append_structure_full(
5054        caps: *mut GstCaps,
5055        structure: *mut GstStructure,
5056        features: *mut GstCapsFeatures,
5057    );
5058    pub fn gst_caps_can_intersect(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5059    #[cfg(feature = "v1_16")]
5060    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5061    pub fn gst_caps_copy(caps: *const GstCaps) -> *mut GstCaps;
5062    #[cfg(feature = "v1_16")]
5063    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5064    pub fn gst_caps_copy_nth(caps: *const GstCaps, nth: c_uint) -> *mut GstCaps;
5065    pub fn gst_caps_filter_and_map_in_place(
5066        caps: *mut GstCaps,
5067        func: GstCapsFilterMapFunc,
5068        user_data: gpointer,
5069    );
5070    pub fn gst_caps_fixate(caps: *mut GstCaps) -> *mut GstCaps;
5071    pub fn gst_caps_foreach(
5072        caps: *const GstCaps,
5073        func: GstCapsForeachFunc,
5074        user_data: gpointer,
5075    ) -> gboolean;
5076    pub fn gst_caps_get_features(caps: *const GstCaps, index: c_uint) -> *mut GstCapsFeatures;
5077    pub fn gst_caps_get_size(caps: *const GstCaps) -> c_uint;
5078    pub fn gst_caps_get_structure(caps: *const GstCaps, index: c_uint) -> *mut GstStructure;
5079    #[cfg(feature = "v1_26")]
5080    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5081    pub fn gst_caps_id_str_set_simple(caps: *mut GstCaps, field: *const GstIdStr, ...);
5082    //#[cfg(feature = "v1_26")]
5083    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5084    //pub fn gst_caps_id_str_set_simple_valist(caps: *mut GstCaps, field: *const GstIdStr, varargs: /*Unimplemented*/va_list);
5085    #[cfg(feature = "v1_26")]
5086    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5087    pub fn gst_caps_id_str_set_value(
5088        caps: *mut GstCaps,
5089        field: *const GstIdStr,
5090        value: *const gobject::GValue,
5091    );
5092    pub fn gst_caps_intersect(caps1: *mut GstCaps, caps2: *mut GstCaps) -> *mut GstCaps;
5093    pub fn gst_caps_intersect_full(
5094        caps1: *mut GstCaps,
5095        caps2: *mut GstCaps,
5096        mode: GstCapsIntersectMode,
5097    ) -> *mut GstCaps;
5098    pub fn gst_caps_is_always_compatible(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5099    pub fn gst_caps_is_any(caps: *const GstCaps) -> gboolean;
5100    pub fn gst_caps_is_empty(caps: *const GstCaps) -> gboolean;
5101    pub fn gst_caps_is_equal(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5102    pub fn gst_caps_is_equal_fixed(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5103    pub fn gst_caps_is_fixed(caps: *const GstCaps) -> gboolean;
5104    pub fn gst_caps_is_strictly_equal(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5105    pub fn gst_caps_is_subset(subset: *const GstCaps, superset: *const GstCaps) -> gboolean;
5106    pub fn gst_caps_is_subset_structure(
5107        caps: *const GstCaps,
5108        structure: *const GstStructure,
5109    ) -> gboolean;
5110    pub fn gst_caps_is_subset_structure_full(
5111        caps: *const GstCaps,
5112        structure: *const GstStructure,
5113        features: *const GstCapsFeatures,
5114    ) -> gboolean;
5115    pub fn gst_caps_is_writable(caps: *const GstCaps) -> gboolean;
5116    pub fn gst_caps_make_writable(caps: *mut GstCaps) -> *mut GstCaps;
5117    pub fn gst_caps_map_in_place(
5118        caps: *mut GstCaps,
5119        func: GstCapsMapFunc,
5120        user_data: gpointer,
5121    ) -> gboolean;
5122    pub fn gst_caps_merge(caps1: *mut GstCaps, caps2: *mut GstCaps) -> *mut GstCaps;
5123    pub fn gst_caps_merge_structure(
5124        caps: *mut GstCaps,
5125        structure: *mut GstStructure,
5126    ) -> *mut GstCaps;
5127    pub fn gst_caps_merge_structure_full(
5128        caps: *mut GstCaps,
5129        structure: *mut GstStructure,
5130        features: *mut GstCapsFeatures,
5131    ) -> *mut GstCaps;
5132    pub fn gst_caps_normalize(caps: *mut GstCaps) -> *mut GstCaps;
5133    #[cfg(feature = "v1_18_3")]
5134    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5135    pub fn gst_caps_ref(caps: *mut GstCaps) -> *mut GstCaps;
5136    pub fn gst_caps_remove_structure(caps: *mut GstCaps, idx: c_uint);
5137    #[cfg(feature = "v1_20")]
5138    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5139    pub fn gst_caps_serialize(caps: *const GstCaps, flags: GstSerializeFlags) -> *mut c_char;
5140    pub fn gst_caps_set_features(caps: *mut GstCaps, index: c_uint, features: *mut GstCapsFeatures);
5141    #[cfg(feature = "v1_16")]
5142    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5143    pub fn gst_caps_set_features_simple(caps: *mut GstCaps, features: *mut GstCapsFeatures);
5144    pub fn gst_caps_set_simple(caps: *mut GstCaps, field: *const c_char, ...);
5145    #[cfg(feature = "v1_26")]
5146    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5147    pub fn gst_caps_set_simple_static_str(caps: *mut GstCaps, field: *const c_char, ...);
5148    //#[cfg(feature = "v1_26")]
5149    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5150    //pub fn gst_caps_set_simple_static_str_valist(caps: *mut GstCaps, field: *const c_char, varargs: /*Unimplemented*/va_list);
5151    //pub fn gst_caps_set_simple_valist(caps: *mut GstCaps, field: *const c_char, varargs: /*Unimplemented*/va_list);
5152    pub fn gst_caps_set_value(
5153        caps: *mut GstCaps,
5154        field: *const c_char,
5155        value: *const gobject::GValue,
5156    );
5157    #[cfg(feature = "v1_26")]
5158    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5159    pub fn gst_caps_set_value_static_str(
5160        caps: *mut GstCaps,
5161        field: *const c_char,
5162        value: *const gobject::GValue,
5163    );
5164    pub fn gst_caps_simplify(caps: *mut GstCaps) -> *mut GstCaps;
5165    pub fn gst_caps_steal_structure(caps: *mut GstCaps, index: c_uint) -> *mut GstStructure;
5166    pub fn gst_caps_subtract(minuend: *mut GstCaps, subtrahend: *mut GstCaps) -> *mut GstCaps;
5167    pub fn gst_caps_to_string(caps: *const GstCaps) -> *mut c_char;
5168    pub fn gst_caps_truncate(caps: *mut GstCaps) -> *mut GstCaps;
5169    #[cfg(feature = "v1_18_3")]
5170    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5171    pub fn gst_caps_unref(caps: *mut GstCaps);
5172    pub fn gst_caps_from_string(string: *const c_char) -> *mut GstCaps;
5173    #[cfg(feature = "v1_18_3")]
5174    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5175    pub fn gst_caps_replace(old_caps: *mut *mut GstCaps, new_caps: *mut GstCaps) -> gboolean;
5176    #[cfg(feature = "v1_28")]
5177    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5178    pub fn gst_caps_steal(old_caps: *mut *mut GstCaps) -> *mut GstCaps;
5179    #[cfg(feature = "v1_18_3")]
5180    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5181    pub fn gst_caps_take(old_caps: *mut *mut GstCaps, new_caps: *mut GstCaps) -> gboolean;
5182
5183    //=========================================================================
5184    // GstCapsFeatures
5185    //=========================================================================
5186    pub fn gst_caps_features_get_type() -> GType;
5187    pub fn gst_caps_features_new(feature1: *const c_char, ...) -> *mut GstCapsFeatures;
5188    pub fn gst_caps_features_new_any() -> *mut GstCapsFeatures;
5189    pub fn gst_caps_features_new_empty() -> *mut GstCapsFeatures;
5190    pub fn gst_caps_features_new_id(feature1: glib::GQuark, ...) -> *mut GstCapsFeatures;
5191    #[cfg(feature = "v1_26")]
5192    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5193    pub fn gst_caps_features_new_id_str(feature1: *const GstIdStr, ...) -> *mut GstCapsFeatures;
5194    //#[cfg(feature = "v1_26")]
5195    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5196    //pub fn gst_caps_features_new_id_str_valist(feature1: *const GstIdStr, varargs: /*Unimplemented*/va_list) -> *mut GstCapsFeatures;
5197    //pub fn gst_caps_features_new_id_valist(feature1: glib::GQuark, varargs: /*Unimplemented*/va_list) -> *mut GstCapsFeatures;
5198    #[cfg(feature = "v1_20")]
5199    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5200    pub fn gst_caps_features_new_single(feature: *const c_char) -> *mut GstCapsFeatures;
5201    #[cfg(feature = "v1_26")]
5202    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5203    pub fn gst_caps_features_new_single_static_str(feature: *const c_char) -> *mut GstCapsFeatures;
5204    #[cfg(feature = "v1_26")]
5205    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5206    pub fn gst_caps_features_new_static_str(feature1: *const c_char, ...) -> *mut GstCapsFeatures;
5207    //#[cfg(feature = "v1_26")]
5208    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5209    //pub fn gst_caps_features_new_static_str_valist(feature1: *const c_char, varargs: /*Unimplemented*/va_list) -> *mut GstCapsFeatures;
5210    //pub fn gst_caps_features_new_valist(feature1: *const c_char, varargs: /*Unimplemented*/va_list) -> *mut GstCapsFeatures;
5211    pub fn gst_caps_features_add(features: *mut GstCapsFeatures, feature: *const c_char);
5212    pub fn gst_caps_features_add_id(features: *mut GstCapsFeatures, feature: glib::GQuark);
5213    #[cfg(feature = "v1_26")]
5214    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5215    pub fn gst_caps_features_add_id_str(features: *mut GstCapsFeatures, feature: *const GstIdStr);
5216    #[cfg(feature = "v1_26")]
5217    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5218    pub fn gst_caps_features_add_static_str(features: *mut GstCapsFeatures, feature: *const c_char);
5219    pub fn gst_caps_features_contains(
5220        features: *const GstCapsFeatures,
5221        feature: *const c_char,
5222    ) -> gboolean;
5223    pub fn gst_caps_features_contains_id(
5224        features: *const GstCapsFeatures,
5225        feature: glib::GQuark,
5226    ) -> gboolean;
5227    #[cfg(feature = "v1_26")]
5228    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5229    pub fn gst_caps_features_contains_id_str(
5230        features: *const GstCapsFeatures,
5231        feature: *const GstIdStr,
5232    ) -> gboolean;
5233    pub fn gst_caps_features_copy(features: *const GstCapsFeatures) -> *mut GstCapsFeatures;
5234    pub fn gst_caps_features_free(features: *mut GstCapsFeatures);
5235    pub fn gst_caps_features_get_nth(features: *const GstCapsFeatures, i: c_uint) -> *const c_char;
5236    pub fn gst_caps_features_get_nth_id(
5237        features: *const GstCapsFeatures,
5238        i: c_uint,
5239    ) -> glib::GQuark;
5240    #[cfg(feature = "v1_26")]
5241    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5242    pub fn gst_caps_features_get_nth_id_str(
5243        features: *const GstCapsFeatures,
5244        i: c_uint,
5245    ) -> *const GstIdStr;
5246    pub fn gst_caps_features_get_size(features: *const GstCapsFeatures) -> c_uint;
5247    pub fn gst_caps_features_is_any(features: *const GstCapsFeatures) -> gboolean;
5248    pub fn gst_caps_features_is_equal(
5249        features1: *const GstCapsFeatures,
5250        features2: *const GstCapsFeatures,
5251    ) -> gboolean;
5252    pub fn gst_caps_features_remove(features: *mut GstCapsFeatures, feature: *const c_char);
5253    pub fn gst_caps_features_remove_id(features: *mut GstCapsFeatures, feature: glib::GQuark);
5254    #[cfg(feature = "v1_26")]
5255    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5256    pub fn gst_caps_features_remove_id_str(
5257        features: *mut GstCapsFeatures,
5258        feature: *const GstIdStr,
5259    );
5260    pub fn gst_caps_features_set_parent_refcount(
5261        features: *mut GstCapsFeatures,
5262        refcount: *mut c_int,
5263    ) -> gboolean;
5264    pub fn gst_caps_features_to_string(features: *const GstCapsFeatures) -> *mut c_char;
5265    pub fn gst_caps_features_from_string(features: *const c_char) -> *mut GstCapsFeatures;
5266
5267    //=========================================================================
5268    // GstContext
5269    //=========================================================================
5270    pub fn gst_context_get_type() -> GType;
5271    pub fn gst_context_new(context_type: *const c_char, persistent: gboolean) -> *mut GstContext;
5272    #[cfg(feature = "v1_18_3")]
5273    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5274    pub fn gst_context_copy(context: *const GstContext) -> *mut GstContext;
5275    pub fn gst_context_get_context_type(context: *const GstContext) -> *const c_char;
5276    pub fn gst_context_get_structure(context: *const GstContext) -> *const GstStructure;
5277    #[cfg(feature = "v1_28")]
5278    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5279    pub fn gst_context_get_task_pool(
5280        context: *mut GstContext,
5281        pool: *mut *mut GstTaskPool,
5282    ) -> gboolean;
5283    pub fn gst_context_has_context_type(
5284        context: *const GstContext,
5285        context_type: *const c_char,
5286    ) -> gboolean;
5287    pub fn gst_context_is_persistent(context: *const GstContext) -> gboolean;
5288    pub fn gst_context_is_writable(context: *const GstContext) -> gboolean;
5289    pub fn gst_context_make_writable(context: *mut GstContext) -> *mut GstContext;
5290    #[cfg(feature = "v1_18_3")]
5291    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5292    pub fn gst_context_ref(context: *mut GstContext) -> *mut GstContext;
5293    #[cfg(feature = "v1_28")]
5294    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5295    pub fn gst_context_set_task_pool(context: *mut GstContext, pool: *mut GstTaskPool);
5296    #[cfg(feature = "v1_18_3")]
5297    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5298    pub fn gst_context_unref(context: *mut GstContext);
5299    pub fn gst_context_writable_structure(context: *mut GstContext) -> *mut GstStructure;
5300    #[cfg(feature = "v1_18_3")]
5301    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5302    pub fn gst_context_replace(
5303        old_context: *mut *mut GstContext,
5304        new_context: *mut GstContext,
5305    ) -> gboolean;
5306
5307    //=========================================================================
5308    // GstCustomMeta
5309    //=========================================================================
5310    #[cfg(feature = "v1_20")]
5311    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5312    pub fn gst_custom_meta_get_structure(meta: *mut GstCustomMeta) -> *mut GstStructure;
5313    #[cfg(feature = "v1_20")]
5314    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5315    pub fn gst_custom_meta_has_name(meta: *mut GstCustomMeta, name: *const c_char) -> gboolean;
5316
5317    //=========================================================================
5318    // GstDateTime
5319    //=========================================================================
5320    pub fn gst_date_time_get_type() -> GType;
5321    pub fn gst_date_time_new(
5322        tzoffset: c_float,
5323        year: c_int,
5324        month: c_int,
5325        day: c_int,
5326        hour: c_int,
5327        minute: c_int,
5328        seconds: c_double,
5329    ) -> *mut GstDateTime;
5330    pub fn gst_date_time_new_from_g_date_time(dt: *mut glib::GDateTime) -> *mut GstDateTime;
5331    pub fn gst_date_time_new_from_iso8601_string(string: *const c_char) -> *mut GstDateTime;
5332    pub fn gst_date_time_new_from_unix_epoch_local_time(secs: i64) -> *mut GstDateTime;
5333    #[cfg(feature = "v1_18")]
5334    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5335    pub fn gst_date_time_new_from_unix_epoch_local_time_usecs(usecs: i64) -> *mut GstDateTime;
5336    pub fn gst_date_time_new_from_unix_epoch_utc(secs: i64) -> *mut GstDateTime;
5337    #[cfg(feature = "v1_18")]
5338    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5339    pub fn gst_date_time_new_from_unix_epoch_utc_usecs(usecs: i64) -> *mut GstDateTime;
5340    pub fn gst_date_time_new_local_time(
5341        year: c_int,
5342        month: c_int,
5343        day: c_int,
5344        hour: c_int,
5345        minute: c_int,
5346        seconds: c_double,
5347    ) -> *mut GstDateTime;
5348    pub fn gst_date_time_new_now_local_time() -> *mut GstDateTime;
5349    pub fn gst_date_time_new_now_utc() -> *mut GstDateTime;
5350    pub fn gst_date_time_new_y(year: c_int) -> *mut GstDateTime;
5351    pub fn gst_date_time_new_ym(year: c_int, month: c_int) -> *mut GstDateTime;
5352    pub fn gst_date_time_new_ymd(year: c_int, month: c_int, day: c_int) -> *mut GstDateTime;
5353    pub fn gst_date_time_get_day(datetime: *const GstDateTime) -> c_int;
5354    pub fn gst_date_time_get_hour(datetime: *const GstDateTime) -> c_int;
5355    pub fn gst_date_time_get_microsecond(datetime: *const GstDateTime) -> c_int;
5356    pub fn gst_date_time_get_minute(datetime: *const GstDateTime) -> c_int;
5357    pub fn gst_date_time_get_month(datetime: *const GstDateTime) -> c_int;
5358    pub fn gst_date_time_get_second(datetime: *const GstDateTime) -> c_int;
5359    pub fn gst_date_time_get_time_zone_offset(datetime: *const GstDateTime) -> c_float;
5360    pub fn gst_date_time_get_year(datetime: *const GstDateTime) -> c_int;
5361    pub fn gst_date_time_has_day(datetime: *const GstDateTime) -> gboolean;
5362    pub fn gst_date_time_has_month(datetime: *const GstDateTime) -> gboolean;
5363    pub fn gst_date_time_has_second(datetime: *const GstDateTime) -> gboolean;
5364    pub fn gst_date_time_has_time(datetime: *const GstDateTime) -> gboolean;
5365    pub fn gst_date_time_has_year(datetime: *const GstDateTime) -> gboolean;
5366    pub fn gst_date_time_ref(datetime: *mut GstDateTime) -> *mut GstDateTime;
5367    pub fn gst_date_time_to_g_date_time(datetime: *mut GstDateTime) -> *mut glib::GDateTime;
5368    pub fn gst_date_time_to_iso8601_string(datetime: *mut GstDateTime) -> *mut c_char;
5369    pub fn gst_date_time_unref(datetime: *mut GstDateTime);
5370
5371    //=========================================================================
5372    // GstDebugCategory
5373    //=========================================================================
5374    pub fn gst_debug_category_free(category: *mut GstDebugCategory);
5375    pub fn gst_debug_category_get_color(category: *mut GstDebugCategory) -> c_uint;
5376    pub fn gst_debug_category_get_description(category: *mut GstDebugCategory) -> *const c_char;
5377    pub fn gst_debug_category_get_name(category: *mut GstDebugCategory) -> *const c_char;
5378    pub fn gst_debug_category_get_threshold(category: *mut GstDebugCategory) -> GstDebugLevel;
5379    pub fn gst_debug_category_reset_threshold(category: *mut GstDebugCategory);
5380    pub fn gst_debug_category_set_threshold(category: *mut GstDebugCategory, level: GstDebugLevel);
5381
5382    //=========================================================================
5383    // GstDebugMessage
5384    //=========================================================================
5385    pub fn gst_debug_message_get(message: *mut GstDebugMessage) -> *const c_char;
5386    #[cfg(feature = "v1_22")]
5387    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
5388    pub fn gst_debug_message_get_id(message: *mut GstDebugMessage) -> *const c_char;
5389
5390    //=========================================================================
5391    // GstDeviceProviderClass
5392    //=========================================================================
5393    pub fn gst_device_provider_class_add_metadata(
5394        klass: *mut GstDeviceProviderClass,
5395        key: *const c_char,
5396        value: *const c_char,
5397    );
5398    pub fn gst_device_provider_class_add_static_metadata(
5399        klass: *mut GstDeviceProviderClass,
5400        key: *const c_char,
5401        value: *const c_char,
5402    );
5403    pub fn gst_device_provider_class_get_metadata(
5404        klass: *mut GstDeviceProviderClass,
5405        key: *const c_char,
5406    ) -> *const c_char;
5407    pub fn gst_device_provider_class_set_metadata(
5408        klass: *mut GstDeviceProviderClass,
5409        longname: *const c_char,
5410        classification: *const c_char,
5411        description: *const c_char,
5412        author: *const c_char,
5413    );
5414    pub fn gst_device_provider_class_set_static_metadata(
5415        klass: *mut GstDeviceProviderClass,
5416        longname: *const c_char,
5417        classification: *const c_char,
5418        description: *const c_char,
5419        author: *const c_char,
5420    );
5421
5422    //=========================================================================
5423    // GstElementClass
5424    //=========================================================================
5425    pub fn gst_element_class_add_metadata(
5426        klass: *mut GstElementClass,
5427        key: *const c_char,
5428        value: *const c_char,
5429    );
5430    pub fn gst_element_class_add_pad_template(
5431        klass: *mut GstElementClass,
5432        templ: *mut GstPadTemplate,
5433    );
5434    pub fn gst_element_class_add_static_metadata(
5435        klass: *mut GstElementClass,
5436        key: *const c_char,
5437        value: *const c_char,
5438    );
5439    pub fn gst_element_class_add_static_pad_template(
5440        klass: *mut GstElementClass,
5441        static_templ: *mut GstStaticPadTemplate,
5442    );
5443    pub fn gst_element_class_add_static_pad_template_with_gtype(
5444        klass: *mut GstElementClass,
5445        static_templ: *mut GstStaticPadTemplate,
5446        pad_type: GType,
5447    );
5448    pub fn gst_element_class_get_metadata(
5449        klass: *mut GstElementClass,
5450        key: *const c_char,
5451    ) -> *const c_char;
5452    pub fn gst_element_class_get_pad_template(
5453        element_class: *mut GstElementClass,
5454        name: *const c_char,
5455    ) -> *mut GstPadTemplate;
5456    pub fn gst_element_class_get_pad_template_list(
5457        element_class: *mut GstElementClass,
5458    ) -> *mut glib::GList;
5459    #[cfg(feature = "v1_30")]
5460    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
5461    pub fn gst_element_class_is_untrusted_aware(klass: *mut GstElementClass) -> gboolean;
5462    #[cfg(feature = "v1_30")]
5463    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
5464    pub fn gst_element_class_mark_as_untrusted_aware(klass: *mut GstElementClass);
5465    pub fn gst_element_class_set_metadata(
5466        klass: *mut GstElementClass,
5467        longname: *const c_char,
5468        classification: *const c_char,
5469        description: *const c_char,
5470        author: *const c_char,
5471    );
5472    pub fn gst_element_class_set_static_metadata(
5473        klass: *mut GstElementClass,
5474        longname: *const c_char,
5475        classification: *const c_char,
5476        description: *const c_char,
5477        author: *const c_char,
5478    );
5479
5480    //=========================================================================
5481    // GstEvent
5482    //=========================================================================
5483    pub fn gst_event_get_type() -> GType;
5484    pub fn gst_event_new_buffer_size(
5485        format: GstFormat,
5486        minsize: i64,
5487        maxsize: i64,
5488        async_: gboolean,
5489    ) -> *mut GstEvent;
5490    pub fn gst_event_new_caps(caps: *mut GstCaps) -> *mut GstEvent;
5491    pub fn gst_event_new_custom(type_: GstEventType, structure: *mut GstStructure)
5492    -> *mut GstEvent;
5493    pub fn gst_event_new_eos() -> *mut GstEvent;
5494    pub fn gst_event_new_flush_start() -> *mut GstEvent;
5495    pub fn gst_event_new_flush_stop(reset_time: gboolean) -> *mut GstEvent;
5496    pub fn gst_event_new_gap(timestamp: GstClockTime, duration: GstClockTime) -> *mut GstEvent;
5497    #[cfg(feature = "v1_18")]
5498    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5499    pub fn gst_event_new_instant_rate_change(
5500        rate_multiplier: c_double,
5501        new_flags: GstSegmentFlags,
5502    ) -> *mut GstEvent;
5503    #[cfg(feature = "v1_18")]
5504    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5505    pub fn gst_event_new_instant_rate_sync_time(
5506        rate_multiplier: c_double,
5507        running_time: GstClockTime,
5508        upstream_running_time: GstClockTime,
5509    ) -> *mut GstEvent;
5510    pub fn gst_event_new_latency(latency: GstClockTime) -> *mut GstEvent;
5511    pub fn gst_event_new_navigation(structure: *mut GstStructure) -> *mut GstEvent;
5512    pub fn gst_event_new_protection(
5513        system_id: *const c_char,
5514        data: *mut GstBuffer,
5515        origin: *const c_char,
5516    ) -> *mut GstEvent;
5517    pub fn gst_event_new_qos(
5518        type_: GstQOSType,
5519        proportion: c_double,
5520        diff: GstClockTimeDiff,
5521        timestamp: GstClockTime,
5522    ) -> *mut GstEvent;
5523    pub fn gst_event_new_reconfigure() -> *mut GstEvent;
5524    pub fn gst_event_new_seek(
5525        rate: c_double,
5526        format: GstFormat,
5527        flags: GstSeekFlags,
5528        start_type: GstSeekType,
5529        start: i64,
5530        stop_type: GstSeekType,
5531        stop: i64,
5532    ) -> *mut GstEvent;
5533    pub fn gst_event_new_segment(segment: *const GstSegment) -> *mut GstEvent;
5534    pub fn gst_event_new_segment_done(format: GstFormat, position: i64) -> *mut GstEvent;
5535    pub fn gst_event_new_select_streams(streams: *mut glib::GList) -> *mut GstEvent;
5536    pub fn gst_event_new_sink_message(name: *const c_char, msg: *mut GstMessage) -> *mut GstEvent;
5537    pub fn gst_event_new_step(
5538        format: GstFormat,
5539        amount: u64,
5540        rate: c_double,
5541        flush: gboolean,
5542        intermediate: gboolean,
5543    ) -> *mut GstEvent;
5544    pub fn gst_event_new_stream_collection(collection: *mut GstStreamCollection) -> *mut GstEvent;
5545    pub fn gst_event_new_stream_group_done(group_id: c_uint) -> *mut GstEvent;
5546    pub fn gst_event_new_stream_start(stream_id: *const c_char) -> *mut GstEvent;
5547    pub fn gst_event_new_tag(taglist: *mut GstTagList) -> *mut GstEvent;
5548    pub fn gst_event_new_toc(toc: *mut GstToc, updated: gboolean) -> *mut GstEvent;
5549    pub fn gst_event_new_toc_select(uid: *const c_char) -> *mut GstEvent;
5550    #[cfg(feature = "v1_18_3")]
5551    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5552    pub fn gst_event_copy(event: *const GstEvent) -> *mut GstEvent;
5553    pub fn gst_event_copy_segment(event: *mut GstEvent, segment: *mut GstSegment);
5554    pub fn gst_event_get_running_time_offset(event: *mut GstEvent) -> i64;
5555    pub fn gst_event_get_seqnum(event: *mut GstEvent) -> u32;
5556    pub fn gst_event_get_structure(event: *mut GstEvent) -> *const GstStructure;
5557    pub fn gst_event_has_name(event: *mut GstEvent, name: *const c_char) -> gboolean;
5558    #[cfg(feature = "v1_18")]
5559    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5560    pub fn gst_event_has_name_id(event: *mut GstEvent, name: glib::GQuark) -> gboolean;
5561    pub fn gst_event_is_writable(event: *const GstEvent) -> gboolean;
5562    pub fn gst_event_make_writable(event: *mut GstEvent) -> *mut GstEvent;
5563    pub fn gst_event_parse_buffer_size(
5564        event: *mut GstEvent,
5565        format: *mut GstFormat,
5566        minsize: *mut i64,
5567        maxsize: *mut i64,
5568        async_: *mut gboolean,
5569    );
5570    pub fn gst_event_parse_caps(event: *mut GstEvent, caps: *mut *mut GstCaps);
5571    pub fn gst_event_parse_flush_stop(event: *mut GstEvent, reset_time: *mut gboolean);
5572    pub fn gst_event_parse_gap(
5573        event: *mut GstEvent,
5574        timestamp: *mut GstClockTime,
5575        duration: *mut GstClockTime,
5576    );
5577    #[cfg(feature = "v1_20")]
5578    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5579    pub fn gst_event_parse_gap_flags(event: *mut GstEvent, flags: *mut GstGapFlags);
5580    pub fn gst_event_parse_group_id(event: *mut GstEvent, group_id: *mut c_uint) -> gboolean;
5581    #[cfg(feature = "v1_18")]
5582    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5583    pub fn gst_event_parse_instant_rate_change(
5584        event: *mut GstEvent,
5585        rate_multiplier: *mut c_double,
5586        new_flags: *mut GstSegmentFlags,
5587    );
5588    #[cfg(feature = "v1_18")]
5589    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5590    pub fn gst_event_parse_instant_rate_sync_time(
5591        event: *mut GstEvent,
5592        rate_multiplier: *mut c_double,
5593        running_time: *mut GstClockTime,
5594        upstream_running_time: *mut GstClockTime,
5595    );
5596    pub fn gst_event_parse_latency(event: *mut GstEvent, latency: *mut GstClockTime);
5597    pub fn gst_event_parse_protection(
5598        event: *mut GstEvent,
5599        system_id: *mut *const c_char,
5600        data: *mut *mut GstBuffer,
5601        origin: *mut *const c_char,
5602    );
5603    pub fn gst_event_parse_qos(
5604        event: *mut GstEvent,
5605        type_: *mut GstQOSType,
5606        proportion: *mut c_double,
5607        diff: *mut GstClockTimeDiff,
5608        timestamp: *mut GstClockTime,
5609    );
5610    pub fn gst_event_parse_seek(
5611        event: *mut GstEvent,
5612        rate: *mut c_double,
5613        format: *mut GstFormat,
5614        flags: *mut GstSeekFlags,
5615        start_type: *mut GstSeekType,
5616        start: *mut i64,
5617        stop_type: *mut GstSeekType,
5618        stop: *mut i64,
5619    );
5620    #[cfg(feature = "v1_16")]
5621    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5622    pub fn gst_event_parse_seek_trickmode_interval(
5623        event: *mut GstEvent,
5624        interval: *mut GstClockTime,
5625    );
5626    pub fn gst_event_parse_segment(event: *mut GstEvent, segment: *mut *const GstSegment);
5627    pub fn gst_event_parse_segment_done(
5628        event: *mut GstEvent,
5629        format: *mut GstFormat,
5630        position: *mut i64,
5631    );
5632    pub fn gst_event_parse_select_streams(event: *mut GstEvent, streams: *mut *mut glib::GList);
5633    pub fn gst_event_parse_sink_message(event: *mut GstEvent, msg: *mut *mut GstMessage);
5634    pub fn gst_event_parse_step(
5635        event: *mut GstEvent,
5636        format: *mut GstFormat,
5637        amount: *mut u64,
5638        rate: *mut c_double,
5639        flush: *mut gboolean,
5640        intermediate: *mut gboolean,
5641    );
5642    pub fn gst_event_parse_stream(event: *mut GstEvent, stream: *mut *mut GstStream);
5643    pub fn gst_event_parse_stream_collection(
5644        event: *mut GstEvent,
5645        collection: *mut *mut GstStreamCollection,
5646    );
5647    pub fn gst_event_parse_stream_flags(event: *mut GstEvent, flags: *mut GstStreamFlags);
5648    pub fn gst_event_parse_stream_group_done(event: *mut GstEvent, group_id: *mut c_uint);
5649    pub fn gst_event_parse_stream_start(event: *mut GstEvent, stream_id: *mut *const c_char);
5650    pub fn gst_event_parse_tag(event: *mut GstEvent, taglist: *mut *mut GstTagList);
5651    pub fn gst_event_parse_toc(event: *mut GstEvent, toc: *mut *mut GstToc, updated: *mut gboolean);
5652    pub fn gst_event_parse_toc_select(event: *mut GstEvent, uid: *mut *mut c_char);
5653    #[cfg(feature = "v1_18_3")]
5654    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5655    pub fn gst_event_ref(event: *mut GstEvent) -> *mut GstEvent;
5656    #[cfg(feature = "v1_20")]
5657    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5658    pub fn gst_event_set_gap_flags(event: *mut GstEvent, flags: GstGapFlags);
5659    pub fn gst_event_set_group_id(event: *mut GstEvent, group_id: c_uint);
5660    pub fn gst_event_set_running_time_offset(event: *mut GstEvent, offset: i64);
5661    #[cfg(feature = "v1_16")]
5662    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5663    pub fn gst_event_set_seek_trickmode_interval(event: *mut GstEvent, interval: GstClockTime);
5664    pub fn gst_event_set_seqnum(event: *mut GstEvent, seqnum: u32);
5665    pub fn gst_event_set_stream(event: *mut GstEvent, stream: *mut GstStream);
5666    pub fn gst_event_set_stream_flags(event: *mut GstEvent, flags: GstStreamFlags);
5667    #[cfg(feature = "v1_18_3")]
5668    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5669    pub fn gst_event_unref(event: *mut GstEvent);
5670    pub fn gst_event_writable_structure(event: *mut GstEvent) -> *mut GstStructure;
5671    #[cfg(feature = "v1_18_3")]
5672    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5673    pub fn gst_event_replace(old_event: *mut *mut GstEvent, new_event: *mut GstEvent) -> gboolean;
5674    #[cfg(feature = "v1_18_3")]
5675    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5676    pub fn gst_event_steal(old_event: *mut *mut GstEvent) -> *mut GstEvent;
5677    #[cfg(feature = "v1_18_3")]
5678    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5679    pub fn gst_event_take(old_event: *mut *mut GstEvent, new_event: *mut GstEvent) -> gboolean;
5680
5681    //=========================================================================
5682    // GstIdStr
5683    //=========================================================================
5684    #[cfg(feature = "v1_26")]
5685    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5686    pub fn gst_id_str_get_type() -> GType;
5687    #[cfg(feature = "v1_26")]
5688    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5689    pub fn gst_id_str_new() -> *mut GstIdStr;
5690    #[cfg(feature = "v1_26")]
5691    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5692    pub fn gst_id_str_as_str(s: *const GstIdStr) -> *const c_char;
5693    #[cfg(feature = "v1_26")]
5694    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5695    pub fn gst_id_str_clear(s: *mut GstIdStr);
5696    #[cfg(feature = "v1_26")]
5697    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5698    pub fn gst_id_str_copy(s: *const GstIdStr) -> *mut GstIdStr;
5699    #[cfg(feature = "v1_26")]
5700    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5701    pub fn gst_id_str_copy_into(d: *mut GstIdStr, s: *const GstIdStr);
5702    #[cfg(feature = "v1_26")]
5703    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5704    pub fn gst_id_str_free(s: *mut GstIdStr);
5705    #[cfg(feature = "v1_26")]
5706    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5707    pub fn gst_id_str_get_len(s: *const GstIdStr) -> size_t;
5708    #[cfg(feature = "v1_26")]
5709    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5710    pub fn gst_id_str_init(s: *mut GstIdStr);
5711    #[cfg(feature = "v1_26")]
5712    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5713    pub fn gst_id_str_is_equal(s1: *const GstIdStr, s2: *const GstIdStr) -> gboolean;
5714    #[cfg(feature = "v1_26")]
5715    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5716    pub fn gst_id_str_is_equal_to_str(s1: *const GstIdStr, s2: *const c_char) -> gboolean;
5717    #[cfg(feature = "v1_26")]
5718    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5719    pub fn gst_id_str_is_equal_to_str_with_len(
5720        s1: *const GstIdStr,
5721        s2: *const c_char,
5722        len: size_t,
5723    ) -> gboolean;
5724    #[cfg(feature = "v1_26")]
5725    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5726    pub fn gst_id_str_move(d: *mut GstIdStr, s: *mut GstIdStr);
5727    #[cfg(feature = "v1_26")]
5728    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5729    pub fn gst_id_str_set(s: *mut GstIdStr, value: *const c_char);
5730    #[cfg(feature = "v1_26")]
5731    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5732    pub fn gst_id_str_set_static_str(s: *mut GstIdStr, value: *const c_char);
5733    #[cfg(feature = "v1_26")]
5734    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5735    pub fn gst_id_str_set_static_str_with_len(s: *mut GstIdStr, value: *const c_char, len: size_t);
5736    #[cfg(feature = "v1_26")]
5737    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5738    pub fn gst_id_str_set_with_len(s: *mut GstIdStr, value: *const c_char, len: size_t);
5739
5740    //=========================================================================
5741    // GstIterator
5742    //=========================================================================
5743    pub fn gst_iterator_get_type() -> GType;
5744    pub fn gst_iterator_new(
5745        size: c_uint,
5746        type_: GType,
5747        lock: *mut glib::GMutex,
5748        master_cookie: *mut u32,
5749        copy: GstIteratorCopyFunction,
5750        next: GstIteratorNextFunction,
5751        item: GstIteratorItemFunction,
5752        resync: GstIteratorResyncFunction,
5753        free: GstIteratorFreeFunction,
5754    ) -> *mut GstIterator;
5755    pub fn gst_iterator_new_list(
5756        type_: GType,
5757        lock: *mut glib::GMutex,
5758        master_cookie: *mut u32,
5759        list: *mut *mut glib::GList,
5760        owner: *mut gobject::GObject,
5761        item: GstIteratorItemFunction,
5762    ) -> *mut GstIterator;
5763    pub fn gst_iterator_new_single(
5764        type_: GType,
5765        object: *const gobject::GValue,
5766    ) -> *mut GstIterator;
5767    pub fn gst_iterator_copy(it: *const GstIterator) -> *mut GstIterator;
5768    pub fn gst_iterator_filter(
5769        it: *mut GstIterator,
5770        func: glib::GCompareFunc,
5771        user_data: *const gobject::GValue,
5772    ) -> *mut GstIterator;
5773    pub fn gst_iterator_find_custom(
5774        it: *mut GstIterator,
5775        func: glib::GCompareFunc,
5776        elem: *mut gobject::GValue,
5777        user_data: gpointer,
5778    ) -> gboolean;
5779    pub fn gst_iterator_fold(
5780        it: *mut GstIterator,
5781        func: GstIteratorFoldFunction,
5782        ret: *mut gobject::GValue,
5783        user_data: gpointer,
5784    ) -> GstIteratorResult;
5785    pub fn gst_iterator_foreach(
5786        it: *mut GstIterator,
5787        func: GstIteratorForeachFunction,
5788        user_data: gpointer,
5789    ) -> GstIteratorResult;
5790    pub fn gst_iterator_free(it: *mut GstIterator);
5791    pub fn gst_iterator_next(it: *mut GstIterator, elem: *mut gobject::GValue)
5792    -> GstIteratorResult;
5793    pub fn gst_iterator_push(it: *mut GstIterator, other: *mut GstIterator);
5794    pub fn gst_iterator_resync(it: *mut GstIterator);
5795
5796    //=========================================================================
5797    // GstLogContext
5798    //=========================================================================
5799    #[cfg(feature = "v1_28")]
5800    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5801    pub fn gst_log_context_free(ctx: *mut GstLogContext);
5802    #[cfg(feature = "v1_28")]
5803    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5804    pub fn gst_log_context_get_category(context: *mut GstLogContext) -> *mut GstDebugCategory;
5805    #[cfg(feature = "v1_28")]
5806    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5807    pub fn gst_log_context_reset(ctx: *mut GstLogContext);
5808
5809    //=========================================================================
5810    // GstLogContextBuilder
5811    //=========================================================================
5812    #[cfg(feature = "v1_28")]
5813    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5814    pub fn gst_log_context_builder_build(builder: *mut GstLogContextBuilder) -> *mut GstLogContext;
5815    #[cfg(feature = "v1_28")]
5816    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5817    pub fn gst_log_context_builder_set_category(
5818        builder: *mut GstLogContextBuilder,
5819        category: *mut GstDebugCategory,
5820    ) -> *mut GstLogContextBuilder;
5821    #[cfg(feature = "v1_28")]
5822    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5823    pub fn gst_log_context_builder_set_hash_flags(
5824        builder: *mut GstLogContextBuilder,
5825        flags: GstLogContextHashFlags,
5826    ) -> *mut GstLogContextBuilder;
5827    #[cfg(feature = "v1_28")]
5828    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5829    pub fn gst_log_context_builder_set_interval(
5830        builder: *mut GstLogContextBuilder,
5831        interval: GstClockTime,
5832    ) -> *mut GstLogContextBuilder;
5833    #[cfg(feature = "v1_28")]
5834    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5835    pub fn gst_log_context_builder_new(
5836        category: *mut GstDebugCategory,
5837        flags: GstLogContextFlags,
5838    ) -> *mut GstLogContextBuilder;
5839
5840    //=========================================================================
5841    // GstMapInfo
5842    //=========================================================================
5843    #[cfg(feature = "v1_28")]
5844    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5845    pub fn gst_map_info_clear(info: *mut GstMapInfo);
5846    #[cfg(feature = "v1_28")]
5847    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5848    pub fn gst_map_info_get_data(info: *mut GstMapInfo, size: *mut size_t) -> *mut u8;
5849    #[cfg(feature = "v1_28")]
5850    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5851    pub fn gst_map_info_init(info: *mut GstMapInfo);
5852
5853    //=========================================================================
5854    // GstMemory
5855    //=========================================================================
5856    pub fn gst_memory_get_type() -> GType;
5857    pub fn gst_memory_new_wrapped(
5858        flags: GstMemoryFlags,
5859        data: gpointer,
5860        maxsize: size_t,
5861        offset: size_t,
5862        size: size_t,
5863        user_data: gpointer,
5864        notify: glib::GDestroyNotify,
5865    ) -> *mut GstMemory;
5866    pub fn gst_memory_copy(mem: *mut GstMemory, offset: ssize_t, size: ssize_t) -> *mut GstMemory;
5867    pub fn gst_memory_get_sizes(
5868        mem: *mut GstMemory,
5869        offset: *mut size_t,
5870        maxsize: *mut size_t,
5871    ) -> size_t;
5872    pub fn gst_memory_init(
5873        mem: *mut GstMemory,
5874        flags: GstMemoryFlags,
5875        allocator: *mut GstAllocator,
5876        parent: *mut GstMemory,
5877        maxsize: size_t,
5878        align: size_t,
5879        offset: size_t,
5880        size: size_t,
5881    );
5882    pub fn gst_memory_is_span(
5883        mem1: *mut GstMemory,
5884        mem2: *mut GstMemory,
5885        offset: *mut size_t,
5886    ) -> gboolean;
5887    pub fn gst_memory_is_type(mem: *mut GstMemory, mem_type: *const c_char) -> gboolean;
5888    pub fn gst_memory_is_writable(memory: *const GstMemory) -> gboolean;
5889    pub fn gst_memory_make_mapped(
5890        mem: *mut GstMemory,
5891        info: *mut GstMapInfo,
5892        flags: GstMapFlags,
5893    ) -> *mut GstMemory;
5894    pub fn gst_memory_make_writable(memory: *mut GstMemory) -> *mut GstMemory;
5895    pub fn gst_memory_map(
5896        mem: *mut GstMemory,
5897        info: *mut GstMapInfo,
5898        flags: GstMapFlags,
5899    ) -> gboolean;
5900    #[cfg(feature = "v1_18_3")]
5901    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5902    pub fn gst_memory_ref(memory: *mut GstMemory) -> *mut GstMemory;
5903    pub fn gst_memory_resize(mem: *mut GstMemory, offset: ssize_t, size: size_t);
5904    pub fn gst_memory_share(mem: *mut GstMemory, offset: ssize_t, size: ssize_t) -> *mut GstMemory;
5905    pub fn gst_memory_unmap(mem: *mut GstMemory, info: *mut GstMapInfo);
5906    #[cfg(feature = "v1_18_3")]
5907    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5908    pub fn gst_memory_unref(memory: *mut GstMemory);
5909    #[cfg(feature = "v1_28")]
5910    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5911    pub fn gst_memory_replace(
5912        old_memory: *mut *mut GstMemory,
5913        new_memory: *mut GstMemory,
5914    ) -> gboolean;
5915    #[cfg(feature = "v1_28")]
5916    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5917    pub fn gst_memory_steal(old_memory: *mut *mut GstMemory) -> *mut GstMemory;
5918    #[cfg(feature = "v1_28")]
5919    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5920    pub fn gst_memory_take(old_memory: *mut *mut GstMemory, new_memory: *mut GstMemory)
5921    -> gboolean;
5922
5923    //=========================================================================
5924    // GstMessage
5925    //=========================================================================
5926    pub fn gst_message_get_type() -> GType;
5927    pub fn gst_message_new_application(
5928        src: *mut GstObject,
5929        structure: *mut GstStructure,
5930    ) -> *mut GstMessage;
5931    pub fn gst_message_new_async_done(
5932        src: *mut GstObject,
5933        running_time: GstClockTime,
5934    ) -> *mut GstMessage;
5935    pub fn gst_message_new_async_start(src: *mut GstObject) -> *mut GstMessage;
5936    pub fn gst_message_new_buffering(src: *mut GstObject, percent: c_int) -> *mut GstMessage;
5937    pub fn gst_message_new_clock_lost(src: *mut GstObject, clock: *mut GstClock)
5938    -> *mut GstMessage;
5939    pub fn gst_message_new_clock_provide(
5940        src: *mut GstObject,
5941        clock: *mut GstClock,
5942        ready: gboolean,
5943    ) -> *mut GstMessage;
5944    pub fn gst_message_new_custom(
5945        type_: GstMessageType,
5946        src: *mut GstObject,
5947        structure: *mut GstStructure,
5948    ) -> *mut GstMessage;
5949    pub fn gst_message_new_device_added(
5950        src: *mut GstObject,
5951        device: *mut GstDevice,
5952    ) -> *mut GstMessage;
5953    #[cfg(feature = "v1_16")]
5954    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5955    pub fn gst_message_new_device_changed(
5956        src: *mut GstObject,
5957        device: *mut GstDevice,
5958        changed_device: *mut GstDevice,
5959    ) -> *mut GstMessage;
5960    #[cfg(feature = "v1_28")]
5961    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5962    pub fn gst_message_new_device_monitor_started(
5963        src: *mut GstObject,
5964        success: gboolean,
5965    ) -> *mut GstMessage;
5966    pub fn gst_message_new_device_removed(
5967        src: *mut GstObject,
5968        device: *mut GstDevice,
5969    ) -> *mut GstMessage;
5970    pub fn gst_message_new_duration_changed(src: *mut GstObject) -> *mut GstMessage;
5971    pub fn gst_message_new_element(
5972        src: *mut GstObject,
5973        structure: *mut GstStructure,
5974    ) -> *mut GstMessage;
5975    pub fn gst_message_new_eos(src: *mut GstObject) -> *mut GstMessage;
5976    pub fn gst_message_new_error(
5977        src: *mut GstObject,
5978        error: *mut glib::GError,
5979        debug: *const c_char,
5980    ) -> *mut GstMessage;
5981    pub fn gst_message_new_error_with_details(
5982        src: *mut GstObject,
5983        error: *mut glib::GError,
5984        debug: *const c_char,
5985        details: *mut GstStructure,
5986    ) -> *mut GstMessage;
5987    pub fn gst_message_new_have_context(
5988        src: *mut GstObject,
5989        context: *mut GstContext,
5990    ) -> *mut GstMessage;
5991    pub fn gst_message_new_info(
5992        src: *mut GstObject,
5993        error: *mut glib::GError,
5994        debug: *const c_char,
5995    ) -> *mut GstMessage;
5996    pub fn gst_message_new_info_with_details(
5997        src: *mut GstObject,
5998        error: *mut glib::GError,
5999        debug: *const c_char,
6000        details: *mut GstStructure,
6001    ) -> *mut GstMessage;
6002    #[cfg(feature = "v1_18")]
6003    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
6004    pub fn gst_message_new_instant_rate_request(
6005        src: *mut GstObject,
6006        rate_multiplier: c_double,
6007    ) -> *mut GstMessage;
6008    pub fn gst_message_new_latency(src: *mut GstObject) -> *mut GstMessage;
6009    pub fn gst_message_new_need_context(
6010        src: *mut GstObject,
6011        context_type: *const c_char,
6012    ) -> *mut GstMessage;
6013    pub fn gst_message_new_new_clock(src: *mut GstObject, clock: *mut GstClock) -> *mut GstMessage;
6014    pub fn gst_message_new_progress(
6015        src: *mut GstObject,
6016        type_: GstProgressType,
6017        code: *const c_char,
6018        text: *const c_char,
6019    ) -> *mut GstMessage;
6020    pub fn gst_message_new_property_notify(
6021        src: *mut GstObject,
6022        property_name: *const c_char,
6023        val: *mut gobject::GValue,
6024    ) -> *mut GstMessage;
6025    pub fn gst_message_new_qos(
6026        src: *mut GstObject,
6027        live: gboolean,
6028        running_time: u64,
6029        stream_time: u64,
6030        timestamp: u64,
6031        duration: u64,
6032    ) -> *mut GstMessage;
6033    pub fn gst_message_new_redirect(
6034        src: *mut GstObject,
6035        location: *const c_char,
6036        tag_list: *mut GstTagList,
6037        entry_struct: *mut GstStructure,
6038    ) -> *mut GstMessage;
6039    pub fn gst_message_new_request_state(src: *mut GstObject, state: GstState) -> *mut GstMessage;
6040    pub fn gst_message_new_reset_time(
6041        src: *mut GstObject,
6042        running_time: GstClockTime,
6043    ) -> *mut GstMessage;
6044    pub fn gst_message_new_segment_done(
6045        src: *mut GstObject,
6046        format: GstFormat,
6047        position: i64,
6048    ) -> *mut GstMessage;
6049    pub fn gst_message_new_segment_start(
6050        src: *mut GstObject,
6051        format: GstFormat,
6052        position: i64,
6053    ) -> *mut GstMessage;
6054    pub fn gst_message_new_state_changed(
6055        src: *mut GstObject,
6056        oldstate: GstState,
6057        newstate: GstState,
6058        pending: GstState,
6059    ) -> *mut GstMessage;
6060    pub fn gst_message_new_state_dirty(src: *mut GstObject) -> *mut GstMessage;
6061    pub fn gst_message_new_step_done(
6062        src: *mut GstObject,
6063        format: GstFormat,
6064        amount: u64,
6065        rate: c_double,
6066        flush: gboolean,
6067        intermediate: gboolean,
6068        duration: u64,
6069        eos: gboolean,
6070    ) -> *mut GstMessage;
6071    pub fn gst_message_new_step_start(
6072        src: *mut GstObject,
6073        active: gboolean,
6074        format: GstFormat,
6075        amount: u64,
6076        rate: c_double,
6077        flush: gboolean,
6078        intermediate: gboolean,
6079    ) -> *mut GstMessage;
6080    pub fn gst_message_new_stream_collection(
6081        src: *mut GstObject,
6082        collection: *mut GstStreamCollection,
6083    ) -> *mut GstMessage;
6084    pub fn gst_message_new_stream_start(src: *mut GstObject) -> *mut GstMessage;
6085    pub fn gst_message_new_stream_status(
6086        src: *mut GstObject,
6087        type_: GstStreamStatusType,
6088        owner: *mut GstElement,
6089    ) -> *mut GstMessage;
6090    pub fn gst_message_new_streams_selected(
6091        src: *mut GstObject,
6092        collection: *mut GstStreamCollection,
6093    ) -> *mut GstMessage;
6094    pub fn gst_message_new_structure_change(
6095        src: *mut GstObject,
6096        type_: GstStructureChangeType,
6097        owner: *mut GstElement,
6098        busy: gboolean,
6099    ) -> *mut GstMessage;
6100    pub fn gst_message_new_tag(src: *mut GstObject, tag_list: *mut GstTagList) -> *mut GstMessage;
6101    pub fn gst_message_new_toc(
6102        src: *mut GstObject,
6103        toc: *mut GstToc,
6104        updated: gboolean,
6105    ) -> *mut GstMessage;
6106    pub fn gst_message_new_warning(
6107        src: *mut GstObject,
6108        error: *mut glib::GError,
6109        debug: *const c_char,
6110    ) -> *mut GstMessage;
6111    pub fn gst_message_new_warning_with_details(
6112        src: *mut GstObject,
6113        error: *mut glib::GError,
6114        debug: *const c_char,
6115        details: *mut GstStructure,
6116    ) -> *mut GstMessage;
6117    pub fn gst_message_add_redirect_entry(
6118        message: *mut GstMessage,
6119        location: *const c_char,
6120        tag_list: *mut GstTagList,
6121        entry_struct: *mut GstStructure,
6122    );
6123    #[cfg(feature = "v1_18_3")]
6124    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6125    pub fn gst_message_copy(msg: *const GstMessage) -> *mut GstMessage;
6126    #[cfg(feature = "v1_26")]
6127    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6128    pub fn gst_message_get_details(message: *mut GstMessage) -> *const GstStructure;
6129    pub fn gst_message_get_num_redirect_entries(message: *mut GstMessage) -> size_t;
6130    pub fn gst_message_get_seqnum(message: *mut GstMessage) -> u32;
6131    pub fn gst_message_get_stream_status_object(message: *mut GstMessage)
6132    -> *const gobject::GValue;
6133    pub fn gst_message_get_structure(message: *mut GstMessage) -> *const GstStructure;
6134    pub fn gst_message_has_name(message: *mut GstMessage, name: *const c_char) -> gboolean;
6135    pub fn gst_message_is_writable(message: *const GstMessage) -> gboolean;
6136    pub fn gst_message_make_writable(message: *mut GstMessage) -> *mut GstMessage;
6137    pub fn gst_message_parse_async_done(message: *mut GstMessage, running_time: *mut GstClockTime);
6138    pub fn gst_message_parse_buffering(message: *mut GstMessage, percent: *mut c_int);
6139    pub fn gst_message_parse_buffering_stats(
6140        message: *mut GstMessage,
6141        mode: *mut GstBufferingMode,
6142        avg_in: *mut c_int,
6143        avg_out: *mut c_int,
6144        buffering_left: *mut i64,
6145    );
6146    pub fn gst_message_parse_clock_lost(message: *mut GstMessage, clock: *mut *mut GstClock);
6147    pub fn gst_message_parse_clock_provide(
6148        message: *mut GstMessage,
6149        clock: *mut *mut GstClock,
6150        ready: *mut gboolean,
6151    );
6152    pub fn gst_message_parse_context_type(
6153        message: *mut GstMessage,
6154        context_type: *mut *const c_char,
6155    ) -> gboolean;
6156    pub fn gst_message_parse_device_added(message: *mut GstMessage, device: *mut *mut GstDevice);
6157    #[cfg(feature = "v1_16")]
6158    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6159    pub fn gst_message_parse_device_changed(
6160        message: *mut GstMessage,
6161        device: *mut *mut GstDevice,
6162        changed_device: *mut *mut GstDevice,
6163    );
6164    #[cfg(feature = "v1_28")]
6165    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6166    pub fn gst_message_parse_device_monitor_started(
6167        message: *mut GstMessage,
6168        success: *mut gboolean,
6169    );
6170    pub fn gst_message_parse_device_removed(message: *mut GstMessage, device: *mut *mut GstDevice);
6171    pub fn gst_message_parse_error(
6172        message: *mut GstMessage,
6173        gerror: *mut *mut glib::GError,
6174        debug: *mut *mut c_char,
6175    );
6176    pub fn gst_message_parse_error_details(
6177        message: *mut GstMessage,
6178        structure: *mut *const GstStructure,
6179    );
6180    #[cfg(feature = "v1_26")]
6181    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6182    pub fn gst_message_parse_error_writable_details(
6183        message: *mut GstMessage,
6184        structure: *mut *mut GstStructure,
6185    );
6186    pub fn gst_message_parse_group_id(message: *mut GstMessage, group_id: *mut c_uint) -> gboolean;
6187    pub fn gst_message_parse_have_context(message: *mut GstMessage, context: *mut *mut GstContext);
6188    pub fn gst_message_parse_info(
6189        message: *mut GstMessage,
6190        gerror: *mut *mut glib::GError,
6191        debug: *mut *mut c_char,
6192    );
6193    pub fn gst_message_parse_info_details(
6194        message: *mut GstMessage,
6195        structure: *mut *const GstStructure,
6196    );
6197    #[cfg(feature = "v1_26")]
6198    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6199    pub fn gst_message_parse_info_writable_details(
6200        message: *mut GstMessage,
6201        structure: *mut *mut GstStructure,
6202    );
6203    #[cfg(feature = "v1_18")]
6204    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
6205    pub fn gst_message_parse_instant_rate_request(
6206        message: *mut GstMessage,
6207        rate_multiplier: *mut c_double,
6208    );
6209    pub fn gst_message_parse_new_clock(message: *mut GstMessage, clock: *mut *mut GstClock);
6210    pub fn gst_message_parse_progress(
6211        message: *mut GstMessage,
6212        type_: *mut GstProgressType,
6213        code: *mut *mut c_char,
6214        text: *mut *mut c_char,
6215    );
6216    pub fn gst_message_parse_property_notify(
6217        message: *mut GstMessage,
6218        object: *mut *mut GstObject,
6219        property_name: *mut *const c_char,
6220        property_value: *mut *const gobject::GValue,
6221    );
6222    pub fn gst_message_parse_qos(
6223        message: *mut GstMessage,
6224        live: *mut gboolean,
6225        running_time: *mut u64,
6226        stream_time: *mut u64,
6227        timestamp: *mut u64,
6228        duration: *mut u64,
6229    );
6230    pub fn gst_message_parse_qos_stats(
6231        message: *mut GstMessage,
6232        format: *mut GstFormat,
6233        processed: *mut u64,
6234        dropped: *mut u64,
6235    );
6236    pub fn gst_message_parse_qos_values(
6237        message: *mut GstMessage,
6238        jitter: *mut i64,
6239        proportion: *mut c_double,
6240        quality: *mut c_int,
6241    );
6242    pub fn gst_message_parse_redirect_entry(
6243        message: *mut GstMessage,
6244        entry_index: size_t,
6245        location: *mut *const c_char,
6246        tag_list: *mut *mut GstTagList,
6247        entry_struct: *mut *const GstStructure,
6248    );
6249    pub fn gst_message_parse_request_state(message: *mut GstMessage, state: *mut GstState);
6250    pub fn gst_message_parse_reset_time(message: *mut GstMessage, running_time: *mut GstClockTime);
6251    pub fn gst_message_parse_segment_done(
6252        message: *mut GstMessage,
6253        format: *mut GstFormat,
6254        position: *mut i64,
6255    );
6256    pub fn gst_message_parse_segment_start(
6257        message: *mut GstMessage,
6258        format: *mut GstFormat,
6259        position: *mut i64,
6260    );
6261    pub fn gst_message_parse_state_changed(
6262        message: *mut GstMessage,
6263        oldstate: *mut GstState,
6264        newstate: *mut GstState,
6265        pending: *mut GstState,
6266    );
6267    pub fn gst_message_parse_step_done(
6268        message: *mut GstMessage,
6269        format: *mut GstFormat,
6270        amount: *mut u64,
6271        rate: *mut c_double,
6272        flush: *mut gboolean,
6273        intermediate: *mut gboolean,
6274        duration: *mut u64,
6275        eos: *mut gboolean,
6276    );
6277    pub fn gst_message_parse_step_start(
6278        message: *mut GstMessage,
6279        active: *mut gboolean,
6280        format: *mut GstFormat,
6281        amount: *mut u64,
6282        rate: *mut c_double,
6283        flush: *mut gboolean,
6284        intermediate: *mut gboolean,
6285    );
6286    pub fn gst_message_parse_stream_collection(
6287        message: *mut GstMessage,
6288        collection: *mut *mut GstStreamCollection,
6289    );
6290    pub fn gst_message_parse_stream_status(
6291        message: *mut GstMessage,
6292        type_: *mut GstStreamStatusType,
6293        owner: *mut *mut GstElement,
6294    );
6295    pub fn gst_message_parse_streams_selected(
6296        message: *mut GstMessage,
6297        collection: *mut *mut GstStreamCollection,
6298    );
6299    pub fn gst_message_parse_structure_change(
6300        message: *mut GstMessage,
6301        type_: *mut GstStructureChangeType,
6302        owner: *mut *mut GstElement,
6303        busy: *mut gboolean,
6304    );
6305    pub fn gst_message_parse_tag(message: *mut GstMessage, tag_list: *mut *mut GstTagList);
6306    pub fn gst_message_parse_toc(
6307        message: *mut GstMessage,
6308        toc: *mut *mut GstToc,
6309        updated: *mut gboolean,
6310    );
6311    pub fn gst_message_parse_warning(
6312        message: *mut GstMessage,
6313        gerror: *mut *mut glib::GError,
6314        debug: *mut *mut c_char,
6315    );
6316    pub fn gst_message_parse_warning_details(
6317        message: *mut GstMessage,
6318        structure: *mut *const GstStructure,
6319    );
6320    #[cfg(feature = "v1_26")]
6321    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6322    pub fn gst_message_parse_warning_writable_details(
6323        message: *mut GstMessage,
6324        structure: *mut *mut GstStructure,
6325    );
6326    #[cfg(feature = "v1_18_3")]
6327    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6328    pub fn gst_message_ref(msg: *mut GstMessage) -> *mut GstMessage;
6329    pub fn gst_message_set_buffering_stats(
6330        message: *mut GstMessage,
6331        mode: GstBufferingMode,
6332        avg_in: c_int,
6333        avg_out: c_int,
6334        buffering_left: i64,
6335    );
6336    #[cfg(feature = "v1_26")]
6337    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6338    pub fn gst_message_set_details(message: *mut GstMessage, details: *mut GstStructure);
6339    pub fn gst_message_set_group_id(message: *mut GstMessage, group_id: c_uint);
6340    pub fn gst_message_set_qos_stats(
6341        message: *mut GstMessage,
6342        format: GstFormat,
6343        processed: u64,
6344        dropped: u64,
6345    );
6346    pub fn gst_message_set_qos_values(
6347        message: *mut GstMessage,
6348        jitter: i64,
6349        proportion: c_double,
6350        quality: c_int,
6351    );
6352    pub fn gst_message_set_seqnum(message: *mut GstMessage, seqnum: u32);
6353    pub fn gst_message_set_stream_status_object(
6354        message: *mut GstMessage,
6355        object: *const gobject::GValue,
6356    );
6357    pub fn gst_message_streams_selected_add(message: *mut GstMessage, stream: *mut GstStream);
6358    pub fn gst_message_streams_selected_get_size(message: *mut GstMessage) -> c_uint;
6359    pub fn gst_message_streams_selected_get_stream(
6360        message: *mut GstMessage,
6361        idx: c_uint,
6362    ) -> *mut GstStream;
6363    #[cfg(feature = "v1_18_3")]
6364    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6365    pub fn gst_message_unref(msg: *mut GstMessage);
6366    #[cfg(feature = "v1_26")]
6367    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6368    pub fn gst_message_writable_details(message: *mut GstMessage) -> *mut GstStructure;
6369    pub fn gst_message_writable_structure(message: *mut GstMessage) -> *mut GstStructure;
6370    #[cfg(feature = "v1_18_3")]
6371    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6372    pub fn gst_message_replace(
6373        old_message: *mut *mut GstMessage,
6374        new_message: *mut GstMessage,
6375    ) -> gboolean;
6376    #[cfg(feature = "v1_28")]
6377    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6378    pub fn gst_message_steal(old_message: *mut *mut GstMessage) -> *mut GstMessage;
6379    #[cfg(feature = "v1_18_3")]
6380    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6381    pub fn gst_message_take(
6382        old_message: *mut *mut GstMessage,
6383        new_message: *mut GstMessage,
6384    ) -> gboolean;
6385
6386    //=========================================================================
6387    // GstMeta
6388    //=========================================================================
6389    #[cfg(feature = "v1_16")]
6390    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6391    pub fn gst_meta_compare_seqnum(meta1: *const GstMeta, meta2: *const GstMeta) -> c_int;
6392    #[cfg(feature = "v1_16")]
6393    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6394    pub fn gst_meta_get_seqnum(meta: *const GstMeta) -> u64;
6395    #[cfg(feature = "v1_24")]
6396    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6397    pub fn gst_meta_serialize(meta: *const GstMeta, data: *mut GstByteArrayInterface) -> gboolean;
6398    #[cfg(feature = "v1_24")]
6399    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6400    pub fn gst_meta_serialize_simple(meta: *const GstMeta, data: *mut glib::GByteArray)
6401    -> gboolean;
6402    #[cfg(feature = "v1_26")]
6403    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6404    pub fn gst_meta_api_type_aggregate_params(
6405        api: GType,
6406        aggregated_params: *mut *mut GstStructure,
6407        params0: *const GstStructure,
6408        params1: *const GstStructure,
6409    ) -> gboolean;
6410    pub fn gst_meta_api_type_get_tags(api: GType) -> *const *const c_char;
6411    pub fn gst_meta_api_type_has_tag(api: GType, tag: glib::GQuark) -> gboolean;
6412    pub fn gst_meta_api_type_register(api: *const c_char, tags: *mut *const c_char) -> GType;
6413    #[cfg(feature = "v1_26")]
6414    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6415    pub fn gst_meta_api_type_set_params_aggregator(
6416        api: GType,
6417        aggregator: GstAllocationMetaParamsAggregator,
6418    );
6419    #[cfg(feature = "v1_28")]
6420    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6421    pub fn gst_meta_api_type_tags_contain_only(
6422        api: GType,
6423        valid_tags: *mut *const c_char,
6424    ) -> gboolean;
6425    #[cfg(feature = "v1_24")]
6426    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6427    pub fn gst_meta_deserialize(
6428        buffer: *mut GstBuffer,
6429        data: *const u8,
6430        size: size_t,
6431        consumed: *mut u32,
6432    ) -> *mut GstMeta;
6433    pub fn gst_meta_get_info(impl_: *const c_char) -> *const GstMetaInfo;
6434    pub fn gst_meta_register(
6435        api: GType,
6436        impl_: *const c_char,
6437        size: size_t,
6438        init_func: GstMetaInitFunction,
6439        free_func: GstMetaFreeFunction,
6440        transform_func: GstMetaTransformFunction,
6441    ) -> *const GstMetaInfo;
6442    #[cfg(feature = "v1_20")]
6443    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
6444    pub fn gst_meta_register_custom(
6445        name: *const c_char,
6446        tags: *mut *const c_char,
6447        transform_func: GstCustomMetaTransformFunction,
6448        user_data: gpointer,
6449        destroy_data: glib::GDestroyNotify,
6450    ) -> *const GstMetaInfo;
6451    #[cfg(feature = "v1_24")]
6452    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6453    pub fn gst_meta_register_custom_simple(name: *const c_char) -> *const GstMetaInfo;
6454
6455    //=========================================================================
6456    // GstMetaInfo
6457    //=========================================================================
6458    #[cfg(feature = "v1_20")]
6459    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
6460    pub fn gst_meta_info_is_custom(info: *const GstMetaInfo) -> gboolean;
6461    #[cfg(feature = "v1_24")]
6462    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6463    pub fn gst_meta_info_register(info: *mut GstMetaInfo) -> *const GstMetaInfo;
6464    #[cfg(feature = "v1_24")]
6465    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6466    pub fn gst_meta_info_new(api: GType, impl_: *const c_char, size: size_t) -> *mut GstMetaInfo;
6467
6468    //=========================================================================
6469    // GstMiniObject
6470    //=========================================================================
6471    #[cfg(feature = "v1_20")]
6472    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
6473    pub fn gst_mini_object_get_type() -> GType;
6474    #[cfg(feature = "v1_16")]
6475    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6476    pub fn gst_mini_object_add_parent(object: *mut GstMiniObject, parent: *mut GstMiniObject);
6477    pub fn gst_mini_object_copy(mini_object: *const GstMiniObject) -> *mut GstMiniObject;
6478    pub fn gst_mini_object_get_qdata(object: *mut GstMiniObject, quark: glib::GQuark) -> gpointer;
6479    pub fn gst_mini_object_init(
6480        mini_object: *mut GstMiniObject,
6481        flags: c_uint,
6482        type_: GType,
6483        copy_func: GstMiniObjectCopyFunction,
6484        dispose_func: GstMiniObjectDisposeFunction,
6485        free_func: GstMiniObjectFreeFunction,
6486    );
6487    pub fn gst_mini_object_is_writable(mini_object: *const GstMiniObject) -> gboolean;
6488    pub fn gst_mini_object_lock(object: *mut GstMiniObject, flags: GstLockFlags) -> gboolean;
6489    pub fn gst_mini_object_make_writable(mini_object: *mut GstMiniObject) -> *mut GstMiniObject;
6490    pub fn gst_mini_object_ref(mini_object: *mut GstMiniObject) -> *mut GstMiniObject;
6491    #[cfg(feature = "v1_16")]
6492    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6493    pub fn gst_mini_object_remove_parent(object: *mut GstMiniObject, parent: *mut GstMiniObject);
6494    pub fn gst_mini_object_set_qdata(
6495        object: *mut GstMiniObject,
6496        quark: glib::GQuark,
6497        data: gpointer,
6498        destroy: glib::GDestroyNotify,
6499    );
6500    pub fn gst_mini_object_steal_qdata(object: *mut GstMiniObject, quark: glib::GQuark)
6501    -> gpointer;
6502    pub fn gst_mini_object_unlock(object: *mut GstMiniObject, flags: GstLockFlags);
6503    pub fn gst_mini_object_unref(mini_object: *mut GstMiniObject);
6504    pub fn gst_mini_object_weak_ref(
6505        object: *mut GstMiniObject,
6506        notify: GstMiniObjectNotify,
6507        data: gpointer,
6508    );
6509    pub fn gst_mini_object_weak_unref(
6510        object: *mut GstMiniObject,
6511        notify: GstMiniObjectNotify,
6512        data: gpointer,
6513    );
6514    pub fn gst_mini_object_replace(
6515        olddata: *mut *mut GstMiniObject,
6516        newdata: *mut GstMiniObject,
6517    ) -> gboolean;
6518    pub fn gst_mini_object_steal(olddata: *mut *mut GstMiniObject) -> *mut GstMiniObject;
6519    pub fn gst_mini_object_take(
6520        olddata: *mut *mut GstMiniObject,
6521        newdata: *mut GstMiniObject,
6522    ) -> gboolean;
6523
6524    //=========================================================================
6525    // GstPadProbeInfo
6526    //=========================================================================
6527    pub fn gst_pad_probe_info_get_buffer(info: *mut GstPadProbeInfo) -> *mut GstBuffer;
6528    pub fn gst_pad_probe_info_get_buffer_list(info: *mut GstPadProbeInfo) -> *mut GstBufferList;
6529    pub fn gst_pad_probe_info_get_event(info: *mut GstPadProbeInfo) -> *mut GstEvent;
6530    #[cfg(feature = "v1_28")]
6531    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6532    pub fn gst_pad_probe_info_get_flow_return(info: *mut GstPadProbeInfo) -> GstFlowReturn;
6533    #[cfg(feature = "v1_28")]
6534    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6535    pub fn gst_pad_probe_info_get_id(info: *mut GstPadProbeInfo) -> c_ulong;
6536    #[cfg(feature = "v1_28")]
6537    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6538    pub fn gst_pad_probe_info_get_offset(info: *mut GstPadProbeInfo) -> u64;
6539    pub fn gst_pad_probe_info_get_query(info: *mut GstPadProbeInfo) -> *mut GstQuery;
6540    #[cfg(feature = "v1_28")]
6541    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6542    pub fn gst_pad_probe_info_get_size(info: *mut GstPadProbeInfo) -> size_t;
6543    #[cfg(feature = "v1_28")]
6544    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6545    pub fn gst_pad_probe_info_get_type(info: *mut GstPadProbeInfo) -> GstPadProbeType;
6546    #[cfg(feature = "v1_28")]
6547    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6548    pub fn gst_pad_probe_info_set_buffer(info: *mut GstPadProbeInfo, buffer: *mut GstBuffer);
6549    #[cfg(feature = "v1_28")]
6550    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6551    pub fn gst_pad_probe_info_set_buffer_list(info: *mut GstPadProbeInfo, list: *mut GstBufferList);
6552    #[cfg(feature = "v1_28")]
6553    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6554    pub fn gst_pad_probe_info_set_event(info: *mut GstPadProbeInfo, event: *mut GstEvent);
6555    #[cfg(feature = "v1_28")]
6556    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6557    pub fn gst_pad_probe_info_set_flow_return(info: *mut GstPadProbeInfo, flow_ret: GstFlowReturn);
6558
6559    //=========================================================================
6560    // GstParentBufferMeta
6561    //=========================================================================
6562    pub fn gst_parent_buffer_meta_get_info() -> *const GstMetaInfo;
6563
6564    //=========================================================================
6565    // GstParseContext
6566    //=========================================================================
6567    pub fn gst_parse_context_get_type() -> GType;
6568    pub fn gst_parse_context_new() -> *mut GstParseContext;
6569    pub fn gst_parse_context_copy(context: *const GstParseContext) -> *mut GstParseContext;
6570    pub fn gst_parse_context_free(context: *mut GstParseContext);
6571    pub fn gst_parse_context_get_missing_elements(
6572        context: *mut GstParseContext,
6573    ) -> *mut *mut c_char;
6574    #[cfg(feature = "v1_30")]
6575    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
6576    pub fn gst_parse_context_get_untrusted_report(
6577        context: *mut GstParseContext,
6578    ) -> *mut GstStructure;
6579
6580    //=========================================================================
6581    // GstPoll
6582    //=========================================================================
6583    pub fn gst_poll_add_fd(set: *mut GstPoll, fd: *mut GstPollFD) -> gboolean;
6584    pub fn gst_poll_fd_can_read(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6585    pub fn gst_poll_fd_can_write(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6586    #[cfg(feature = "v1_16")]
6587    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6588    pub fn gst_poll_fd_ctl_pri(set: *mut GstPoll, fd: *mut GstPollFD, active: gboolean)
6589    -> gboolean;
6590    pub fn gst_poll_fd_ctl_read(
6591        set: *mut GstPoll,
6592        fd: *mut GstPollFD,
6593        active: gboolean,
6594    ) -> gboolean;
6595    pub fn gst_poll_fd_ctl_write(
6596        set: *mut GstPoll,
6597        fd: *mut GstPollFD,
6598        active: gboolean,
6599    ) -> gboolean;
6600    pub fn gst_poll_fd_has_closed(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6601    pub fn gst_poll_fd_has_error(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6602    #[cfg(feature = "v1_16")]
6603    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6604    pub fn gst_poll_fd_has_pri(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6605    pub fn gst_poll_fd_ignored(set: *mut GstPoll, fd: *mut GstPollFD);
6606    pub fn gst_poll_free(set: *mut GstPoll);
6607    pub fn gst_poll_get_read_gpollfd(set: *mut GstPoll, fd: *mut glib::GPollFD);
6608    pub fn gst_poll_read_control(set: *mut GstPoll) -> gboolean;
6609    pub fn gst_poll_remove_fd(set: *mut GstPoll, fd: *mut GstPollFD) -> gboolean;
6610    pub fn gst_poll_restart(set: *mut GstPoll);
6611    pub fn gst_poll_set_controllable(set: *mut GstPoll, controllable: gboolean) -> gboolean;
6612    pub fn gst_poll_set_flushing(set: *mut GstPoll, flushing: gboolean);
6613    pub fn gst_poll_wait(set: *mut GstPoll, timeout: GstClockTime) -> c_int;
6614    pub fn gst_poll_write_control(set: *mut GstPoll) -> gboolean;
6615    pub fn gst_poll_new(controllable: gboolean) -> *mut GstPoll;
6616    pub fn gst_poll_new_timer() -> *mut GstPoll;
6617
6618    //=========================================================================
6619    // GstPollFD
6620    //=========================================================================
6621    pub fn gst_poll_fd_init(fd: *mut GstPollFD);
6622
6623    //=========================================================================
6624    // GstPromise
6625    //=========================================================================
6626    pub fn gst_promise_get_type() -> GType;
6627    pub fn gst_promise_new() -> *mut GstPromise;
6628    pub fn gst_promise_new_with_change_func(
6629        func: GstPromiseChangeFunc,
6630        user_data: gpointer,
6631        notify: glib::GDestroyNotify,
6632    ) -> *mut GstPromise;
6633    pub fn gst_promise_expire(promise: *mut GstPromise);
6634    pub fn gst_promise_get_reply(promise: *mut GstPromise) -> *const GstStructure;
6635    pub fn gst_promise_interrupt(promise: *mut GstPromise);
6636    #[cfg(feature = "v1_18_3")]
6637    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6638    pub fn gst_promise_ref(promise: *mut GstPromise) -> *mut GstPromise;
6639    pub fn gst_promise_reply(promise: *mut GstPromise, s: *mut GstStructure);
6640    #[cfg(feature = "v1_18_3")]
6641    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6642    pub fn gst_promise_unref(promise: *mut GstPromise);
6643    pub fn gst_promise_wait(promise: *mut GstPromise) -> GstPromiseResult;
6644
6645    //=========================================================================
6646    // GstProtectionMeta
6647    //=========================================================================
6648    pub fn gst_protection_meta_get_info() -> *const GstMetaInfo;
6649
6650    //=========================================================================
6651    // GstQuery
6652    //=========================================================================
6653    pub fn gst_query_get_type() -> GType;
6654    pub fn gst_query_new_accept_caps(caps: *mut GstCaps) -> *mut GstQuery;
6655    pub fn gst_query_new_allocation(caps: *mut GstCaps, need_pool: gboolean) -> *mut GstQuery;
6656    #[cfg(feature = "v1_16")]
6657    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6658    pub fn gst_query_new_bitrate() -> *mut GstQuery;
6659    pub fn gst_query_new_buffering(format: GstFormat) -> *mut GstQuery;
6660    pub fn gst_query_new_caps(filter: *mut GstCaps) -> *mut GstQuery;
6661    pub fn gst_query_new_context(context_type: *const c_char) -> *mut GstQuery;
6662    pub fn gst_query_new_convert(
6663        src_format: GstFormat,
6664        value: i64,
6665        dest_format: GstFormat,
6666    ) -> *mut GstQuery;
6667    pub fn gst_query_new_custom(type_: GstQueryType, structure: *mut GstStructure)
6668    -> *mut GstQuery;
6669    pub fn gst_query_new_drain() -> *mut GstQuery;
6670    pub fn gst_query_new_duration(format: GstFormat) -> *mut GstQuery;
6671    pub fn gst_query_new_formats() -> *mut GstQuery;
6672    pub fn gst_query_new_latency() -> *mut GstQuery;
6673    pub fn gst_query_new_position(format: GstFormat) -> *mut GstQuery;
6674    pub fn gst_query_new_scheduling() -> *mut GstQuery;
6675    pub fn gst_query_new_seeking(format: GstFormat) -> *mut GstQuery;
6676    pub fn gst_query_new_segment(format: GstFormat) -> *mut GstQuery;
6677    #[cfg(feature = "v1_22")]
6678    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
6679    pub fn gst_query_new_selectable() -> *mut GstQuery;
6680    pub fn gst_query_new_uri() -> *mut GstQuery;
6681    pub fn gst_query_add_allocation_meta(
6682        query: *mut GstQuery,
6683        api: GType,
6684        params: *const GstStructure,
6685    );
6686    pub fn gst_query_add_allocation_param(
6687        query: *mut GstQuery,
6688        allocator: *mut GstAllocator,
6689        params: *const GstAllocationParams,
6690    );
6691    pub fn gst_query_add_allocation_pool(
6692        query: *mut GstQuery,
6693        pool: *mut GstBufferPool,
6694        size: c_uint,
6695        min_buffers: c_uint,
6696        max_buffers: c_uint,
6697    );
6698    pub fn gst_query_add_buffering_range(query: *mut GstQuery, start: i64, stop: i64) -> gboolean;
6699    pub fn gst_query_add_scheduling_mode(query: *mut GstQuery, mode: GstPadMode);
6700    #[cfg(feature = "v1_18_3")]
6701    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6702    pub fn gst_query_copy(q: *const GstQuery) -> *mut GstQuery;
6703    pub fn gst_query_find_allocation_meta(
6704        query: *mut GstQuery,
6705        api: GType,
6706        index: *mut c_uint,
6707    ) -> gboolean;
6708    pub fn gst_query_get_n_allocation_metas(query: *mut GstQuery) -> c_uint;
6709    pub fn gst_query_get_n_allocation_params(query: *mut GstQuery) -> c_uint;
6710    pub fn gst_query_get_n_allocation_pools(query: *mut GstQuery) -> c_uint;
6711    pub fn gst_query_get_n_buffering_ranges(query: *mut GstQuery) -> c_uint;
6712    pub fn gst_query_get_n_scheduling_modes(query: *mut GstQuery) -> c_uint;
6713    pub fn gst_query_get_structure(query: *mut GstQuery) -> *const GstStructure;
6714    pub fn gst_query_has_scheduling_mode(query: *mut GstQuery, mode: GstPadMode) -> gboolean;
6715    pub fn gst_query_has_scheduling_mode_with_flags(
6716        query: *mut GstQuery,
6717        mode: GstPadMode,
6718        flags: GstSchedulingFlags,
6719    ) -> gboolean;
6720    pub fn gst_query_is_writable(query: *const GstQuery) -> gboolean;
6721    pub fn gst_query_make_writable(query: *mut GstQuery) -> *mut GstQuery;
6722    pub fn gst_query_parse_accept_caps(query: *mut GstQuery, caps: *mut *mut GstCaps);
6723    pub fn gst_query_parse_accept_caps_result(query: *mut GstQuery, result: *mut gboolean);
6724    pub fn gst_query_parse_allocation(
6725        query: *mut GstQuery,
6726        caps: *mut *mut GstCaps,
6727        need_pool: *mut gboolean,
6728    );
6729    #[cfg(feature = "v1_16")]
6730    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6731    pub fn gst_query_parse_bitrate(query: *mut GstQuery, nominal_bitrate: *mut c_uint);
6732    pub fn gst_query_parse_buffering_percent(
6733        query: *mut GstQuery,
6734        busy: *mut gboolean,
6735        percent: *mut c_int,
6736    );
6737    pub fn gst_query_parse_buffering_range(
6738        query: *mut GstQuery,
6739        format: *mut GstFormat,
6740        start: *mut i64,
6741        stop: *mut i64,
6742        estimated_total: *mut i64,
6743    );
6744    pub fn gst_query_parse_buffering_stats(
6745        query: *mut GstQuery,
6746        mode: *mut GstBufferingMode,
6747        avg_in: *mut c_int,
6748        avg_out: *mut c_int,
6749        buffering_left: *mut i64,
6750    );
6751    pub fn gst_query_parse_caps(query: *mut GstQuery, filter: *mut *mut GstCaps);
6752    pub fn gst_query_parse_caps_result(query: *mut GstQuery, caps: *mut *mut GstCaps);
6753    pub fn gst_query_parse_context(query: *mut GstQuery, context: *mut *mut GstContext);
6754    pub fn gst_query_parse_context_type(
6755        query: *mut GstQuery,
6756        context_type: *mut *const c_char,
6757    ) -> gboolean;
6758    pub fn gst_query_parse_convert(
6759        query: *mut GstQuery,
6760        src_format: *mut GstFormat,
6761        src_value: *mut i64,
6762        dest_format: *mut GstFormat,
6763        dest_value: *mut i64,
6764    );
6765    pub fn gst_query_parse_duration(
6766        query: *mut GstQuery,
6767        format: *mut GstFormat,
6768        duration: *mut i64,
6769    );
6770    pub fn gst_query_parse_latency(
6771        query: *mut GstQuery,
6772        live: *mut gboolean,
6773        min_latency: *mut GstClockTime,
6774        max_latency: *mut GstClockTime,
6775    );
6776    pub fn gst_query_parse_n_formats(query: *mut GstQuery, n_formats: *mut c_uint);
6777    pub fn gst_query_parse_nth_allocation_meta(
6778        query: *mut GstQuery,
6779        index: c_uint,
6780        params: *mut *const GstStructure,
6781    ) -> GType;
6782    pub fn gst_query_parse_nth_allocation_param(
6783        query: *mut GstQuery,
6784        index: c_uint,
6785        allocator: *mut *mut GstAllocator,
6786        params: *mut GstAllocationParams,
6787    );
6788    pub fn gst_query_parse_nth_allocation_pool(
6789        query: *mut GstQuery,
6790        index: c_uint,
6791        pool: *mut *mut GstBufferPool,
6792        size: *mut c_uint,
6793        min_buffers: *mut c_uint,
6794        max_buffers: *mut c_uint,
6795    );
6796    pub fn gst_query_parse_nth_buffering_range(
6797        query: *mut GstQuery,
6798        index: c_uint,
6799        start: *mut i64,
6800        stop: *mut i64,
6801    ) -> gboolean;
6802    pub fn gst_query_parse_nth_format(query: *mut GstQuery, nth: c_uint, format: *mut GstFormat);
6803    pub fn gst_query_parse_nth_scheduling_mode(query: *mut GstQuery, index: c_uint) -> GstPadMode;
6804    pub fn gst_query_parse_position(query: *mut GstQuery, format: *mut GstFormat, cur: *mut i64);
6805    pub fn gst_query_parse_scheduling(
6806        query: *mut GstQuery,
6807        flags: *mut GstSchedulingFlags,
6808        minsize: *mut c_int,
6809        maxsize: *mut c_int,
6810        align: *mut c_int,
6811    );
6812    pub fn gst_query_parse_seeking(
6813        query: *mut GstQuery,
6814        format: *mut GstFormat,
6815        seekable: *mut gboolean,
6816        segment_start: *mut i64,
6817        segment_end: *mut i64,
6818    );
6819    pub fn gst_query_parse_segment(
6820        query: *mut GstQuery,
6821        rate: *mut c_double,
6822        format: *mut GstFormat,
6823        start_value: *mut i64,
6824        stop_value: *mut i64,
6825    );
6826    #[cfg(feature = "v1_22")]
6827    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
6828    pub fn gst_query_parse_selectable(query: *mut GstQuery, selectable: *mut gboolean);
6829    pub fn gst_query_parse_uri(query: *mut GstQuery, uri: *mut *mut c_char);
6830    pub fn gst_query_parse_uri_redirection(query: *mut GstQuery, uri: *mut *mut c_char);
6831    pub fn gst_query_parse_uri_redirection_permanent(
6832        query: *mut GstQuery,
6833        permanent: *mut gboolean,
6834    );
6835    #[cfg(feature = "v1_18_3")]
6836    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6837    pub fn gst_query_ref(q: *mut GstQuery) -> *mut GstQuery;
6838    pub fn gst_query_remove_nth_allocation_meta(query: *mut GstQuery, index: c_uint);
6839    pub fn gst_query_remove_nth_allocation_param(query: *mut GstQuery, index: c_uint);
6840    pub fn gst_query_remove_nth_allocation_pool(query: *mut GstQuery, index: c_uint);
6841    pub fn gst_query_set_accept_caps_result(query: *mut GstQuery, result: gboolean);
6842    #[cfg(feature = "v1_16")]
6843    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6844    pub fn gst_query_set_bitrate(query: *mut GstQuery, nominal_bitrate: c_uint);
6845    pub fn gst_query_set_buffering_percent(query: *mut GstQuery, busy: gboolean, percent: c_int);
6846    pub fn gst_query_set_buffering_range(
6847        query: *mut GstQuery,
6848        format: GstFormat,
6849        start: i64,
6850        stop: i64,
6851        estimated_total: i64,
6852    );
6853    pub fn gst_query_set_buffering_stats(
6854        query: *mut GstQuery,
6855        mode: GstBufferingMode,
6856        avg_in: c_int,
6857        avg_out: c_int,
6858        buffering_left: i64,
6859    );
6860    pub fn gst_query_set_caps_result(query: *mut GstQuery, caps: *mut GstCaps);
6861    pub fn gst_query_set_context(query: *mut GstQuery, context: *mut GstContext);
6862    pub fn gst_query_set_convert(
6863        query: *mut GstQuery,
6864        src_format: GstFormat,
6865        src_value: i64,
6866        dest_format: GstFormat,
6867        dest_value: i64,
6868    );
6869    pub fn gst_query_set_duration(query: *mut GstQuery, format: GstFormat, duration: i64);
6870    pub fn gst_query_set_formats(query: *mut GstQuery, n_formats: c_int, ...);
6871    pub fn gst_query_set_formatsv(
6872        query: *mut GstQuery,
6873        n_formats: c_int,
6874        formats: *const GstFormat,
6875    );
6876    pub fn gst_query_set_latency(
6877        query: *mut GstQuery,
6878        live: gboolean,
6879        min_latency: GstClockTime,
6880        max_latency: GstClockTime,
6881    );
6882    pub fn gst_query_set_nth_allocation_param(
6883        query: *mut GstQuery,
6884        index: c_uint,
6885        allocator: *mut GstAllocator,
6886        params: *const GstAllocationParams,
6887    );
6888    pub fn gst_query_set_nth_allocation_pool(
6889        query: *mut GstQuery,
6890        index: c_uint,
6891        pool: *mut GstBufferPool,
6892        size: c_uint,
6893        min_buffers: c_uint,
6894        max_buffers: c_uint,
6895    );
6896    pub fn gst_query_set_position(query: *mut GstQuery, format: GstFormat, cur: i64);
6897    pub fn gst_query_set_scheduling(
6898        query: *mut GstQuery,
6899        flags: GstSchedulingFlags,
6900        minsize: c_int,
6901        maxsize: c_int,
6902        align: c_int,
6903    );
6904    pub fn gst_query_set_seeking(
6905        query: *mut GstQuery,
6906        format: GstFormat,
6907        seekable: gboolean,
6908        segment_start: i64,
6909        segment_end: i64,
6910    );
6911    pub fn gst_query_set_segment(
6912        query: *mut GstQuery,
6913        rate: c_double,
6914        format: GstFormat,
6915        start_value: i64,
6916        stop_value: i64,
6917    );
6918    #[cfg(feature = "v1_22")]
6919    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
6920    pub fn gst_query_set_selectable(query: *mut GstQuery, selectable: gboolean);
6921    pub fn gst_query_set_uri(query: *mut GstQuery, uri: *const c_char);
6922    pub fn gst_query_set_uri_redirection(query: *mut GstQuery, uri: *const c_char);
6923    pub fn gst_query_set_uri_redirection_permanent(query: *mut GstQuery, permanent: gboolean);
6924    #[cfg(feature = "v1_18_3")]
6925    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6926    pub fn gst_query_unref(q: *mut GstQuery);
6927    pub fn gst_query_writable_structure(query: *mut GstQuery) -> *mut GstStructure;
6928    #[cfg(feature = "v1_18_3")]
6929    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6930    pub fn gst_query_replace(old_query: *mut *mut GstQuery, new_query: *mut GstQuery) -> gboolean;
6931    #[cfg(feature = "v1_28")]
6932    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6933    pub fn gst_query_steal(old_query: *mut *mut GstQuery) -> *mut GstQuery;
6934    #[cfg(feature = "v1_18_3")]
6935    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6936    pub fn gst_query_take(old_query: *mut *mut GstQuery, new_query: *mut GstQuery) -> gboolean;
6937
6938    //=========================================================================
6939    // GstReferenceTimestampMeta
6940    //=========================================================================
6941    pub fn gst_reference_timestamp_meta_get_info() -> *const GstMetaInfo;
6942
6943    //=========================================================================
6944    // GstSample
6945    //=========================================================================
6946    pub fn gst_sample_get_type() -> GType;
6947    pub fn gst_sample_new(
6948        buffer: *mut GstBuffer,
6949        caps: *mut GstCaps,
6950        segment: *const GstSegment,
6951        info: *mut GstStructure,
6952    ) -> *mut GstSample;
6953    #[cfg(feature = "v1_18_3")]
6954    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6955    pub fn gst_sample_copy(sample: *const GstSample) -> *mut GstSample;
6956    pub fn gst_sample_get_buffer(sample: *mut GstSample) -> *mut GstBuffer;
6957    pub fn gst_sample_get_buffer_list(sample: *mut GstSample) -> *mut GstBufferList;
6958    pub fn gst_sample_get_caps(sample: *mut GstSample) -> *mut GstCaps;
6959    pub fn gst_sample_get_info(sample: *mut GstSample) -> *const GstStructure;
6960    pub fn gst_sample_get_segment(sample: *mut GstSample) -> *mut GstSegment;
6961    #[cfg(feature = "v1_16")]
6962    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6963    pub fn gst_sample_is_writable(sample: *const GstSample) -> gboolean;
6964    #[cfg(feature = "v1_16")]
6965    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6966    pub fn gst_sample_make_writable(sample: *mut GstSample) -> *mut GstSample;
6967    #[cfg(feature = "v1_18_3")]
6968    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6969    pub fn gst_sample_ref(sample: *mut GstSample) -> *mut GstSample;
6970    #[cfg(feature = "v1_16")]
6971    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6972    pub fn gst_sample_set_buffer(sample: *mut GstSample, buffer: *mut GstBuffer);
6973    pub fn gst_sample_set_buffer_list(sample: *mut GstSample, buffer_list: *mut GstBufferList);
6974    #[cfg(feature = "v1_16")]
6975    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6976    pub fn gst_sample_set_caps(sample: *mut GstSample, caps: *mut GstCaps);
6977    #[cfg(feature = "v1_16")]
6978    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6979    pub fn gst_sample_set_info(sample: *mut GstSample, info: *mut GstStructure) -> gboolean;
6980    #[cfg(feature = "v1_16")]
6981    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6982    pub fn gst_sample_set_segment(sample: *mut GstSample, segment: *const GstSegment);
6983    #[cfg(feature = "v1_18_3")]
6984    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6985    pub fn gst_sample_unref(sample: *mut GstSample);
6986
6987    //=========================================================================
6988    // GstSegment
6989    //=========================================================================
6990    pub fn gst_segment_get_type() -> GType;
6991    pub fn gst_segment_new() -> *mut GstSegment;
6992    pub fn gst_segment_clip(
6993        segment: *const GstSegment,
6994        format: GstFormat,
6995        start: u64,
6996        stop: u64,
6997        clip_start: *mut u64,
6998        clip_stop: *mut u64,
6999    ) -> gboolean;
7000    pub fn gst_segment_copy(segment: *const GstSegment) -> *mut GstSegment;
7001    pub fn gst_segment_copy_into(src: *const GstSegment, dest: *mut GstSegment);
7002    pub fn gst_segment_do_seek(
7003        segment: *mut GstSegment,
7004        rate: c_double,
7005        format: GstFormat,
7006        flags: GstSeekFlags,
7007        start_type: GstSeekType,
7008        start: u64,
7009        stop_type: GstSeekType,
7010        stop: u64,
7011        update: *mut gboolean,
7012    ) -> gboolean;
7013    pub fn gst_segment_free(segment: *mut GstSegment);
7014    pub fn gst_segment_init(segment: *mut GstSegment, format: GstFormat);
7015    pub fn gst_segment_is_equal(s0: *const GstSegment, s1: *const GstSegment) -> gboolean;
7016    pub fn gst_segment_offset_running_time(
7017        segment: *mut GstSegment,
7018        format: GstFormat,
7019        offset: i64,
7020    ) -> gboolean;
7021    pub fn gst_segment_position_from_running_time(
7022        segment: *const GstSegment,
7023        format: GstFormat,
7024        running_time: u64,
7025    ) -> u64;
7026    pub fn gst_segment_position_from_running_time_full(
7027        segment: *const GstSegment,
7028        format: GstFormat,
7029        running_time: u64,
7030        position: *mut u64,
7031    ) -> c_int;
7032    pub fn gst_segment_position_from_stream_time(
7033        segment: *const GstSegment,
7034        format: GstFormat,
7035        stream_time: u64,
7036    ) -> u64;
7037    pub fn gst_segment_position_from_stream_time_full(
7038        segment: *const GstSegment,
7039        format: GstFormat,
7040        stream_time: u64,
7041        position: *mut u64,
7042    ) -> c_int;
7043    pub fn gst_segment_set_running_time(
7044        segment: *mut GstSegment,
7045        format: GstFormat,
7046        running_time: u64,
7047    ) -> gboolean;
7048    pub fn gst_segment_to_position(
7049        segment: *const GstSegment,
7050        format: GstFormat,
7051        running_time: u64,
7052    ) -> u64;
7053    pub fn gst_segment_to_running_time(
7054        segment: *const GstSegment,
7055        format: GstFormat,
7056        position: u64,
7057    ) -> u64;
7058    pub fn gst_segment_to_running_time_full(
7059        segment: *const GstSegment,
7060        format: GstFormat,
7061        position: u64,
7062        running_time: *mut u64,
7063    ) -> c_int;
7064    pub fn gst_segment_to_stream_time(
7065        segment: *const GstSegment,
7066        format: GstFormat,
7067        position: u64,
7068    ) -> u64;
7069    pub fn gst_segment_to_stream_time_full(
7070        segment: *const GstSegment,
7071        format: GstFormat,
7072        position: u64,
7073        stream_time: *mut u64,
7074    ) -> c_int;
7075
7076    //=========================================================================
7077    // GstStaticCaps
7078    //=========================================================================
7079    pub fn gst_static_caps_get_type() -> GType;
7080    pub fn gst_static_caps_cleanup(static_caps: *mut GstStaticCaps);
7081    pub fn gst_static_caps_get(static_caps: *mut GstStaticCaps) -> *mut GstCaps;
7082
7083    //=========================================================================
7084    // GstStaticPadTemplate
7085    //=========================================================================
7086    pub fn gst_static_pad_template_get_type() -> GType;
7087    pub fn gst_static_pad_template_get(
7088        pad_template: *mut GstStaticPadTemplate,
7089    ) -> *mut GstPadTemplate;
7090    pub fn gst_static_pad_template_get_caps(templ: *mut GstStaticPadTemplate) -> *mut GstCaps;
7091
7092    //=========================================================================
7093    // GstStructure
7094    //=========================================================================
7095    pub fn gst_structure_get_type() -> GType;
7096    pub fn gst_structure_from_string(
7097        string: *const c_char,
7098        end: *mut *mut c_char,
7099    ) -> *mut GstStructure;
7100    pub fn gst_structure_new(
7101        name: *const c_char,
7102        firstfield: *const c_char,
7103        ...
7104    ) -> *mut GstStructure;
7105    pub fn gst_structure_new_empty(name: *const c_char) -> *mut GstStructure;
7106    pub fn gst_structure_new_from_string(string: *const c_char) -> *mut GstStructure;
7107    pub fn gst_structure_new_id(
7108        name_quark: glib::GQuark,
7109        field_quark: glib::GQuark,
7110        ...
7111    ) -> *mut GstStructure;
7112    pub fn gst_structure_new_id_empty(quark: glib::GQuark) -> *mut GstStructure;
7113    #[cfg(feature = "v1_26")]
7114    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7115    pub fn gst_structure_new_id_str(
7116        name: *const GstIdStr,
7117        fieldname: *const GstIdStr,
7118        ...
7119    ) -> *mut GstStructure;
7120    #[cfg(feature = "v1_26")]
7121    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7122    pub fn gst_structure_new_id_str_empty(name: *const GstIdStr) -> *mut GstStructure;
7123    //#[cfg(feature = "v1_26")]
7124    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7125    //pub fn gst_structure_new_id_str_valist(name: *const GstIdStr, firstfield: *const GstIdStr, varargs: /*Unimplemented*/va_list) -> *mut GstStructure;
7126    #[cfg(feature = "v1_26")]
7127    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7128    pub fn gst_structure_new_static_str(
7129        name: *const c_char,
7130        firstfield: *const c_char,
7131        ...
7132    ) -> *mut GstStructure;
7133    #[cfg(feature = "v1_26")]
7134    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7135    pub fn gst_structure_new_static_str_empty(name: *const c_char) -> *mut GstStructure;
7136    //#[cfg(feature = "v1_26")]
7137    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7138    //pub fn gst_structure_new_static_str_valist(name: *const c_char, firstfield: *const c_char, varargs: /*Unimplemented*/va_list) -> *mut GstStructure;
7139    //pub fn gst_structure_new_valist(name: *const c_char, firstfield: *const c_char, varargs: /*Unimplemented*/va_list) -> *mut GstStructure;
7140    pub fn gst_structure_can_intersect(
7141        struct1: *const GstStructure,
7142        struct2: *const GstStructure,
7143    ) -> gboolean;
7144    pub fn gst_structure_copy(structure: *const GstStructure) -> *mut GstStructure;
7145    pub fn gst_structure_filter_and_map_in_place(
7146        structure: *mut GstStructure,
7147        func: GstStructureFilterMapFunc,
7148        user_data: gpointer,
7149    );
7150    #[cfg(feature = "v1_26")]
7151    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7152    pub fn gst_structure_filter_and_map_in_place_id_str(
7153        structure: *mut GstStructure,
7154        func: GstStructureFilterMapIdStrFunc,
7155        user_data: gpointer,
7156    );
7157    pub fn gst_structure_fixate(structure: *mut GstStructure);
7158    pub fn gst_structure_fixate_field(
7159        structure: *mut GstStructure,
7160        field_name: *const c_char,
7161    ) -> gboolean;
7162    pub fn gst_structure_fixate_field_boolean(
7163        structure: *mut GstStructure,
7164        field_name: *const c_char,
7165        target: gboolean,
7166    ) -> gboolean;
7167    pub fn gst_structure_fixate_field_nearest_double(
7168        structure: *mut GstStructure,
7169        field_name: *const c_char,
7170        target: c_double,
7171    ) -> gboolean;
7172    pub fn gst_structure_fixate_field_nearest_fraction(
7173        structure: *mut GstStructure,
7174        field_name: *const c_char,
7175        target_numerator: c_int,
7176        target_denominator: c_int,
7177    ) -> gboolean;
7178    pub fn gst_structure_fixate_field_nearest_int(
7179        structure: *mut GstStructure,
7180        field_name: *const c_char,
7181        target: c_int,
7182    ) -> gboolean;
7183    pub fn gst_structure_fixate_field_string(
7184        structure: *mut GstStructure,
7185        field_name: *const c_char,
7186        target: *const c_char,
7187    ) -> gboolean;
7188    pub fn gst_structure_foreach(
7189        structure: *const GstStructure,
7190        func: GstStructureForeachFunc,
7191        user_data: gpointer,
7192    ) -> gboolean;
7193    #[cfg(feature = "v1_26")]
7194    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7195    pub fn gst_structure_foreach_id_str(
7196        structure: *const GstStructure,
7197        func: GstStructureForeachIdStrFunc,
7198        user_data: gpointer,
7199    ) -> gboolean;
7200    pub fn gst_structure_free(structure: *mut GstStructure);
7201    pub fn gst_structure_get(
7202        structure: *const GstStructure,
7203        first_fieldname: *const c_char,
7204        ...
7205    ) -> gboolean;
7206    pub fn gst_structure_get_array(
7207        structure: *mut GstStructure,
7208        fieldname: *const c_char,
7209        array: *mut *mut gobject::GValueArray,
7210    ) -> gboolean;
7211    pub fn gst_structure_get_boolean(
7212        structure: *const GstStructure,
7213        fieldname: *const c_char,
7214        value: *mut gboolean,
7215    ) -> gboolean;
7216    #[cfg(feature = "v1_28")]
7217    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
7218    pub fn gst_structure_get_caps(
7219        structure: *const GstStructure,
7220        fieldname: *const c_char,
7221        caps: *mut *const GstCaps,
7222    ) -> gboolean;
7223    pub fn gst_structure_get_clock_time(
7224        structure: *const GstStructure,
7225        fieldname: *const c_char,
7226        value: *mut GstClockTime,
7227    ) -> gboolean;
7228    pub fn gst_structure_get_date(
7229        structure: *const GstStructure,
7230        fieldname: *const c_char,
7231        value: *mut *mut glib::GDate,
7232    ) -> gboolean;
7233    pub fn gst_structure_get_date_time(
7234        structure: *const GstStructure,
7235        fieldname: *const c_char,
7236        value: *mut *mut GstDateTime,
7237    ) -> gboolean;
7238    pub fn gst_structure_get_double(
7239        structure: *const GstStructure,
7240        fieldname: *const c_char,
7241        value: *mut c_double,
7242    ) -> gboolean;
7243    pub fn gst_structure_get_enum(
7244        structure: *const GstStructure,
7245        fieldname: *const c_char,
7246        enumtype: GType,
7247        value: *mut c_int,
7248    ) -> gboolean;
7249    pub fn gst_structure_get_field_type(
7250        structure: *const GstStructure,
7251        fieldname: *const c_char,
7252    ) -> GType;
7253    #[cfg(feature = "v1_22")]
7254    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
7255    pub fn gst_structure_get_flags(
7256        structure: *const GstStructure,
7257        fieldname: *const c_char,
7258        flags_type: GType,
7259        value: *mut c_uint,
7260    ) -> gboolean;
7261    pub fn gst_structure_get_flagset(
7262        structure: *const GstStructure,
7263        fieldname: *const c_char,
7264        value_flags: *mut c_uint,
7265        value_mask: *mut c_uint,
7266    ) -> gboolean;
7267    pub fn gst_structure_get_fraction(
7268        structure: *const GstStructure,
7269        fieldname: *const c_char,
7270        value_numerator: *mut c_int,
7271        value_denominator: *mut c_int,
7272    ) -> gboolean;
7273    pub fn gst_structure_get_int(
7274        structure: *const GstStructure,
7275        fieldname: *const c_char,
7276        value: *mut c_int,
7277    ) -> gboolean;
7278    pub fn gst_structure_get_int64(
7279        structure: *const GstStructure,
7280        fieldname: *const c_char,
7281        value: *mut i64,
7282    ) -> gboolean;
7283    pub fn gst_structure_get_list(
7284        structure: *mut GstStructure,
7285        fieldname: *const c_char,
7286        array: *mut *mut gobject::GValueArray,
7287    ) -> gboolean;
7288    pub fn gst_structure_get_name(structure: *const GstStructure) -> *const c_char;
7289    pub fn gst_structure_get_name_id(structure: *const GstStructure) -> glib::GQuark;
7290    #[cfg(feature = "v1_26")]
7291    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7292    pub fn gst_structure_get_name_id_str(structure: *const GstStructure) -> *const GstIdStr;
7293    pub fn gst_structure_get_string(
7294        structure: *const GstStructure,
7295        fieldname: *const c_char,
7296    ) -> *const c_char;
7297    pub fn gst_structure_get_uint(
7298        structure: *const GstStructure,
7299        fieldname: *const c_char,
7300        value: *mut c_uint,
7301    ) -> gboolean;
7302    pub fn gst_structure_get_uint64(
7303        structure: *const GstStructure,
7304        fieldname: *const c_char,
7305        value: *mut u64,
7306    ) -> gboolean;
7307    //pub fn gst_structure_get_valist(structure: *const GstStructure, first_fieldname: *const c_char, args: /*Unimplemented*/va_list) -> gboolean;
7308    pub fn gst_structure_get_value(
7309        structure: *const GstStructure,
7310        fieldname: *const c_char,
7311    ) -> *const gobject::GValue;
7312    pub fn gst_structure_has_field(
7313        structure: *const GstStructure,
7314        fieldname: *const c_char,
7315    ) -> gboolean;
7316    pub fn gst_structure_has_field_typed(
7317        structure: *const GstStructure,
7318        fieldname: *const c_char,
7319        type_: GType,
7320    ) -> gboolean;
7321    pub fn gst_structure_has_name(structure: *const GstStructure, name: *const c_char) -> gboolean;
7322    pub fn gst_structure_id_get(
7323        structure: *const GstStructure,
7324        first_field_id: glib::GQuark,
7325        ...
7326    ) -> gboolean;
7327    //pub fn gst_structure_id_get_valist(structure: *const GstStructure, first_field_id: glib::GQuark, args: /*Unimplemented*/va_list) -> gboolean;
7328    pub fn gst_structure_id_get_value(
7329        structure: *const GstStructure,
7330        field: glib::GQuark,
7331    ) -> *const gobject::GValue;
7332    pub fn gst_structure_id_has_field(
7333        structure: *const GstStructure,
7334        field: glib::GQuark,
7335    ) -> gboolean;
7336    pub fn gst_structure_id_has_field_typed(
7337        structure: *const GstStructure,
7338        field: glib::GQuark,
7339        type_: GType,
7340    ) -> gboolean;
7341    pub fn gst_structure_id_set(structure: *mut GstStructure, fieldname: glib::GQuark, ...);
7342    //pub fn gst_structure_id_set_valist(structure: *mut GstStructure, fieldname: glib::GQuark, varargs: /*Unimplemented*/va_list);
7343    pub fn gst_structure_id_set_value(
7344        structure: *mut GstStructure,
7345        field: glib::GQuark,
7346        value: *const gobject::GValue,
7347    );
7348    #[cfg(feature = "v1_26")]
7349    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7350    pub fn gst_structure_id_str_get(
7351        structure: *const GstStructure,
7352        first_fieldname: *const GstIdStr,
7353        ...
7354    ) -> gboolean;
7355    #[cfg(feature = "v1_26")]
7356    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7357    pub fn gst_structure_id_str_get_field_type(
7358        structure: *const GstStructure,
7359        fieldname: *const GstIdStr,
7360    ) -> GType;
7361    //#[cfg(feature = "v1_26")]
7362    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7363    //pub fn gst_structure_id_str_get_valist(structure: *const GstStructure, first_fieldname: *const GstIdStr, args: /*Unimplemented*/va_list) -> gboolean;
7364    #[cfg(feature = "v1_26")]
7365    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7366    pub fn gst_structure_id_str_get_value(
7367        structure: *const GstStructure,
7368        fieldname: *const GstIdStr,
7369    ) -> *const gobject::GValue;
7370    #[cfg(feature = "v1_26")]
7371    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7372    pub fn gst_structure_id_str_has_field(
7373        structure: *const GstStructure,
7374        fieldname: *const GstIdStr,
7375    ) -> gboolean;
7376    #[cfg(feature = "v1_26")]
7377    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7378    pub fn gst_structure_id_str_has_field_typed(
7379        structure: *const GstStructure,
7380        fieldname: *const GstIdStr,
7381        type_: GType,
7382    ) -> gboolean;
7383    #[cfg(feature = "v1_26")]
7384    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7385    pub fn gst_structure_id_str_nth_field_name(
7386        structure: *const GstStructure,
7387        index: c_uint,
7388    ) -> *const GstIdStr;
7389    #[cfg(feature = "v1_26")]
7390    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7391    pub fn gst_structure_id_str_remove_field(
7392        structure: *mut GstStructure,
7393        fieldname: *const GstIdStr,
7394    );
7395    #[cfg(feature = "v1_26")]
7396    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7397    pub fn gst_structure_id_str_remove_fields(
7398        structure: *mut GstStructure,
7399        fieldname: *const GstIdStr,
7400        ...
7401    );
7402    //#[cfg(feature = "v1_26")]
7403    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7404    //pub fn gst_structure_id_str_remove_fields_valist(structure: *mut GstStructure, fieldname: *const GstIdStr, varargs: /*Unimplemented*/va_list);
7405    #[cfg(feature = "v1_26")]
7406    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7407    pub fn gst_structure_id_str_set(structure: *mut GstStructure, fieldname: *const GstIdStr, ...);
7408    //#[cfg(feature = "v1_26")]
7409    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7410    //pub fn gst_structure_id_str_set_valist(structure: *mut GstStructure, fieldname: *const GstIdStr, varargs: /*Unimplemented*/va_list);
7411    #[cfg(feature = "v1_26")]
7412    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7413    pub fn gst_structure_id_str_set_value(
7414        structure: *mut GstStructure,
7415        fieldname: *const GstIdStr,
7416        value: *const gobject::GValue,
7417    );
7418    #[cfg(feature = "v1_26")]
7419    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7420    pub fn gst_structure_id_str_take_value(
7421        structure: *mut GstStructure,
7422        fieldname: *const GstIdStr,
7423        value: *mut gobject::GValue,
7424    );
7425    pub fn gst_structure_id_take_value(
7426        structure: *mut GstStructure,
7427        field: glib::GQuark,
7428        value: *mut gobject::GValue,
7429    );
7430    pub fn gst_structure_intersect(
7431        struct1: *const GstStructure,
7432        struct2: *const GstStructure,
7433    ) -> *mut GstStructure;
7434    pub fn gst_structure_is_equal(
7435        structure1: *const GstStructure,
7436        structure2: *const GstStructure,
7437    ) -> gboolean;
7438    pub fn gst_structure_is_subset(
7439        subset: *const GstStructure,
7440        superset: *const GstStructure,
7441    ) -> gboolean;
7442    #[cfg(feature = "v1_28")]
7443    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
7444    pub fn gst_structure_is_writable(structure: *const GstStructure) -> gboolean;
7445    pub fn gst_structure_map_in_place(
7446        structure: *mut GstStructure,
7447        func: GstStructureMapFunc,
7448        user_data: gpointer,
7449    ) -> gboolean;
7450    #[cfg(feature = "v1_26")]
7451    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7452    pub fn gst_structure_map_in_place_id_str(
7453        structure: *mut GstStructure,
7454        func: GstStructureMapIdStrFunc,
7455        user_data: gpointer,
7456    ) -> gboolean;
7457    pub fn gst_structure_n_fields(structure: *const GstStructure) -> c_int;
7458    pub fn gst_structure_nth_field_name(
7459        structure: *const GstStructure,
7460        index: c_uint,
7461    ) -> *const c_char;
7462    pub fn gst_structure_remove_all_fields(structure: *mut GstStructure);
7463    pub fn gst_structure_remove_field(structure: *mut GstStructure, fieldname: *const c_char);
7464    pub fn gst_structure_remove_fields(structure: *mut GstStructure, fieldname: *const c_char, ...);
7465    //pub fn gst_structure_remove_fields_valist(structure: *mut GstStructure, fieldname: *const c_char, varargs: /*Unimplemented*/va_list);
7466    #[cfg(feature = "v1_20")]
7467    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
7468    pub fn gst_structure_serialize(
7469        structure: *const GstStructure,
7470        flags: GstSerializeFlags,
7471    ) -> *mut c_char;
7472    #[cfg(feature = "v1_24")]
7473    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
7474    pub fn gst_structure_serialize_full(
7475        structure: *const GstStructure,
7476        flags: GstSerializeFlags,
7477    ) -> *mut c_char;
7478    pub fn gst_structure_set(structure: *mut GstStructure, fieldname: *const c_char, ...);
7479    pub fn gst_structure_set_array(
7480        structure: *mut GstStructure,
7481        fieldname: *const c_char,
7482        array: *const gobject::GValueArray,
7483    );
7484    pub fn gst_structure_set_list(
7485        structure: *mut GstStructure,
7486        fieldname: *const c_char,
7487        array: *const gobject::GValueArray,
7488    );
7489    pub fn gst_structure_set_name(structure: *mut GstStructure, name: *const c_char);
7490    #[cfg(feature = "v1_26")]
7491    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7492    pub fn gst_structure_set_name_id_str(structure: *mut GstStructure, name: *const GstIdStr);
7493    #[cfg(feature = "v1_26")]
7494    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7495    pub fn gst_structure_set_name_static_str(structure: *mut GstStructure, name: *const c_char);
7496    pub fn gst_structure_set_parent_refcount(
7497        structure: *mut GstStructure,
7498        refcount: *mut c_int,
7499    ) -> gboolean;
7500    #[cfg(feature = "v1_26")]
7501    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7502    pub fn gst_structure_set_static_str(
7503        structure: *mut GstStructure,
7504        fieldname: *const c_char,
7505        ...
7506    );
7507    //#[cfg(feature = "v1_26")]
7508    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7509    //pub fn gst_structure_set_static_str_valist(structure: *mut GstStructure, fieldname: *const c_char, varargs: /*Unimplemented*/va_list);
7510    //pub fn gst_structure_set_valist(structure: *mut GstStructure, fieldname: *const c_char, varargs: /*Unimplemented*/va_list);
7511    pub fn gst_structure_set_value(
7512        structure: *mut GstStructure,
7513        fieldname: *const c_char,
7514        value: *const gobject::GValue,
7515    );
7516    #[cfg(feature = "v1_26")]
7517    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7518    pub fn gst_structure_set_value_static_str(
7519        structure: *mut GstStructure,
7520        fieldname: *const c_char,
7521        value: *const gobject::GValue,
7522    );
7523    pub fn gst_structure_take_value(
7524        structure: *mut GstStructure,
7525        fieldname: *const c_char,
7526        value: *mut gobject::GValue,
7527    );
7528    #[cfg(feature = "v1_26")]
7529    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7530    pub fn gst_structure_take_value_static_str(
7531        structure: *mut GstStructure,
7532        fieldname: *const c_char,
7533        value: *mut gobject::GValue,
7534    );
7535    pub fn gst_structure_to_string(structure: *const GstStructure) -> *mut c_char;
7536    #[cfg(feature = "v1_18")]
7537    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
7538    pub fn gst_structure_take(
7539        oldstr_ptr: *mut *mut GstStructure,
7540        newstr: *mut GstStructure,
7541    ) -> gboolean;
7542
7543    //=========================================================================
7544    // GstTagList
7545    //=========================================================================
7546    pub fn gst_tag_list_get_type() -> GType;
7547    pub fn gst_tag_list_new(tag: *const c_char, ...) -> *mut GstTagList;
7548    pub fn gst_tag_list_new_empty() -> *mut GstTagList;
7549    pub fn gst_tag_list_new_from_string(str: *const c_char) -> *mut GstTagList;
7550    //pub fn gst_tag_list_new_valist(var_args: /*Unimplemented*/va_list) -> *mut GstTagList;
7551    pub fn gst_tag_list_add(list: *mut GstTagList, mode: GstTagMergeMode, tag: *const c_char, ...);
7552    //pub fn gst_tag_list_add_valist(list: *mut GstTagList, mode: GstTagMergeMode, tag: *const c_char, var_args: /*Unimplemented*/va_list);
7553    //pub fn gst_tag_list_add_valist_values(list: *mut GstTagList, mode: GstTagMergeMode, tag: *const c_char, var_args: /*Unimplemented*/va_list);
7554    pub fn gst_tag_list_add_value(
7555        list: *mut GstTagList,
7556        mode: GstTagMergeMode,
7557        tag: *const c_char,
7558        value: *const gobject::GValue,
7559    );
7560    pub fn gst_tag_list_add_values(
7561        list: *mut GstTagList,
7562        mode: GstTagMergeMode,
7563        tag: *const c_char,
7564        ...
7565    );
7566    #[cfg(feature = "v1_18_3")]
7567    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7568    pub fn gst_tag_list_copy(taglist: *const GstTagList) -> *mut GstTagList;
7569    pub fn gst_tag_list_foreach(
7570        list: *const GstTagList,
7571        func: GstTagForeachFunc,
7572        user_data: gpointer,
7573    );
7574    pub fn gst_tag_list_get_boolean(
7575        list: *const GstTagList,
7576        tag: *const c_char,
7577        value: *mut gboolean,
7578    ) -> gboolean;
7579    pub fn gst_tag_list_get_boolean_index(
7580        list: *const GstTagList,
7581        tag: *const c_char,
7582        index: c_uint,
7583        value: *mut gboolean,
7584    ) -> gboolean;
7585    pub fn gst_tag_list_get_date(
7586        list: *const GstTagList,
7587        tag: *const c_char,
7588        value: *mut *mut glib::GDate,
7589    ) -> gboolean;
7590    pub fn gst_tag_list_get_date_index(
7591        list: *const GstTagList,
7592        tag: *const c_char,
7593        index: c_uint,
7594        value: *mut *mut glib::GDate,
7595    ) -> gboolean;
7596    pub fn gst_tag_list_get_date_time(
7597        list: *const GstTagList,
7598        tag: *const c_char,
7599        value: *mut *mut GstDateTime,
7600    ) -> gboolean;
7601    pub fn gst_tag_list_get_date_time_index(
7602        list: *const GstTagList,
7603        tag: *const c_char,
7604        index: c_uint,
7605        value: *mut *mut GstDateTime,
7606    ) -> gboolean;
7607    pub fn gst_tag_list_get_double(
7608        list: *const GstTagList,
7609        tag: *const c_char,
7610        value: *mut c_double,
7611    ) -> gboolean;
7612    pub fn gst_tag_list_get_double_index(
7613        list: *const GstTagList,
7614        tag: *const c_char,
7615        index: c_uint,
7616        value: *mut c_double,
7617    ) -> gboolean;
7618    pub fn gst_tag_list_get_float(
7619        list: *const GstTagList,
7620        tag: *const c_char,
7621        value: *mut c_float,
7622    ) -> gboolean;
7623    pub fn gst_tag_list_get_float_index(
7624        list: *const GstTagList,
7625        tag: *const c_char,
7626        index: c_uint,
7627        value: *mut c_float,
7628    ) -> gboolean;
7629    pub fn gst_tag_list_get_int(
7630        list: *const GstTagList,
7631        tag: *const c_char,
7632        value: *mut c_int,
7633    ) -> gboolean;
7634    pub fn gst_tag_list_get_int64(
7635        list: *const GstTagList,
7636        tag: *const c_char,
7637        value: *mut i64,
7638    ) -> gboolean;
7639    pub fn gst_tag_list_get_int64_index(
7640        list: *const GstTagList,
7641        tag: *const c_char,
7642        index: c_uint,
7643        value: *mut i64,
7644    ) -> gboolean;
7645    pub fn gst_tag_list_get_int_index(
7646        list: *const GstTagList,
7647        tag: *const c_char,
7648        index: c_uint,
7649        value: *mut c_int,
7650    ) -> gboolean;
7651    pub fn gst_tag_list_get_pointer(
7652        list: *const GstTagList,
7653        tag: *const c_char,
7654        value: *mut gpointer,
7655    ) -> gboolean;
7656    pub fn gst_tag_list_get_pointer_index(
7657        list: *const GstTagList,
7658        tag: *const c_char,
7659        index: c_uint,
7660        value: *mut gpointer,
7661    ) -> gboolean;
7662    pub fn gst_tag_list_get_sample(
7663        list: *const GstTagList,
7664        tag: *const c_char,
7665        sample: *mut *mut GstSample,
7666    ) -> gboolean;
7667    pub fn gst_tag_list_get_sample_index(
7668        list: *const GstTagList,
7669        tag: *const c_char,
7670        index: c_uint,
7671        sample: *mut *mut GstSample,
7672    ) -> gboolean;
7673    pub fn gst_tag_list_get_scope(list: *const GstTagList) -> GstTagScope;
7674    pub fn gst_tag_list_get_string(
7675        list: *const GstTagList,
7676        tag: *const c_char,
7677        value: *mut *mut c_char,
7678    ) -> gboolean;
7679    pub fn gst_tag_list_get_string_index(
7680        list: *const GstTagList,
7681        tag: *const c_char,
7682        index: c_uint,
7683        value: *mut *mut c_char,
7684    ) -> gboolean;
7685    pub fn gst_tag_list_get_tag_size(list: *const GstTagList, tag: *const c_char) -> c_uint;
7686    pub fn gst_tag_list_get_uint(
7687        list: *const GstTagList,
7688        tag: *const c_char,
7689        value: *mut c_uint,
7690    ) -> gboolean;
7691    pub fn gst_tag_list_get_uint64(
7692        list: *const GstTagList,
7693        tag: *const c_char,
7694        value: *mut u64,
7695    ) -> gboolean;
7696    pub fn gst_tag_list_get_uint64_index(
7697        list: *const GstTagList,
7698        tag: *const c_char,
7699        index: c_uint,
7700        value: *mut u64,
7701    ) -> gboolean;
7702    pub fn gst_tag_list_get_uint_index(
7703        list: *const GstTagList,
7704        tag: *const c_char,
7705        index: c_uint,
7706        value: *mut c_uint,
7707    ) -> gboolean;
7708    pub fn gst_tag_list_get_value_index(
7709        list: *const GstTagList,
7710        tag: *const c_char,
7711        index: c_uint,
7712    ) -> *const gobject::GValue;
7713    pub fn gst_tag_list_insert(
7714        into: *mut GstTagList,
7715        from: *const GstTagList,
7716        mode: GstTagMergeMode,
7717    );
7718    pub fn gst_tag_list_is_empty(list: *const GstTagList) -> gboolean;
7719    pub fn gst_tag_list_is_equal(list1: *const GstTagList, list2: *const GstTagList) -> gboolean;
7720    pub fn gst_tag_list_is_writable(taglist: *const GstTagList) -> gboolean;
7721    pub fn gst_tag_list_make_writable(taglist: *mut GstTagList) -> *mut GstTagList;
7722    pub fn gst_tag_list_merge(
7723        list1: *const GstTagList,
7724        list2: *const GstTagList,
7725        mode: GstTagMergeMode,
7726    ) -> *mut GstTagList;
7727    pub fn gst_tag_list_n_tags(list: *const GstTagList) -> c_int;
7728    pub fn gst_tag_list_nth_tag_name(list: *const GstTagList, index: c_uint) -> *const c_char;
7729    pub fn gst_tag_list_peek_string_index(
7730        list: *const GstTagList,
7731        tag: *const c_char,
7732        index: c_uint,
7733        value: *mut *const c_char,
7734    ) -> gboolean;
7735    #[cfg(feature = "v1_18_3")]
7736    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7737    pub fn gst_tag_list_ref(taglist: *mut GstTagList) -> *mut GstTagList;
7738    pub fn gst_tag_list_remove_tag(list: *mut GstTagList, tag: *const c_char);
7739    pub fn gst_tag_list_set_scope(list: *mut GstTagList, scope: GstTagScope);
7740    pub fn gst_tag_list_to_string(list: *const GstTagList) -> *mut c_char;
7741    #[cfg(feature = "v1_18_3")]
7742    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7743    pub fn gst_tag_list_unref(taglist: *mut GstTagList);
7744    pub fn gst_tag_list_copy_value(
7745        dest: *mut gobject::GValue,
7746        list: *const GstTagList,
7747        tag: *const c_char,
7748    ) -> gboolean;
7749    #[cfg(feature = "v1_18_3")]
7750    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7751    pub fn gst_tag_list_replace(
7752        old_taglist: *mut *mut GstTagList,
7753        new_taglist: *mut GstTagList,
7754    ) -> gboolean;
7755    #[cfg(feature = "v1_18_3")]
7756    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7757    pub fn gst_tag_list_take(
7758        old_taglist: *mut *mut GstTagList,
7759        new_taglist: *mut GstTagList,
7760    ) -> gboolean;
7761
7762    //=========================================================================
7763    // GstToc
7764    //=========================================================================
7765    pub fn gst_toc_get_type() -> GType;
7766    pub fn gst_toc_new(scope: GstTocScope) -> *mut GstToc;
7767    pub fn gst_toc_append_entry(toc: *mut GstToc, entry: *mut GstTocEntry);
7768    pub fn gst_toc_dump(toc: *mut GstToc);
7769    pub fn gst_toc_find_entry(toc: *const GstToc, uid: *const c_char) -> *mut GstTocEntry;
7770    pub fn gst_toc_get_entries(toc: *const GstToc) -> *mut glib::GList;
7771    pub fn gst_toc_get_scope(toc: *const GstToc) -> GstTocScope;
7772    pub fn gst_toc_get_tags(toc: *const GstToc) -> *mut GstTagList;
7773    pub fn gst_toc_merge_tags(toc: *mut GstToc, tags: *mut GstTagList, mode: GstTagMergeMode);
7774    pub fn gst_toc_set_tags(toc: *mut GstToc, tags: *mut GstTagList);
7775
7776    //=========================================================================
7777    // GstTocEntry
7778    //=========================================================================
7779    pub fn gst_toc_entry_get_type() -> GType;
7780    pub fn gst_toc_entry_new(type_: GstTocEntryType, uid: *const c_char) -> *mut GstTocEntry;
7781    pub fn gst_toc_entry_append_sub_entry(entry: *mut GstTocEntry, subentry: *mut GstTocEntry);
7782    pub fn gst_toc_entry_get_entry_type(entry: *const GstTocEntry) -> GstTocEntryType;
7783    pub fn gst_toc_entry_get_loop(
7784        entry: *const GstTocEntry,
7785        loop_type: *mut GstTocLoopType,
7786        repeat_count: *mut c_int,
7787    ) -> gboolean;
7788    pub fn gst_toc_entry_get_parent(entry: *mut GstTocEntry) -> *mut GstTocEntry;
7789    pub fn gst_toc_entry_get_start_stop_times(
7790        entry: *const GstTocEntry,
7791        start: *mut i64,
7792        stop: *mut i64,
7793    ) -> gboolean;
7794    pub fn gst_toc_entry_get_sub_entries(entry: *const GstTocEntry) -> *mut glib::GList;
7795    pub fn gst_toc_entry_get_tags(entry: *const GstTocEntry) -> *mut GstTagList;
7796    pub fn gst_toc_entry_get_toc(entry: *mut GstTocEntry) -> *mut GstToc;
7797    pub fn gst_toc_entry_get_uid(entry: *const GstTocEntry) -> *const c_char;
7798    pub fn gst_toc_entry_is_alternative(entry: *const GstTocEntry) -> gboolean;
7799    pub fn gst_toc_entry_is_sequence(entry: *const GstTocEntry) -> gboolean;
7800    pub fn gst_toc_entry_merge_tags(
7801        entry: *mut GstTocEntry,
7802        tags: *mut GstTagList,
7803        mode: GstTagMergeMode,
7804    );
7805    pub fn gst_toc_entry_set_loop(
7806        entry: *mut GstTocEntry,
7807        loop_type: GstTocLoopType,
7808        repeat_count: c_int,
7809    );
7810    pub fn gst_toc_entry_set_start_stop_times(entry: *mut GstTocEntry, start: i64, stop: i64);
7811    pub fn gst_toc_entry_set_tags(entry: *mut GstTocEntry, tags: *mut GstTagList);
7812
7813    //=========================================================================
7814    // GstTraceField
7815    //=========================================================================
7816    #[cfg(feature = "v1_30")]
7817    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7818    pub fn gst_trace_field_free(field: *mut GstTraceField);
7819    #[cfg(feature = "v1_30")]
7820    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7821    pub fn gst_trace_field_set_description(
7822        field: *mut GstTraceField,
7823        description: *const c_char,
7824    ) -> *mut GstTraceField;
7825    #[cfg(feature = "v1_30")]
7826    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7827    pub fn gst_trace_field_set_flags(
7828        field: *mut GstTraceField,
7829        flags: GstTracerValueFlags,
7830    ) -> *mut GstTraceField;
7831    #[cfg(feature = "v1_30")]
7832    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7833    pub fn gst_trace_field_set_scope(
7834        field: *mut GstTraceField,
7835        scope: GstTracerValueScope,
7836    ) -> *mut GstTraceField;
7837    #[cfg(feature = "v1_30")]
7838    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7839    pub fn gst_trace_field_new(
7840        name: *const c_char,
7841        type_: GstTracerFieldType,
7842    ) -> *mut GstTraceField;
7843
7844    //=========================================================================
7845    // GstTraceFormat
7846    //=========================================================================
7847    #[cfg(feature = "v1_30")]
7848    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7849    pub fn gst_trace_format_get_description(format: *mut GstTraceFormat) -> *const c_char;
7850    #[cfg(feature = "v1_30")]
7851    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7852    pub fn gst_trace_format_get_field_description(
7853        format: *mut GstTraceFormat,
7854        index: c_uint,
7855    ) -> *const c_char;
7856    #[cfg(feature = "v1_30")]
7857    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7858    pub fn gst_trace_format_get_field_name(
7859        format: *mut GstTraceFormat,
7860        index: c_uint,
7861    ) -> *const c_char;
7862    #[cfg(feature = "v1_30")]
7863    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7864    pub fn gst_trace_format_get_field_structure(
7865        format: *mut GstTraceFormat,
7866        index: c_uint,
7867    ) -> *const GstStructure;
7868    #[cfg(feature = "v1_30")]
7869    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7870    pub fn gst_trace_format_get_field_type(
7871        format: *mut GstTraceFormat,
7872        index: c_uint,
7873    ) -> GstTracerFieldType;
7874    #[cfg(feature = "v1_30")]
7875    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7876    pub fn gst_trace_format_get_n_fields(format: *mut GstTraceFormat) -> c_uint;
7877    #[cfg(feature = "v1_30")]
7878    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7879    pub fn gst_trace_format_get_name(format: *mut GstTraceFormat) -> *const c_char;
7880    #[cfg(feature = "v1_30")]
7881    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7882    pub fn gst_trace_format_is_enabled(format: *mut GstTraceFormat) -> gboolean;
7883    #[cfg(feature = "v1_30")]
7884    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7885    pub fn gst_trace_format_register(name: *const c_char, ...) -> *mut GstTraceFormat;
7886
7887    //=========================================================================
7888    // GstTraceFormatBuilder
7889    //=========================================================================
7890    #[cfg(feature = "v1_30")]
7891    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7892    pub fn gst_trace_format_builder_add_field(
7893        builder: *mut GstTraceFormatBuilder,
7894        name: *const c_char,
7895        type_: GstTracerFieldType,
7896    ) -> *mut GstTraceFormatBuilder;
7897    #[cfg(feature = "v1_30")]
7898    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7899    pub fn gst_trace_format_builder_add_field_full(
7900        builder: *mut GstTraceFormatBuilder,
7901        field: *mut GstTraceField,
7902    ) -> *mut GstTraceFormatBuilder;
7903    #[cfg(feature = "v1_30")]
7904    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7905    pub fn gst_trace_format_builder_free(builder: *mut GstTraceFormatBuilder);
7906    #[cfg(feature = "v1_30")]
7907    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7908    pub fn gst_trace_format_builder_register(
7909        builder: *mut GstTraceFormatBuilder,
7910    ) -> *mut GstTraceFormat;
7911    #[cfg(feature = "v1_30")]
7912    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7913    pub fn gst_trace_format_builder_set_description(
7914        builder: *mut GstTraceFormatBuilder,
7915        description: *const c_char,
7916    ) -> *mut GstTraceFormatBuilder;
7917    #[cfg(feature = "v1_30")]
7918    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7919    pub fn gst_trace_format_builder_new(name: *const c_char) -> *mut GstTraceFormatBuilder;
7920
7921    //=========================================================================
7922    // GstTracerClass
7923    //=========================================================================
7924    #[cfg(feature = "v1_26")]
7925    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7926    pub fn gst_tracer_class_set_use_structure_params(
7927        tracer_class: *mut GstTracerClass,
7928        use_structure_params: gboolean,
7929    );
7930    #[cfg(feature = "v1_26")]
7931    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7932    pub fn gst_tracer_class_uses_structure_params(tracer_class: *mut GstTracerClass) -> gboolean;
7933
7934    //=========================================================================
7935    // GstTypeFind
7936    //=========================================================================
7937    pub fn gst_type_find_get_type() -> GType;
7938    pub fn gst_type_find_get_length(find: *mut GstTypeFind) -> u64;
7939    pub fn gst_type_find_peek(find: *mut GstTypeFind, offset: i64, size: c_uint) -> *const u8;
7940    pub fn gst_type_find_suggest(find: *mut GstTypeFind, probability: c_uint, caps: *mut GstCaps);
7941    #[cfg(feature = "v1_20")]
7942    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
7943    pub fn gst_type_find_suggest_empty_simple(
7944        find: *mut GstTypeFind,
7945        probability: c_uint,
7946        media_type: *const c_char,
7947    );
7948    pub fn gst_type_find_suggest_simple(
7949        find: *mut GstTypeFind,
7950        probability: c_uint,
7951        media_type: *const c_char,
7952        fieldname: *const c_char,
7953        ...
7954    );
7955    pub fn gst_type_find_register(
7956        plugin: *mut GstPlugin,
7957        name: *const c_char,
7958        rank: c_uint,
7959        func: GstTypeFindFunction,
7960        extensions: *const c_char,
7961        possible_caps: *mut GstCaps,
7962        data: gpointer,
7963        data_notify: glib::GDestroyNotify,
7964    ) -> gboolean;
7965
7966    //=========================================================================
7967    // GstUri
7968    //=========================================================================
7969    pub fn gst_uri_get_type() -> GType;
7970    pub fn gst_uri_new(
7971        scheme: *const c_char,
7972        userinfo: *const c_char,
7973        host: *const c_char,
7974        port: c_uint,
7975        path: *const c_char,
7976        query: *const c_char,
7977        fragment: *const c_char,
7978    ) -> *mut GstUri;
7979    pub fn gst_uri_append_path(uri: *mut GstUri, relative_path: *const c_char) -> gboolean;
7980    pub fn gst_uri_append_path_segment(uri: *mut GstUri, path_segment: *const c_char) -> gboolean;
7981    #[cfg(feature = "v1_18_3")]
7982    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7983    pub fn gst_uri_copy(uri: *const GstUri) -> *mut GstUri;
7984    pub fn gst_uri_equal(first: *const GstUri, second: *const GstUri) -> gboolean;
7985    pub fn gst_uri_from_string_with_base(base: *mut GstUri, uri: *const c_char) -> *mut GstUri;
7986    pub fn gst_uri_get_fragment(uri: *const GstUri) -> *const c_char;
7987    pub fn gst_uri_get_host(uri: *const GstUri) -> *const c_char;
7988    pub fn gst_uri_get_media_fragment_table(uri: *const GstUri) -> *mut glib::GHashTable;
7989    pub fn gst_uri_get_path(uri: *const GstUri) -> *mut c_char;
7990    pub fn gst_uri_get_path_segments(uri: *const GstUri) -> *mut glib::GList;
7991    pub fn gst_uri_get_path_string(uri: *const GstUri) -> *mut c_char;
7992    pub fn gst_uri_get_port(uri: *const GstUri) -> c_uint;
7993    pub fn gst_uri_get_query_keys(uri: *const GstUri) -> *mut glib::GList;
7994    pub fn gst_uri_get_query_string(uri: *const GstUri) -> *mut c_char;
7995    #[cfg(feature = "v1_24")]
7996    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
7997    pub fn gst_uri_get_query_string_ordered(
7998        uri: *const GstUri,
7999        keys: *const glib::GList,
8000    ) -> *mut c_char;
8001    pub fn gst_uri_get_query_table(uri: *const GstUri) -> *mut glib::GHashTable;
8002    pub fn gst_uri_get_query_value(uri: *const GstUri, query_key: *const c_char) -> *const c_char;
8003    pub fn gst_uri_get_scheme(uri: *const GstUri) -> *const c_char;
8004    pub fn gst_uri_get_userinfo(uri: *const GstUri) -> *const c_char;
8005    pub fn gst_uri_is_normalized(uri: *const GstUri) -> gboolean;
8006    pub fn gst_uri_is_writable(uri: *const GstUri) -> gboolean;
8007    pub fn gst_uri_join(base_uri: *mut GstUri, ref_uri: *mut GstUri) -> *mut GstUri;
8008    pub fn gst_uri_make_writable(uri: *mut GstUri) -> *mut GstUri;
8009    pub fn gst_uri_new_with_base(
8010        base: *mut GstUri,
8011        scheme: *const c_char,
8012        userinfo: *const c_char,
8013        host: *const c_char,
8014        port: c_uint,
8015        path: *const c_char,
8016        query: *const c_char,
8017        fragment: *const c_char,
8018    ) -> *mut GstUri;
8019    pub fn gst_uri_normalize(uri: *mut GstUri) -> gboolean;
8020    pub fn gst_uri_query_has_key(uri: *const GstUri, query_key: *const c_char) -> gboolean;
8021    #[cfg(feature = "v1_18_3")]
8022    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
8023    pub fn gst_uri_ref(uri: *mut GstUri) -> *mut GstUri;
8024    pub fn gst_uri_remove_query_key(uri: *mut GstUri, query_key: *const c_char) -> gboolean;
8025    pub fn gst_uri_set_fragment(uri: *mut GstUri, fragment: *const c_char) -> gboolean;
8026    pub fn gst_uri_set_host(uri: *mut GstUri, host: *const c_char) -> gboolean;
8027    pub fn gst_uri_set_path(uri: *mut GstUri, path: *const c_char) -> gboolean;
8028    pub fn gst_uri_set_path_segments(uri: *mut GstUri, path_segments: *mut glib::GList)
8029    -> gboolean;
8030    pub fn gst_uri_set_path_string(uri: *mut GstUri, path: *const c_char) -> gboolean;
8031    pub fn gst_uri_set_port(uri: *mut GstUri, port: c_uint) -> gboolean;
8032    pub fn gst_uri_set_query_string(uri: *mut GstUri, query: *const c_char) -> gboolean;
8033    pub fn gst_uri_set_query_table(
8034        uri: *mut GstUri,
8035        query_table: *mut glib::GHashTable,
8036    ) -> gboolean;
8037    pub fn gst_uri_set_query_value(
8038        uri: *mut GstUri,
8039        query_key: *const c_char,
8040        query_value: *const c_char,
8041    ) -> gboolean;
8042    pub fn gst_uri_set_scheme(uri: *mut GstUri, scheme: *const c_char) -> gboolean;
8043    pub fn gst_uri_set_userinfo(uri: *mut GstUri, userinfo: *const c_char) -> gboolean;
8044    pub fn gst_uri_to_string(uri: *const GstUri) -> *mut c_char;
8045    #[cfg(feature = "v1_24")]
8046    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8047    pub fn gst_uri_to_string_with_keys(uri: *const GstUri, keys: *const glib::GList)
8048    -> *mut c_char;
8049    #[cfg(feature = "v1_18_3")]
8050    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
8051    pub fn gst_uri_unref(uri: *mut GstUri);
8052    pub fn gst_uri_construct(protocol: *const c_char, location: *const c_char) -> *mut c_char;
8053    pub fn gst_uri_from_string(uri: *const c_char) -> *mut GstUri;
8054    #[cfg(feature = "v1_18")]
8055    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8056    pub fn gst_uri_from_string_escaped(uri: *const c_char) -> *mut GstUri;
8057    pub fn gst_uri_get_location(uri: *const c_char) -> *mut c_char;
8058    pub fn gst_uri_get_protocol(uri: *const c_char) -> *mut c_char;
8059    pub fn gst_uri_has_protocol(uri: *const c_char, protocol: *const c_char) -> gboolean;
8060    pub fn gst_uri_is_valid(uri: *const c_char) -> gboolean;
8061    pub fn gst_uri_join_strings(base_uri: *const c_char, ref_uri: *const c_char) -> *mut c_char;
8062    pub fn gst_uri_protocol_is_supported(type_: GstURIType, protocol: *const c_char) -> gboolean;
8063    pub fn gst_uri_protocol_is_valid(protocol: *const c_char) -> gboolean;
8064
8065    //=========================================================================
8066    // GstVecDeque
8067    //=========================================================================
8068    #[cfg(feature = "v1_26")]
8069    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8070    pub fn gst_vec_deque_clear(array: *mut GstVecDeque);
8071    #[cfg(feature = "v1_26")]
8072    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8073    pub fn gst_vec_deque_drop_element(array: *mut GstVecDeque, idx: size_t) -> gpointer;
8074    #[cfg(feature = "v1_26")]
8075    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8076    pub fn gst_vec_deque_drop_struct(
8077        array: *mut GstVecDeque,
8078        idx: size_t,
8079        p_struct: gpointer,
8080    ) -> gboolean;
8081    #[cfg(feature = "v1_26")]
8082    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8083    pub fn gst_vec_deque_find(
8084        array: *mut GstVecDeque,
8085        func: glib::GCompareFunc,
8086        data: gpointer,
8087    ) -> size_t;
8088    #[cfg(feature = "v1_26")]
8089    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8090    pub fn gst_vec_deque_free(array: *mut GstVecDeque);
8091    #[cfg(feature = "v1_26")]
8092    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8093    pub fn gst_vec_deque_get_length(array: *mut GstVecDeque) -> size_t;
8094    #[cfg(feature = "v1_26")]
8095    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8096    pub fn gst_vec_deque_is_empty(array: *mut GstVecDeque) -> gboolean;
8097    #[cfg(feature = "v1_26")]
8098    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8099    pub fn gst_vec_deque_peek_head(array: *mut GstVecDeque) -> gpointer;
8100    #[cfg(feature = "v1_26")]
8101    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8102    pub fn gst_vec_deque_peek_head_struct(array: *mut GstVecDeque) -> gpointer;
8103    #[cfg(feature = "v1_26")]
8104    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8105    pub fn gst_vec_deque_peek_nth(array: *mut GstVecDeque, idx: size_t) -> gpointer;
8106    #[cfg(feature = "v1_26")]
8107    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8108    pub fn gst_vec_deque_peek_nth_struct(array: *mut GstVecDeque, idx: size_t) -> gpointer;
8109    #[cfg(feature = "v1_26")]
8110    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8111    pub fn gst_vec_deque_peek_tail(array: *mut GstVecDeque) -> gpointer;
8112    #[cfg(feature = "v1_26")]
8113    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8114    pub fn gst_vec_deque_peek_tail_struct(array: *mut GstVecDeque) -> gpointer;
8115    #[cfg(feature = "v1_26")]
8116    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8117    pub fn gst_vec_deque_pop_head(array: *mut GstVecDeque) -> gpointer;
8118    #[cfg(feature = "v1_26")]
8119    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8120    pub fn gst_vec_deque_pop_head_struct(array: *mut GstVecDeque) -> gpointer;
8121    #[cfg(feature = "v1_26")]
8122    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8123    pub fn gst_vec_deque_pop_tail(array: *mut GstVecDeque) -> gpointer;
8124    #[cfg(feature = "v1_26")]
8125    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8126    pub fn gst_vec_deque_pop_tail_struct(array: *mut GstVecDeque) -> gpointer;
8127    #[cfg(feature = "v1_26")]
8128    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8129    pub fn gst_vec_deque_push_sorted(
8130        array: *mut GstVecDeque,
8131        data: gpointer,
8132        func: glib::GCompareDataFunc,
8133        user_data: gpointer,
8134    );
8135    #[cfg(feature = "v1_26")]
8136    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8137    pub fn gst_vec_deque_push_sorted_struct(
8138        array: *mut GstVecDeque,
8139        p_struct: gpointer,
8140        func: glib::GCompareDataFunc,
8141        user_data: gpointer,
8142    );
8143    #[cfg(feature = "v1_26")]
8144    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8145    pub fn gst_vec_deque_push_tail(array: *mut GstVecDeque, data: gpointer);
8146    #[cfg(feature = "v1_26")]
8147    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8148    pub fn gst_vec_deque_push_tail_struct(array: *mut GstVecDeque, p_struct: gpointer);
8149    #[cfg(feature = "v1_26")]
8150    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8151    pub fn gst_vec_deque_set_clear_func(array: *mut GstVecDeque, clear_func: glib::GDestroyNotify);
8152    #[cfg(feature = "v1_26")]
8153    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8154    pub fn gst_vec_deque_sort(
8155        array: *mut GstVecDeque,
8156        compare_func: glib::GCompareDataFunc,
8157        user_data: gpointer,
8158    );
8159    #[cfg(feature = "v1_26")]
8160    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8161    pub fn gst_vec_deque_new(initial_size: size_t) -> *mut GstVecDeque;
8162    #[cfg(feature = "v1_26")]
8163    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8164    pub fn gst_vec_deque_new_for_struct(
8165        struct_size: size_t,
8166        initial_size: size_t,
8167    ) -> *mut GstVecDeque;
8168
8169    //=========================================================================
8170    // GstAllocator
8171    //=========================================================================
8172    pub fn gst_allocator_get_type() -> GType;
8173    pub fn gst_allocator_find(name: *const c_char) -> *mut GstAllocator;
8174    pub fn gst_allocator_register(name: *const c_char, allocator: *mut GstAllocator);
8175    pub fn gst_allocator_alloc(
8176        allocator: *mut GstAllocator,
8177        size: size_t,
8178        params: *mut GstAllocationParams,
8179    ) -> *mut GstMemory;
8180    pub fn gst_allocator_free(allocator: *mut GstAllocator, memory: *mut GstMemory);
8181    pub fn gst_allocator_set_default(allocator: *mut GstAllocator);
8182
8183    //=========================================================================
8184    // GstBin
8185    //=========================================================================
8186    pub fn gst_bin_get_type() -> GType;
8187    pub fn gst_bin_new(name: *const c_char) -> *mut GstElement;
8188    pub fn gst_bin_add(bin: *mut GstBin, element: *mut GstElement) -> gboolean;
8189    pub fn gst_bin_add_many(bin: *mut GstBin, element_1: *mut GstElement, ...);
8190    pub fn gst_bin_find_unlinked_pad(bin: *mut GstBin, direction: GstPadDirection) -> *mut GstPad;
8191    pub fn gst_bin_get_by_interface(bin: *mut GstBin, iface: GType) -> *mut GstElement;
8192    pub fn gst_bin_get_by_name(bin: *mut GstBin, name: *const c_char) -> *mut GstElement;
8193    pub fn gst_bin_get_by_name_recurse_up(bin: *mut GstBin, name: *const c_char)
8194    -> *mut GstElement;
8195    pub fn gst_bin_get_suppressed_flags(bin: *mut GstBin) -> GstElementFlags;
8196    #[cfg(feature = "v1_18")]
8197    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8198    pub fn gst_bin_iterate_all_by_element_factory_name(
8199        bin: *mut GstBin,
8200        factory_name: *const c_char,
8201    ) -> *mut GstIterator;
8202    pub fn gst_bin_iterate_all_by_interface(bin: *mut GstBin, iface: GType) -> *mut GstIterator;
8203    pub fn gst_bin_iterate_elements(bin: *mut GstBin) -> *mut GstIterator;
8204    pub fn gst_bin_iterate_recurse(bin: *mut GstBin) -> *mut GstIterator;
8205    pub fn gst_bin_iterate_sinks(bin: *mut GstBin) -> *mut GstIterator;
8206    pub fn gst_bin_iterate_sorted(bin: *mut GstBin) -> *mut GstIterator;
8207    pub fn gst_bin_iterate_sources(bin: *mut GstBin) -> *mut GstIterator;
8208    pub fn gst_bin_recalculate_latency(bin: *mut GstBin) -> gboolean;
8209    pub fn gst_bin_remove(bin: *mut GstBin, element: *mut GstElement) -> gboolean;
8210    pub fn gst_bin_remove_many(bin: *mut GstBin, element_1: *mut GstElement, ...);
8211    pub fn gst_bin_set_suppressed_flags(bin: *mut GstBin, flags: GstElementFlags);
8212    pub fn gst_bin_sync_children_states(bin: *mut GstBin) -> gboolean;
8213
8214    //=========================================================================
8215    // GstBitmask
8216    //=========================================================================
8217    pub fn gst_bitmask_get_type() -> GType;
8218
8219    //=========================================================================
8220    // GstBufferPool
8221    //=========================================================================
8222    pub fn gst_buffer_pool_get_type() -> GType;
8223    pub fn gst_buffer_pool_new() -> *mut GstBufferPool;
8224    pub fn gst_buffer_pool_config_add_option(config: *mut GstStructure, option: *const c_char);
8225    pub fn gst_buffer_pool_config_get_allocator(
8226        config: *mut GstStructure,
8227        allocator: *mut *mut GstAllocator,
8228        params: *mut GstAllocationParams,
8229    ) -> gboolean;
8230    pub fn gst_buffer_pool_config_get_option(
8231        config: *mut GstStructure,
8232        index: c_uint,
8233    ) -> *const c_char;
8234    pub fn gst_buffer_pool_config_get_params(
8235        config: *mut GstStructure,
8236        caps: *mut *mut GstCaps,
8237        size: *mut c_uint,
8238        min_buffers: *mut c_uint,
8239        max_buffers: *mut c_uint,
8240    ) -> gboolean;
8241    pub fn gst_buffer_pool_config_has_option(
8242        config: *mut GstStructure,
8243        option: *const c_char,
8244    ) -> gboolean;
8245    pub fn gst_buffer_pool_config_n_options(config: *mut GstStructure) -> c_uint;
8246    pub fn gst_buffer_pool_config_set_allocator(
8247        config: *mut GstStructure,
8248        allocator: *mut GstAllocator,
8249        params: *const GstAllocationParams,
8250    );
8251    pub fn gst_buffer_pool_config_set_params(
8252        config: *mut GstStructure,
8253        caps: *mut GstCaps,
8254        size: c_uint,
8255        min_buffers: c_uint,
8256        max_buffers: c_uint,
8257    );
8258    pub fn gst_buffer_pool_config_validate_params(
8259        config: *mut GstStructure,
8260        caps: *mut GstCaps,
8261        size: c_uint,
8262        min_buffers: c_uint,
8263        max_buffers: c_uint,
8264    ) -> gboolean;
8265    pub fn gst_buffer_pool_acquire_buffer(
8266        pool: *mut GstBufferPool,
8267        buffer: *mut *mut GstBuffer,
8268        params: *mut GstBufferPoolAcquireParams,
8269    ) -> GstFlowReturn;
8270    pub fn gst_buffer_pool_get_config(pool: *mut GstBufferPool) -> *mut GstStructure;
8271    pub fn gst_buffer_pool_get_options(pool: *mut GstBufferPool) -> *mut *const c_char;
8272    pub fn gst_buffer_pool_has_option(pool: *mut GstBufferPool, option: *const c_char) -> gboolean;
8273    pub fn gst_buffer_pool_is_active(pool: *mut GstBufferPool) -> gboolean;
8274    pub fn gst_buffer_pool_release_buffer(pool: *mut GstBufferPool, buffer: *mut GstBuffer);
8275    pub fn gst_buffer_pool_set_active(pool: *mut GstBufferPool, active: gboolean) -> gboolean;
8276    pub fn gst_buffer_pool_set_config(
8277        pool: *mut GstBufferPool,
8278        config: *mut GstStructure,
8279    ) -> gboolean;
8280    pub fn gst_buffer_pool_set_flushing(pool: *mut GstBufferPool, flushing: gboolean);
8281
8282    //=========================================================================
8283    // GstBus
8284    //=========================================================================
8285    pub fn gst_bus_get_type() -> GType;
8286    pub fn gst_bus_new() -> *mut GstBus;
8287    pub fn gst_bus_add_signal_watch(bus: *mut GstBus);
8288    pub fn gst_bus_add_signal_watch_full(bus: *mut GstBus, priority: c_int);
8289    pub fn gst_bus_add_watch(bus: *mut GstBus, func: GstBusFunc, user_data: gpointer) -> c_uint;
8290    pub fn gst_bus_add_watch_full(
8291        bus: *mut GstBus,
8292        priority: c_int,
8293        func: GstBusFunc,
8294        user_data: gpointer,
8295        notify: glib::GDestroyNotify,
8296    ) -> c_uint;
8297    pub fn gst_bus_async_signal_func(
8298        bus: *mut GstBus,
8299        message: *mut GstMessage,
8300        data: gpointer,
8301    ) -> gboolean;
8302    pub fn gst_bus_create_watch(bus: *mut GstBus) -> *mut glib::GSource;
8303    pub fn gst_bus_disable_sync_message_emission(bus: *mut GstBus);
8304    pub fn gst_bus_enable_sync_message_emission(bus: *mut GstBus);
8305    pub fn gst_bus_get_pollfd(bus: *mut GstBus, fd: *mut glib::GPollFD);
8306    pub fn gst_bus_have_pending(bus: *mut GstBus) -> gboolean;
8307    pub fn gst_bus_peek(bus: *mut GstBus) -> *mut GstMessage;
8308    pub fn gst_bus_poll(
8309        bus: *mut GstBus,
8310        events: GstMessageType,
8311        timeout: GstClockTime,
8312    ) -> *mut GstMessage;
8313    pub fn gst_bus_pop(bus: *mut GstBus) -> *mut GstMessage;
8314    pub fn gst_bus_pop_filtered(bus: *mut GstBus, types: GstMessageType) -> *mut GstMessage;
8315    pub fn gst_bus_post(bus: *mut GstBus, message: *mut GstMessage) -> gboolean;
8316    pub fn gst_bus_remove_signal_watch(bus: *mut GstBus);
8317    pub fn gst_bus_remove_watch(bus: *mut GstBus) -> gboolean;
8318    pub fn gst_bus_set_flushing(bus: *mut GstBus, flushing: gboolean);
8319    pub fn gst_bus_set_sync_handler(
8320        bus: *mut GstBus,
8321        func: GstBusSyncHandler,
8322        user_data: gpointer,
8323        notify: glib::GDestroyNotify,
8324    );
8325    pub fn gst_bus_sync_signal_handler(
8326        bus: *mut GstBus,
8327        message: *mut GstMessage,
8328        data: gpointer,
8329    ) -> GstBusSyncReply;
8330    pub fn gst_bus_timed_pop(bus: *mut GstBus, timeout: GstClockTime) -> *mut GstMessage;
8331    pub fn gst_bus_timed_pop_filtered(
8332        bus: *mut GstBus,
8333        timeout: GstClockTime,
8334        types: GstMessageType,
8335    ) -> *mut GstMessage;
8336
8337    //=========================================================================
8338    // GstClock
8339    //=========================================================================
8340    pub fn gst_clock_get_type() -> GType;
8341    pub fn gst_clock_id_compare_func(id1: gconstpointer, id2: gconstpointer) -> c_int;
8342    #[cfg(feature = "v1_16")]
8343    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
8344    pub fn gst_clock_id_get_clock(id: GstClockID) -> *mut GstClock;
8345    pub fn gst_clock_id_get_time(id: GstClockID) -> GstClockTime;
8346    pub fn gst_clock_id_ref(id: GstClockID) -> GstClockID;
8347    pub fn gst_clock_id_unref(id: GstClockID);
8348    pub fn gst_clock_id_unschedule(id: GstClockID);
8349    #[cfg(feature = "v1_16")]
8350    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
8351    pub fn gst_clock_id_uses_clock(id: GstClockID, clock: *mut GstClock) -> gboolean;
8352    pub fn gst_clock_id_wait(id: GstClockID, jitter: *mut GstClockTimeDiff) -> GstClockReturn;
8353    pub fn gst_clock_id_wait_async(
8354        id: GstClockID,
8355        func: GstClockCallback,
8356        user_data: gpointer,
8357        destroy_data: glib::GDestroyNotify,
8358    ) -> GstClockReturn;
8359    pub fn gst_clock_add_observation(
8360        clock: *mut GstClock,
8361        observation_internal: GstClockTime,
8362        observation_external: GstClockTime,
8363        r_squared: *mut c_double,
8364    ) -> gboolean;
8365    pub fn gst_clock_add_observation_unapplied(
8366        clock: *mut GstClock,
8367        observation_internal: GstClockTime,
8368        observation_external: GstClockTime,
8369        r_squared: *mut c_double,
8370        internal: *mut GstClockTime,
8371        external: *mut GstClockTime,
8372        rate_num: *mut GstClockTime,
8373        rate_denom: *mut GstClockTime,
8374    ) -> gboolean;
8375    pub fn gst_clock_adjust_unlocked(clock: *mut GstClock, internal: GstClockTime) -> GstClockTime;
8376    pub fn gst_clock_adjust_with_calibration(
8377        clock: *mut GstClock,
8378        internal_target: GstClockTime,
8379        cinternal: GstClockTime,
8380        cexternal: GstClockTime,
8381        cnum: GstClockTime,
8382        cdenom: GstClockTime,
8383    ) -> GstClockTime;
8384    pub fn gst_clock_get_calibration(
8385        clock: *mut GstClock,
8386        internal: *mut GstClockTime,
8387        external: *mut GstClockTime,
8388        rate_num: *mut GstClockTime,
8389        rate_denom: *mut GstClockTime,
8390    );
8391    pub fn gst_clock_get_internal_time(clock: *mut GstClock) -> GstClockTime;
8392    pub fn gst_clock_get_master(clock: *mut GstClock) -> *mut GstClock;
8393    pub fn gst_clock_get_resolution(clock: *mut GstClock) -> GstClockTime;
8394    pub fn gst_clock_get_time(clock: *mut GstClock) -> GstClockTime;
8395    pub fn gst_clock_get_timeout(clock: *mut GstClock) -> GstClockTime;
8396    pub fn gst_clock_is_synced(clock: *mut GstClock) -> gboolean;
8397    #[cfg(feature = "v1_28")]
8398    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
8399    pub fn gst_clock_is_system_monotonic(clock: *mut GstClock) -> gboolean;
8400    pub fn gst_clock_new_periodic_id(
8401        clock: *mut GstClock,
8402        start_time: GstClockTime,
8403        interval: GstClockTime,
8404    ) -> GstClockID;
8405    pub fn gst_clock_new_single_shot_id(clock: *mut GstClock, time: GstClockTime) -> GstClockID;
8406    pub fn gst_clock_periodic_id_reinit(
8407        clock: *mut GstClock,
8408        id: GstClockID,
8409        start_time: GstClockTime,
8410        interval: GstClockTime,
8411    ) -> gboolean;
8412    pub fn gst_clock_set_calibration(
8413        clock: *mut GstClock,
8414        internal: GstClockTime,
8415        external: GstClockTime,
8416        rate_num: GstClockTime,
8417        rate_denom: GstClockTime,
8418    );
8419    pub fn gst_clock_set_master(clock: *mut GstClock, master: *mut GstClock) -> gboolean;
8420    pub fn gst_clock_set_resolution(clock: *mut GstClock, resolution: GstClockTime)
8421    -> GstClockTime;
8422    pub fn gst_clock_set_synced(clock: *mut GstClock, synced: gboolean);
8423    pub fn gst_clock_set_timeout(clock: *mut GstClock, timeout: GstClockTime);
8424    pub fn gst_clock_single_shot_id_reinit(
8425        clock: *mut GstClock,
8426        id: GstClockID,
8427        time: GstClockTime,
8428    ) -> gboolean;
8429    pub fn gst_clock_unadjust_unlocked(
8430        clock: *mut GstClock,
8431        external: GstClockTime,
8432    ) -> GstClockTime;
8433    pub fn gst_clock_unadjust_with_calibration(
8434        clock: *mut GstClock,
8435        external_target: GstClockTime,
8436        cinternal: GstClockTime,
8437        cexternal: GstClockTime,
8438        cnum: GstClockTime,
8439        cdenom: GstClockTime,
8440    ) -> GstClockTime;
8441    pub fn gst_clock_wait_for_sync(clock: *mut GstClock, timeout: GstClockTime) -> gboolean;
8442
8443    //=========================================================================
8444    // GstControlBinding
8445    //=========================================================================
8446    pub fn gst_control_binding_get_type() -> GType;
8447    pub fn gst_control_binding_get_g_value_array(
8448        binding: *mut GstControlBinding,
8449        timestamp: GstClockTime,
8450        interval: GstClockTime,
8451        n_values: c_uint,
8452        values: *mut gobject::GValue,
8453    ) -> gboolean;
8454    pub fn gst_control_binding_get_value(
8455        binding: *mut GstControlBinding,
8456        timestamp: GstClockTime,
8457    ) -> *mut gobject::GValue;
8458    pub fn gst_control_binding_get_value_array(
8459        binding: *mut GstControlBinding,
8460        timestamp: GstClockTime,
8461        interval: GstClockTime,
8462        n_values: c_uint,
8463        values: gpointer,
8464    ) -> gboolean;
8465    pub fn gst_control_binding_is_disabled(binding: *mut GstControlBinding) -> gboolean;
8466    pub fn gst_control_binding_set_disabled(binding: *mut GstControlBinding, disabled: gboolean);
8467    pub fn gst_control_binding_sync_values(
8468        binding: *mut GstControlBinding,
8469        object: *mut GstObject,
8470        timestamp: GstClockTime,
8471        last_sync: GstClockTime,
8472    ) -> gboolean;
8473
8474    //=========================================================================
8475    // GstControlSource
8476    //=========================================================================
8477    pub fn gst_control_source_get_type() -> GType;
8478    pub fn gst_control_source_get_value(
8479        self_: *mut GstControlSource,
8480        timestamp: GstClockTime,
8481        value: *mut c_double,
8482    ) -> gboolean;
8483    pub fn gst_control_source_get_value_array(
8484        self_: *mut GstControlSource,
8485        timestamp: GstClockTime,
8486        interval: GstClockTime,
8487        n_values: c_uint,
8488        values: *mut c_double,
8489    ) -> gboolean;
8490
8491    //=========================================================================
8492    // GstDevice
8493    //=========================================================================
8494    pub fn gst_device_get_type() -> GType;
8495    pub fn gst_device_create_element(
8496        device: *mut GstDevice,
8497        name: *const c_char,
8498    ) -> *mut GstElement;
8499    pub fn gst_device_get_caps(device: *mut GstDevice) -> *mut GstCaps;
8500    pub fn gst_device_get_device_class(device: *mut GstDevice) -> *mut c_char;
8501    pub fn gst_device_get_display_name(device: *mut GstDevice) -> *mut c_char;
8502    pub fn gst_device_get_properties(device: *mut GstDevice) -> *mut GstStructure;
8503    pub fn gst_device_has_classes(device: *mut GstDevice, classes: *const c_char) -> gboolean;
8504    pub fn gst_device_has_classesv(device: *mut GstDevice, classes: *mut *mut c_char) -> gboolean;
8505    pub fn gst_device_reconfigure_element(
8506        device: *mut GstDevice,
8507        element: *mut GstElement,
8508    ) -> gboolean;
8509
8510    //=========================================================================
8511    // GstDeviceMonitor
8512    //=========================================================================
8513    pub fn gst_device_monitor_get_type() -> GType;
8514    pub fn gst_device_monitor_new() -> *mut GstDeviceMonitor;
8515    pub fn gst_device_monitor_add_filter(
8516        monitor: *mut GstDeviceMonitor,
8517        classes: *const c_char,
8518        caps: *mut GstCaps,
8519    ) -> c_uint;
8520    pub fn gst_device_monitor_get_bus(monitor: *mut GstDeviceMonitor) -> *mut GstBus;
8521    pub fn gst_device_monitor_get_devices(monitor: *mut GstDeviceMonitor) -> *mut glib::GList;
8522    pub fn gst_device_monitor_get_providers(monitor: *mut GstDeviceMonitor) -> *mut *mut c_char;
8523    pub fn gst_device_monitor_get_show_all_devices(monitor: *mut GstDeviceMonitor) -> gboolean;
8524    pub fn gst_device_monitor_remove_filter(
8525        monitor: *mut GstDeviceMonitor,
8526        filter_id: c_uint,
8527    ) -> gboolean;
8528    pub fn gst_device_monitor_set_show_all_devices(
8529        monitor: *mut GstDeviceMonitor,
8530        show_all: gboolean,
8531    );
8532    pub fn gst_device_monitor_start(monitor: *mut GstDeviceMonitor) -> gboolean;
8533    pub fn gst_device_monitor_stop(monitor: *mut GstDeviceMonitor);
8534
8535    //=========================================================================
8536    // GstDeviceProvider
8537    //=========================================================================
8538    pub fn gst_device_provider_get_type() -> GType;
8539    pub fn gst_device_provider_register(
8540        plugin: *mut GstPlugin,
8541        name: *const c_char,
8542        rank: c_uint,
8543        type_: GType,
8544    ) -> gboolean;
8545    pub fn gst_device_provider_can_monitor(provider: *mut GstDeviceProvider) -> gboolean;
8546    pub fn gst_device_provider_device_add(provider: *mut GstDeviceProvider, device: *mut GstDevice);
8547    #[cfg(feature = "v1_16")]
8548    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
8549    pub fn gst_device_provider_device_changed(
8550        provider: *mut GstDeviceProvider,
8551        device: *mut GstDevice,
8552        changed_device: *mut GstDevice,
8553    );
8554    pub fn gst_device_provider_device_remove(
8555        provider: *mut GstDeviceProvider,
8556        device: *mut GstDevice,
8557    );
8558    pub fn gst_device_provider_get_bus(provider: *mut GstDeviceProvider) -> *mut GstBus;
8559    pub fn gst_device_provider_get_devices(provider: *mut GstDeviceProvider) -> *mut glib::GList;
8560    pub fn gst_device_provider_get_factory(
8561        provider: *mut GstDeviceProvider,
8562    ) -> *mut GstDeviceProviderFactory;
8563    pub fn gst_device_provider_get_hidden_providers(
8564        provider: *mut GstDeviceProvider,
8565    ) -> *mut *mut c_char;
8566    pub fn gst_device_provider_get_metadata(
8567        provider: *mut GstDeviceProvider,
8568        key: *const c_char,
8569    ) -> *const c_char;
8570    pub fn gst_device_provider_hide_provider(provider: *mut GstDeviceProvider, name: *const c_char);
8571    #[cfg(feature = "v1_20")]
8572    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8573    pub fn gst_device_provider_is_started(provider: *mut GstDeviceProvider) -> gboolean;
8574    pub fn gst_device_provider_start(provider: *mut GstDeviceProvider) -> gboolean;
8575    pub fn gst_device_provider_stop(provider: *mut GstDeviceProvider);
8576    pub fn gst_device_provider_unhide_provider(
8577        provider: *mut GstDeviceProvider,
8578        name: *const c_char,
8579    );
8580
8581    //=========================================================================
8582    // GstDeviceProviderFactory
8583    //=========================================================================
8584    pub fn gst_device_provider_factory_get_type() -> GType;
8585    pub fn gst_device_provider_factory_find(name: *const c_char) -> *mut GstDeviceProviderFactory;
8586    pub fn gst_device_provider_factory_get_by_name(
8587        factoryname: *const c_char,
8588    ) -> *mut GstDeviceProvider;
8589    pub fn gst_device_provider_factory_list_get_device_providers(
8590        minrank: GstRank,
8591    ) -> *mut glib::GList;
8592    pub fn gst_device_provider_factory_get(
8593        factory: *mut GstDeviceProviderFactory,
8594    ) -> *mut GstDeviceProvider;
8595    pub fn gst_device_provider_factory_get_device_provider_type(
8596        factory: *mut GstDeviceProviderFactory,
8597    ) -> GType;
8598    pub fn gst_device_provider_factory_get_metadata(
8599        factory: *mut GstDeviceProviderFactory,
8600        key: *const c_char,
8601    ) -> *const c_char;
8602    pub fn gst_device_provider_factory_get_metadata_keys(
8603        factory: *mut GstDeviceProviderFactory,
8604    ) -> *mut *mut c_char;
8605    pub fn gst_device_provider_factory_has_classes(
8606        factory: *mut GstDeviceProviderFactory,
8607        classes: *const c_char,
8608    ) -> gboolean;
8609    pub fn gst_device_provider_factory_has_classesv(
8610        factory: *mut GstDeviceProviderFactory,
8611        classes: *mut *mut c_char,
8612    ) -> gboolean;
8613
8614    //=========================================================================
8615    // GstDoubleRange
8616    //=========================================================================
8617    pub fn gst_double_range_get_type() -> GType;
8618
8619    //=========================================================================
8620    // GstDynamicTypeFactory
8621    //=========================================================================
8622    pub fn gst_dynamic_type_factory_get_type() -> GType;
8623    pub fn gst_dynamic_type_factory_load(factoryname: *const c_char) -> GType;
8624
8625    //=========================================================================
8626    // GstElement
8627    //=========================================================================
8628    pub fn gst_element_get_type() -> GType;
8629    pub fn gst_element_make_from_uri(
8630        type_: GstURIType,
8631        uri: *const c_char,
8632        elementname: *const c_char,
8633        error: *mut *mut glib::GError,
8634    ) -> *mut GstElement;
8635    pub fn gst_element_register(
8636        plugin: *mut GstPlugin,
8637        name: *const c_char,
8638        rank: c_uint,
8639        type_: GType,
8640    ) -> gboolean;
8641    pub fn gst_element_state_change_return_get_name(
8642        state_ret: GstStateChangeReturn,
8643    ) -> *const c_char;
8644    pub fn gst_element_state_get_name(state: GstState) -> *const c_char;
8645    #[cfg(feature = "v1_20")]
8646    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8647    pub fn gst_element_type_set_skip_documentation(type_: GType);
8648    pub fn gst_element_abort_state(element: *mut GstElement);
8649    pub fn gst_element_add_pad(element: *mut GstElement, pad: *mut GstPad) -> gboolean;
8650    pub fn gst_element_add_property_deep_notify_watch(
8651        element: *mut GstElement,
8652        property_name: *const c_char,
8653        include_value: gboolean,
8654    ) -> c_ulong;
8655    pub fn gst_element_add_property_notify_watch(
8656        element: *mut GstElement,
8657        property_name: *const c_char,
8658        include_value: gboolean,
8659    ) -> c_ulong;
8660    pub fn gst_element_call_async(
8661        element: *mut GstElement,
8662        func: GstElementCallAsyncFunc,
8663        user_data: gpointer,
8664        destroy_notify: glib::GDestroyNotify,
8665    );
8666    pub fn gst_element_change_state(
8667        element: *mut GstElement,
8668        transition: GstStateChange,
8669    ) -> GstStateChangeReturn;
8670    pub fn gst_element_continue_state(
8671        element: *mut GstElement,
8672        ret: GstStateChangeReturn,
8673    ) -> GstStateChangeReturn;
8674    pub fn gst_element_create_all_pads(element: *mut GstElement);
8675    #[cfg(feature = "v1_24")]
8676    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8677    pub fn gst_element_decorate_stream_id(
8678        element: *mut GstElement,
8679        stream_id: *const c_char,
8680    ) -> *mut c_char;
8681    #[cfg(feature = "v1_24")]
8682    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8683    pub fn gst_element_decorate_stream_id_printf(
8684        element: *mut GstElement,
8685        format: *const c_char,
8686        ...
8687    ) -> *mut c_char;
8688    //#[cfg(feature = "v1_24")]
8689    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8690    //pub fn gst_element_decorate_stream_id_printf_valist(element: *mut GstElement, format: *const c_char, var_args: /*Unimplemented*/va_list) -> *mut c_char;
8691    pub fn gst_element_foreach_pad(
8692        element: *mut GstElement,
8693        func: GstElementForeachPadFunc,
8694        user_data: gpointer,
8695    ) -> gboolean;
8696    pub fn gst_element_foreach_sink_pad(
8697        element: *mut GstElement,
8698        func: GstElementForeachPadFunc,
8699        user_data: gpointer,
8700    ) -> gboolean;
8701    pub fn gst_element_foreach_src_pad(
8702        element: *mut GstElement,
8703        func: GstElementForeachPadFunc,
8704        user_data: gpointer,
8705    ) -> gboolean;
8706    pub fn gst_element_get_base_time(element: *mut GstElement) -> GstClockTime;
8707    pub fn gst_element_get_bus(element: *mut GstElement) -> *mut GstBus;
8708    pub fn gst_element_get_clock(element: *mut GstElement) -> *mut GstClock;
8709    pub fn gst_element_get_compatible_pad(
8710        element: *mut GstElement,
8711        pad: *mut GstPad,
8712        caps: *mut GstCaps,
8713    ) -> *mut GstPad;
8714    pub fn gst_element_get_compatible_pad_template(
8715        element: *mut GstElement,
8716        compattempl: *mut GstPadTemplate,
8717    ) -> *mut GstPadTemplate;
8718    pub fn gst_element_get_context(
8719        element: *mut GstElement,
8720        context_type: *const c_char,
8721    ) -> *mut GstContext;
8722    pub fn gst_element_get_context_unlocked(
8723        element: *mut GstElement,
8724        context_type: *const c_char,
8725    ) -> *mut GstContext;
8726    pub fn gst_element_get_contexts(element: *mut GstElement) -> *mut glib::GList;
8727    #[cfg(feature = "v1_18")]
8728    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8729    pub fn gst_element_get_current_clock_time(element: *mut GstElement) -> GstClockTime;
8730    #[cfg(feature = "v1_18")]
8731    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8732    pub fn gst_element_get_current_running_time(element: *mut GstElement) -> GstClockTime;
8733    pub fn gst_element_get_factory(element: *mut GstElement) -> *mut GstElementFactory;
8734    pub fn gst_element_get_metadata(element: *mut GstElement, key: *const c_char) -> *const c_char;
8735    pub fn gst_element_get_pad_template(
8736        element: *mut GstElement,
8737        name: *const c_char,
8738    ) -> *mut GstPadTemplate;
8739    pub fn gst_element_get_pad_template_list(element: *mut GstElement) -> *mut glib::GList;
8740    pub fn gst_element_get_request_pad(
8741        element: *mut GstElement,
8742        name: *const c_char,
8743    ) -> *mut GstPad;
8744    pub fn gst_element_get_start_time(element: *mut GstElement) -> GstClockTime;
8745    pub fn gst_element_get_state(
8746        element: *mut GstElement,
8747        state: *mut GstState,
8748        pending: *mut GstState,
8749        timeout: GstClockTime,
8750    ) -> GstStateChangeReturn;
8751    pub fn gst_element_get_static_pad(element: *mut GstElement, name: *const c_char)
8752    -> *mut GstPad;
8753    pub fn gst_element_is_locked_state(element: *mut GstElement) -> gboolean;
8754    pub fn gst_element_iterate_pads(element: *mut GstElement) -> *mut GstIterator;
8755    pub fn gst_element_iterate_sink_pads(element: *mut GstElement) -> *mut GstIterator;
8756    pub fn gst_element_iterate_src_pads(element: *mut GstElement) -> *mut GstIterator;
8757    pub fn gst_element_link(src: *mut GstElement, dest: *mut GstElement) -> gboolean;
8758    pub fn gst_element_link_filtered(
8759        src: *mut GstElement,
8760        dest: *mut GstElement,
8761        filter: *mut GstCaps,
8762    ) -> gboolean;
8763    pub fn gst_element_link_many(
8764        element_1: *mut GstElement,
8765        element_2: *mut GstElement,
8766        ...
8767    ) -> gboolean;
8768    pub fn gst_element_link_pads(
8769        src: *mut GstElement,
8770        srcpadname: *const c_char,
8771        dest: *mut GstElement,
8772        destpadname: *const c_char,
8773    ) -> gboolean;
8774    pub fn gst_element_link_pads_filtered(
8775        src: *mut GstElement,
8776        srcpadname: *const c_char,
8777        dest: *mut GstElement,
8778        destpadname: *const c_char,
8779        filter: *mut GstCaps,
8780    ) -> gboolean;
8781    pub fn gst_element_link_pads_full(
8782        src: *mut GstElement,
8783        srcpadname: *const c_char,
8784        dest: *mut GstElement,
8785        destpadname: *const c_char,
8786        flags: GstPadLinkCheck,
8787    ) -> gboolean;
8788    pub fn gst_element_lost_state(element: *mut GstElement);
8789    pub fn gst_element_message_full(
8790        element: *mut GstElement,
8791        type_: GstMessageType,
8792        domain: glib::GQuark,
8793        code: c_int,
8794        text: *mut c_char,
8795        debug: *mut c_char,
8796        file: *const c_char,
8797        function: *const c_char,
8798        line: c_int,
8799    );
8800    pub fn gst_element_message_full_with_details(
8801        element: *mut GstElement,
8802        type_: GstMessageType,
8803        domain: glib::GQuark,
8804        code: c_int,
8805        text: *mut c_char,
8806        debug: *mut c_char,
8807        file: *const c_char,
8808        function: *const c_char,
8809        line: c_int,
8810        structure: *mut GstStructure,
8811    );
8812    pub fn gst_element_no_more_pads(element: *mut GstElement);
8813    pub fn gst_element_post_message(element: *mut GstElement, message: *mut GstMessage)
8814    -> gboolean;
8815    pub fn gst_element_provide_clock(element: *mut GstElement) -> *mut GstClock;
8816    pub fn gst_element_query(element: *mut GstElement, query: *mut GstQuery) -> gboolean;
8817    pub fn gst_element_query_convert(
8818        element: *mut GstElement,
8819        src_format: GstFormat,
8820        src_val: i64,
8821        dest_format: GstFormat,
8822        dest_val: *mut i64,
8823    ) -> gboolean;
8824    pub fn gst_element_query_duration(
8825        element: *mut GstElement,
8826        format: GstFormat,
8827        duration: *mut i64,
8828    ) -> gboolean;
8829    pub fn gst_element_query_position(
8830        element: *mut GstElement,
8831        format: GstFormat,
8832        cur: *mut i64,
8833    ) -> gboolean;
8834    pub fn gst_element_release_request_pad(element: *mut GstElement, pad: *mut GstPad);
8835    pub fn gst_element_remove_pad(element: *mut GstElement, pad: *mut GstPad) -> gboolean;
8836    pub fn gst_element_remove_property_notify_watch(element: *mut GstElement, watch_id: c_ulong);
8837    pub fn gst_element_request_pad(
8838        element: *mut GstElement,
8839        templ: *mut GstPadTemplate,
8840        name: *const c_char,
8841        caps: *const GstCaps,
8842    ) -> *mut GstPad;
8843    #[cfg(feature = "v1_20")]
8844    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8845    pub fn gst_element_request_pad_simple(
8846        element: *mut GstElement,
8847        name: *const c_char,
8848    ) -> *mut GstPad;
8849    pub fn gst_element_seek(
8850        element: *mut GstElement,
8851        rate: c_double,
8852        format: GstFormat,
8853        flags: GstSeekFlags,
8854        start_type: GstSeekType,
8855        start: i64,
8856        stop_type: GstSeekType,
8857        stop: i64,
8858    ) -> gboolean;
8859    pub fn gst_element_seek_simple(
8860        element: *mut GstElement,
8861        format: GstFormat,
8862        seek_flags: GstSeekFlags,
8863        seek_pos: i64,
8864    ) -> gboolean;
8865    pub fn gst_element_send_event(element: *mut GstElement, event: *mut GstEvent) -> gboolean;
8866    pub fn gst_element_set_base_time(element: *mut GstElement, time: GstClockTime);
8867    pub fn gst_element_set_bus(element: *mut GstElement, bus: *mut GstBus);
8868    pub fn gst_element_set_clock(element: *mut GstElement, clock: *mut GstClock) -> gboolean;
8869    pub fn gst_element_set_context(element: *mut GstElement, context: *mut GstContext);
8870    pub fn gst_element_set_locked_state(
8871        element: *mut GstElement,
8872        locked_state: gboolean,
8873    ) -> gboolean;
8874    pub fn gst_element_set_start_time(element: *mut GstElement, time: GstClockTime);
8875    pub fn gst_element_set_state(element: *mut GstElement, state: GstState)
8876    -> GstStateChangeReturn;
8877    pub fn gst_element_sync_state_with_parent(element: *mut GstElement) -> gboolean;
8878    pub fn gst_element_unlink(src: *mut GstElement, dest: *mut GstElement);
8879    pub fn gst_element_unlink_many(element_1: *mut GstElement, element_2: *mut GstElement, ...);
8880    pub fn gst_element_unlink_pads(
8881        src: *mut GstElement,
8882        srcpadname: *const c_char,
8883        dest: *mut GstElement,
8884        destpadname: *const c_char,
8885    );
8886
8887    //=========================================================================
8888    // GstElementFactory
8889    //=========================================================================
8890    pub fn gst_element_factory_get_type() -> GType;
8891    pub fn gst_element_factory_find(name: *const c_char) -> *mut GstElementFactory;
8892    pub fn gst_element_factory_list_filter(
8893        list: *mut glib::GList,
8894        caps: *const GstCaps,
8895        direction: GstPadDirection,
8896        subsetonly: gboolean,
8897    ) -> *mut glib::GList;
8898    pub fn gst_element_factory_list_get_elements(
8899        type_: GstElementFactoryListType,
8900        minrank: GstRank,
8901    ) -> *mut glib::GList;
8902    pub fn gst_element_factory_make(
8903        factoryname: *const c_char,
8904        name: *const c_char,
8905    ) -> *mut GstElement;
8906    #[cfg(feature = "v1_20")]
8907    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8908    pub fn gst_element_factory_make_full(
8909        factoryname: *const c_char,
8910        first: *const c_char,
8911        ...
8912    ) -> *mut GstElement;
8913    //#[cfg(feature = "v1_20")]
8914    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8915    //pub fn gst_element_factory_make_valist(factoryname: *const c_char, first: *const c_char, properties: /*Unimplemented*/va_list) -> *mut GstElement;
8916    #[cfg(feature = "v1_20")]
8917    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8918    pub fn gst_element_factory_make_with_properties(
8919        factoryname: *const c_char,
8920        n: c_uint,
8921        names: *mut *const c_char,
8922        values: *const gobject::GValue,
8923    ) -> *mut GstElement;
8924    pub fn gst_element_factory_can_sink_all_caps(
8925        factory: *mut GstElementFactory,
8926        caps: *const GstCaps,
8927    ) -> gboolean;
8928    pub fn gst_element_factory_can_sink_any_caps(
8929        factory: *mut GstElementFactory,
8930        caps: *const GstCaps,
8931    ) -> gboolean;
8932    pub fn gst_element_factory_can_src_all_caps(
8933        factory: *mut GstElementFactory,
8934        caps: *const GstCaps,
8935    ) -> gboolean;
8936    pub fn gst_element_factory_can_src_any_caps(
8937        factory: *mut GstElementFactory,
8938        caps: *const GstCaps,
8939    ) -> gboolean;
8940    pub fn gst_element_factory_create(
8941        factory: *mut GstElementFactory,
8942        name: *const c_char,
8943    ) -> *mut GstElement;
8944    #[cfg(feature = "v1_20")]
8945    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8946    pub fn gst_element_factory_create_full(
8947        factory: *mut GstElementFactory,
8948        first: *const c_char,
8949        ...
8950    ) -> *mut GstElement;
8951    //#[cfg(feature = "v1_20")]
8952    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8953    //pub fn gst_element_factory_create_valist(factory: *mut GstElementFactory, first: *const c_char, properties: /*Unimplemented*/va_list) -> *mut GstElement;
8954    #[cfg(feature = "v1_20")]
8955    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8956    pub fn gst_element_factory_create_with_properties(
8957        factory: *mut GstElementFactory,
8958        n: c_uint,
8959        names: *mut *const c_char,
8960        values: *const gobject::GValue,
8961    ) -> *mut GstElement;
8962    pub fn gst_element_factory_get_element_type(factory: *mut GstElementFactory) -> GType;
8963    pub fn gst_element_factory_get_metadata(
8964        factory: *mut GstElementFactory,
8965        key: *const c_char,
8966    ) -> *const c_char;
8967    pub fn gst_element_factory_get_metadata_keys(
8968        factory: *mut GstElementFactory,
8969    ) -> *mut *mut c_char;
8970    pub fn gst_element_factory_get_num_pad_templates(factory: *mut GstElementFactory) -> c_uint;
8971    #[cfg(feature = "v1_20")]
8972    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8973    pub fn gst_element_factory_get_skip_documentation(factory: *mut GstElementFactory) -> gboolean;
8974    pub fn gst_element_factory_get_static_pad_templates(
8975        factory: *mut GstElementFactory,
8976    ) -> *const glib::GList;
8977    pub fn gst_element_factory_get_uri_protocols(
8978        factory: *mut GstElementFactory,
8979    ) -> *const *const c_char;
8980    pub fn gst_element_factory_get_uri_type(factory: *mut GstElementFactory) -> GstURIType;
8981    pub fn gst_element_factory_has_interface(
8982        factory: *mut GstElementFactory,
8983        interfacename: *const c_char,
8984    ) -> gboolean;
8985    #[cfg(feature = "v1_30")]
8986    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
8987    pub fn gst_element_factory_is_untrusted_aware(factory: *mut GstElementFactory) -> gboolean;
8988    pub fn gst_element_factory_list_is_type(
8989        factory: *mut GstElementFactory,
8990        type_: GstElementFactoryListType,
8991    ) -> gboolean;
8992
8993    //=========================================================================
8994    // GstFlagSet
8995    //=========================================================================
8996    pub fn gst_flagset_get_type() -> GType;
8997    pub fn gst_flagset_register(flags_type: GType) -> GType;
8998
8999    //=========================================================================
9000    // GstFraction
9001    //=========================================================================
9002    pub fn gst_fraction_get_type() -> GType;
9003
9004    //=========================================================================
9005    // GstFractionRange
9006    //=========================================================================
9007    pub fn gst_fraction_range_get_type() -> GType;
9008
9009    //=========================================================================
9010    // GstGhostPad
9011    //=========================================================================
9012    pub fn gst_ghost_pad_get_type() -> GType;
9013    pub fn gst_ghost_pad_new(name: *const c_char, target: *mut GstPad) -> *mut GstPad;
9014    pub fn gst_ghost_pad_new_from_template(
9015        name: *const c_char,
9016        target: *mut GstPad,
9017        templ: *mut GstPadTemplate,
9018    ) -> *mut GstPad;
9019    pub fn gst_ghost_pad_new_no_target(name: *const c_char, dir: GstPadDirection) -> *mut GstPad;
9020    pub fn gst_ghost_pad_new_no_target_from_template(
9021        name: *const c_char,
9022        templ: *mut GstPadTemplate,
9023    ) -> *mut GstPad;
9024    pub fn gst_ghost_pad_activate_mode_default(
9025        pad: *mut GstPad,
9026        parent: *mut GstObject,
9027        mode: GstPadMode,
9028        active: gboolean,
9029    ) -> gboolean;
9030    pub fn gst_ghost_pad_internal_activate_mode_default(
9031        pad: *mut GstPad,
9032        parent: *mut GstObject,
9033        mode: GstPadMode,
9034        active: gboolean,
9035    ) -> gboolean;
9036    pub fn gst_ghost_pad_construct(gpad: *mut GstGhostPad) -> gboolean;
9037    pub fn gst_ghost_pad_get_target(gpad: *mut GstGhostPad) -> *mut GstPad;
9038    pub fn gst_ghost_pad_set_target(gpad: *mut GstGhostPad, newtarget: *mut GstPad) -> gboolean;
9039
9040    //=========================================================================
9041    // GstInt64Range
9042    //=========================================================================
9043    pub fn gst_int64_range_get_type() -> GType;
9044
9045    //=========================================================================
9046    // GstIntRange
9047    //=========================================================================
9048    pub fn gst_int_range_get_type() -> GType;
9049
9050    //=========================================================================
9051    // GstMetaFactory
9052    //=========================================================================
9053    #[cfg(feature = "v1_28")]
9054    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9055    pub fn gst_meta_factory_get_type() -> GType;
9056    #[cfg(feature = "v1_28")]
9057    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9058    pub fn gst_meta_factory_load(factoryname: *const c_char) -> *const GstMetaInfo;
9059    #[cfg(feature = "v1_28")]
9060    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9061    pub fn gst_meta_factory_register(
9062        plugin: *mut GstPlugin,
9063        meta_info: *const GstMetaInfo,
9064    ) -> gboolean;
9065
9066    //=========================================================================
9067    // GstObject
9068    //=========================================================================
9069    pub fn gst_object_get_type() -> GType;
9070    pub fn gst_object_check_uniqueness(list: *mut glib::GList, name: *const c_char) -> gboolean;
9071    pub fn gst_object_default_deep_notify(
9072        object: *mut gobject::GObject,
9073        orig: *mut GstObject,
9074        pspec: *mut gobject::GParamSpec,
9075        excluded_props: *mut *mut c_char,
9076    );
9077    pub fn gst_object_ref_sink(object: gpointer) -> gpointer;
9078    pub fn gst_object_replace(oldobj: *mut *mut GstObject, newobj: *mut GstObject) -> gboolean;
9079    pub fn gst_object_add_control_binding(
9080        object: *mut GstObject,
9081        binding: *mut GstControlBinding,
9082    ) -> gboolean;
9083    #[cfg(feature = "v1_28")]
9084    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9085    pub fn gst_object_call_async(
9086        object: *mut GstObject,
9087        func: GstObjectCallAsyncFunc,
9088        user_data: gpointer,
9089    );
9090    pub fn gst_object_default_error(
9091        source: *mut GstObject,
9092        error: *const glib::GError,
9093        debug: *const c_char,
9094    );
9095    pub fn gst_object_get_control_binding(
9096        object: *mut GstObject,
9097        property_name: *const c_char,
9098    ) -> *mut GstControlBinding;
9099    pub fn gst_object_get_control_rate(object: *mut GstObject) -> GstClockTime;
9100    pub fn gst_object_get_g_value_array(
9101        object: *mut GstObject,
9102        property_name: *const c_char,
9103        timestamp: GstClockTime,
9104        interval: GstClockTime,
9105        n_values: c_uint,
9106        values: *mut gobject::GValue,
9107    ) -> gboolean;
9108    pub fn gst_object_get_name(object: *mut GstObject) -> *mut c_char;
9109    pub fn gst_object_get_parent(object: *mut GstObject) -> *mut GstObject;
9110    pub fn gst_object_get_path_string(object: *mut GstObject) -> *mut c_char;
9111    #[cfg(feature = "v1_28")]
9112    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9113    pub fn gst_object_get_toplevel(object: *mut GstObject) -> *mut GstObject;
9114    pub fn gst_object_get_value(
9115        object: *mut GstObject,
9116        property_name: *const c_char,
9117        timestamp: GstClockTime,
9118    ) -> *mut gobject::GValue;
9119    pub fn gst_object_get_value_array(
9120        object: *mut GstObject,
9121        property_name: *const c_char,
9122        timestamp: GstClockTime,
9123        interval: GstClockTime,
9124        n_values: c_uint,
9125        values: gpointer,
9126    ) -> gboolean;
9127    pub fn gst_object_has_active_control_bindings(object: *mut GstObject) -> gboolean;
9128    pub fn gst_object_has_ancestor(object: *mut GstObject, ancestor: *mut GstObject) -> gboolean;
9129    pub fn gst_object_has_as_ancestor(object: *mut GstObject, ancestor: *mut GstObject)
9130    -> gboolean;
9131    pub fn gst_object_has_as_parent(object: *mut GstObject, parent: *mut GstObject) -> gboolean;
9132    pub fn gst_object_ref(object: *mut GstObject) -> *mut GstObject;
9133    pub fn gst_object_remove_control_binding(
9134        object: *mut GstObject,
9135        binding: *mut GstControlBinding,
9136    ) -> gboolean;
9137    pub fn gst_object_set_control_binding_disabled(
9138        object: *mut GstObject,
9139        property_name: *const c_char,
9140        disabled: gboolean,
9141    );
9142    pub fn gst_object_set_control_bindings_disabled(object: *mut GstObject, disabled: gboolean);
9143    pub fn gst_object_set_control_rate(object: *mut GstObject, control_rate: GstClockTime);
9144    pub fn gst_object_set_name(object: *mut GstObject, name: *const c_char) -> gboolean;
9145    pub fn gst_object_set_parent(object: *mut GstObject, parent: *mut GstObject) -> gboolean;
9146    pub fn gst_object_suggest_next_sync(object: *mut GstObject) -> GstClockTime;
9147    pub fn gst_object_sync_values(object: *mut GstObject, timestamp: GstClockTime) -> gboolean;
9148    pub fn gst_object_unparent(object: *mut GstObject);
9149    pub fn gst_object_unref(object: *mut GstObject);
9150
9151    //=========================================================================
9152    // GstPad
9153    //=========================================================================
9154    pub fn gst_pad_get_type() -> GType;
9155    pub fn gst_pad_new(name: *const c_char, direction: GstPadDirection) -> *mut GstPad;
9156    pub fn gst_pad_new_from_static_template(
9157        templ: *mut GstStaticPadTemplate,
9158        name: *const c_char,
9159    ) -> *mut GstPad;
9160    pub fn gst_pad_new_from_template(
9161        templ: *mut GstPadTemplate,
9162        name: *const c_char,
9163    ) -> *mut GstPad;
9164    pub fn gst_pad_link_get_name(ret: GstPadLinkReturn) -> *const c_char;
9165    pub fn gst_pad_activate_mode(pad: *mut GstPad, mode: GstPadMode, active: gboolean) -> gboolean;
9166    pub fn gst_pad_add_probe(
9167        pad: *mut GstPad,
9168        mask: GstPadProbeType,
9169        callback: GstPadProbeCallback,
9170        user_data: gpointer,
9171        destroy_data: glib::GDestroyNotify,
9172    ) -> c_ulong;
9173    pub fn gst_pad_can_link(srcpad: *mut GstPad, sinkpad: *mut GstPad) -> gboolean;
9174    pub fn gst_pad_chain(pad: *mut GstPad, buffer: *mut GstBuffer) -> GstFlowReturn;
9175    pub fn gst_pad_chain_list(pad: *mut GstPad, list: *mut GstBufferList) -> GstFlowReturn;
9176    pub fn gst_pad_check_reconfigure(pad: *mut GstPad) -> gboolean;
9177    pub fn gst_pad_create_stream_id(
9178        pad: *mut GstPad,
9179        parent: *mut GstElement,
9180        stream_id: *const c_char,
9181    ) -> *mut c_char;
9182    pub fn gst_pad_create_stream_id_printf(
9183        pad: *mut GstPad,
9184        parent: *mut GstElement,
9185        stream_id: *const c_char,
9186        ...
9187    ) -> *mut c_char;
9188    //pub fn gst_pad_create_stream_id_printf_valist(pad: *mut GstPad, parent: *mut GstElement, stream_id: *const c_char, var_args: /*Unimplemented*/va_list) -> *mut c_char;
9189    pub fn gst_pad_event_default(
9190        pad: *mut GstPad,
9191        parent: *mut GstObject,
9192        event: *mut GstEvent,
9193    ) -> gboolean;
9194    pub fn gst_pad_forward(
9195        pad: *mut GstPad,
9196        forward: GstPadForwardFunction,
9197        user_data: gpointer,
9198    ) -> gboolean;
9199    pub fn gst_pad_get_allowed_caps(pad: *mut GstPad) -> *mut GstCaps;
9200    pub fn gst_pad_get_current_caps(pad: *mut GstPad) -> *mut GstCaps;
9201    pub fn gst_pad_get_direction(pad: *mut GstPad) -> GstPadDirection;
9202    pub fn gst_pad_get_element_private(pad: *mut GstPad) -> gpointer;
9203    pub fn gst_pad_get_last_flow_return(pad: *mut GstPad) -> GstFlowReturn;
9204    pub fn gst_pad_get_offset(pad: *mut GstPad) -> i64;
9205    pub fn gst_pad_get_pad_template(pad: *mut GstPad) -> *mut GstPadTemplate;
9206    pub fn gst_pad_get_pad_template_caps(pad: *mut GstPad) -> *mut GstCaps;
9207    pub fn gst_pad_get_parent_element(pad: *mut GstPad) -> *mut GstElement;
9208    pub fn gst_pad_get_peer(pad: *mut GstPad) -> *mut GstPad;
9209    pub fn gst_pad_get_range(
9210        pad: *mut GstPad,
9211        offset: u64,
9212        size: c_uint,
9213        buffer: *mut *mut GstBuffer,
9214    ) -> GstFlowReturn;
9215    #[cfg(feature = "v1_18")]
9216    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9217    pub fn gst_pad_get_single_internal_link(pad: *mut GstPad) -> *mut GstPad;
9218    pub fn gst_pad_get_sticky_event(
9219        pad: *mut GstPad,
9220        event_type: GstEventType,
9221        idx: c_uint,
9222    ) -> *mut GstEvent;
9223    pub fn gst_pad_get_stream(pad: *mut GstPad) -> *mut GstStream;
9224    pub fn gst_pad_get_stream_id(pad: *mut GstPad) -> *mut c_char;
9225    pub fn gst_pad_get_task_state(pad: *mut GstPad) -> GstTaskState;
9226    pub fn gst_pad_has_current_caps(pad: *mut GstPad) -> gboolean;
9227    pub fn gst_pad_is_active(pad: *mut GstPad) -> gboolean;
9228    pub fn gst_pad_is_blocked(pad: *mut GstPad) -> gboolean;
9229    pub fn gst_pad_is_blocking(pad: *mut GstPad) -> gboolean;
9230    pub fn gst_pad_is_linked(pad: *mut GstPad) -> gboolean;
9231    pub fn gst_pad_iterate_internal_links(pad: *mut GstPad) -> *mut GstIterator;
9232    pub fn gst_pad_iterate_internal_links_default(
9233        pad: *mut GstPad,
9234        parent: *mut GstObject,
9235    ) -> *mut GstIterator;
9236    pub fn gst_pad_link(srcpad: *mut GstPad, sinkpad: *mut GstPad) -> GstPadLinkReturn;
9237    pub fn gst_pad_link_full(
9238        srcpad: *mut GstPad,
9239        sinkpad: *mut GstPad,
9240        flags: GstPadLinkCheck,
9241    ) -> GstPadLinkReturn;
9242    pub fn gst_pad_link_maybe_ghosting(src: *mut GstPad, sink: *mut GstPad) -> gboolean;
9243    pub fn gst_pad_link_maybe_ghosting_full(
9244        src: *mut GstPad,
9245        sink: *mut GstPad,
9246        flags: GstPadLinkCheck,
9247    ) -> gboolean;
9248    pub fn gst_pad_mark_reconfigure(pad: *mut GstPad);
9249    pub fn gst_pad_needs_reconfigure(pad: *mut GstPad) -> gboolean;
9250    pub fn gst_pad_pause_task(pad: *mut GstPad) -> gboolean;
9251    pub fn gst_pad_peer_query(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9252    pub fn gst_pad_peer_query_accept_caps(pad: *mut GstPad, caps: *mut GstCaps) -> gboolean;
9253    pub fn gst_pad_peer_query_caps(pad: *mut GstPad, filter: *mut GstCaps) -> *mut GstCaps;
9254    pub fn gst_pad_peer_query_convert(
9255        pad: *mut GstPad,
9256        src_format: GstFormat,
9257        src_val: i64,
9258        dest_format: GstFormat,
9259        dest_val: *mut i64,
9260    ) -> gboolean;
9261    pub fn gst_pad_peer_query_duration(
9262        pad: *mut GstPad,
9263        format: GstFormat,
9264        duration: *mut i64,
9265    ) -> gboolean;
9266    pub fn gst_pad_peer_query_position(
9267        pad: *mut GstPad,
9268        format: GstFormat,
9269        cur: *mut i64,
9270    ) -> gboolean;
9271    pub fn gst_pad_proxy_query_accept_caps(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9272    pub fn gst_pad_proxy_query_caps(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9273    pub fn gst_pad_pull_range(
9274        pad: *mut GstPad,
9275        offset: u64,
9276        size: c_uint,
9277        buffer: *mut *mut GstBuffer,
9278    ) -> GstFlowReturn;
9279    pub fn gst_pad_push(pad: *mut GstPad, buffer: *mut GstBuffer) -> GstFlowReturn;
9280    pub fn gst_pad_push_event(pad: *mut GstPad, event: *mut GstEvent) -> gboolean;
9281    pub fn gst_pad_push_list(pad: *mut GstPad, list: *mut GstBufferList) -> GstFlowReturn;
9282    pub fn gst_pad_query(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9283    pub fn gst_pad_query_accept_caps(pad: *mut GstPad, caps: *mut GstCaps) -> gboolean;
9284    pub fn gst_pad_query_caps(pad: *mut GstPad, filter: *mut GstCaps) -> *mut GstCaps;
9285    pub fn gst_pad_query_convert(
9286        pad: *mut GstPad,
9287        src_format: GstFormat,
9288        src_val: i64,
9289        dest_format: GstFormat,
9290        dest_val: *mut i64,
9291    ) -> gboolean;
9292    pub fn gst_pad_query_default(
9293        pad: *mut GstPad,
9294        parent: *mut GstObject,
9295        query: *mut GstQuery,
9296    ) -> gboolean;
9297    pub fn gst_pad_query_duration(
9298        pad: *mut GstPad,
9299        format: GstFormat,
9300        duration: *mut i64,
9301    ) -> gboolean;
9302    pub fn gst_pad_query_position(pad: *mut GstPad, format: GstFormat, cur: *mut i64) -> gboolean;
9303    pub fn gst_pad_remove_probe(pad: *mut GstPad, id: c_ulong);
9304    pub fn gst_pad_send_event(pad: *mut GstPad, event: *mut GstEvent) -> gboolean;
9305    pub fn gst_pad_set_activate_function_full(
9306        pad: *mut GstPad,
9307        activate: GstPadActivateFunction,
9308        user_data: gpointer,
9309        notify: glib::GDestroyNotify,
9310    );
9311    pub fn gst_pad_set_activatemode_function_full(
9312        pad: *mut GstPad,
9313        activatemode: GstPadActivateModeFunction,
9314        user_data: gpointer,
9315        notify: glib::GDestroyNotify,
9316    );
9317    pub fn gst_pad_set_active(pad: *mut GstPad, active: gboolean) -> gboolean;
9318    pub fn gst_pad_set_chain_function_full(
9319        pad: *mut GstPad,
9320        chain: GstPadChainFunction,
9321        user_data: gpointer,
9322        notify: glib::GDestroyNotify,
9323    );
9324    pub fn gst_pad_set_chain_list_function_full(
9325        pad: *mut GstPad,
9326        chainlist: GstPadChainListFunction,
9327        user_data: gpointer,
9328        notify: glib::GDestroyNotify,
9329    );
9330    pub fn gst_pad_set_element_private(pad: *mut GstPad, priv_: gpointer);
9331    pub fn gst_pad_set_event_full_function_full(
9332        pad: *mut GstPad,
9333        event: GstPadEventFullFunction,
9334        user_data: gpointer,
9335        notify: glib::GDestroyNotify,
9336    );
9337    pub fn gst_pad_set_event_function_full(
9338        pad: *mut GstPad,
9339        event: GstPadEventFunction,
9340        user_data: gpointer,
9341        notify: glib::GDestroyNotify,
9342    );
9343    pub fn gst_pad_set_getrange_function_full(
9344        pad: *mut GstPad,
9345        get: GstPadGetRangeFunction,
9346        user_data: gpointer,
9347        notify: glib::GDestroyNotify,
9348    );
9349    pub fn gst_pad_set_iterate_internal_links_function_full(
9350        pad: *mut GstPad,
9351        iterintlink: GstPadIterIntLinkFunction,
9352        user_data: gpointer,
9353        notify: glib::GDestroyNotify,
9354    );
9355    pub fn gst_pad_set_link_function_full(
9356        pad: *mut GstPad,
9357        link: GstPadLinkFunction,
9358        user_data: gpointer,
9359        notify: glib::GDestroyNotify,
9360    );
9361    pub fn gst_pad_set_offset(pad: *mut GstPad, offset: i64);
9362    pub fn gst_pad_set_query_function_full(
9363        pad: *mut GstPad,
9364        query: GstPadQueryFunction,
9365        user_data: gpointer,
9366        notify: glib::GDestroyNotify,
9367    );
9368    pub fn gst_pad_set_unlink_function_full(
9369        pad: *mut GstPad,
9370        unlink: GstPadUnlinkFunction,
9371        user_data: gpointer,
9372        notify: glib::GDestroyNotify,
9373    );
9374    pub fn gst_pad_start_task(
9375        pad: *mut GstPad,
9376        func: GstTaskFunction,
9377        user_data: gpointer,
9378        notify: glib::GDestroyNotify,
9379    ) -> gboolean;
9380    pub fn gst_pad_sticky_events_foreach(
9381        pad: *mut GstPad,
9382        foreach_func: GstPadStickyEventsForeachFunction,
9383        user_data: gpointer,
9384    );
9385    pub fn gst_pad_stop_task(pad: *mut GstPad) -> gboolean;
9386    pub fn gst_pad_store_sticky_event(pad: *mut GstPad, event: *mut GstEvent) -> GstFlowReturn;
9387    pub fn gst_pad_unlink(srcpad: *mut GstPad, sinkpad: *mut GstPad) -> gboolean;
9388    pub fn gst_pad_use_fixed_caps(pad: *mut GstPad);
9389
9390    //=========================================================================
9391    // GstPadTemplate
9392    //=========================================================================
9393    pub fn gst_pad_template_get_type() -> GType;
9394    pub fn gst_pad_template_new(
9395        name_template: *const c_char,
9396        direction: GstPadDirection,
9397        presence: GstPadPresence,
9398        caps: *mut GstCaps,
9399    ) -> *mut GstPadTemplate;
9400    pub fn gst_pad_template_new_from_static_pad_template_with_gtype(
9401        pad_template: *mut GstStaticPadTemplate,
9402        pad_type: GType,
9403    ) -> *mut GstPadTemplate;
9404    pub fn gst_pad_template_new_with_gtype(
9405        name_template: *const c_char,
9406        direction: GstPadDirection,
9407        presence: GstPadPresence,
9408        caps: *mut GstCaps,
9409        pad_type: GType,
9410    ) -> *mut GstPadTemplate;
9411    pub fn gst_pad_template_get_caps(templ: *mut GstPadTemplate) -> *mut GstCaps;
9412    #[cfg(feature = "v1_18")]
9413    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9414    pub fn gst_pad_template_get_documentation_caps(templ: *mut GstPadTemplate) -> *mut GstCaps;
9415    pub fn gst_pad_template_pad_created(templ: *mut GstPadTemplate, pad: *mut GstPad);
9416    #[cfg(feature = "v1_18")]
9417    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9418    pub fn gst_pad_template_set_documentation_caps(templ: *mut GstPadTemplate, caps: *mut GstCaps);
9419
9420    //=========================================================================
9421    // GstParamSpecArray
9422    //=========================================================================
9423    pub fn gst_param_spec_array_get_type() -> GType;
9424
9425    //=========================================================================
9426    // GstParamSpecFraction
9427    //=========================================================================
9428    pub fn gst_param_spec_fraction_get_type() -> GType;
9429
9430    //=========================================================================
9431    // GstPipeline
9432    //=========================================================================
9433    pub fn gst_pipeline_get_type() -> GType;
9434    pub fn gst_pipeline_new(name: *const c_char) -> *mut GstElement;
9435    pub fn gst_pipeline_auto_clock(pipeline: *mut GstPipeline);
9436    pub fn gst_pipeline_get_auto_flush_bus(pipeline: *mut GstPipeline) -> gboolean;
9437    pub fn gst_pipeline_get_bus(pipeline: *mut GstPipeline) -> *mut GstBus;
9438    pub fn gst_pipeline_get_clock(pipeline: *mut GstPipeline) -> *mut GstClock;
9439    #[cfg(feature = "v1_24")]
9440    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9441    pub fn gst_pipeline_get_configured_latency(pipeline: *mut GstPipeline) -> GstClockTime;
9442    pub fn gst_pipeline_get_delay(pipeline: *mut GstPipeline) -> GstClockTime;
9443    pub fn gst_pipeline_get_latency(pipeline: *mut GstPipeline) -> GstClockTime;
9444    pub fn gst_pipeline_get_pipeline_clock(pipeline: *mut GstPipeline) -> *mut GstClock;
9445    #[cfg(feature = "v1_24")]
9446    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9447    pub fn gst_pipeline_is_live(pipeline: *mut GstPipeline) -> gboolean;
9448    pub fn gst_pipeline_set_auto_flush_bus(pipeline: *mut GstPipeline, auto_flush: gboolean);
9449    pub fn gst_pipeline_set_clock(pipeline: *mut GstPipeline, clock: *mut GstClock) -> gboolean;
9450    pub fn gst_pipeline_set_delay(pipeline: *mut GstPipeline, delay: GstClockTime);
9451    pub fn gst_pipeline_set_latency(pipeline: *mut GstPipeline, latency: GstClockTime);
9452    pub fn gst_pipeline_use_clock(pipeline: *mut GstPipeline, clock: *mut GstClock);
9453
9454    //=========================================================================
9455    // GstPlugin
9456    //=========================================================================
9457    pub fn gst_plugin_get_type() -> GType;
9458    pub fn gst_plugin_list_free(list: *mut glib::GList);
9459    pub fn gst_plugin_load_by_name(name: *const c_char) -> *mut GstPlugin;
9460    pub fn gst_plugin_load_file(
9461        filename: *const c_char,
9462        error: *mut *mut glib::GError,
9463    ) -> *mut GstPlugin;
9464    pub fn gst_plugin_register_static(
9465        major_version: c_int,
9466        minor_version: c_int,
9467        name: *const c_char,
9468        description: *const c_char,
9469        init_func: GstPluginInitFunc,
9470        version: *const c_char,
9471        license: *const c_char,
9472        source: *const c_char,
9473        package: *const c_char,
9474        origin: *const c_char,
9475    ) -> gboolean;
9476    pub fn gst_plugin_register_static_full(
9477        major_version: c_int,
9478        minor_version: c_int,
9479        name: *const c_char,
9480        description: *const c_char,
9481        init_full_func: GstPluginInitFullFunc,
9482        version: *const c_char,
9483        license: *const c_char,
9484        source: *const c_char,
9485        package: *const c_char,
9486        origin: *const c_char,
9487        user_data: gpointer,
9488    ) -> gboolean;
9489    pub fn gst_plugin_add_dependency(
9490        plugin: *mut GstPlugin,
9491        env_vars: *mut *const c_char,
9492        paths: *mut *const c_char,
9493        names: *mut *const c_char,
9494        flags: GstPluginDependencyFlags,
9495    );
9496    pub fn gst_plugin_add_dependency_simple(
9497        plugin: *mut GstPlugin,
9498        env_vars: *const c_char,
9499        paths: *const c_char,
9500        names: *const c_char,
9501        flags: GstPluginDependencyFlags,
9502    );
9503    #[cfg(feature = "v1_24")]
9504    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9505    pub fn gst_plugin_add_status_error(plugin: *mut GstPlugin, message: *const c_char);
9506    #[cfg(feature = "v1_24")]
9507    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9508    pub fn gst_plugin_add_status_info(plugin: *mut GstPlugin, message: *const c_char);
9509    #[cfg(feature = "v1_24")]
9510    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9511    pub fn gst_plugin_add_status_warning(plugin: *mut GstPlugin, message: *const c_char);
9512    pub fn gst_plugin_get_cache_data(plugin: *mut GstPlugin) -> *const GstStructure;
9513    pub fn gst_plugin_get_description(plugin: *mut GstPlugin) -> *const c_char;
9514    pub fn gst_plugin_get_filename(plugin: *mut GstPlugin) -> *const c_char;
9515    pub fn gst_plugin_get_license(plugin: *mut GstPlugin) -> *const c_char;
9516    pub fn gst_plugin_get_name(plugin: *mut GstPlugin) -> *const c_char;
9517    pub fn gst_plugin_get_origin(plugin: *mut GstPlugin) -> *const c_char;
9518    pub fn gst_plugin_get_package(plugin: *mut GstPlugin) -> *const c_char;
9519    #[cfg(feature = "v1_30")]
9520    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9521    pub fn gst_plugin_get_registry(plugin: *mut GstPlugin) -> *mut GstRegistry;
9522    pub fn gst_plugin_get_release_date_string(plugin: *mut GstPlugin) -> *const c_char;
9523    pub fn gst_plugin_get_source(plugin: *mut GstPlugin) -> *const c_char;
9524    #[cfg(feature = "v1_24")]
9525    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9526    pub fn gst_plugin_get_status_errors(plugin: *mut GstPlugin) -> *mut *mut c_char;
9527    #[cfg(feature = "v1_24")]
9528    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9529    pub fn gst_plugin_get_status_infos(plugin: *mut GstPlugin) -> *mut *mut c_char;
9530    #[cfg(feature = "v1_24")]
9531    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9532    pub fn gst_plugin_get_status_warnings(plugin: *mut GstPlugin) -> *mut *mut c_char;
9533    pub fn gst_plugin_get_version(plugin: *mut GstPlugin) -> *const c_char;
9534    pub fn gst_plugin_is_loaded(plugin: *mut GstPlugin) -> gboolean;
9535    pub fn gst_plugin_load(plugin: *mut GstPlugin) -> *mut GstPlugin;
9536    pub fn gst_plugin_set_cache_data(plugin: *mut GstPlugin, cache_data: *mut GstStructure);
9537    #[cfg(feature = "v1_30")]
9538    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9539    pub fn gst_plugin_set_static_features_flag(plugin: *mut GstPlugin);
9540
9541    //=========================================================================
9542    // GstPluginFeature
9543    //=========================================================================
9544    pub fn gst_plugin_feature_get_type() -> GType;
9545    pub fn gst_plugin_feature_list_copy(list: *mut glib::GList) -> *mut glib::GList;
9546    pub fn gst_plugin_feature_list_debug(list: *mut glib::GList);
9547    pub fn gst_plugin_feature_list_free(list: *mut glib::GList);
9548    pub fn gst_plugin_feature_rank_compare_func(p1: gconstpointer, p2: gconstpointer) -> c_int;
9549    pub fn gst_plugin_feature_check_version(
9550        feature: *mut GstPluginFeature,
9551        min_major: c_uint,
9552        min_minor: c_uint,
9553        min_micro: c_uint,
9554    ) -> gboolean;
9555    pub fn gst_plugin_feature_get_plugin(feature: *mut GstPluginFeature) -> *mut GstPlugin;
9556    pub fn gst_plugin_feature_get_plugin_name(feature: *mut GstPluginFeature) -> *const c_char;
9557    pub fn gst_plugin_feature_get_rank(feature: *mut GstPluginFeature) -> c_uint;
9558    pub fn gst_plugin_feature_load(feature: *mut GstPluginFeature) -> *mut GstPluginFeature;
9559    pub fn gst_plugin_feature_set_rank(feature: *mut GstPluginFeature, rank: c_uint);
9560
9561    //=========================================================================
9562    // GstProxyPad
9563    //=========================================================================
9564    pub fn gst_proxy_pad_get_type() -> GType;
9565    pub fn gst_proxy_pad_chain_default(
9566        pad: *mut GstPad,
9567        parent: *mut GstObject,
9568        buffer: *mut GstBuffer,
9569    ) -> GstFlowReturn;
9570    pub fn gst_proxy_pad_chain_list_default(
9571        pad: *mut GstPad,
9572        parent: *mut GstObject,
9573        list: *mut GstBufferList,
9574    ) -> GstFlowReturn;
9575    pub fn gst_proxy_pad_getrange_default(
9576        pad: *mut GstPad,
9577        parent: *mut GstObject,
9578        offset: u64,
9579        size: c_uint,
9580        buffer: *mut *mut GstBuffer,
9581    ) -> GstFlowReturn;
9582    pub fn gst_proxy_pad_iterate_internal_links_default(
9583        pad: *mut GstPad,
9584        parent: *mut GstObject,
9585    ) -> *mut GstIterator;
9586    pub fn gst_proxy_pad_get_internal(pad: *mut GstProxyPad) -> *mut GstProxyPad;
9587
9588    //=========================================================================
9589    // GstRegistry
9590    //=========================================================================
9591    pub fn gst_registry_get_type() -> GType;
9592    pub fn gst_registry_fork_is_enabled() -> gboolean;
9593    pub fn gst_registry_fork_set_enabled(enabled: gboolean);
9594    pub fn gst_registry_get() -> *mut GstRegistry;
9595    pub fn gst_registry_add_feature(
9596        registry: *mut GstRegistry,
9597        feature: *mut GstPluginFeature,
9598    ) -> gboolean;
9599    pub fn gst_registry_add_plugin(registry: *mut GstRegistry, plugin: *mut GstPlugin) -> gboolean;
9600    pub fn gst_registry_check_feature_version(
9601        registry: *mut GstRegistry,
9602        feature_name: *const c_char,
9603        min_major: c_uint,
9604        min_minor: c_uint,
9605        min_micro: c_uint,
9606    ) -> gboolean;
9607    pub fn gst_registry_feature_filter(
9608        registry: *mut GstRegistry,
9609        filter: GstPluginFeatureFilter,
9610        first: gboolean,
9611        user_data: gpointer,
9612    ) -> *mut glib::GList;
9613    pub fn gst_registry_find_feature(
9614        registry: *mut GstRegistry,
9615        name: *const c_char,
9616        type_: GType,
9617    ) -> *mut GstPluginFeature;
9618    pub fn gst_registry_find_plugin(
9619        registry: *mut GstRegistry,
9620        name: *const c_char,
9621    ) -> *mut GstPlugin;
9622    pub fn gst_registry_get_feature_list(
9623        registry: *mut GstRegistry,
9624        type_: GType,
9625    ) -> *mut glib::GList;
9626    pub fn gst_registry_get_feature_list_by_plugin(
9627        registry: *mut GstRegistry,
9628        name: *const c_char,
9629    ) -> *mut glib::GList;
9630    pub fn gst_registry_get_feature_list_cookie(registry: *mut GstRegistry) -> u32;
9631    pub fn gst_registry_get_plugin_list(registry: *mut GstRegistry) -> *mut glib::GList;
9632    pub fn gst_registry_lookup(
9633        registry: *mut GstRegistry,
9634        filename: *const c_char,
9635    ) -> *mut GstPlugin;
9636    pub fn gst_registry_lookup_feature(
9637        registry: *mut GstRegistry,
9638        name: *const c_char,
9639    ) -> *mut GstPluginFeature;
9640    pub fn gst_registry_plugin_filter(
9641        registry: *mut GstRegistry,
9642        filter: GstPluginFilter,
9643        first: gboolean,
9644        user_data: gpointer,
9645    ) -> *mut glib::GList;
9646    pub fn gst_registry_remove_feature(registry: *mut GstRegistry, feature: *mut GstPluginFeature);
9647    pub fn gst_registry_remove_plugin(registry: *mut GstRegistry, plugin: *mut GstPlugin);
9648    pub fn gst_registry_scan_path(registry: *mut GstRegistry, path: *const c_char) -> gboolean;
9649
9650    //=========================================================================
9651    // GstSharedTaskPool
9652    //=========================================================================
9653    #[cfg(feature = "v1_20")]
9654    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9655    pub fn gst_shared_task_pool_get_type() -> GType;
9656    #[cfg(feature = "v1_20")]
9657    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9658    pub fn gst_shared_task_pool_new() -> *mut GstTaskPool;
9659    #[cfg(feature = "v1_20")]
9660    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9661    pub fn gst_shared_task_pool_get_max_threads(pool: *mut GstSharedTaskPool) -> c_uint;
9662    #[cfg(feature = "v1_20")]
9663    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9664    pub fn gst_shared_task_pool_set_max_threads(pool: *mut GstSharedTaskPool, max_threads: c_uint);
9665
9666    //=========================================================================
9667    // GstStream
9668    //=========================================================================
9669    pub fn gst_stream_get_type() -> GType;
9670    pub fn gst_stream_new(
9671        stream_id: *const c_char,
9672        caps: *mut GstCaps,
9673        type_: GstStreamType,
9674        flags: GstStreamFlags,
9675    ) -> *mut GstStream;
9676    pub fn gst_stream_get_caps(stream: *mut GstStream) -> *mut GstCaps;
9677    pub fn gst_stream_get_stream_flags(stream: *mut GstStream) -> GstStreamFlags;
9678    pub fn gst_stream_get_stream_id(stream: *mut GstStream) -> *const c_char;
9679    pub fn gst_stream_get_stream_type(stream: *mut GstStream) -> GstStreamType;
9680    pub fn gst_stream_get_tags(stream: *mut GstStream) -> *mut GstTagList;
9681    pub fn gst_stream_set_caps(stream: *mut GstStream, caps: *mut GstCaps);
9682    pub fn gst_stream_set_stream_flags(stream: *mut GstStream, flags: GstStreamFlags);
9683    pub fn gst_stream_set_stream_type(stream: *mut GstStream, stream_type: GstStreamType);
9684    pub fn gst_stream_set_tags(stream: *mut GstStream, tags: *mut GstTagList);
9685
9686    //=========================================================================
9687    // GstStreamCollection
9688    //=========================================================================
9689    pub fn gst_stream_collection_get_type() -> GType;
9690    pub fn gst_stream_collection_new(upstream_id: *const c_char) -> *mut GstStreamCollection;
9691    pub fn gst_stream_collection_add_stream(
9692        collection: *mut GstStreamCollection,
9693        stream: *mut GstStream,
9694    ) -> gboolean;
9695    pub fn gst_stream_collection_get_size(collection: *mut GstStreamCollection) -> c_uint;
9696    pub fn gst_stream_collection_get_stream(
9697        collection: *mut GstStreamCollection,
9698        index: c_uint,
9699    ) -> *mut GstStream;
9700    pub fn gst_stream_collection_get_upstream_id(
9701        collection: *mut GstStreamCollection,
9702    ) -> *const c_char;
9703
9704    //=========================================================================
9705    // GstSystemClock
9706    //=========================================================================
9707    pub fn gst_system_clock_get_type() -> GType;
9708    #[cfg(feature = "v1_30")]
9709    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9710    pub fn gst_system_clock_new(name: *const c_char, clock_type: GstClockType) -> *mut GstClock;
9711    pub fn gst_system_clock_obtain() -> *mut GstClock;
9712    pub fn gst_system_clock_set_default(new_clock: *mut GstClock);
9713
9714    //=========================================================================
9715    // GstTask
9716    //=========================================================================
9717    pub fn gst_task_get_type() -> GType;
9718    pub fn gst_task_new(
9719        func: GstTaskFunction,
9720        user_data: gpointer,
9721        notify: glib::GDestroyNotify,
9722    ) -> *mut GstTask;
9723    pub fn gst_task_cleanup_all();
9724    pub fn gst_task_get_pool(task: *mut GstTask) -> *mut GstTaskPool;
9725    pub fn gst_task_get_state(task: *mut GstTask) -> GstTaskState;
9726    pub fn gst_task_join(task: *mut GstTask) -> gboolean;
9727    pub fn gst_task_pause(task: *mut GstTask) -> gboolean;
9728    #[cfg(feature = "v1_18")]
9729    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9730    pub fn gst_task_resume(task: *mut GstTask) -> gboolean;
9731    pub fn gst_task_set_enter_callback(
9732        task: *mut GstTask,
9733        enter_func: GstTaskThreadFunc,
9734        user_data: gpointer,
9735        notify: glib::GDestroyNotify,
9736    );
9737    pub fn gst_task_set_leave_callback(
9738        task: *mut GstTask,
9739        leave_func: GstTaskThreadFunc,
9740        user_data: gpointer,
9741        notify: glib::GDestroyNotify,
9742    );
9743    pub fn gst_task_set_lock(task: *mut GstTask, mutex: *mut glib::GRecMutex);
9744    pub fn gst_task_set_pool(task: *mut GstTask, pool: *mut GstTaskPool);
9745    pub fn gst_task_set_state(task: *mut GstTask, state: GstTaskState) -> gboolean;
9746    pub fn gst_task_start(task: *mut GstTask) -> gboolean;
9747    pub fn gst_task_stop(task: *mut GstTask) -> gboolean;
9748
9749    //=========================================================================
9750    // GstTaskPool
9751    //=========================================================================
9752    pub fn gst_task_pool_get_type() -> GType;
9753    pub fn gst_task_pool_new() -> *mut GstTaskPool;
9754    pub fn gst_task_pool_cleanup(pool: *mut GstTaskPool);
9755    #[cfg(feature = "v1_20")]
9756    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9757    pub fn gst_task_pool_dispose_handle(pool: *mut GstTaskPool, id: gpointer);
9758    pub fn gst_task_pool_join(pool: *mut GstTaskPool, id: gpointer);
9759    pub fn gst_task_pool_prepare(pool: *mut GstTaskPool, error: *mut *mut glib::GError);
9760    pub fn gst_task_pool_push(
9761        pool: *mut GstTaskPool,
9762        func: GstTaskPoolFunction,
9763        user_data: gpointer,
9764        error: *mut *mut glib::GError,
9765    ) -> gpointer;
9766
9767    //=========================================================================
9768    // GstTracer
9769    //=========================================================================
9770    pub fn gst_tracer_get_type() -> GType;
9771    pub fn gst_tracer_register(
9772        plugin: *mut GstPlugin,
9773        name: *const c_char,
9774        type_: GType,
9775    ) -> gboolean;
9776
9777    //=========================================================================
9778    // GstTracerFactory
9779    //=========================================================================
9780    pub fn gst_tracer_factory_get_type() -> GType;
9781    pub fn gst_tracer_factory_get_list() -> *mut glib::GList;
9782    pub fn gst_tracer_factory_get_tracer_type(factory: *mut GstTracerFactory) -> GType;
9783
9784    //=========================================================================
9785    // GstTracerRecord
9786    //=========================================================================
9787    pub fn gst_tracer_record_get_type() -> GType;
9788    pub fn gst_tracer_record_new(
9789        name: *const c_char,
9790        firstfield: *const c_char,
9791        ...
9792    ) -> *mut GstTracerRecord;
9793    pub fn gst_tracer_record_log(self_: *mut GstTracerRecord, ...);
9794
9795    //=========================================================================
9796    // GstTypeFindFactory
9797    //=========================================================================
9798    pub fn gst_type_find_factory_get_type() -> GType;
9799    pub fn gst_type_find_factory_get_list() -> *mut glib::GList;
9800    pub fn gst_type_find_factory_call_function(
9801        factory: *mut GstTypeFindFactory,
9802        find: *mut GstTypeFind,
9803    );
9804    pub fn gst_type_find_factory_get_caps(factory: *mut GstTypeFindFactory) -> *mut GstCaps;
9805    pub fn gst_type_find_factory_get_extensions(
9806        factory: *mut GstTypeFindFactory,
9807    ) -> *const *const c_char;
9808    pub fn gst_type_find_factory_has_function(factory: *mut GstTypeFindFactory) -> gboolean;
9809
9810    //=========================================================================
9811    // GstValueArray
9812    //=========================================================================
9813    pub fn gst_value_array_get_type() -> GType;
9814    pub fn gst_value_array_append_and_take_value(
9815        value: *mut gobject::GValue,
9816        append_value: *mut gobject::GValue,
9817    );
9818    pub fn gst_value_array_append_value(
9819        value: *mut gobject::GValue,
9820        append_value: *const gobject::GValue,
9821    );
9822    pub fn gst_value_array_get_size(value: *const gobject::GValue) -> c_uint;
9823    pub fn gst_value_array_get_value(
9824        value: *const gobject::GValue,
9825        index: c_uint,
9826    ) -> *const gobject::GValue;
9827    #[cfg(feature = "v1_18")]
9828    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9829    pub fn gst_value_array_init(
9830        value: *mut gobject::GValue,
9831        prealloc: c_uint,
9832    ) -> *mut gobject::GValue;
9833    pub fn gst_value_array_prepend_value(
9834        value: *mut gobject::GValue,
9835        prepend_value: *const gobject::GValue,
9836    );
9837
9838    //=========================================================================
9839    // GstValueList
9840    //=========================================================================
9841    pub fn gst_value_list_get_type() -> GType;
9842    pub fn gst_value_list_append_and_take_value(
9843        value: *mut gobject::GValue,
9844        append_value: *mut gobject::GValue,
9845    );
9846    pub fn gst_value_list_append_value(
9847        value: *mut gobject::GValue,
9848        append_value: *const gobject::GValue,
9849    );
9850    pub fn gst_value_list_concat(
9851        dest: *mut gobject::GValue,
9852        value1: *const gobject::GValue,
9853        value2: *const gobject::GValue,
9854    );
9855    pub fn gst_value_list_get_size(value: *const gobject::GValue) -> c_uint;
9856    pub fn gst_value_list_get_value(
9857        value: *const gobject::GValue,
9858        index: c_uint,
9859    ) -> *const gobject::GValue;
9860    #[cfg(feature = "v1_18")]
9861    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9862    pub fn gst_value_list_init(
9863        value: *mut gobject::GValue,
9864        prealloc: c_uint,
9865    ) -> *mut gobject::GValue;
9866    pub fn gst_value_list_merge(
9867        dest: *mut gobject::GValue,
9868        value1: *const gobject::GValue,
9869        value2: *const gobject::GValue,
9870    );
9871    pub fn gst_value_list_prepend_value(
9872        value: *mut gobject::GValue,
9873        prepend_value: *const gobject::GValue,
9874    );
9875
9876    //=========================================================================
9877    // GstValueUniqueList
9878    //=========================================================================
9879    #[cfg(feature = "v1_28")]
9880    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9881    pub fn gst_value_unique_list_get_type() -> GType;
9882    #[cfg(feature = "v1_28")]
9883    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9884    pub fn gst_value_unique_list_append_and_take_value(
9885        value: *mut gobject::GValue,
9886        append_value: *mut gobject::GValue,
9887    );
9888    #[cfg(feature = "v1_28")]
9889    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9890    pub fn gst_value_unique_list_append_value(
9891        value: *mut gobject::GValue,
9892        append_value: *const gobject::GValue,
9893    );
9894    #[cfg(feature = "v1_28")]
9895    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9896    pub fn gst_value_unique_list_concat(
9897        dest: *mut gobject::GValue,
9898        value1: *const gobject::GValue,
9899        value2: *const gobject::GValue,
9900    );
9901    #[cfg(feature = "v1_28")]
9902    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9903    pub fn gst_value_unique_list_get_size(value: *const gobject::GValue) -> c_uint;
9904    #[cfg(feature = "v1_28")]
9905    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9906    pub fn gst_value_unique_list_get_value(
9907        value: *const gobject::GValue,
9908        index: c_uint,
9909    ) -> *const gobject::GValue;
9910    #[cfg(feature = "v1_28")]
9911    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9912    pub fn gst_value_unique_list_prepend_value(
9913        value: *mut gobject::GValue,
9914        prepend_value: *const gobject::GValue,
9915    );
9916
9917    //=========================================================================
9918    // GstChildProxy
9919    //=========================================================================
9920    pub fn gst_child_proxy_get_type() -> GType;
9921    pub fn gst_child_proxy_child_added(
9922        parent: *mut GstChildProxy,
9923        child: *mut gobject::GObject,
9924        name: *const c_char,
9925    );
9926    pub fn gst_child_proxy_child_removed(
9927        parent: *mut GstChildProxy,
9928        child: *mut gobject::GObject,
9929        name: *const c_char,
9930    );
9931    pub fn gst_child_proxy_get(object: *mut GstChildProxy, first_property_name: *const c_char, ...);
9932    pub fn gst_child_proxy_get_child_by_index(
9933        parent: *mut GstChildProxy,
9934        index: c_uint,
9935    ) -> *mut gobject::GObject;
9936    pub fn gst_child_proxy_get_child_by_name(
9937        parent: *mut GstChildProxy,
9938        name: *const c_char,
9939    ) -> *mut gobject::GObject;
9940    #[cfg(feature = "v1_22")]
9941    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
9942    pub fn gst_child_proxy_get_child_by_name_recurse(
9943        child_proxy: *mut GstChildProxy,
9944        name: *const c_char,
9945    ) -> *mut gobject::GObject;
9946    pub fn gst_child_proxy_get_children_count(parent: *mut GstChildProxy) -> c_uint;
9947    pub fn gst_child_proxy_get_property(
9948        object: *mut GstChildProxy,
9949        name: *const c_char,
9950        value: *mut gobject::GValue,
9951    );
9952    //pub fn gst_child_proxy_get_valist(object: *mut GstChildProxy, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
9953    pub fn gst_child_proxy_lookup(
9954        object: *mut GstChildProxy,
9955        name: *const c_char,
9956        target: *mut *mut gobject::GObject,
9957        pspec: *mut *mut gobject::GParamSpec,
9958    ) -> gboolean;
9959    pub fn gst_child_proxy_set(object: *mut GstChildProxy, first_property_name: *const c_char, ...);
9960    pub fn gst_child_proxy_set_property(
9961        object: *mut GstChildProxy,
9962        name: *const c_char,
9963        value: *const gobject::GValue,
9964    );
9965    //pub fn gst_child_proxy_set_valist(object: *mut GstChildProxy, first_property_name: *const c_char, var_args: /*Unimplemented*/va_list);
9966
9967    //=========================================================================
9968    // GstPreset
9969    //=========================================================================
9970    pub fn gst_preset_get_type() -> GType;
9971    pub fn gst_preset_get_app_dir() -> *const c_char;
9972    pub fn gst_preset_set_app_dir(app_dir: *const c_char) -> gboolean;
9973    pub fn gst_preset_delete_preset(preset: *mut GstPreset, name: *const c_char) -> gboolean;
9974    pub fn gst_preset_get_meta(
9975        preset: *mut GstPreset,
9976        name: *const c_char,
9977        tag: *const c_char,
9978        value: *mut *mut c_char,
9979    ) -> gboolean;
9980    pub fn gst_preset_get_preset_names(preset: *mut GstPreset) -> *mut *mut c_char;
9981    #[cfg(feature = "v1_30")]
9982    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9983    pub fn gst_preset_get_property(
9984        preset: *mut GstPreset,
9985        name: *const c_char,
9986        prop: *const c_char,
9987        value: *mut gobject::GValue,
9988    ) -> gboolean;
9989    #[cfg(feature = "v1_30")]
9990    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9991    pub fn gst_preset_get_property_alternatives(
9992        preset: *mut GstPreset,
9993        name: *const c_char,
9994        prop: *const c_char,
9995    ) -> *mut *mut c_char;
9996    pub fn gst_preset_get_property_names(preset: *mut GstPreset) -> *mut *mut c_char;
9997    pub fn gst_preset_is_editable(preset: *mut GstPreset) -> gboolean;
9998    pub fn gst_preset_load_preset(preset: *mut GstPreset, name: *const c_char) -> gboolean;
9999    pub fn gst_preset_rename_preset(
10000        preset: *mut GstPreset,
10001        old_name: *const c_char,
10002        new_name: *const c_char,
10003    ) -> gboolean;
10004    pub fn gst_preset_save_preset(preset: *mut GstPreset, name: *const c_char) -> gboolean;
10005    pub fn gst_preset_set_meta(
10006        preset: *mut GstPreset,
10007        name: *const c_char,
10008        tag: *const c_char,
10009        value: *const c_char,
10010    ) -> gboolean;
10011
10012    //=========================================================================
10013    // GstTagSetter
10014    //=========================================================================
10015    pub fn gst_tag_setter_get_type() -> GType;
10016    //pub fn gst_tag_setter_add_tag_valist(setter: *mut GstTagSetter, mode: GstTagMergeMode, tag: *const c_char, var_args: /*Unimplemented*/va_list);
10017    //pub fn gst_tag_setter_add_tag_valist_values(setter: *mut GstTagSetter, mode: GstTagMergeMode, tag: *const c_char, var_args: /*Unimplemented*/va_list);
10018    pub fn gst_tag_setter_add_tag_value(
10019        setter: *mut GstTagSetter,
10020        mode: GstTagMergeMode,
10021        tag: *const c_char,
10022        value: *const gobject::GValue,
10023    );
10024    pub fn gst_tag_setter_add_tag_values(
10025        setter: *mut GstTagSetter,
10026        mode: GstTagMergeMode,
10027        tag: *const c_char,
10028        ...
10029    );
10030    pub fn gst_tag_setter_add_tags(
10031        setter: *mut GstTagSetter,
10032        mode: GstTagMergeMode,
10033        tag: *const c_char,
10034        ...
10035    );
10036    pub fn gst_tag_setter_get_tag_list(setter: *mut GstTagSetter) -> *const GstTagList;
10037    pub fn gst_tag_setter_get_tag_merge_mode(setter: *mut GstTagSetter) -> GstTagMergeMode;
10038    pub fn gst_tag_setter_merge_tags(
10039        setter: *mut GstTagSetter,
10040        list: *const GstTagList,
10041        mode: GstTagMergeMode,
10042    );
10043    pub fn gst_tag_setter_reset_tags(setter: *mut GstTagSetter);
10044    pub fn gst_tag_setter_set_tag_merge_mode(setter: *mut GstTagSetter, mode: GstTagMergeMode);
10045
10046    //=========================================================================
10047    // GstTocSetter
10048    //=========================================================================
10049    pub fn gst_toc_setter_get_type() -> GType;
10050    pub fn gst_toc_setter_get_toc(setter: *mut GstTocSetter) -> *mut GstToc;
10051    pub fn gst_toc_setter_reset(setter: *mut GstTocSetter);
10052    pub fn gst_toc_setter_set_toc(setter: *mut GstTocSetter, toc: *mut GstToc);
10053
10054    //=========================================================================
10055    // GstURIHandler
10056    //=========================================================================
10057    pub fn gst_uri_handler_get_type() -> GType;
10058    pub fn gst_uri_handler_get_protocols(handler: *mut GstURIHandler) -> *const *const c_char;
10059    pub fn gst_uri_handler_get_uri(handler: *mut GstURIHandler) -> *mut c_char;
10060    pub fn gst_uri_handler_get_uri_type(handler: *mut GstURIHandler) -> GstURIType;
10061    pub fn gst_uri_handler_set_uri(
10062        handler: *mut GstURIHandler,
10063        uri: *const c_char,
10064        error: *mut *mut glib::GError,
10065    ) -> gboolean;
10066
10067    //=========================================================================
10068    // Other functions
10069    //=========================================================================
10070    pub fn gst_calculate_linear_regression(
10071        xy: *const GstClockTime,
10072        temp: *mut GstClockTime,
10073        n: c_uint,
10074        m_num: *mut GstClockTime,
10075        m_denom: *mut GstClockTime,
10076        b: *mut GstClockTime,
10077        xbase: *mut GstClockTime,
10078        r_squared: *mut c_double,
10079    ) -> gboolean;
10080    #[cfg(feature = "v1_28")]
10081    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10082    pub fn gst_call_async(func: GstCallAsyncFunc, user_data: gpointer);
10083    #[cfg(feature = "v1_28")]
10084    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10085    pub fn gst_check_version(major: c_uint, minor: c_uint, micro: c_uint) -> gboolean;
10086    #[cfg(feature = "v1_18_3")]
10087    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10088    pub fn gst_clear_buffer(buf_ptr: *mut *mut GstBuffer);
10089    #[cfg(feature = "v1_18_3")]
10090    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10091    pub fn gst_clear_buffer_list(list_ptr: *mut *mut GstBufferList);
10092    #[cfg(feature = "v1_18_3")]
10093    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10094    pub fn gst_clear_caps(caps_ptr: *mut *mut GstCaps);
10095    #[cfg(feature = "v1_24")]
10096    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10097    pub fn gst_clear_context(context_ptr: *mut *mut GstContext);
10098    #[cfg(feature = "v1_18_3")]
10099    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10100    pub fn gst_clear_event(event_ptr: *mut *mut GstEvent);
10101    #[cfg(feature = "v1_18_3")]
10102    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10103    pub fn gst_clear_message(msg_ptr: *mut *mut GstMessage);
10104    #[cfg(feature = "v1_16")]
10105    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
10106    pub fn gst_clear_mini_object(object_ptr: *mut *mut GstMiniObject);
10107    #[cfg(feature = "v1_16")]
10108    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
10109    pub fn gst_clear_object(object_ptr: *mut *mut GstObject);
10110    #[cfg(feature = "v1_24")]
10111    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10112    pub fn gst_clear_promise(promise_ptr: *mut *mut GstPromise);
10113    #[cfg(feature = "v1_18_3")]
10114    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10115    pub fn gst_clear_query(query_ptr: *mut *mut GstQuery);
10116    #[cfg(feature = "v1_24")]
10117    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10118    pub fn gst_clear_sample(sample_ptr: *mut *mut GstSample);
10119    #[cfg(feature = "v1_16")]
10120    #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
10121    pub fn gst_clear_structure(structure_ptr: *mut *mut GstStructure);
10122    #[cfg(feature = "v1_18_3")]
10123    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10124    pub fn gst_clear_tag_list(taglist_ptr: *mut *mut GstTagList);
10125    #[cfg(feature = "v1_18_3")]
10126    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10127    pub fn gst_clear_uri(uri_ptr: *mut *mut GstUri);
10128    #[cfg(feature = "v1_28")]
10129    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10130    pub fn gst_cpuid_supports_arm_neon() -> gboolean;
10131    #[cfg(feature = "v1_28")]
10132    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10133    pub fn gst_cpuid_supports_arm_neon64() -> gboolean;
10134    #[cfg(feature = "v1_30")]
10135    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10136    pub fn gst_cpuid_supports_riscv_v() -> gboolean;
10137    #[cfg(feature = "v1_28")]
10138    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10139    pub fn gst_cpuid_supports_x86_3dnow() -> gboolean;
10140    #[cfg(feature = "v1_28")]
10141    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10142    pub fn gst_cpuid_supports_x86_avx() -> gboolean;
10143    #[cfg(feature = "v1_28")]
10144    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10145    pub fn gst_cpuid_supports_x86_avx2() -> gboolean;
10146    #[cfg(feature = "v1_28")]
10147    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10148    pub fn gst_cpuid_supports_x86_mmx() -> gboolean;
10149    #[cfg(feature = "v1_28")]
10150    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10151    pub fn gst_cpuid_supports_x86_mmxext() -> gboolean;
10152    #[cfg(feature = "v1_28")]
10153    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10154    pub fn gst_cpuid_supports_x86_sse2() -> gboolean;
10155    #[cfg(feature = "v1_28")]
10156    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10157    pub fn gst_cpuid_supports_x86_sse3() -> gboolean;
10158    #[cfg(feature = "v1_28")]
10159    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10160    pub fn gst_cpuid_supports_x86_sse4_1() -> gboolean;
10161    #[cfg(feature = "v1_28")]
10162    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10163    pub fn gst_cpuid_supports_x86_sse4_2() -> gboolean;
10164    #[cfg(feature = "v1_28")]
10165    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10166    pub fn gst_cpuid_supports_x86_ssse3() -> gboolean;
10167    pub fn gst_debug_add_log_function(
10168        func: GstLogFunction,
10169        user_data: gpointer,
10170        notify: glib::GDestroyNotify,
10171    );
10172    pub fn gst_debug_add_ring_buffer_logger(max_size_per_thread: c_uint, thread_timeout: c_uint);
10173    pub fn gst_debug_bin_to_dot_data(
10174        bin: *mut GstBin,
10175        details: GstDebugGraphDetails,
10176    ) -> *mut c_char;
10177    pub fn gst_debug_bin_to_dot_file(
10178        bin: *mut GstBin,
10179        details: GstDebugGraphDetails,
10180        file_name: *const c_char,
10181    );
10182    pub fn gst_debug_bin_to_dot_file_with_ts(
10183        bin: *mut GstBin,
10184        details: GstDebugGraphDetails,
10185        file_name: *const c_char,
10186    );
10187    pub fn gst_debug_construct_term_color(colorinfo: c_uint) -> *mut c_char;
10188    pub fn gst_debug_construct_win_color(colorinfo: c_uint) -> c_int;
10189    pub fn gst_debug_get_all_categories() -> *mut glib::GSList;
10190    pub fn gst_debug_get_color_mode() -> GstDebugColorMode;
10191    pub fn gst_debug_get_default_threshold() -> GstDebugLevel;
10192    pub fn gst_debug_get_stack_trace(flags: GstStackTraceFlags) -> *mut c_char;
10193    pub fn gst_debug_is_active() -> gboolean;
10194    pub fn gst_debug_is_colored() -> gboolean;
10195    pub fn gst_debug_log(
10196        category: *mut GstDebugCategory,
10197        level: GstDebugLevel,
10198        file: *const c_char,
10199        function: *const c_char,
10200        line: c_int,
10201        object: *mut gobject::GObject,
10202        format: *const c_char,
10203        ...
10204    );
10205    pub fn gst_debug_log_default(
10206        category: *mut GstDebugCategory,
10207        level: GstDebugLevel,
10208        file: *const c_char,
10209        function: *const c_char,
10210        line: c_int,
10211        object: *mut gobject::GObject,
10212        message: *mut GstDebugMessage,
10213        user_data: gpointer,
10214    );
10215    #[cfg(feature = "v1_18")]
10216    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10217    pub fn gst_debug_log_get_line(
10218        category: *mut GstDebugCategory,
10219        level: GstDebugLevel,
10220        file: *const c_char,
10221        function: *const c_char,
10222        line: c_int,
10223        object: *mut gobject::GObject,
10224        message: *mut GstDebugMessage,
10225    ) -> *mut c_char;
10226    #[cfg(feature = "v1_22")]
10227    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
10228    pub fn gst_debug_log_id(
10229        category: *mut GstDebugCategory,
10230        level: GstDebugLevel,
10231        file: *const c_char,
10232        function: *const c_char,
10233        line: c_int,
10234        id: *const c_char,
10235        format: *const c_char,
10236        ...
10237    );
10238    #[cfg(feature = "v1_22")]
10239    #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
10240    pub fn gst_debug_log_id_literal(
10241        category: *mut GstDebugCategory,
10242        level: GstDebugLevel,
10243        file: *const c_char,
10244        function: *const c_char,
10245        line: c_int,
10246        id: *const c_char,
10247        message_string: *const c_char,
10248    );
10249    #[cfg(feature = "v1_28")]
10250    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10251    pub fn gst_debug_log_id_literal_with_context(
10252        ctx: *mut GstLogContext,
10253        level: GstDebugLevel,
10254        file: *const c_char,
10255        function: *const c_char,
10256        line: c_int,
10257        id: *const c_char,
10258        message: *const c_char,
10259    );
10260    //#[cfg(feature = "v1_22")]
10261    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
10262    //pub fn gst_debug_log_id_valist(category: *mut GstDebugCategory, level: GstDebugLevel, file: *const c_char, function: *const c_char, line: c_int, id: *const c_char, format: *const c_char, args: /*Unimplemented*/va_list);
10263    #[cfg(feature = "v1_28")]
10264    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10265    pub fn gst_debug_log_id_with_context(
10266        ctx: *mut GstLogContext,
10267        level: GstDebugLevel,
10268        file: *const c_char,
10269        function: *const c_char,
10270        line: c_int,
10271        id: *const c_char,
10272        format: *const c_char,
10273        ...
10274    );
10275    //#[cfg(feature = "v1_28")]
10276    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10277    //pub fn gst_debug_log_id_with_context_valist(ctx: *mut GstLogContext, level: GstDebugLevel, file: *const c_char, function: *const c_char, line: c_int, id: *const c_char, format: *const c_char, args: /*Unimplemented*/va_list);
10278    #[cfg(feature = "v1_20")]
10279    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
10280    pub fn gst_debug_log_literal(
10281        category: *mut GstDebugCategory,
10282        level: GstDebugLevel,
10283        file: *const c_char,
10284        function: *const c_char,
10285        line: c_int,
10286        object: *mut gobject::GObject,
10287        message_string: *const c_char,
10288    );
10289    #[cfg(feature = "v1_28")]
10290    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10291    pub fn gst_debug_log_literal_with_context(
10292        ctx: *mut GstLogContext,
10293        level: GstDebugLevel,
10294        file: *const c_char,
10295        function: *const c_char,
10296        line: c_int,
10297        object: *mut gobject::GObject,
10298        message: *const c_char,
10299    );
10300    //pub fn gst_debug_log_valist(category: *mut GstDebugCategory, level: GstDebugLevel, file: *const c_char, function: *const c_char, line: c_int, object: *mut gobject::GObject, format: *const c_char, args: /*Unimplemented*/va_list);
10301    #[cfg(feature = "v1_28")]
10302    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10303    pub fn gst_debug_log_with_context(
10304        ctx: *mut GstLogContext,
10305        level: GstDebugLevel,
10306        file: *const c_char,
10307        function: *const c_char,
10308        line: c_int,
10309        object: *mut gobject::GObject,
10310        format: *const c_char,
10311        ...
10312    );
10313    //#[cfg(feature = "v1_28")]
10314    //#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10315    //pub fn gst_debug_log_with_context_valist(ctx: *mut GstLogContext, level: GstDebugLevel, file: *const c_char, function: *const c_char, line: c_int, object: *mut gobject::GObject, format: *const c_char, args: /*Unimplemented*/va_list);
10316    #[cfg(feature = "v1_26")]
10317    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10318    pub fn gst_debug_print_object(ptr: gconstpointer) -> *mut c_char;
10319    #[cfg(feature = "v1_26")]
10320    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10321    pub fn gst_debug_print_segment(segment: *const GstSegment) -> *mut c_char;
10322    pub fn gst_debug_print_stack_trace();
10323    pub fn gst_debug_remove_log_function(func: GstLogFunction) -> c_uint;
10324    pub fn gst_debug_remove_log_function_by_data(data: gpointer) -> c_uint;
10325    pub fn gst_debug_remove_ring_buffer_logger();
10326    pub fn gst_debug_ring_buffer_logger_get_logs() -> *mut *mut c_char;
10327    pub fn gst_debug_set_active(active: gboolean);
10328    pub fn gst_debug_set_color_mode(mode: GstDebugColorMode);
10329    pub fn gst_debug_set_color_mode_from_string(mode: *const c_char);
10330    pub fn gst_debug_set_colored(colored: gboolean);
10331    pub fn gst_debug_set_default_threshold(level: GstDebugLevel);
10332    pub fn gst_debug_set_threshold_for_name(name: *const c_char, level: GstDebugLevel);
10333    pub fn gst_debug_set_threshold_from_string(list: *const c_char, reset: gboolean);
10334    pub fn gst_debug_unset_threshold_for_name(name: *const c_char);
10335    pub fn gst_deinit();
10336    pub fn gst_dynamic_type_register(plugin: *mut GstPlugin, type_: GType) -> gboolean;
10337    pub fn gst_error_get_message(domain: glib::GQuark, code: c_int) -> *mut c_char;
10338    pub fn gst_filename_to_uri(
10339        filename: *const c_char,
10340        error: *mut *mut glib::GError,
10341    ) -> *mut c_char;
10342    pub fn gst_flow_get_name(ret: GstFlowReturn) -> *const c_char;
10343    pub fn gst_flow_to_quark(ret: GstFlowReturn) -> glib::GQuark;
10344    pub fn gst_formats_contains(formats: *const GstFormat, format: GstFormat) -> gboolean;
10345    pub fn gst_get_main_executable_path() -> *const c_char;
10346    pub fn gst_info_strdup_printf(format: *const c_char, ...) -> *mut c_char;
10347    //pub fn gst_info_strdup_vprintf(format: *const c_char, args: /*Unimplemented*/va_list) -> *mut c_char;
10348    //pub fn gst_info_vasprintf(result: *mut *mut c_char, format: *const c_char, args: /*Unimplemented*/va_list) -> c_int;
10349    pub fn gst_init(argc: *mut c_int, argv: *mut *mut *mut c_char);
10350    pub fn gst_init_check(
10351        argc: *mut c_int,
10352        argv: *mut *mut *mut c_char,
10353        error: *mut *mut glib::GError,
10354    ) -> gboolean;
10355    pub fn gst_init_get_option_group() -> *mut glib::GOptionGroup;
10356    pub fn gst_is_caps_features(obj: gconstpointer) -> gboolean;
10357    pub fn gst_is_initialized() -> gboolean;
10358    pub fn gst_make_element_message_details(name: *const c_char, ...) -> *mut GstStructure;
10359    pub fn gst_param_spec_array(
10360        name: *const c_char,
10361        nick: *const c_char,
10362        blurb: *const c_char,
10363        element_spec: *mut gobject::GParamSpec,
10364        flags: gobject::GParamFlags,
10365    ) -> *mut gobject::GParamSpec;
10366    pub fn gst_param_spec_fraction(
10367        name: *const c_char,
10368        nick: *const c_char,
10369        blurb: *const c_char,
10370        min_num: c_int,
10371        min_denom: c_int,
10372        max_num: c_int,
10373        max_denom: c_int,
10374        default_num: c_int,
10375        default_denom: c_int,
10376        flags: gobject::GParamFlags,
10377    ) -> *mut gobject::GParamSpec;
10378    #[cfg(feature = "v1_30")]
10379    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10380    pub fn gst_param_spec_get_kind(pspec: *mut gobject::GParamSpec) -> *const GstStructure;
10381    #[cfg(feature = "v1_30")]
10382    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10383    pub fn gst_param_spec_set_kind(pspec: *mut gobject::GParamSpec, kind: *mut GstStructure);
10384    pub fn gst_parent_buffer_meta_api_get_type() -> GType;
10385    pub fn gst_parse_bin_from_description(
10386        bin_description: *const c_char,
10387        ghost_unlinked_pads: gboolean,
10388        error: *mut *mut glib::GError,
10389    ) -> *mut GstBin;
10390    pub fn gst_parse_bin_from_description_full(
10391        bin_description: *const c_char,
10392        ghost_unlinked_pads: gboolean,
10393        context: *mut GstParseContext,
10394        flags: GstParseFlags,
10395        error: *mut *mut glib::GError,
10396    ) -> *mut GstElement;
10397    pub fn gst_parse_launch(
10398        pipeline_description: *const c_char,
10399        error: *mut *mut glib::GError,
10400    ) -> *mut GstElement;
10401    pub fn gst_parse_launch_full(
10402        pipeline_description: *const c_char,
10403        context: *mut GstParseContext,
10404        flags: GstParseFlags,
10405        error: *mut *mut glib::GError,
10406    ) -> *mut GstElement;
10407    pub fn gst_parse_launchv(
10408        argv: *mut *const c_char,
10409        error: *mut *mut glib::GError,
10410    ) -> *mut GstElement;
10411    pub fn gst_parse_launchv_full(
10412        argv: *mut *const c_char,
10413        context: *mut GstParseContext,
10414        flags: GstParseFlags,
10415        error: *mut *mut glib::GError,
10416    ) -> *mut GstElement;
10417    #[cfg(feature = "v1_30")]
10418    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10419    pub fn gst_parse_untrusted_report(
10420        report: *const GstStructure,
10421        elements: *mut *mut *mut c_char,
10422        properties: *mut *mut GstStructure,
10423        unresolved_properties: *mut *mut GstStructure,
10424    ) -> gboolean;
10425    pub fn gst_print(format: *const c_char, ...);
10426    pub fn gst_printerr(format: *const c_char, ...);
10427    pub fn gst_printerrln(format: *const c_char, ...);
10428    pub fn gst_println(format: *const c_char, ...);
10429    pub fn gst_protection_filter_systems_by_available_decryptors(
10430        system_identifiers: *mut *const c_char,
10431    ) -> *mut *mut c_char;
10432    pub fn gst_protection_meta_api_get_type() -> GType;
10433    pub fn gst_protection_select_system(system_identifiers: *mut *const c_char) -> *const c_char;
10434    pub fn gst_reference_timestamp_meta_api_get_type() -> GType;
10435    pub fn gst_segtrap_is_enabled() -> gboolean;
10436    pub fn gst_segtrap_set_enabled(enabled: gboolean);
10437    pub fn gst_tag_exists(tag: *const c_char) -> gboolean;
10438    pub fn gst_tag_get_description(tag: *const c_char) -> *const c_char;
10439    pub fn gst_tag_get_flag(tag: *const c_char) -> GstTagFlag;
10440    pub fn gst_tag_get_nick(tag: *const c_char) -> *const c_char;
10441    pub fn gst_tag_get_type(tag: *const c_char) -> GType;
10442    pub fn gst_tag_is_fixed(tag: *const c_char) -> gboolean;
10443    pub fn gst_tag_merge_strings_with_comma(
10444        dest: *mut gobject::GValue,
10445        src: *const gobject::GValue,
10446    );
10447    pub fn gst_tag_merge_use_first(dest: *mut gobject::GValue, src: *const gobject::GValue);
10448    pub fn gst_tag_register(
10449        name: *const c_char,
10450        flag: GstTagFlag,
10451        type_: GType,
10452        nick: *const c_char,
10453        blurb: *const c_char,
10454        func: GstTagMergeFunc,
10455    );
10456    pub fn gst_tag_register_static(
10457        name: *const c_char,
10458        flag: GstTagFlag,
10459        type_: GType,
10460        nick: *const c_char,
10461        blurb: *const c_char,
10462        func: GstTagMergeFunc,
10463    );
10464    #[cfg(feature = "v1_30")]
10465    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10466    pub fn gst_trace_event(format: *mut GstTraceFormat, values: *const GstTraceValue);
10467    #[cfg(feature = "v1_30")]
10468    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10469    pub fn gst_trace_span_begin(
10470        format: *mut GstTraceFormat,
10471        values: *const GstTraceValue,
10472    ) -> GstTraceSpanId;
10473    #[cfg(feature = "v1_30")]
10474    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10475    pub fn gst_trace_span_end(span_id: GstTraceSpanId);
10476    #[cfg(feature = "v1_30")]
10477    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10478    pub fn gst_trace_span_end_and_clear(span_id: *mut GstTraceSpanId);
10479    #[cfg(feature = "v1_18")]
10480    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10481    pub fn gst_tracing_get_active_tracers() -> *mut glib::GList;
10482    pub fn gst_tracing_register_hook(
10483        tracer: *mut GstTracer,
10484        detail: *const c_char,
10485        func: gobject::GCallback,
10486    );
10487    #[cfg(feature = "v1_18")]
10488    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10489    pub fn gst_type_is_plugin_api(type_: GType, flags: *mut GstPluginAPIFlags) -> gboolean;
10490    #[cfg(feature = "v1_18")]
10491    #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10492    pub fn gst_type_mark_as_plugin_api(type_: GType, flags: GstPluginAPIFlags);
10493    pub fn gst_update_registry() -> gboolean;
10494    pub fn gst_util_array_binary_search(
10495        array: gpointer,
10496        num_elements: c_uint,
10497        element_size: size_t,
10498        search_func: glib::GCompareDataFunc,
10499        mode: GstSearchMode,
10500        search_data: gconstpointer,
10501        user_data: gpointer,
10502    ) -> gpointer;
10503    #[cfg(feature = "v1_24")]
10504    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10505    pub fn gst_util_ceil_log2(v: u32) -> c_uint;
10506    pub fn gst_util_double_to_fraction(src: c_double, dest_n: *mut c_int, dest_d: *mut c_int);
10507    pub fn gst_util_dump_buffer(buf: *mut GstBuffer);
10508    pub fn gst_util_dump_mem(mem: *const u8, size: c_uint);
10509    #[cfg(feature = "v1_24")]
10510    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10511    pub fn gst_util_filename_compare(a: *const c_char, b: *const c_char) -> c_int;
10512    #[cfg(feature = "v1_26")]
10513    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10514    pub fn gst_util_floor_log2(v: u32) -> c_uint;
10515    pub fn gst_util_fraction_add(
10516        a_n: c_int,
10517        a_d: c_int,
10518        b_n: c_int,
10519        b_d: c_int,
10520        res_n: *mut c_int,
10521        res_d: *mut c_int,
10522    ) -> gboolean;
10523    pub fn gst_util_fraction_compare(a_n: c_int, a_d: c_int, b_n: c_int, b_d: c_int) -> c_int;
10524    pub fn gst_util_fraction_multiply(
10525        a_n: c_int,
10526        a_d: c_int,
10527        b_n: c_int,
10528        b_d: c_int,
10529        res_n: *mut c_int,
10530        res_d: *mut c_int,
10531    ) -> gboolean;
10532    #[cfg(feature = "v1_26")]
10533    #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10534    pub fn gst_util_fraction_multiply_int64(
10535        a_n: i64,
10536        a_d: i64,
10537        b_n: i64,
10538        b_d: i64,
10539        res_n: *mut i64,
10540        res_d: *mut i64,
10541    ) -> gboolean;
10542    pub fn gst_util_fraction_to_double(src_n: c_int, src_d: c_int, dest: *mut c_double);
10543    pub fn gst_util_gdouble_to_guint64(value: c_double) -> u64;
10544    pub fn gst_util_get_object_array(
10545        object: *mut gobject::GObject,
10546        name: *const c_char,
10547        array: *mut *mut gobject::GValueArray,
10548    ) -> gboolean;
10549    pub fn gst_util_get_timestamp() -> GstClockTime;
10550    pub fn gst_util_greatest_common_divisor(a: c_int, b: c_int) -> c_int;
10551    pub fn gst_util_greatest_common_divisor_int64(a: i64, b: i64) -> i64;
10552    pub fn gst_util_group_id_next() -> c_uint;
10553    pub fn gst_util_guint64_to_gdouble(value: u64) -> c_double;
10554    pub fn gst_util_seqnum_compare(s1: u32, s2: u32) -> i32;
10555    pub fn gst_util_seqnum_next() -> u32;
10556    pub fn gst_util_set_object_arg(
10557        object: *mut gobject::GObject,
10558        name: *const c_char,
10559        value: *const c_char,
10560    );
10561    pub fn gst_util_set_object_array(
10562        object: *mut gobject::GObject,
10563        name: *const c_char,
10564        array: *const gobject::GValueArray,
10565    ) -> gboolean;
10566    pub fn gst_util_set_value_from_string(value: *mut gobject::GValue, value_str: *const c_char);
10567    #[cfg(feature = "v1_24")]
10568    #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10569    pub fn gst_util_simplify_fraction(
10570        numerator: *mut c_int,
10571        denominator: *mut c_int,
10572        n_terms: c_uint,
10573        threshold: c_uint,
10574    );
10575    pub fn gst_util_uint64_scale(val: u64, num: u64, denom: u64) -> u64;
10576    pub fn gst_util_uint64_scale_ceil(val: u64, num: u64, denom: u64) -> u64;
10577    pub fn gst_util_uint64_scale_int(val: u64, num: c_int, denom: c_int) -> u64;
10578    pub fn gst_util_uint64_scale_int_ceil(val: u64, num: c_int, denom: c_int) -> u64;
10579    pub fn gst_util_uint64_scale_int_round(val: u64, num: c_int, denom: c_int) -> u64;
10580    pub fn gst_util_uint64_scale_round(val: u64, num: u64, denom: u64) -> u64;
10581    pub fn gst_value_can_compare(
10582        value1: *const gobject::GValue,
10583        value2: *const gobject::GValue,
10584    ) -> gboolean;
10585    pub fn gst_value_can_intersect(
10586        value1: *const gobject::GValue,
10587        value2: *const gobject::GValue,
10588    ) -> gboolean;
10589    pub fn gst_value_can_subtract(
10590        minuend: *const gobject::GValue,
10591        subtrahend: *const gobject::GValue,
10592    ) -> gboolean;
10593    pub fn gst_value_can_union(
10594        value1: *const gobject::GValue,
10595        value2: *const gobject::GValue,
10596    ) -> gboolean;
10597    pub fn gst_value_compare(
10598        value1: *const gobject::GValue,
10599        value2: *const gobject::GValue,
10600    ) -> c_int;
10601    pub fn gst_value_deserialize(dest: *mut gobject::GValue, src: *const c_char) -> gboolean;
10602    #[cfg(feature = "v1_20")]
10603    #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
10604    pub fn gst_value_deserialize_with_pspec(
10605        dest: *mut gobject::GValue,
10606        src: *const c_char,
10607        pspec: *mut gobject::GParamSpec,
10608    ) -> gboolean;
10609    pub fn gst_value_fixate(dest: *mut gobject::GValue, src: *const gobject::GValue) -> gboolean;
10610    pub fn gst_value_fraction_multiply(
10611        product: *mut gobject::GValue,
10612        factor1: *const gobject::GValue,
10613        factor2: *const gobject::GValue,
10614    ) -> gboolean;
10615    pub fn gst_value_fraction_subtract(
10616        dest: *mut gobject::GValue,
10617        minuend: *const gobject::GValue,
10618        subtrahend: *const gobject::GValue,
10619    ) -> gboolean;
10620    pub fn gst_value_get_bitmask(value: *const gobject::GValue) -> u64;
10621    pub fn gst_value_get_caps(value: *const gobject::GValue) -> *const GstCaps;
10622    pub fn gst_value_get_caps_features(value: *const gobject::GValue) -> *const GstCapsFeatures;
10623    pub fn gst_value_get_double_range_max(value: *const gobject::GValue) -> c_double;
10624    pub fn gst_value_get_double_range_min(value: *const gobject::GValue) -> c_double;
10625    pub fn gst_value_get_flagset_flags(value: *const gobject::GValue) -> c_uint;
10626    pub fn gst_value_get_flagset_mask(value: *const gobject::GValue) -> c_uint;
10627    pub fn gst_value_get_fraction_denominator(value: *const gobject::GValue) -> c_int;
10628    pub fn gst_value_get_fraction_numerator(value: *const gobject::GValue) -> c_int;
10629    pub fn gst_value_get_fraction_range_max(
10630        value: *const gobject::GValue,
10631    ) -> *const gobject::GValue;
10632    pub fn gst_value_get_fraction_range_min(
10633        value: *const gobject::GValue,
10634    ) -> *const gobject::GValue;
10635    pub fn gst_value_get_int64_range_max(value: *const gobject::GValue) -> i64;
10636    pub fn gst_value_get_int64_range_min(value: *const gobject::GValue) -> i64;
10637    pub fn gst_value_get_int64_range_step(value: *const gobject::GValue) -> i64;
10638    pub fn gst_value_get_int_range_max(value: *const gobject::GValue) -> c_int;
10639    pub fn gst_value_get_int_range_min(value: *const gobject::GValue) -> c_int;
10640    pub fn gst_value_get_int_range_step(value: *const gobject::GValue) -> c_int;
10641    pub fn gst_value_get_structure(value: *const gobject::GValue) -> *const GstStructure;
10642    #[cfg(feature = "v1_28")]
10643    #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10644    pub fn gst_value_hash(value: *const gobject::GValue, res: *mut c_uint) -> gboolean;
10645    pub fn gst_value_init_and_copy(dest: *mut gobject::GValue, src: *const gobject::GValue);
10646    pub fn gst_value_intersect(
10647        dest: *mut gobject::GValue,
10648        value1: *const gobject::GValue,
10649        value2: *const gobject::GValue,
10650    ) -> gboolean;
10651    pub fn gst_value_is_fixed(value: *const gobject::GValue) -> gboolean;
10652    pub fn gst_value_is_subset(
10653        value1: *const gobject::GValue,
10654        value2: *const gobject::GValue,
10655    ) -> gboolean;
10656    pub fn gst_value_register(table: *const GstValueTable);
10657    pub fn gst_value_serialize(value: *const gobject::GValue) -> *mut c_char;
10658    pub fn gst_value_set_bitmask(value: *mut gobject::GValue, bitmask: u64);
10659    pub fn gst_value_set_caps(value: *mut gobject::GValue, caps: *const GstCaps);
10660    pub fn gst_value_set_caps_features(
10661        value: *mut gobject::GValue,
10662        features: *const GstCapsFeatures,
10663    );
10664    pub fn gst_value_set_double_range(value: *mut gobject::GValue, start: c_double, end: c_double);
10665    pub fn gst_value_set_flagset(value: *mut gobject::GValue, flags: c_uint, mask: c_uint);
10666    pub fn gst_value_set_fraction(
10667        value: *mut gobject::GValue,
10668        numerator: c_int,
10669        denominator: c_int,
10670    );
10671    pub fn gst_value_set_fraction_range(
10672        value: *mut gobject::GValue,
10673        start: *const gobject::GValue,
10674        end: *const gobject::GValue,
10675    );
10676    pub fn gst_value_set_fraction_range_full(
10677        value: *mut gobject::GValue,
10678        numerator_start: c_int,
10679        denominator_start: c_int,
10680        numerator_end: c_int,
10681        denominator_end: c_int,
10682    );
10683    pub fn gst_value_set_int64_range(value: *mut gobject::GValue, start: i64, end: i64);
10684    pub fn gst_value_set_int64_range_step(
10685        value: *mut gobject::GValue,
10686        start: i64,
10687        end: i64,
10688        step: i64,
10689    );
10690    pub fn gst_value_set_int_range(value: *mut gobject::GValue, start: c_int, end: c_int);
10691    pub fn gst_value_set_int_range_step(
10692        value: *mut gobject::GValue,
10693        start: c_int,
10694        end: c_int,
10695        step: c_int,
10696    );
10697    pub fn gst_value_set_structure(value: *mut gobject::GValue, structure: *const GstStructure);
10698    pub fn gst_value_subtract(
10699        dest: *mut gobject::GValue,
10700        minuend: *const gobject::GValue,
10701        subtrahend: *const gobject::GValue,
10702    ) -> gboolean;
10703    #[cfg(feature = "v1_30")]
10704    #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10705    pub fn gst_value_take_structure(value: *mut gobject::GValue, structure: *mut GstStructure);
10706    pub fn gst_value_union(
10707        dest: *mut gobject::GValue,
10708        value1: *const gobject::GValue,
10709        value2: *const gobject::GValue,
10710    ) -> gboolean;
10711    pub fn gst_version(
10712        major: *mut c_uint,
10713        minor: *mut c_uint,
10714        micro: *mut c_uint,
10715        nano: *mut c_uint,
10716    );
10717    pub fn gst_version_string() -> *mut c_char;
10718
10719}