1#![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
35pub 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
44pub 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
456pub 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
665pub 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;
676#[cfg(feature = "v1_30")]
677#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
678pub const GST_BIN_FLAG_NO_AUTO_GHOSTPADS: GstBinFlags = 65536;
679pub const GST_BIN_FLAG_LAST: GstBinFlags = 524288;
680
681pub type GstBufferCopyFlags = c_uint;
682pub const GST_BUFFER_COPY_NONE: GstBufferCopyFlags = 0;
683pub const GST_BUFFER_COPY_FLAGS: GstBufferCopyFlags = 1;
684pub const GST_BUFFER_COPY_TIMESTAMPS: GstBufferCopyFlags = 2;
685pub const GST_BUFFER_COPY_META: GstBufferCopyFlags = 4;
686pub const GST_BUFFER_COPY_MEMORY: GstBufferCopyFlags = 8;
687pub const GST_BUFFER_COPY_MERGE: GstBufferCopyFlags = 16;
688pub const GST_BUFFER_COPY_DEEP: GstBufferCopyFlags = 32;
689
690pub type GstBufferFlags = c_uint;
691pub const GST_BUFFER_FLAG_LIVE: GstBufferFlags = 16;
692pub const GST_BUFFER_FLAG_DECODE_ONLY: GstBufferFlags = 32;
693pub const GST_BUFFER_FLAG_DISCONT: GstBufferFlags = 64;
694pub const GST_BUFFER_FLAG_RESYNC: GstBufferFlags = 128;
695pub const GST_BUFFER_FLAG_CORRUPTED: GstBufferFlags = 256;
696pub const GST_BUFFER_FLAG_MARKER: GstBufferFlags = 512;
697pub const GST_BUFFER_FLAG_HEADER: GstBufferFlags = 1024;
698pub const GST_BUFFER_FLAG_GAP: GstBufferFlags = 2048;
699pub const GST_BUFFER_FLAG_DROPPABLE: GstBufferFlags = 4096;
700pub const GST_BUFFER_FLAG_DELTA_UNIT: GstBufferFlags = 8192;
701pub const GST_BUFFER_FLAG_TAG_MEMORY: GstBufferFlags = 16384;
702pub const GST_BUFFER_FLAG_SYNC_AFTER: GstBufferFlags = 32768;
703pub const GST_BUFFER_FLAG_NON_DROPPABLE: GstBufferFlags = 65536;
704pub const GST_BUFFER_FLAG_LAST: GstBufferFlags = 1048576;
705
706pub type GstBufferPoolAcquireFlags = c_uint;
707pub const GST_BUFFER_POOL_ACQUIRE_FLAG_NONE: GstBufferPoolAcquireFlags = 0;
708pub const GST_BUFFER_POOL_ACQUIRE_FLAG_KEY_UNIT: GstBufferPoolAcquireFlags = 1;
709pub const GST_BUFFER_POOL_ACQUIRE_FLAG_DONTWAIT: GstBufferPoolAcquireFlags = 2;
710pub const GST_BUFFER_POOL_ACQUIRE_FLAG_DISCONT: GstBufferPoolAcquireFlags = 4;
711pub const GST_BUFFER_POOL_ACQUIRE_FLAG_LAST: GstBufferPoolAcquireFlags = 65536;
712
713pub type GstBusFlags = c_uint;
714pub const GST_BUS_FLUSHING: GstBusFlags = 16;
715pub const GST_BUS_FLAG_LAST: GstBusFlags = 32;
716
717pub type GstCapsFlags = c_uint;
718pub const GST_CAPS_FLAG_ANY: GstCapsFlags = 16;
719
720pub type GstClockFlags = c_uint;
721pub const GST_CLOCK_FLAG_CAN_DO_SINGLE_SYNC: GstClockFlags = 16;
722pub const GST_CLOCK_FLAG_CAN_DO_SINGLE_ASYNC: GstClockFlags = 32;
723pub const GST_CLOCK_FLAG_CAN_DO_PERIODIC_SYNC: GstClockFlags = 64;
724pub const GST_CLOCK_FLAG_CAN_DO_PERIODIC_ASYNC: GstClockFlags = 128;
725pub const GST_CLOCK_FLAG_CAN_SET_RESOLUTION: GstClockFlags = 256;
726pub const GST_CLOCK_FLAG_CAN_SET_MASTER: GstClockFlags = 512;
727pub const GST_CLOCK_FLAG_NEEDS_STARTUP_SYNC: GstClockFlags = 1024;
728pub const GST_CLOCK_FLAG_LAST: GstClockFlags = 4096;
729
730pub type GstDebugColorFlags = c_uint;
731pub const GST_DEBUG_FG_BLACK: GstDebugColorFlags = 0;
732pub const GST_DEBUG_FG_RED: GstDebugColorFlags = 1;
733pub const GST_DEBUG_FG_GREEN: GstDebugColorFlags = 2;
734pub const GST_DEBUG_FG_YELLOW: GstDebugColorFlags = 3;
735pub const GST_DEBUG_FG_BLUE: GstDebugColorFlags = 4;
736pub const GST_DEBUG_FG_MAGENTA: GstDebugColorFlags = 5;
737pub const GST_DEBUG_FG_CYAN: GstDebugColorFlags = 6;
738pub const GST_DEBUG_FG_WHITE: GstDebugColorFlags = 7;
739pub const GST_DEBUG_BG_BLACK: GstDebugColorFlags = 0;
740pub const GST_DEBUG_BG_RED: GstDebugColorFlags = 16;
741pub const GST_DEBUG_BG_GREEN: GstDebugColorFlags = 32;
742pub const GST_DEBUG_BG_YELLOW: GstDebugColorFlags = 48;
743pub const GST_DEBUG_BG_BLUE: GstDebugColorFlags = 64;
744pub const GST_DEBUG_BG_MAGENTA: GstDebugColorFlags = 80;
745pub const GST_DEBUG_BG_CYAN: GstDebugColorFlags = 96;
746pub const GST_DEBUG_BG_WHITE: GstDebugColorFlags = 112;
747pub const GST_DEBUG_BOLD: GstDebugColorFlags = 256;
748pub const GST_DEBUG_UNDERLINE: GstDebugColorFlags = 512;
749
750pub type GstDebugGraphDetails = c_uint;
751pub const GST_DEBUG_GRAPH_SHOW_MEDIA_TYPE: GstDebugGraphDetails = 1;
752pub const GST_DEBUG_GRAPH_SHOW_CAPS_DETAILS: GstDebugGraphDetails = 2;
753pub const GST_DEBUG_GRAPH_SHOW_NON_DEFAULT_PARAMS: GstDebugGraphDetails = 4;
754pub const GST_DEBUG_GRAPH_SHOW_STATES: GstDebugGraphDetails = 8;
755pub const GST_DEBUG_GRAPH_SHOW_FULL_PARAMS: GstDebugGraphDetails = 16;
756pub const GST_DEBUG_GRAPH_SHOW_ALL: GstDebugGraphDetails = 15;
757pub const GST_DEBUG_GRAPH_SHOW_VERBOSE: GstDebugGraphDetails = 4294967295;
758
759pub type GstElementFlags = c_uint;
760pub const GST_ELEMENT_FLAG_LOCKED_STATE: GstElementFlags = 16;
761pub const GST_ELEMENT_FLAG_SINK: GstElementFlags = 32;
762pub const GST_ELEMENT_FLAG_SOURCE: GstElementFlags = 64;
763pub const GST_ELEMENT_FLAG_PROVIDE_CLOCK: GstElementFlags = 128;
764pub const GST_ELEMENT_FLAG_REQUIRE_CLOCK: GstElementFlags = 256;
765pub const GST_ELEMENT_FLAG_INDEXABLE: GstElementFlags = 512;
766pub const GST_ELEMENT_FLAG_LAST: GstElementFlags = 16384;
767
768pub type GstEventTypeFlags = c_uint;
769pub const GST_EVENT_TYPE_UPSTREAM: GstEventTypeFlags = 1;
770pub const GST_EVENT_TYPE_DOWNSTREAM: GstEventTypeFlags = 2;
771pub const GST_EVENT_TYPE_SERIALIZED: GstEventTypeFlags = 4;
772pub const GST_EVENT_TYPE_STICKY: GstEventTypeFlags = 8;
773pub const GST_EVENT_TYPE_STICKY_MULTI: GstEventTypeFlags = 16;
774#[cfg(feature = "v1_30")]
775#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
776pub const GST_EVENT_TYPE_STICKY_FLUSHED: GstEventTypeFlags = 1073741824;
777
778pub type GstGapFlags = c_uint;
779pub const GST_GAP_FLAG_MISSING_DATA: GstGapFlags = 1;
780
781pub type GstLockFlags = c_uint;
782pub const GST_LOCK_FLAG_READ: GstLockFlags = 1;
783pub const GST_LOCK_FLAG_WRITE: GstLockFlags = 2;
784pub const GST_LOCK_FLAG_EXCLUSIVE: GstLockFlags = 4;
785pub const GST_LOCK_FLAG_LAST: GstLockFlags = 256;
786
787pub type GstLogContextFlags = c_uint;
788pub const GST_LOG_CONTEXT_FLAG_NONE: GstLogContextFlags = 0;
789pub const GST_LOG_CONTEXT_FLAG_THROTTLE: GstLogContextFlags = 1;
790
791pub type GstLogContextHashFlags = c_uint;
792pub const GST_LOG_CONTEXT_DEFAULT: GstLogContextHashFlags = 0;
793pub const GST_LOG_CONTEXT_IGNORE_OBJECT: GstLogContextHashFlags = 1;
794pub const GST_LOG_CONTEXT_IGNORE_FORMAT: GstLogContextHashFlags = 2;
795pub const GST_LOG_CONTEXT_IGNORE_FILE: GstLogContextHashFlags = 4;
796pub const GST_LOG_CONTEXT_USE_LINE_NUMBER: GstLogContextHashFlags = 8;
797pub const GST_LOG_CONTEXT_USE_STRING_ARGS: GstLogContextHashFlags = 16;
798
799pub type GstMapFlags = c_uint;
800pub const GST_MAP_READ: GstMapFlags = 1;
801pub const GST_MAP_WRITE: GstMapFlags = 2;
802#[cfg(feature = "v1_28")]
803#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
804pub const GST_MAP_REF_MEMORY: GstMapFlags = 256;
805pub const GST_MAP_FLAG_LAST: GstMapFlags = 65536;
806
807pub type GstMemoryFlags = c_uint;
808pub const GST_MEMORY_FLAG_READONLY: GstMemoryFlags = 2;
809pub const GST_MEMORY_FLAG_NO_SHARE: GstMemoryFlags = 16;
810pub const GST_MEMORY_FLAG_ZERO_PREFIXED: GstMemoryFlags = 32;
811pub const GST_MEMORY_FLAG_ZERO_PADDED: GstMemoryFlags = 64;
812pub const GST_MEMORY_FLAG_PHYSICALLY_CONTIGUOUS: GstMemoryFlags = 128;
813pub const GST_MEMORY_FLAG_NOT_MAPPABLE: GstMemoryFlags = 256;
814pub const GST_MEMORY_FLAG_LAST: GstMemoryFlags = 1048576;
815
816pub type GstMessageType = c_uint;
817pub const GST_MESSAGE_UNKNOWN: GstMessageType = 0;
818pub const GST_MESSAGE_EOS: GstMessageType = 1;
819pub const GST_MESSAGE_ERROR: GstMessageType = 2;
820pub const GST_MESSAGE_WARNING: GstMessageType = 4;
821pub const GST_MESSAGE_INFO: GstMessageType = 8;
822pub const GST_MESSAGE_TAG: GstMessageType = 16;
823pub const GST_MESSAGE_BUFFERING: GstMessageType = 32;
824pub const GST_MESSAGE_STATE_CHANGED: GstMessageType = 64;
825pub const GST_MESSAGE_STATE_DIRTY: GstMessageType = 128;
826pub const GST_MESSAGE_STEP_DONE: GstMessageType = 256;
827pub const GST_MESSAGE_CLOCK_PROVIDE: GstMessageType = 512;
828pub const GST_MESSAGE_CLOCK_LOST: GstMessageType = 1024;
829pub const GST_MESSAGE_NEW_CLOCK: GstMessageType = 2048;
830pub const GST_MESSAGE_STRUCTURE_CHANGE: GstMessageType = 4096;
831pub const GST_MESSAGE_STREAM_STATUS: GstMessageType = 8192;
832pub const GST_MESSAGE_APPLICATION: GstMessageType = 16384;
833pub const GST_MESSAGE_ELEMENT: GstMessageType = 32768;
834pub const GST_MESSAGE_SEGMENT_START: GstMessageType = 65536;
835pub const GST_MESSAGE_SEGMENT_DONE: GstMessageType = 131072;
836pub const GST_MESSAGE_DURATION_CHANGED: GstMessageType = 262144;
837pub const GST_MESSAGE_LATENCY: GstMessageType = 524288;
838pub const GST_MESSAGE_ASYNC_START: GstMessageType = 1048576;
839pub const GST_MESSAGE_ASYNC_DONE: GstMessageType = 2097152;
840pub const GST_MESSAGE_REQUEST_STATE: GstMessageType = 4194304;
841pub const GST_MESSAGE_STEP_START: GstMessageType = 8388608;
842pub const GST_MESSAGE_QOS: GstMessageType = 16777216;
843pub const GST_MESSAGE_PROGRESS: GstMessageType = 33554432;
844pub const GST_MESSAGE_TOC: GstMessageType = 67108864;
845pub const GST_MESSAGE_RESET_TIME: GstMessageType = 134217728;
846pub const GST_MESSAGE_STREAM_START: GstMessageType = 268435456;
847pub const GST_MESSAGE_NEED_CONTEXT: GstMessageType = 536870912;
848pub const GST_MESSAGE_HAVE_CONTEXT: GstMessageType = 1073741824;
849pub const GST_MESSAGE_EXTENDED: GstMessageType = 2147483648;
850pub const GST_MESSAGE_DEVICE_ADDED: GstMessageType = 2147483649;
851pub const GST_MESSAGE_DEVICE_REMOVED: GstMessageType = 2147483650;
852pub const GST_MESSAGE_PROPERTY_NOTIFY: GstMessageType = 2147483651;
853pub const GST_MESSAGE_STREAM_COLLECTION: GstMessageType = 2147483652;
854pub const GST_MESSAGE_STREAMS_SELECTED: GstMessageType = 2147483653;
855pub const GST_MESSAGE_REDIRECT: GstMessageType = 2147483654;
856pub const GST_MESSAGE_DEVICE_CHANGED: GstMessageType = 2147483655;
857pub const GST_MESSAGE_INSTANT_RATE_REQUEST: GstMessageType = 2147483656;
858#[cfg(feature = "v1_28")]
859#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
860pub const GST_MESSAGE_DEVICE_MONITOR_STARTED: GstMessageType = 2147483657;
861pub const GST_MESSAGE_ANY: GstMessageType = 4294967295;
862
863pub type GstMetaFlags = c_uint;
864pub const GST_META_FLAG_NONE: GstMetaFlags = 0;
865pub const GST_META_FLAG_READONLY: GstMetaFlags = 1;
866pub const GST_META_FLAG_POOLED: GstMetaFlags = 2;
867pub const GST_META_FLAG_LOCKED: GstMetaFlags = 4;
868pub const GST_META_FLAG_LAST: GstMetaFlags = 65536;
869
870pub type GstMiniObjectFlags = c_uint;
871pub const GST_MINI_OBJECT_FLAG_LOCKABLE: GstMiniObjectFlags = 1;
872pub const GST_MINI_OBJECT_FLAG_LOCK_READONLY: GstMiniObjectFlags = 2;
873pub const GST_MINI_OBJECT_FLAG_MAY_BE_LEAKED: GstMiniObjectFlags = 4;
874pub const GST_MINI_OBJECT_FLAG_LAST: GstMiniObjectFlags = 16;
875
876pub type GstObjectFlags = c_uint;
877pub const GST_OBJECT_FLAG_MAY_BE_LEAKED: GstObjectFlags = 1;
878#[cfg(feature = "v1_24")]
879#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
880pub const GST_OBJECT_FLAG_CONSTRUCTED: GstObjectFlags = 2;
881pub const GST_OBJECT_FLAG_LAST: GstObjectFlags = 16;
882
883pub type GstPadFlags = c_uint;
884pub const GST_PAD_FLAG_BLOCKED: GstPadFlags = 16;
885pub const GST_PAD_FLAG_FLUSHING: GstPadFlags = 32;
886pub const GST_PAD_FLAG_EOS: GstPadFlags = 64;
887pub const GST_PAD_FLAG_BLOCKING: GstPadFlags = 128;
888pub const GST_PAD_FLAG_NEED_PARENT: GstPadFlags = 256;
889pub const GST_PAD_FLAG_NEED_RECONFIGURE: GstPadFlags = 512;
890pub const GST_PAD_FLAG_PENDING_EVENTS: GstPadFlags = 1024;
891pub const GST_PAD_FLAG_FIXED_CAPS: GstPadFlags = 2048;
892pub const GST_PAD_FLAG_PROXY_CAPS: GstPadFlags = 4096;
893pub const GST_PAD_FLAG_PROXY_ALLOCATION: GstPadFlags = 8192;
894pub const GST_PAD_FLAG_PROXY_SCHEDULING: GstPadFlags = 16384;
895pub const GST_PAD_FLAG_ACCEPT_INTERSECT: GstPadFlags = 32768;
896pub const GST_PAD_FLAG_ACCEPT_TEMPLATE: GstPadFlags = 65536;
897pub const GST_PAD_FLAG_LAST: GstPadFlags = 1048576;
898
899pub type GstPadLinkCheck = c_uint;
900pub const GST_PAD_LINK_CHECK_NOTHING: GstPadLinkCheck = 0;
901pub const GST_PAD_LINK_CHECK_HIERARCHY: GstPadLinkCheck = 1;
902pub const GST_PAD_LINK_CHECK_TEMPLATE_CAPS: GstPadLinkCheck = 2;
903pub const GST_PAD_LINK_CHECK_CAPS: GstPadLinkCheck = 4;
904pub const GST_PAD_LINK_CHECK_NO_RECONFIGURE: GstPadLinkCheck = 8;
905pub const GST_PAD_LINK_CHECK_DEFAULT: GstPadLinkCheck = 5;
906
907pub type GstPadProbeType = c_uint;
908pub const GST_PAD_PROBE_TYPE_INVALID: GstPadProbeType = 0;
909pub const GST_PAD_PROBE_TYPE_IDLE: GstPadProbeType = 1;
910pub const GST_PAD_PROBE_TYPE_BLOCK: GstPadProbeType = 2;
911pub const GST_PAD_PROBE_TYPE_BUFFER: GstPadProbeType = 16;
912pub const GST_PAD_PROBE_TYPE_BUFFER_LIST: GstPadProbeType = 32;
913pub const GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM: GstPadProbeType = 64;
914pub const GST_PAD_PROBE_TYPE_EVENT_UPSTREAM: GstPadProbeType = 128;
915pub const GST_PAD_PROBE_TYPE_EVENT_FLUSH: GstPadProbeType = 256;
916pub const GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM: GstPadProbeType = 512;
917pub const GST_PAD_PROBE_TYPE_QUERY_UPSTREAM: GstPadProbeType = 1024;
918pub const GST_PAD_PROBE_TYPE_PUSH: GstPadProbeType = 4096;
919pub const GST_PAD_PROBE_TYPE_PULL: GstPadProbeType = 8192;
920pub const GST_PAD_PROBE_TYPE_BLOCKING: GstPadProbeType = 3;
921pub const GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM: GstPadProbeType = 112;
922pub const GST_PAD_PROBE_TYPE_DATA_UPSTREAM: GstPadProbeType = 128;
923pub const GST_PAD_PROBE_TYPE_DATA_BOTH: GstPadProbeType = 240;
924pub const GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM: GstPadProbeType = 114;
925pub const GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM: GstPadProbeType = 130;
926pub const GST_PAD_PROBE_TYPE_EVENT_BOTH: GstPadProbeType = 192;
927pub const GST_PAD_PROBE_TYPE_QUERY_BOTH: GstPadProbeType = 1536;
928pub const GST_PAD_PROBE_TYPE_ALL_BOTH: GstPadProbeType = 1776;
929pub const GST_PAD_PROBE_TYPE_SCHEDULING: GstPadProbeType = 12288;
930
931pub type GstPadTemplateFlags = c_uint;
932pub const GST_PAD_TEMPLATE_FLAG_LAST: GstPadTemplateFlags = 256;
933
934pub type GstParseFlags = c_uint;
935pub const GST_PARSE_FLAG_NONE: GstParseFlags = 0;
936pub const GST_PARSE_FLAG_FATAL_ERRORS: GstParseFlags = 1;
937pub const GST_PARSE_FLAG_NO_SINGLE_ELEMENT_BINS: GstParseFlags = 2;
938pub const GST_PARSE_FLAG_PLACE_IN_BIN: GstParseFlags = 4;
939#[cfg(feature = "v1_30")]
940#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
941pub const GST_PARSE_FLAG_NO_UNTRUSTED: GstParseFlags = 8;
942
943pub type GstPipelineFlags = c_uint;
944pub const GST_PIPELINE_FLAG_FIXED_CLOCK: GstPipelineFlags = 524288;
945pub const GST_PIPELINE_FLAG_LAST: GstPipelineFlags = 8388608;
946
947pub type GstPluginAPIFlags = c_uint;
948pub const GST_PLUGIN_API_FLAG_IGNORE_ENUM_MEMBERS: GstPluginAPIFlags = 1;
949
950pub type GstPluginDependencyFlags = c_uint;
951pub const GST_PLUGIN_DEPENDENCY_FLAG_NONE: GstPluginDependencyFlags = 0;
952pub const GST_PLUGIN_DEPENDENCY_FLAG_RECURSE: GstPluginDependencyFlags = 1;
953pub const GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_DEFAULT_ONLY: GstPluginDependencyFlags = 2;
954pub const GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_SUFFIX: GstPluginDependencyFlags = 4;
955pub const GST_PLUGIN_DEPENDENCY_FLAG_FILE_NAME_IS_PREFIX: GstPluginDependencyFlags = 8;
956pub const GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE: GstPluginDependencyFlags = 16;
957
958pub type GstPluginFlags = c_uint;
959pub const GST_PLUGIN_FLAG_CACHED: GstPluginFlags = 16;
960pub const GST_PLUGIN_FLAG_BLACKLISTED: GstPluginFlags = 32;
961#[cfg(feature = "v1_30")]
962#[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
963pub const GST_PLUGIN_FLAG_STATIC_FEATURES: GstPluginFlags = 64;
964
965pub type GstQueryTypeFlags = c_uint;
966pub const GST_QUERY_TYPE_UPSTREAM: GstQueryTypeFlags = 1;
967pub const GST_QUERY_TYPE_DOWNSTREAM: GstQueryTypeFlags = 2;
968pub const GST_QUERY_TYPE_SERIALIZED: GstQueryTypeFlags = 4;
969
970pub type GstSchedulingFlags = c_uint;
971pub const GST_SCHEDULING_FLAG_SEEKABLE: GstSchedulingFlags = 1;
972pub const GST_SCHEDULING_FLAG_SEQUENTIAL: GstSchedulingFlags = 2;
973pub const GST_SCHEDULING_FLAG_BANDWIDTH_LIMITED: GstSchedulingFlags = 4;
974
975pub type GstSeekFlags = c_uint;
976pub const GST_SEEK_FLAG_NONE: GstSeekFlags = 0;
977pub const GST_SEEK_FLAG_FLUSH: GstSeekFlags = 1;
978pub const GST_SEEK_FLAG_ACCURATE: GstSeekFlags = 2;
979pub const GST_SEEK_FLAG_KEY_UNIT: GstSeekFlags = 4;
980pub const GST_SEEK_FLAG_SEGMENT: GstSeekFlags = 8;
981pub const GST_SEEK_FLAG_TRICKMODE: GstSeekFlags = 16;
982pub const GST_SEEK_FLAG_SKIP: GstSeekFlags = 16;
983pub const GST_SEEK_FLAG_SNAP_BEFORE: GstSeekFlags = 32;
984pub const GST_SEEK_FLAG_SNAP_AFTER: GstSeekFlags = 64;
985pub const GST_SEEK_FLAG_SNAP_NEAREST: GstSeekFlags = 96;
986pub const GST_SEEK_FLAG_TRICKMODE_KEY_UNITS: GstSeekFlags = 128;
987pub const GST_SEEK_FLAG_TRICKMODE_NO_AUDIO: GstSeekFlags = 256;
988pub const GST_SEEK_FLAG_TRICKMODE_FORWARD_PREDICTED: GstSeekFlags = 512;
989pub const GST_SEEK_FLAG_INSTANT_RATE_CHANGE: GstSeekFlags = 1024;
990
991pub type GstSegmentFlags = c_uint;
992pub const GST_SEGMENT_FLAG_NONE: GstSegmentFlags = 0;
993pub const GST_SEGMENT_FLAG_RESET: GstSegmentFlags = 1;
994pub const GST_SEGMENT_FLAG_TRICKMODE: GstSegmentFlags = 16;
995pub const GST_SEGMENT_FLAG_SKIP: GstSegmentFlags = 16;
996pub const GST_SEGMENT_FLAG_SEGMENT: GstSegmentFlags = 8;
997pub const GST_SEGMENT_FLAG_TRICKMODE_KEY_UNITS: GstSegmentFlags = 128;
998pub const GST_SEGMENT_FLAG_TRICKMODE_FORWARD_PREDICTED: GstSegmentFlags = 512;
999pub const GST_SEGMENT_FLAG_TRICKMODE_NO_AUDIO: GstSegmentFlags = 256;
1000
1001pub type GstSerializeFlags = c_uint;
1002pub const GST_SERIALIZE_FLAG_NONE: GstSerializeFlags = 0;
1003pub const GST_SERIALIZE_FLAG_BACKWARD_COMPAT: GstSerializeFlags = 1;
1004#[cfg(feature = "v1_24")]
1005#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
1006pub const GST_SERIALIZE_FLAG_STRICT: GstSerializeFlags = 2;
1007
1008pub type GstStackTraceFlags = c_uint;
1009pub const GST_STACK_TRACE_SHOW_NONE: GstStackTraceFlags = 0;
1010pub const GST_STACK_TRACE_SHOW_FULL: GstStackTraceFlags = 1;
1011
1012pub type GstStreamFlags = c_uint;
1013pub const GST_STREAM_FLAG_NONE: GstStreamFlags = 0;
1014pub const GST_STREAM_FLAG_SPARSE: GstStreamFlags = 1;
1015pub const GST_STREAM_FLAG_SELECT: GstStreamFlags = 2;
1016pub const GST_STREAM_FLAG_UNSELECT: GstStreamFlags = 4;
1017
1018pub type GstStreamType = c_uint;
1019pub const GST_STREAM_TYPE_UNKNOWN: GstStreamType = 1;
1020pub const GST_STREAM_TYPE_AUDIO: GstStreamType = 2;
1021pub const GST_STREAM_TYPE_VIDEO: GstStreamType = 4;
1022pub const GST_STREAM_TYPE_CONTAINER: GstStreamType = 8;
1023pub const GST_STREAM_TYPE_TEXT: GstStreamType = 16;
1024#[cfg(feature = "v1_28")]
1025#[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
1026pub const GST_STREAM_TYPE_METADATA: GstStreamType = 32;
1027
1028pub type GstTracerValueFlags = c_uint;
1029pub const GST_TRACER_VALUE_FLAGS_NONE: GstTracerValueFlags = 0;
1030pub const GST_TRACER_VALUE_FLAGS_OPTIONAL: GstTracerValueFlags = 1;
1031pub const GST_TRACER_VALUE_FLAGS_AGGREGATED: GstTracerValueFlags = 2;
1032
1033#[derive(Copy, Clone)]
1035#[repr(C)]
1036pub union GstControlBinding_ABI {
1037 pub abi: GstControlBinding_ABI_abi,
1038 pub _gst_reserved: [gpointer; 4],
1039}
1040
1041impl ::std::fmt::Debug for GstControlBinding_ABI {
1042 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1043 f.debug_struct(&format!("GstControlBinding_ABI @ {self:p}"))
1044 .field("abi", unsafe { &self.abi })
1045 .finish()
1046 }
1047}
1048
1049#[derive(Copy, Clone)]
1050#[repr(C)]
1051pub union GstPadProbeInfo_ABI {
1052 pub _gst_reserved: [gpointer; 4],
1053 pub abi: GstPadProbeInfo_ABI_abi,
1054}
1055
1056impl ::std::fmt::Debug for GstPadProbeInfo_ABI {
1057 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1058 f.debug_struct(&format!("GstPadProbeInfo_ABI @ {self:p}"))
1059 .field("_gst_reserved", unsafe { &self._gst_reserved })
1060 .field("abi", unsafe { &self.abi })
1061 .finish()
1062 }
1063}
1064
1065#[derive(Copy, Clone)]
1066#[repr(C)]
1067pub union GstPadTemplate_ABI {
1068 pub _gst_reserved: [gpointer; 4],
1069 pub abi: GstPadTemplate_ABI_abi,
1070}
1071
1072impl ::std::fmt::Debug for GstPadTemplate_ABI {
1073 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1074 f.debug_struct(&format!("GstPadTemplate_ABI @ {self:p}"))
1075 .field("_gst_reserved", unsafe { &self._gst_reserved })
1076 .field("abi", unsafe { &self.abi })
1077 .finish()
1078 }
1079}
1080
1081#[derive(Copy, Clone)]
1082#[repr(C)]
1083pub union GstPad_ABI {
1084 pub _gst_reserved: [gpointer; 4],
1085 pub abi: GstPad_ABI_abi,
1086}
1087
1088impl ::std::fmt::Debug for GstPad_ABI {
1089 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1090 f.debug_struct(&format!("GstPad_ABI @ {self:p}"))
1091 .field("_gst_reserved", unsafe { &self._gst_reserved })
1092 .field("abi", unsafe { &self.abi })
1093 .finish()
1094 }
1095}
1096
1097#[derive(Copy, Clone)]
1098#[repr(C)]
1099pub union GstTraceValue {
1100 pub v_boolean: gboolean,
1101 pub v_int: c_int,
1102 pub v_uint: c_uint,
1103 pub v_int64: i64,
1104 pub v_uint64: u64,
1105 pub v_double: c_double,
1106 pub v_string: *const c_char,
1107 pub v_structure: *mut GstStructure,
1108 pub v_object: *mut gobject::GObject,
1109 pub _gst_reserved: [gpointer; 4],
1110}
1111
1112impl ::std::fmt::Debug for GstTraceValue {
1113 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1114 f.debug_struct(&format!("GstTraceValue @ {self:p}"))
1115 .field("v_boolean", unsafe { &self.v_boolean })
1116 .field("v_int", unsafe { &self.v_int })
1117 .field("v_uint", unsafe { &self.v_uint })
1118 .field("v_int64", unsafe { &self.v_int64 })
1119 .field("v_uint64", unsafe { &self.v_uint64 })
1120 .field("v_double", unsafe { &self.v_double })
1121 .field("v_string", unsafe { &self.v_string })
1122 .field("v_structure", unsafe { &self.v_structure })
1123 .field("v_object", unsafe { &self.v_object })
1124 .finish()
1125 }
1126}
1127
1128pub type GstAllocationMetaParamsAggregator = Option<
1130 unsafe extern "C" fn(
1131 *mut *mut GstStructure,
1132 *const GstStructure,
1133 *const GstStructure,
1134 ) -> gboolean,
1135>;
1136pub type GstBufferForeachMetaFunc =
1137 Option<unsafe extern "C" fn(*mut GstBuffer, *mut *mut GstMeta, gpointer) -> gboolean>;
1138pub type GstBufferListFunc =
1139 Option<unsafe extern "C" fn(*mut *mut GstBuffer, c_uint, gpointer) -> gboolean>;
1140pub type GstBusFunc =
1141 Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage, gpointer) -> gboolean>;
1142pub type GstBusSyncHandler =
1143 Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage, gpointer) -> GstBusSyncReply>;
1144pub type GstCallAsyncFunc = Option<unsafe extern "C" fn(gpointer)>;
1145pub type GstCapsFilterMapFunc =
1146 Option<unsafe extern "C" fn(*mut GstCapsFeatures, *mut GstStructure, gpointer) -> gboolean>;
1147pub type GstCapsForeachFunc =
1148 Option<unsafe extern "C" fn(*mut GstCapsFeatures, *mut GstStructure, gpointer) -> gboolean>;
1149pub type GstCapsMapFunc =
1150 Option<unsafe extern "C" fn(*mut GstCapsFeatures, *mut GstStructure, gpointer) -> gboolean>;
1151pub type GstClockCallback =
1152 Option<unsafe extern "C" fn(*mut GstClock, GstClockTime, GstClockID, gpointer) -> gboolean>;
1153pub type GstControlBindingConvert =
1154 Option<unsafe extern "C" fn(*mut GstControlBinding, c_double, *mut gobject::GValue)>;
1155pub type GstControlSourceGetValue =
1156 Option<unsafe extern "C" fn(*mut GstControlSource, GstClockTime, *mut c_double) -> gboolean>;
1157pub type GstControlSourceGetValueArray = Option<
1158 unsafe extern "C" fn(
1159 *mut GstControlSource,
1160 GstClockTime,
1161 GstClockTime,
1162 c_uint,
1163 *mut c_double,
1164 ) -> gboolean,
1165>;
1166pub type GstCustomMetaTransformFunction = Option<
1167 unsafe extern "C" fn(
1168 *mut GstBuffer,
1169 *mut GstCustomMeta,
1170 *mut GstBuffer,
1171 glib::GQuark,
1172 gpointer,
1173 gpointer,
1174 ) -> gboolean,
1175>;
1176pub type GstDebugFuncPtr = Option<unsafe extern "C" fn()>;
1177pub type GstElementCallAsyncFunc = Option<unsafe extern "C" fn(*mut GstElement, gpointer)>;
1178pub type GstElementForeachPadFunc =
1179 Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad, gpointer) -> gboolean>;
1180pub type GstIteratorCopyFunction =
1181 Option<unsafe extern "C" fn(*const GstIterator, *mut GstIterator)>;
1182pub type GstIteratorFoldFunction = Option<
1183 unsafe extern "C" fn(*const gobject::GValue, *mut gobject::GValue, gpointer) -> gboolean,
1184>;
1185pub type GstIteratorForeachFunction =
1186 Option<unsafe extern "C" fn(*const gobject::GValue, gpointer)>;
1187pub type GstIteratorFreeFunction = Option<unsafe extern "C" fn(*mut GstIterator)>;
1188pub type GstIteratorItemFunction =
1189 Option<unsafe extern "C" fn(*mut GstIterator, *const gobject::GValue) -> GstIteratorItem>;
1190pub type GstIteratorNextFunction =
1191 Option<unsafe extern "C" fn(*mut GstIterator, *mut gobject::GValue) -> GstIteratorResult>;
1192pub type GstIteratorResyncFunction = Option<unsafe extern "C" fn(*mut GstIterator)>;
1193pub type GstLogFunction = Option<
1194 unsafe extern "C" fn(
1195 *mut GstDebugCategory,
1196 GstDebugLevel,
1197 *const c_char,
1198 *const c_char,
1199 c_int,
1200 *mut gobject::GObject,
1201 *mut GstDebugMessage,
1202 gpointer,
1203 ),
1204>;
1205pub type GstMemoryCopyFunction =
1206 Option<unsafe extern "C" fn(*mut GstMemory, ssize_t, ssize_t) -> *mut GstMemory>;
1207pub type GstMemoryIsSpanFunction =
1208 Option<unsafe extern "C" fn(*mut GstMemory, *mut GstMemory, *mut size_t) -> gboolean>;
1209pub type GstMemoryMapFullFunction =
1210 Option<unsafe extern "C" fn(*mut GstMemory, *mut GstMapInfo, size_t) -> gpointer>;
1211pub type GstMemoryMapFunction =
1212 Option<unsafe extern "C" fn(*mut GstMemory, size_t, GstMapFlags) -> gpointer>;
1213pub type GstMemoryShareFunction =
1214 Option<unsafe extern "C" fn(*mut GstMemory, ssize_t, ssize_t) -> *mut GstMemory>;
1215pub type GstMemoryUnmapFullFunction = Option<unsafe extern "C" fn(*mut GstMemory, *mut GstMapInfo)>;
1216pub type GstMemoryUnmapFunction = Option<unsafe extern "C" fn(*mut GstMemory)>;
1217pub type GstMetaClearFunction = Option<unsafe extern "C" fn(*mut GstBuffer, *mut GstMeta)>;
1218pub type GstMetaDeserializeFunction = Option<
1219 unsafe extern "C" fn(*const GstMetaInfo, *mut GstBuffer, *const u8, size_t, u8) -> *mut GstMeta,
1220>;
1221pub type GstMetaFreeFunction = Option<unsafe extern "C" fn(*mut GstMeta, *mut GstBuffer)>;
1222pub type GstMetaInitFunction =
1223 Option<unsafe extern "C" fn(*mut GstMeta, gpointer, *mut GstBuffer) -> gboolean>;
1224pub type GstMetaSerializeFunction =
1225 Option<unsafe extern "C" fn(*const GstMeta, *mut GstByteArrayInterface, *mut u8) -> gboolean>;
1226pub type GstMetaTransformFunction = Option<
1227 unsafe extern "C" fn(
1228 *mut GstBuffer,
1229 *mut GstMeta,
1230 *mut GstBuffer,
1231 glib::GQuark,
1232 gpointer,
1233 ) -> gboolean,
1234>;
1235pub type GstMiniObjectCopyFunction =
1236 Option<unsafe extern "C" fn(*const GstMiniObject) -> *mut GstMiniObject>;
1237pub type GstMiniObjectDisposeFunction =
1238 Option<unsafe extern "C" fn(*mut GstMiniObject) -> gboolean>;
1239pub type GstMiniObjectFreeFunction = Option<unsafe extern "C" fn(*mut GstMiniObject)>;
1240pub type GstMiniObjectNotify = Option<unsafe extern "C" fn(gpointer, *mut GstMiniObject)>;
1241pub type GstObjectCallAsyncFunc = Option<unsafe extern "C" fn(*mut GstObject, gpointer)>;
1242pub type GstPadActivateFunction =
1243 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject) -> gboolean>;
1244pub type GstPadActivateModeFunction =
1245 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, GstPadMode, gboolean) -> gboolean>;
1246pub type GstPadChainFunction =
1247 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstBuffer) -> GstFlowReturn>;
1248pub type GstPadChainListFunction =
1249 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstBufferList) -> GstFlowReturn>;
1250pub type GstPadEventFullFunction =
1251 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstEvent) -> GstFlowReturn>;
1252pub type GstPadEventFunction =
1253 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstEvent) -> gboolean>;
1254pub type GstPadForwardFunction = Option<unsafe extern "C" fn(*mut GstPad, gpointer) -> gboolean>;
1255pub type GstPadGetRangeFunction = Option<
1256 unsafe extern "C" fn(
1257 *mut GstPad,
1258 *mut GstObject,
1259 u64,
1260 c_uint,
1261 *mut *mut GstBuffer,
1262 ) -> GstFlowReturn,
1263>;
1264pub type GstPadIterIntLinkFunction =
1265 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject) -> *mut GstIterator>;
1266pub type GstPadLinkFunction =
1267 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstPad) -> GstPadLinkReturn>;
1268pub type GstPadProbeCallback =
1269 Option<unsafe extern "C" fn(*mut GstPad, *mut GstPadProbeInfo, gpointer) -> GstPadProbeReturn>;
1270pub type GstPadQueryFunction =
1271 Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject, *mut GstQuery) -> gboolean>;
1272pub type GstPadStickyEventsForeachFunction =
1273 Option<unsafe extern "C" fn(*mut GstPad, *mut *mut GstEvent, gpointer) -> gboolean>;
1274pub type GstPadUnlinkFunction = Option<unsafe extern "C" fn(*mut GstPad, *mut GstObject)>;
1275pub type GstPluginFeatureFilter =
1276 Option<unsafe extern "C" fn(*mut GstPluginFeature, gpointer) -> gboolean>;
1277pub type GstPluginFilter = Option<unsafe extern "C" fn(*mut GstPlugin, gpointer) -> gboolean>;
1278pub type GstPluginInitFullFunc = Option<unsafe extern "C" fn(*mut GstPlugin, gpointer) -> gboolean>;
1279pub type GstPluginInitFunc = Option<unsafe extern "C" fn(*mut GstPlugin) -> gboolean>;
1280pub type GstPromiseChangeFunc = Option<unsafe extern "C" fn(*mut GstPromise, gpointer)>;
1281pub type GstStructureFilterMapFunc =
1282 Option<unsafe extern "C" fn(glib::GQuark, *mut gobject::GValue, gpointer) -> gboolean>;
1283pub type GstStructureFilterMapIdStrFunc =
1284 Option<unsafe extern "C" fn(*const GstIdStr, *mut gobject::GValue, gpointer) -> gboolean>;
1285pub type GstStructureForeachFunc =
1286 Option<unsafe extern "C" fn(glib::GQuark, *const gobject::GValue, gpointer) -> gboolean>;
1287pub type GstStructureForeachIdStrFunc =
1288 Option<unsafe extern "C" fn(*const GstIdStr, *const gobject::GValue, gpointer) -> gboolean>;
1289pub type GstStructureMapFunc =
1290 Option<unsafe extern "C" fn(glib::GQuark, *mut gobject::GValue, gpointer) -> gboolean>;
1291pub type GstStructureMapIdStrFunc =
1292 Option<unsafe extern "C" fn(*const GstIdStr, *mut gobject::GValue, gpointer) -> gboolean>;
1293pub type GstTagForeachFunc =
1294 Option<unsafe extern "C" fn(*const GstTagList, *const c_char, gpointer)>;
1295pub type GstTagMergeFunc =
1296 Option<unsafe extern "C" fn(*mut gobject::GValue, *const gobject::GValue)>;
1297pub type GstTaskFunction = Option<unsafe extern "C" fn(gpointer)>;
1298pub type GstTaskPoolFunction = Option<unsafe extern "C" fn(*mut c_void)>;
1299pub type GstTaskThreadFunc =
1300 Option<unsafe extern "C" fn(*mut GstTask, *mut glib::GThread, gpointer)>;
1301pub type GstTypeFindFunction = Option<unsafe extern "C" fn(*mut GstTypeFind, gpointer)>;
1302pub type GstValueCompareFunc =
1303 Option<unsafe extern "C" fn(*const gobject::GValue, *const gobject::GValue) -> c_int>;
1304pub type GstValueDeserializeFunc =
1305 Option<unsafe extern "C" fn(*mut gobject::GValue, *const c_char) -> gboolean>;
1306pub type GstValueDeserializeWithPSpecFunc = Option<
1307 unsafe extern "C" fn(*mut gobject::GValue, *const c_char, *mut gobject::GParamSpec) -> gboolean,
1308>;
1309pub type GstValueHashFunc =
1310 Option<unsafe extern "C" fn(*const gobject::GValue, *mut c_uint) -> gboolean>;
1311pub type GstValueSerializeFunc =
1312 Option<unsafe extern "C" fn(*const gobject::GValue) -> *mut c_char>;
1313
1314#[derive(Copy, Clone)]
1316#[repr(C)]
1317pub struct GstAllocationParams {
1318 pub flags: GstMemoryFlags,
1319 pub align: size_t,
1320 pub prefix: size_t,
1321 pub padding: size_t,
1322 pub _gst_reserved: [gpointer; 4],
1323}
1324
1325impl ::std::fmt::Debug for GstAllocationParams {
1326 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1327 f.debug_struct(&format!("GstAllocationParams @ {self:p}"))
1328 .field("flags", &self.flags)
1329 .field("align", &self.align)
1330 .field("prefix", &self.prefix)
1331 .field("padding", &self.padding)
1332 .finish()
1333 }
1334}
1335
1336#[derive(Copy, Clone)]
1337#[repr(C)]
1338pub struct GstAllocatorClass {
1339 pub object_class: GstObjectClass,
1340 pub alloc: Option<
1341 unsafe extern "C" fn(*mut GstAllocator, size_t, *mut GstAllocationParams) -> *mut GstMemory,
1342 >,
1343 pub free: Option<unsafe extern "C" fn(*mut GstAllocator, *mut GstMemory)>,
1344 pub _gst_reserved: [gpointer; 4],
1345}
1346
1347impl ::std::fmt::Debug for GstAllocatorClass {
1348 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1349 f.debug_struct(&format!("GstAllocatorClass @ {self:p}"))
1350 .field("object_class", &self.object_class)
1351 .field("alloc", &self.alloc)
1352 .field("free", &self.free)
1353 .finish()
1354 }
1355}
1356
1357#[repr(C)]
1358#[allow(dead_code)]
1359pub struct _GstAllocatorPrivate {
1360 _data: [u8; 0],
1361 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1362}
1363
1364pub type GstAllocatorPrivate = _GstAllocatorPrivate;
1365
1366#[repr(C)]
1367#[allow(dead_code)]
1368pub struct GstAtomicQueue {
1369 _data: [u8; 0],
1370 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1371}
1372
1373impl ::std::fmt::Debug for GstAtomicQueue {
1374 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1375 f.debug_struct(&format!("GstAtomicQueue @ {self:p}"))
1376 .finish()
1377 }
1378}
1379
1380#[derive(Copy, Clone)]
1381#[repr(C)]
1382pub struct GstBinClass {
1383 pub parent_class: GstElementClass,
1384 pub pool: *mut glib::GThreadPool,
1385 pub element_added: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement)>,
1386 pub element_removed: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement)>,
1387 pub add_element: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement) -> gboolean>,
1388 pub remove_element: Option<unsafe extern "C" fn(*mut GstBin, *mut GstElement) -> gboolean>,
1389 pub handle_message: Option<unsafe extern "C" fn(*mut GstBin, *mut GstMessage)>,
1390 pub do_latency: Option<unsafe extern "C" fn(*mut GstBin) -> gboolean>,
1391 pub deep_element_added: Option<unsafe extern "C" fn(*mut GstBin, *mut GstBin, *mut GstElement)>,
1392 pub deep_element_removed:
1393 Option<unsafe extern "C" fn(*mut GstBin, *mut GstBin, *mut GstElement)>,
1394 pub _gst_reserved: [gpointer; 2],
1395}
1396
1397impl ::std::fmt::Debug for GstBinClass {
1398 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1399 f.debug_struct(&format!("GstBinClass @ {self:p}"))
1400 .field("parent_class", &self.parent_class)
1401 .field("element_added", &self.element_added)
1402 .field("element_removed", &self.element_removed)
1403 .field("add_element", &self.add_element)
1404 .field("remove_element", &self.remove_element)
1405 .field("handle_message", &self.handle_message)
1406 .field("do_latency", &self.do_latency)
1407 .field("deep_element_added", &self.deep_element_added)
1408 .field("deep_element_removed", &self.deep_element_removed)
1409 .finish()
1410 }
1411}
1412
1413#[repr(C)]
1414#[allow(dead_code)]
1415pub struct _GstBinPrivate {
1416 _data: [u8; 0],
1417 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1418}
1419
1420pub type GstBinPrivate = _GstBinPrivate;
1421
1422#[derive(Copy, Clone)]
1423#[repr(C)]
1424pub struct GstBuffer {
1425 pub mini_object: GstMiniObject,
1426 pub pool: *mut GstBufferPool,
1427 pub pts: GstClockTime,
1428 pub dts: GstClockTime,
1429 pub duration: GstClockTime,
1430 pub offset: u64,
1431 pub offset_end: u64,
1432}
1433
1434impl ::std::fmt::Debug for GstBuffer {
1435 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1436 f.debug_struct(&format!("GstBuffer @ {self:p}"))
1437 .field("mini_object", &self.mini_object)
1438 .field("pool", &self.pool)
1439 .field("pts", &self.pts)
1440 .field("dts", &self.dts)
1441 .field("duration", &self.duration)
1442 .field("offset", &self.offset)
1443 .field("offset_end", &self.offset_end)
1444 .finish()
1445 }
1446}
1447
1448#[repr(C)]
1449#[allow(dead_code)]
1450pub struct GstBufferList {
1451 _data: [u8; 0],
1452 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1453}
1454
1455impl ::std::fmt::Debug for GstBufferList {
1456 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1457 f.debug_struct(&format!("GstBufferList @ {self:p}"))
1458 .finish()
1459 }
1460}
1461
1462#[derive(Copy, Clone)]
1463#[repr(C)]
1464pub struct GstBufferPoolAcquireParams {
1465 pub format: GstFormat,
1466 pub start: i64,
1467 pub stop: i64,
1468 pub flags: GstBufferPoolAcquireFlags,
1469 pub _gst_reserved: [gpointer; 4],
1470}
1471
1472impl ::std::fmt::Debug for GstBufferPoolAcquireParams {
1473 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1474 f.debug_struct(&format!("GstBufferPoolAcquireParams @ {self:p}"))
1475 .field("format", &self.format)
1476 .field("start", &self.start)
1477 .field("stop", &self.stop)
1478 .field("flags", &self.flags)
1479 .finish()
1480 }
1481}
1482
1483#[derive(Copy, Clone)]
1484#[repr(C)]
1485pub struct GstBufferPoolClass {
1486 pub object_class: GstObjectClass,
1487 pub get_options: Option<unsafe extern "C" fn(*mut GstBufferPool) -> *mut *const c_char>,
1488 pub set_config: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstStructure) -> gboolean>,
1489 pub start: Option<unsafe extern "C" fn(*mut GstBufferPool) -> gboolean>,
1490 pub stop: Option<unsafe extern "C" fn(*mut GstBufferPool) -> gboolean>,
1491 pub acquire_buffer: Option<
1492 unsafe extern "C" fn(
1493 *mut GstBufferPool,
1494 *mut *mut GstBuffer,
1495 *mut GstBufferPoolAcquireParams,
1496 ) -> GstFlowReturn,
1497 >,
1498 pub alloc_buffer: Option<
1499 unsafe extern "C" fn(
1500 *mut GstBufferPool,
1501 *mut *mut GstBuffer,
1502 *mut GstBufferPoolAcquireParams,
1503 ) -> GstFlowReturn,
1504 >,
1505 pub reset_buffer: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstBuffer)>,
1506 pub release_buffer: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstBuffer)>,
1507 pub free_buffer: Option<unsafe extern "C" fn(*mut GstBufferPool, *mut GstBuffer)>,
1508 pub flush_start: Option<unsafe extern "C" fn(*mut GstBufferPool)>,
1509 pub flush_stop: Option<unsafe extern "C" fn(*mut GstBufferPool)>,
1510 pub _gst_reserved: [gpointer; 2],
1511}
1512
1513impl ::std::fmt::Debug for GstBufferPoolClass {
1514 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1515 f.debug_struct(&format!("GstBufferPoolClass @ {self:p}"))
1516 .field("object_class", &self.object_class)
1517 .field("get_options", &self.get_options)
1518 .field("set_config", &self.set_config)
1519 .field("start", &self.start)
1520 .field("stop", &self.stop)
1521 .field("acquire_buffer", &self.acquire_buffer)
1522 .field("alloc_buffer", &self.alloc_buffer)
1523 .field("reset_buffer", &self.reset_buffer)
1524 .field("release_buffer", &self.release_buffer)
1525 .field("free_buffer", &self.free_buffer)
1526 .field("flush_start", &self.flush_start)
1527 .field("flush_stop", &self.flush_stop)
1528 .finish()
1529 }
1530}
1531
1532#[repr(C)]
1533#[allow(dead_code)]
1534pub struct _GstBufferPoolPrivate {
1535 _data: [u8; 0],
1536 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1537}
1538
1539pub type GstBufferPoolPrivate = _GstBufferPoolPrivate;
1540
1541#[derive(Copy, Clone)]
1542#[repr(C)]
1543pub struct GstBusClass {
1544 pub parent_class: GstObjectClass,
1545 pub message: Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage)>,
1546 pub sync_message: Option<unsafe extern "C" fn(*mut GstBus, *mut GstMessage)>,
1547 pub _gst_reserved: [gpointer; 4],
1548}
1549
1550impl ::std::fmt::Debug for GstBusClass {
1551 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1552 f.debug_struct(&format!("GstBusClass @ {self:p}"))
1553 .field("parent_class", &self.parent_class)
1554 .field("message", &self.message)
1555 .field("sync_message", &self.sync_message)
1556 .finish()
1557 }
1558}
1559
1560#[repr(C)]
1561#[allow(dead_code)]
1562pub struct _GstBusPrivate {
1563 _data: [u8; 0],
1564 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1565}
1566
1567pub type GstBusPrivate = _GstBusPrivate;
1568
1569#[derive(Copy, Clone)]
1570#[repr(C)]
1571pub struct GstByteArrayInterface {
1572 pub data: *mut u8,
1573 pub len: size_t,
1574 pub resize: Option<unsafe extern "C" fn(*mut GstByteArrayInterface, size_t) -> gboolean>,
1575 pub _gst_reserved: [gpointer; 4],
1576}
1577
1578impl ::std::fmt::Debug for GstByteArrayInterface {
1579 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1580 f.debug_struct(&format!("GstByteArrayInterface @ {self:p}"))
1581 .field("data", &self.data)
1582 .field("len", &self.len)
1583 .field("resize", &self.resize)
1584 .finish()
1585 }
1586}
1587
1588#[derive(Copy, Clone)]
1589#[repr(C)]
1590pub struct GstCaps {
1591 pub mini_object: GstMiniObject,
1592}
1593
1594impl ::std::fmt::Debug for GstCaps {
1595 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1596 f.debug_struct(&format!("GstCaps @ {self:p}"))
1597 .field("mini_object", &self.mini_object)
1598 .finish()
1599 }
1600}
1601
1602#[repr(C)]
1603#[allow(dead_code)]
1604pub struct GstCapsFeatures {
1605 _data: [u8; 0],
1606 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1607}
1608
1609impl ::std::fmt::Debug for GstCapsFeatures {
1610 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1611 f.debug_struct(&format!("GstCapsFeatures @ {self:p}"))
1612 .finish()
1613 }
1614}
1615
1616#[derive(Copy, Clone)]
1617#[repr(C)]
1618pub struct GstChildProxyInterface {
1619 pub parent: gobject::GTypeInterface,
1620 pub get_child_by_name:
1621 Option<unsafe extern "C" fn(*mut GstChildProxy, *const c_char) -> *mut gobject::GObject>,
1622 pub get_child_by_index:
1623 Option<unsafe extern "C" fn(*mut GstChildProxy, c_uint) -> *mut gobject::GObject>,
1624 pub get_children_count: Option<unsafe extern "C" fn(*mut GstChildProxy) -> c_uint>,
1625 pub child_added:
1626 Option<unsafe extern "C" fn(*mut GstChildProxy, *mut gobject::GObject, *const c_char)>,
1627 pub child_removed:
1628 Option<unsafe extern "C" fn(*mut GstChildProxy, *mut gobject::GObject, *const c_char)>,
1629 pub _gst_reserved: [gpointer; 4],
1630}
1631
1632impl ::std::fmt::Debug for GstChildProxyInterface {
1633 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1634 f.debug_struct(&format!("GstChildProxyInterface @ {self:p}"))
1635 .field("parent", &self.parent)
1636 .field("get_child_by_name", &self.get_child_by_name)
1637 .field("get_child_by_index", &self.get_child_by_index)
1638 .field("get_children_count", &self.get_children_count)
1639 .field("child_added", &self.child_added)
1640 .field("child_removed", &self.child_removed)
1641 .finish()
1642 }
1643}
1644
1645#[derive(Copy, Clone)]
1646#[repr(C)]
1647pub struct GstClockClass {
1648 pub parent_class: GstObjectClass,
1649 pub change_resolution:
1650 Option<unsafe extern "C" fn(*mut GstClock, GstClockTime, GstClockTime) -> GstClockTime>,
1651 pub get_resolution: Option<unsafe extern "C" fn(*mut GstClock) -> GstClockTime>,
1652 pub get_internal_time: Option<unsafe extern "C" fn(*mut GstClock) -> GstClockTime>,
1653 pub wait: Option<
1654 unsafe extern "C" fn(
1655 *mut GstClock,
1656 *mut GstClockEntry,
1657 *mut GstClockTimeDiff,
1658 ) -> GstClockReturn,
1659 >,
1660 pub wait_async:
1661 Option<unsafe extern "C" fn(*mut GstClock, *mut GstClockEntry) -> GstClockReturn>,
1662 pub unschedule: Option<unsafe extern "C" fn(*mut GstClock, *mut GstClockEntry)>,
1663 pub _gst_reserved: [gpointer; 4],
1664}
1665
1666impl ::std::fmt::Debug for GstClockClass {
1667 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1668 f.debug_struct(&format!("GstClockClass @ {self:p}"))
1669 .field("parent_class", &self.parent_class)
1670 .field("change_resolution", &self.change_resolution)
1671 .field("get_resolution", &self.get_resolution)
1672 .field("get_internal_time", &self.get_internal_time)
1673 .field("wait", &self.wait)
1674 .field("wait_async", &self.wait_async)
1675 .field("unschedule", &self.unschedule)
1676 .finish()
1677 }
1678}
1679
1680#[derive(Copy, Clone)]
1681#[repr(C)]
1682pub struct GstClockEntry {
1683 pub refcount: c_int,
1684 pub clock: *mut GstClock,
1685 pub type_: GstClockEntryType,
1686 pub time: GstClockTime,
1687 pub interval: GstClockTime,
1688 pub status: GstClockReturn,
1689 pub func: GstClockCallback,
1690 pub user_data: gpointer,
1691 pub destroy_data: glib::GDestroyNotify,
1692 pub unscheduled: gboolean,
1693 pub woken_up: gboolean,
1694 pub _gst_reserved: [gpointer; 4],
1695}
1696
1697impl ::std::fmt::Debug for GstClockEntry {
1698 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1699 f.debug_struct(&format!("GstClockEntry @ {self:p}"))
1700 .field("refcount", &self.refcount)
1701 .finish()
1702 }
1703}
1704
1705#[repr(C)]
1706#[allow(dead_code)]
1707pub struct _GstClockPrivate {
1708 _data: [u8; 0],
1709 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1710}
1711
1712pub type GstClockPrivate = _GstClockPrivate;
1713
1714#[repr(C)]
1715#[allow(dead_code)]
1716pub struct GstContext {
1717 _data: [u8; 0],
1718 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1719}
1720
1721impl ::std::fmt::Debug for GstContext {
1722 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1723 f.debug_struct(&format!("GstContext @ {self:p}")).finish()
1724 }
1725}
1726
1727#[derive(Copy, Clone)]
1728#[repr(C)]
1729pub struct GstControlBindingClass {
1730 pub parent_class: GstObjectClass,
1731 pub sync_values: Option<
1732 unsafe extern "C" fn(
1733 *mut GstControlBinding,
1734 *mut GstObject,
1735 GstClockTime,
1736 GstClockTime,
1737 ) -> gboolean,
1738 >,
1739 pub get_value:
1740 Option<unsafe extern "C" fn(*mut GstControlBinding, GstClockTime) -> *mut gobject::GValue>,
1741 pub get_value_array: Option<
1742 unsafe extern "C" fn(
1743 *mut GstControlBinding,
1744 GstClockTime,
1745 GstClockTime,
1746 c_uint,
1747 gpointer,
1748 ) -> gboolean,
1749 >,
1750 pub get_g_value_array: Option<
1751 unsafe extern "C" fn(
1752 *mut GstControlBinding,
1753 GstClockTime,
1754 GstClockTime,
1755 c_uint,
1756 *mut gobject::GValue,
1757 ) -> gboolean,
1758 >,
1759 pub _gst_reserved: [gpointer; 4],
1760}
1761
1762impl ::std::fmt::Debug for GstControlBindingClass {
1763 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1764 f.debug_struct(&format!("GstControlBindingClass @ {self:p}"))
1765 .field("parent_class", &self.parent_class)
1766 .field("sync_values", &self.sync_values)
1767 .field("get_value", &self.get_value)
1768 .field("get_value_array", &self.get_value_array)
1769 .field("get_g_value_array", &self.get_g_value_array)
1770 .finish()
1771 }
1772}
1773
1774#[repr(C)]
1775#[allow(dead_code)]
1776pub struct _GstControlBindingPrivate {
1777 _data: [u8; 0],
1778 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1779}
1780
1781pub type GstControlBindingPrivate = _GstControlBindingPrivate;
1782
1783#[derive(Copy, Clone)]
1784#[repr(C)]
1785pub struct GstControlBinding_ABI_abi {
1786 pub priv_: *mut GstControlBindingPrivate,
1787}
1788
1789impl ::std::fmt::Debug for GstControlBinding_ABI_abi {
1790 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1791 f.debug_struct(&format!("GstControlBinding_ABI_abi @ {self:p}"))
1792 .finish()
1793 }
1794}
1795
1796#[derive(Copy, Clone)]
1797#[repr(C)]
1798pub struct GstControlSourceClass {
1799 pub parent_class: GstObjectClass,
1800 pub _gst_reserved: [gpointer; 4],
1801}
1802
1803impl ::std::fmt::Debug for GstControlSourceClass {
1804 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1805 f.debug_struct(&format!("GstControlSourceClass @ {self:p}"))
1806 .field("parent_class", &self.parent_class)
1807 .finish()
1808 }
1809}
1810
1811#[derive(Copy, Clone)]
1812#[repr(C)]
1813pub struct GstCustomMeta {
1814 pub meta: GstMeta,
1815 pub structure: *mut GstStructure,
1816}
1817
1818impl ::std::fmt::Debug for GstCustomMeta {
1819 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1820 f.debug_struct(&format!("GstCustomMeta @ {self:p}"))
1821 .field("meta", &self.meta)
1822 .field("structure", &self.structure)
1823 .finish()
1824 }
1825}
1826
1827#[repr(C)]
1828#[allow(dead_code)]
1829pub struct GstDateTime {
1830 _data: [u8; 0],
1831 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1832}
1833
1834impl ::std::fmt::Debug for GstDateTime {
1835 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1836 f.debug_struct(&format!("GstDateTime @ {self:p}")).finish()
1837 }
1838}
1839
1840#[derive(Copy, Clone)]
1841#[repr(C)]
1842pub struct GstDebugCategory {
1843 pub threshold: c_int,
1844 pub color: c_uint,
1845 pub name: *const c_char,
1846 pub description: *const c_char,
1847}
1848
1849impl ::std::fmt::Debug for GstDebugCategory {
1850 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1851 f.debug_struct(&format!("GstDebugCategory @ {self:p}"))
1852 .finish()
1853 }
1854}
1855
1856#[repr(C)]
1857#[allow(dead_code)]
1858pub struct _GstDebugMessage {
1859 _data: [u8; 0],
1860 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1861}
1862
1863pub type GstDebugMessage = _GstDebugMessage;
1864
1865#[derive(Copy, Clone)]
1866#[repr(C)]
1867pub struct GstDeviceClass {
1868 pub parent_class: GstObjectClass,
1869 pub create_element:
1870 Option<unsafe extern "C" fn(*mut GstDevice, *const c_char) -> *mut GstElement>,
1871 pub reconfigure_element:
1872 Option<unsafe extern "C" fn(*mut GstDevice, *mut GstElement) -> gboolean>,
1873 pub _gst_reserved: [gpointer; 4],
1874}
1875
1876impl ::std::fmt::Debug for GstDeviceClass {
1877 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1878 f.debug_struct(&format!("GstDeviceClass @ {self:p}"))
1879 .field("parent_class", &self.parent_class)
1880 .field("create_element", &self.create_element)
1881 .field("reconfigure_element", &self.reconfigure_element)
1882 .finish()
1883 }
1884}
1885
1886#[derive(Copy, Clone)]
1887#[repr(C)]
1888pub struct GstDeviceMonitorClass {
1889 pub parent_class: GstObjectClass,
1890 pub _gst_reserved: [gpointer; 4],
1891}
1892
1893impl ::std::fmt::Debug for GstDeviceMonitorClass {
1894 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1895 f.debug_struct(&format!("GstDeviceMonitorClass @ {self:p}"))
1896 .field("parent_class", &self.parent_class)
1897 .finish()
1898 }
1899}
1900
1901#[repr(C)]
1902#[allow(dead_code)]
1903pub struct _GstDeviceMonitorPrivate {
1904 _data: [u8; 0],
1905 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1906}
1907
1908pub type GstDeviceMonitorPrivate = _GstDeviceMonitorPrivate;
1909
1910#[repr(C)]
1911#[allow(dead_code)]
1912pub struct _GstDevicePrivate {
1913 _data: [u8; 0],
1914 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1915}
1916
1917pub type GstDevicePrivate = _GstDevicePrivate;
1918
1919#[derive(Copy, Clone)]
1920#[repr(C)]
1921pub struct GstDeviceProviderClass {
1922 pub parent_class: GstObjectClass,
1923 pub factory: *mut GstDeviceProviderFactory,
1924 pub probe: Option<unsafe extern "C" fn(*mut GstDeviceProvider) -> *mut glib::GList>,
1925 pub start: Option<unsafe extern "C" fn(*mut GstDeviceProvider) -> gboolean>,
1926 pub stop: Option<unsafe extern "C" fn(*mut GstDeviceProvider)>,
1927 pub metadata: gpointer,
1928 pub _gst_reserved: [gpointer; 4],
1929}
1930
1931impl ::std::fmt::Debug for GstDeviceProviderClass {
1932 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
1933 f.debug_struct(&format!("GstDeviceProviderClass @ {self:p}"))
1934 .field("parent_class", &self.parent_class)
1935 .field("factory", &self.factory)
1936 .field("probe", &self.probe)
1937 .field("start", &self.start)
1938 .field("stop", &self.stop)
1939 .finish()
1940 }
1941}
1942
1943#[repr(C)]
1944#[allow(dead_code)]
1945pub struct _GstDeviceProviderFactoryClass {
1946 _data: [u8; 0],
1947 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1948}
1949
1950pub type GstDeviceProviderFactoryClass = _GstDeviceProviderFactoryClass;
1951
1952#[repr(C)]
1953#[allow(dead_code)]
1954pub struct _GstDeviceProviderPrivate {
1955 _data: [u8; 0],
1956 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1957}
1958
1959pub type GstDeviceProviderPrivate = _GstDeviceProviderPrivate;
1960
1961#[repr(C)]
1962#[allow(dead_code)]
1963pub struct _GstDynamicTypeFactoryClass {
1964 _data: [u8; 0],
1965 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
1966}
1967
1968pub type GstDynamicTypeFactoryClass = _GstDynamicTypeFactoryClass;
1969
1970#[derive(Copy, Clone)]
1971#[repr(C)]
1972pub struct GstElementClass {
1973 pub parent_class: GstObjectClass,
1974 pub metadata: gpointer,
1975 pub elementfactory: *mut GstElementFactory,
1976 pub padtemplates: *mut glib::GList,
1977 pub numpadtemplates: c_int,
1978 pub pad_templ_cookie: u32,
1979 pub pad_added: Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad)>,
1980 pub pad_removed: Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad)>,
1981 pub no_more_pads: Option<unsafe extern "C" fn(*mut GstElement)>,
1982 pub request_new_pad: Option<
1983 unsafe extern "C" fn(
1984 *mut GstElement,
1985 *mut GstPadTemplate,
1986 *const c_char,
1987 *const GstCaps,
1988 ) -> *mut GstPad,
1989 >,
1990 pub release_pad: Option<unsafe extern "C" fn(*mut GstElement, *mut GstPad)>,
1991 pub get_state: Option<
1992 unsafe extern "C" fn(
1993 *mut GstElement,
1994 *mut GstState,
1995 *mut GstState,
1996 GstClockTime,
1997 ) -> GstStateChangeReturn,
1998 >,
1999 pub set_state: Option<unsafe extern "C" fn(*mut GstElement, GstState) -> GstStateChangeReturn>,
2000 pub change_state:
2001 Option<unsafe extern "C" fn(*mut GstElement, GstStateChange) -> GstStateChangeReturn>,
2002 pub state_changed: Option<unsafe extern "C" fn(*mut GstElement, GstState, GstState, GstState)>,
2003 pub set_bus: Option<unsafe extern "C" fn(*mut GstElement, *mut GstBus)>,
2004 pub provide_clock: Option<unsafe extern "C" fn(*mut GstElement) -> *mut GstClock>,
2005 pub set_clock: Option<unsafe extern "C" fn(*mut GstElement, *mut GstClock) -> gboolean>,
2006 pub send_event: Option<unsafe extern "C" fn(*mut GstElement, *mut GstEvent) -> gboolean>,
2007 pub query: Option<unsafe extern "C" fn(*mut GstElement, *mut GstQuery) -> gboolean>,
2008 pub post_message: Option<unsafe extern "C" fn(*mut GstElement, *mut GstMessage) -> gboolean>,
2009 pub set_context: Option<unsafe extern "C" fn(*mut GstElement, *mut GstContext)>,
2010 pub _gst_reserved: [gpointer; 18],
2011}
2012
2013impl ::std::fmt::Debug for GstElementClass {
2014 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2015 f.debug_struct(&format!("GstElementClass @ {self:p}"))
2016 .field("parent_class", &self.parent_class)
2017 .field("metadata", &self.metadata)
2018 .field("elementfactory", &self.elementfactory)
2019 .field("padtemplates", &self.padtemplates)
2020 .field("numpadtemplates", &self.numpadtemplates)
2021 .field("pad_templ_cookie", &self.pad_templ_cookie)
2022 .field("pad_added", &self.pad_added)
2023 .field("pad_removed", &self.pad_removed)
2024 .field("no_more_pads", &self.no_more_pads)
2025 .field("request_new_pad", &self.request_new_pad)
2026 .field("release_pad", &self.release_pad)
2027 .field("get_state", &self.get_state)
2028 .field("set_state", &self.set_state)
2029 .field("change_state", &self.change_state)
2030 .field("state_changed", &self.state_changed)
2031 .field("set_bus", &self.set_bus)
2032 .field("provide_clock", &self.provide_clock)
2033 .field("set_clock", &self.set_clock)
2034 .field("send_event", &self.send_event)
2035 .field("query", &self.query)
2036 .field("post_message", &self.post_message)
2037 .field("set_context", &self.set_context)
2038 .finish()
2039 }
2040}
2041
2042#[repr(C)]
2043#[allow(dead_code)]
2044pub struct _GstElementFactoryClass {
2045 _data: [u8; 0],
2046 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2047}
2048
2049pub type GstElementFactoryClass = _GstElementFactoryClass;
2050
2051#[derive(Copy, Clone)]
2052#[repr(C)]
2053pub struct GstEvent {
2054 pub mini_object: GstMiniObject,
2055 pub type_: GstEventType,
2056 pub timestamp: u64,
2057 pub seqnum: u32,
2058}
2059
2060impl ::std::fmt::Debug for GstEvent {
2061 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2062 f.debug_struct(&format!("GstEvent @ {self:p}"))
2063 .field("mini_object", &self.mini_object)
2064 .field("type_", &self.type_)
2065 .field("timestamp", &self.timestamp)
2066 .field("seqnum", &self.seqnum)
2067 .finish()
2068 }
2069}
2070
2071#[derive(Copy, Clone)]
2072#[repr(C)]
2073pub struct GstFormatDefinition {
2074 pub value: GstFormat,
2075 pub nick: *const c_char,
2076 pub description: *const c_char,
2077 pub quark: glib::GQuark,
2078}
2079
2080impl ::std::fmt::Debug for GstFormatDefinition {
2081 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2082 f.debug_struct(&format!("GstFormatDefinition @ {self:p}"))
2083 .field("value", &self.value)
2084 .field("nick", &self.nick)
2085 .field("description", &self.description)
2086 .field("quark", &self.quark)
2087 .finish()
2088 }
2089}
2090
2091#[derive(Copy, Clone)]
2092#[repr(C)]
2093pub struct GstGhostPadClass {
2094 pub parent_class: GstProxyPadClass,
2095 pub _gst_reserved: [gpointer; 4],
2096}
2097
2098impl ::std::fmt::Debug for GstGhostPadClass {
2099 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2100 f.debug_struct(&format!("GstGhostPadClass @ {self:p}"))
2101 .field("parent_class", &self.parent_class)
2102 .finish()
2103 }
2104}
2105
2106#[repr(C)]
2107#[allow(dead_code)]
2108pub struct _GstGhostPadPrivate {
2109 _data: [u8; 0],
2110 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2111}
2112
2113pub type GstGhostPadPrivate = _GstGhostPadPrivate;
2114
2115#[derive(Copy, Clone)]
2116#[repr(C)]
2117pub struct GstIterator {
2118 pub copy: GstIteratorCopyFunction,
2119 pub next: GstIteratorNextFunction,
2120 pub item: GstIteratorItemFunction,
2121 pub resync: GstIteratorResyncFunction,
2122 pub free: GstIteratorFreeFunction,
2123 pub pushed: *mut GstIterator,
2124 pub type_: GType,
2125 pub lock: *mut glib::GMutex,
2126 pub cookie: u32,
2127 pub master_cookie: *mut u32,
2128 pub size: c_uint,
2129 pub _gst_reserved: [gpointer; 4],
2130}
2131
2132impl ::std::fmt::Debug for GstIterator {
2133 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2134 f.debug_struct(&format!("GstIterator @ {self:p}"))
2135 .field("copy", &self.copy)
2136 .field("next", &self.next)
2137 .field("item", &self.item)
2138 .field("resync", &self.resync)
2139 .field("free", &self.free)
2140 .field("pushed", &self.pushed)
2141 .field("type_", &self.type_)
2142 .field("lock", &self.lock)
2143 .field("cookie", &self.cookie)
2144 .field("master_cookie", &self.master_cookie)
2145 .field("size", &self.size)
2146 .finish()
2147 }
2148}
2149
2150#[repr(C)]
2151#[allow(dead_code)]
2152pub struct _GstLogContext {
2153 _data: [u8; 0],
2154 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2155}
2156
2157pub type GstLogContext = _GstLogContext;
2158
2159#[repr(C)]
2160#[allow(dead_code)]
2161pub struct _GstLogContextBuilder {
2162 _data: [u8; 0],
2163 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2164}
2165
2166pub type GstLogContextBuilder = _GstLogContextBuilder;
2167
2168#[derive(Copy, Clone)]
2169#[repr(C)]
2170pub struct GstMapInfo {
2171 pub memory: *mut GstMemory,
2172 pub flags: GstMapFlags,
2173 pub data: *mut u8,
2174 pub size: size_t,
2175 pub maxsize: size_t,
2176 pub user_data: [gpointer; 4],
2177 pub _gst_reserved: [gpointer; 4],
2178}
2179
2180impl ::std::fmt::Debug for GstMapInfo {
2181 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2182 f.debug_struct(&format!("GstMapInfo @ {self:p}"))
2183 .field("memory", &self.memory)
2184 .field("flags", &self.flags)
2185 .field("data", &self.data)
2186 .field("size", &self.size)
2187 .field("maxsize", &self.maxsize)
2188 .field("user_data", &self.user_data)
2189 .finish()
2190 }
2191}
2192
2193#[derive(Copy, Clone)]
2194#[repr(C)]
2195pub struct GstMemory {
2196 pub mini_object: GstMiniObject,
2197 pub allocator: *mut GstAllocator,
2198 pub parent: *mut GstMemory,
2199 pub maxsize: size_t,
2200 pub align: size_t,
2201 pub offset: size_t,
2202 pub size: size_t,
2203}
2204
2205impl ::std::fmt::Debug for GstMemory {
2206 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2207 f.debug_struct(&format!("GstMemory @ {self:p}"))
2208 .field("mini_object", &self.mini_object)
2209 .field("allocator", &self.allocator)
2210 .field("parent", &self.parent)
2211 .field("maxsize", &self.maxsize)
2212 .field("align", &self.align)
2213 .field("offset", &self.offset)
2214 .field("size", &self.size)
2215 .finish()
2216 }
2217}
2218
2219#[derive(Copy, Clone)]
2220#[repr(C)]
2221pub struct GstMessage {
2222 pub mini_object: GstMiniObject,
2223 pub type_: GstMessageType,
2224 pub timestamp: u64,
2225 pub src: *mut GstObject,
2226 pub seqnum: u32,
2227 pub lock: glib::GMutex,
2228 pub cond: glib::GCond,
2229}
2230
2231impl ::std::fmt::Debug for GstMessage {
2232 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2233 f.debug_struct(&format!("GstMessage @ {self:p}"))
2234 .field("mini_object", &self.mini_object)
2235 .field("type_", &self.type_)
2236 .field("timestamp", &self.timestamp)
2237 .field("src", &self.src)
2238 .field("seqnum", &self.seqnum)
2239 .finish()
2240 }
2241}
2242
2243#[derive(Copy, Clone)]
2244#[repr(C)]
2245pub struct GstMeta {
2246 pub flags: GstMetaFlags,
2247 pub info: *const GstMetaInfo,
2248}
2249
2250impl ::std::fmt::Debug for GstMeta {
2251 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2252 f.debug_struct(&format!("GstMeta @ {self:p}"))
2253 .field("flags", &self.flags)
2254 .field("info", &self.info)
2255 .finish()
2256 }
2257}
2258
2259#[repr(C)]
2260#[allow(dead_code)]
2261pub struct _GstMetaFactoryClass {
2262 _data: [u8; 0],
2263 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2264}
2265
2266pub type GstMetaFactoryClass = _GstMetaFactoryClass;
2267
2268#[derive(Copy, Clone)]
2269#[repr(C)]
2270pub struct GstMetaInfo {
2271 pub api: GType,
2272 pub type_: GType,
2273 pub size: size_t,
2274 pub init_func: GstMetaInitFunction,
2275 pub free_func: GstMetaFreeFunction,
2276 pub transform_func: GstMetaTransformFunction,
2277 pub serialize_func: GstMetaSerializeFunction,
2278 pub deserialize_func: GstMetaDeserializeFunction,
2279 pub clear_func: GstMetaClearFunction,
2280}
2281
2282impl ::std::fmt::Debug for GstMetaInfo {
2283 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2284 f.debug_struct(&format!("GstMetaInfo @ {self:p}"))
2285 .field("api", &self.api)
2286 .field("type_", &self.type_)
2287 .field("size", &self.size)
2288 .field("init_func", &self.init_func)
2289 .field("free_func", &self.free_func)
2290 .field("transform_func", &self.transform_func)
2291 .field("serialize_func", &self.serialize_func)
2292 .field("deserialize_func", &self.deserialize_func)
2293 .field("clear_func", &self.clear_func)
2294 .finish()
2295 }
2296}
2297
2298#[derive(Copy, Clone)]
2299#[repr(C)]
2300pub struct GstMetaTransformCopy {
2301 pub region: gboolean,
2302 pub offset: size_t,
2303 pub size: size_t,
2304}
2305
2306impl ::std::fmt::Debug for GstMetaTransformCopy {
2307 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2308 f.debug_struct(&format!("GstMetaTransformCopy @ {self:p}"))
2309 .field("region", &self.region)
2310 .field("offset", &self.offset)
2311 .field("size", &self.size)
2312 .finish()
2313 }
2314}
2315
2316#[derive(Copy, Clone)]
2317#[repr(C)]
2318pub struct GstMiniObject {
2319 pub type_: GType,
2320 pub refcount: c_int,
2321 pub lockstate: c_int,
2322 pub flags: c_uint,
2323 pub copy: GstMiniObjectCopyFunction,
2324 pub dispose: GstMiniObjectDisposeFunction,
2325 pub free: GstMiniObjectFreeFunction,
2326 pub priv_uint: c_uint,
2327 pub priv_pointer: gpointer,
2328}
2329
2330impl ::std::fmt::Debug for GstMiniObject {
2331 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2332 f.debug_struct(&format!("GstMiniObject @ {self:p}"))
2333 .field("type_", &self.type_)
2334 .field("refcount", &self.refcount)
2335 .field("lockstate", &self.lockstate)
2336 .field("flags", &self.flags)
2337 .field("copy", &self.copy)
2338 .field("dispose", &self.dispose)
2339 .field("free", &self.free)
2340 .finish()
2341 }
2342}
2343
2344#[derive(Copy, Clone)]
2345#[repr(C)]
2346pub struct GstObjectClass {
2347 pub parent_class: gobject::GInitiallyUnownedClass,
2348 pub path_string_separator: *const c_char,
2349 pub deep_notify:
2350 Option<unsafe extern "C" fn(*mut GstObject, *mut GstObject, *mut gobject::GParamSpec)>,
2351 pub _gst_reserved: [gpointer; 4],
2352}
2353
2354impl ::std::fmt::Debug for GstObjectClass {
2355 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2356 f.debug_struct(&format!("GstObjectClass @ {self:p}"))
2357 .field("parent_class", &self.parent_class)
2358 .field("path_string_separator", &self.path_string_separator)
2359 .field("deep_notify", &self.deep_notify)
2360 .finish()
2361 }
2362}
2363
2364#[derive(Copy, Clone)]
2365#[repr(C)]
2366pub struct GstPadClass {
2367 pub parent_class: GstObjectClass,
2368 pub linked: Option<unsafe extern "C" fn(*mut GstPad, *mut GstPad)>,
2369 pub unlinked: Option<unsafe extern "C" fn(*mut GstPad, *mut GstPad)>,
2370 pub _gst_reserved: [gpointer; 4],
2371}
2372
2373impl ::std::fmt::Debug for GstPadClass {
2374 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2375 f.debug_struct(&format!("GstPadClass @ {self:p}"))
2376 .field("parent_class", &self.parent_class)
2377 .field("linked", &self.linked)
2378 .field("unlinked", &self.unlinked)
2379 .finish()
2380 }
2381}
2382
2383#[repr(C)]
2384#[allow(dead_code)]
2385pub struct _GstPadPrivate {
2386 _data: [u8; 0],
2387 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2388}
2389
2390pub type GstPadPrivate = _GstPadPrivate;
2391
2392#[derive(Copy, Clone)]
2393#[repr(C)]
2394pub struct GstPadProbeInfo {
2395 pub type_: GstPadProbeType,
2396 pub id: c_ulong,
2397 pub data: gpointer,
2398 pub offset: u64,
2399 pub size: c_uint,
2400 pub ABI: GstPadProbeInfo_ABI,
2401}
2402
2403impl ::std::fmt::Debug for GstPadProbeInfo {
2404 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2405 f.debug_struct(&format!("GstPadProbeInfo @ {self:p}"))
2406 .field("type_", &self.type_)
2407 .field("id", &self.id)
2408 .field("data", &self.data)
2409 .field("offset", &self.offset)
2410 .field("size", &self.size)
2411 .field("ABI", &self.ABI)
2412 .finish()
2413 }
2414}
2415
2416#[derive(Copy, Clone)]
2417#[repr(C)]
2418pub struct GstPadProbeInfo_ABI_abi {
2419 pub flow_ret: GstFlowReturn,
2420}
2421
2422impl ::std::fmt::Debug for GstPadProbeInfo_ABI_abi {
2423 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2424 f.debug_struct(&format!("GstPadProbeInfo_ABI_abi @ {self:p}"))
2425 .field("flow_ret", &self.flow_ret)
2426 .finish()
2427 }
2428}
2429
2430#[derive(Copy, Clone)]
2431#[repr(C)]
2432pub struct GstPadTemplateClass {
2433 pub parent_class: GstObjectClass,
2434 pub pad_created: Option<unsafe extern "C" fn(*mut GstPadTemplate, *mut GstPad)>,
2435 pub _gst_reserved: [gpointer; 4],
2436}
2437
2438impl ::std::fmt::Debug for GstPadTemplateClass {
2439 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2440 f.debug_struct(&format!("GstPadTemplateClass @ {self:p}"))
2441 .field("parent_class", &self.parent_class)
2442 .field("pad_created", &self.pad_created)
2443 .finish()
2444 }
2445}
2446
2447#[derive(Copy, Clone)]
2448#[repr(C)]
2449pub struct GstPadTemplate_ABI_abi {
2450 pub gtype: GType,
2451 pub documentation_caps: *mut GstCaps,
2452}
2453
2454impl ::std::fmt::Debug for GstPadTemplate_ABI_abi {
2455 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2456 f.debug_struct(&format!("GstPadTemplate_ABI_abi @ {self:p}"))
2457 .field("gtype", &self.gtype)
2458 .field("documentation_caps", &self.documentation_caps)
2459 .finish()
2460 }
2461}
2462
2463#[derive(Copy, Clone)]
2464#[repr(C)]
2465pub struct GstPad_ABI_abi {
2466 pub last_flowret: GstFlowReturn,
2467 pub eventfullfunc: GstPadEventFullFunction,
2468}
2469
2470impl ::std::fmt::Debug for GstPad_ABI_abi {
2471 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2472 f.debug_struct(&format!("GstPad_ABI_abi @ {self:p}"))
2473 .field("last_flowret", &self.last_flowret)
2474 .field("eventfullfunc", &self.eventfullfunc)
2475 .finish()
2476 }
2477}
2478
2479#[derive(Copy, Clone)]
2480#[repr(C)]
2481pub struct GstParentBufferMeta {
2482 pub parent: GstMeta,
2483 pub buffer: *mut GstBuffer,
2484}
2485
2486impl ::std::fmt::Debug for GstParentBufferMeta {
2487 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2488 f.debug_struct(&format!("GstParentBufferMeta @ {self:p}"))
2489 .field("parent", &self.parent)
2490 .field("buffer", &self.buffer)
2491 .finish()
2492 }
2493}
2494
2495#[repr(C)]
2496#[allow(dead_code)]
2497pub struct GstParseContext {
2498 _data: [u8; 0],
2499 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2500}
2501
2502impl ::std::fmt::Debug for GstParseContext {
2503 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2504 f.debug_struct(&format!("GstParseContext @ {self:p}"))
2505 .finish()
2506 }
2507}
2508
2509#[derive(Copy, Clone)]
2510#[repr(C)]
2511pub struct GstPipelineClass {
2512 pub parent_class: GstBinClass,
2513 pub _gst_reserved: [gpointer; 4],
2514}
2515
2516impl ::std::fmt::Debug for GstPipelineClass {
2517 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2518 f.debug_struct(&format!("GstPipelineClass @ {self:p}"))
2519 .field("parent_class", &self.parent_class)
2520 .finish()
2521 }
2522}
2523
2524#[repr(C)]
2525#[allow(dead_code)]
2526pub struct _GstPipelinePrivate {
2527 _data: [u8; 0],
2528 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2529}
2530
2531pub type GstPipelinePrivate = _GstPipelinePrivate;
2532
2533#[repr(C)]
2534#[allow(dead_code)]
2535pub struct _GstPluginClass {
2536 _data: [u8; 0],
2537 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2538}
2539
2540pub type GstPluginClass = _GstPluginClass;
2541
2542#[derive(Copy, Clone)]
2543#[repr(C)]
2544pub struct GstPluginDesc {
2545 pub major_version: c_int,
2546 pub minor_version: c_int,
2547 pub name: *const c_char,
2548 pub description: *const c_char,
2549 pub plugin_init: GstPluginInitFunc,
2550 pub version: *const c_char,
2551 pub license: *const c_char,
2552 pub source: *const c_char,
2553 pub package: *const c_char,
2554 pub origin: *const c_char,
2555 pub release_datetime: *const c_char,
2556 pub _gst_reserved: [gpointer; 4],
2557}
2558
2559impl ::std::fmt::Debug for GstPluginDesc {
2560 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2561 f.debug_struct(&format!("GstPluginDesc @ {self:p}"))
2562 .field("major_version", &self.major_version)
2563 .field("minor_version", &self.minor_version)
2564 .field("name", &self.name)
2565 .field("description", &self.description)
2566 .field("plugin_init", &self.plugin_init)
2567 .field("version", &self.version)
2568 .field("license", &self.license)
2569 .field("source", &self.source)
2570 .field("package", &self.package)
2571 .field("origin", &self.origin)
2572 .field("release_datetime", &self.release_datetime)
2573 .finish()
2574 }
2575}
2576
2577#[repr(C)]
2578#[allow(dead_code)]
2579pub struct _GstPluginFeatureClass {
2580 _data: [u8; 0],
2581 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2582}
2583
2584pub type GstPluginFeatureClass = _GstPluginFeatureClass;
2585
2586#[repr(C)]
2587#[allow(dead_code)]
2588pub struct _GstPoll {
2589 _data: [u8; 0],
2590 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2591}
2592
2593pub type GstPoll = _GstPoll;
2594
2595#[derive(Copy, Clone)]
2596#[repr(C)]
2597pub struct GstPollFD {
2598 pub fd: c_int,
2599 pub idx: c_int,
2600}
2601
2602impl ::std::fmt::Debug for GstPollFD {
2603 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2604 f.debug_struct(&format!("GstPollFD @ {self:p}"))
2605 .field("fd", &self.fd)
2606 .finish()
2607 }
2608}
2609
2610#[derive(Copy, Clone)]
2611#[repr(C)]
2612pub struct GstPresetInterface {
2613 pub parent: gobject::GTypeInterface,
2614 pub get_preset_names: Option<unsafe extern "C" fn(*mut GstPreset) -> *mut *mut c_char>,
2615 pub get_property_names: Option<unsafe extern "C" fn(*mut GstPreset) -> *mut *mut c_char>,
2616 pub load_preset: Option<unsafe extern "C" fn(*mut GstPreset, *const c_char) -> gboolean>,
2617 pub save_preset: Option<unsafe extern "C" fn(*mut GstPreset, *const c_char) -> gboolean>,
2618 pub rename_preset:
2619 Option<unsafe extern "C" fn(*mut GstPreset, *const c_char, *const c_char) -> gboolean>,
2620 pub delete_preset: Option<unsafe extern "C" fn(*mut GstPreset, *const c_char) -> gboolean>,
2621 pub set_meta: Option<
2622 unsafe extern "C" fn(
2623 *mut GstPreset,
2624 *const c_char,
2625 *const c_char,
2626 *mut *mut c_char,
2627 ) -> gboolean,
2628 >,
2629 pub get_meta: Option<
2630 unsafe extern "C" fn(
2631 *mut GstPreset,
2632 *const c_char,
2633 *const c_char,
2634 *mut *mut c_char,
2635 ) -> gboolean,
2636 >,
2637 pub get_property: Option<
2638 unsafe extern "C" fn(
2639 *mut GstPreset,
2640 *const c_char,
2641 *const c_char,
2642 *mut gobject::GValue,
2643 ) -> gboolean,
2644 >,
2645 pub get_property_alternatives: Option<
2646 unsafe extern "C" fn(*mut GstPreset, *const c_char, *const c_char) -> *mut *mut c_char,
2647 >,
2648 pub _gst_reserved: [gpointer; 2],
2649}
2650
2651impl ::std::fmt::Debug for GstPresetInterface {
2652 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2653 f.debug_struct(&format!("GstPresetInterface @ {self:p}"))
2654 .field("parent", &self.parent)
2655 .field("get_preset_names", &self.get_preset_names)
2656 .field("get_property_names", &self.get_property_names)
2657 .field("load_preset", &self.load_preset)
2658 .field("save_preset", &self.save_preset)
2659 .field("rename_preset", &self.rename_preset)
2660 .field("delete_preset", &self.delete_preset)
2661 .field("set_meta", &self.set_meta)
2662 .field("get_meta", &self.get_meta)
2663 .field("get_property", &self.get_property)
2664 .field("get_property_alternatives", &self.get_property_alternatives)
2665 .finish()
2666 }
2667}
2668
2669#[derive(Copy, Clone)]
2670#[repr(C)]
2671pub struct GstPromise {
2672 pub parent: GstMiniObject,
2673}
2674
2675impl ::std::fmt::Debug for GstPromise {
2676 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2677 f.debug_struct(&format!("GstPromise @ {self:p}"))
2678 .field("parent", &self.parent)
2679 .finish()
2680 }
2681}
2682
2683#[derive(Copy, Clone)]
2684#[repr(C)]
2685pub struct GstProtectionMeta {
2686 pub meta: GstMeta,
2687 pub info: *mut GstStructure,
2688}
2689
2690impl ::std::fmt::Debug for GstProtectionMeta {
2691 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2692 f.debug_struct(&format!("GstProtectionMeta @ {self:p}"))
2693 .field("meta", &self.meta)
2694 .field("info", &self.info)
2695 .finish()
2696 }
2697}
2698
2699#[derive(Copy, Clone)]
2700#[repr(C)]
2701pub struct GstProxyPadClass {
2702 pub parent_class: GstPadClass,
2703 pub _gst_reserved: [gpointer; 1],
2704}
2705
2706impl ::std::fmt::Debug for GstProxyPadClass {
2707 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2708 f.debug_struct(&format!("GstProxyPadClass @ {self:p}"))
2709 .field("parent_class", &self.parent_class)
2710 .finish()
2711 }
2712}
2713
2714#[repr(C)]
2715#[allow(dead_code)]
2716pub struct _GstProxyPadPrivate {
2717 _data: [u8; 0],
2718 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2719}
2720
2721pub type GstProxyPadPrivate = _GstProxyPadPrivate;
2722
2723#[derive(Copy, Clone)]
2724#[repr(C)]
2725pub struct GstQuery {
2726 pub mini_object: GstMiniObject,
2727 pub type_: GstQueryType,
2728}
2729
2730impl ::std::fmt::Debug for GstQuery {
2731 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2732 f.debug_struct(&format!("GstQuery @ {self:p}"))
2733 .field("mini_object", &self.mini_object)
2734 .field("type_", &self.type_)
2735 .finish()
2736 }
2737}
2738
2739#[derive(Copy, Clone)]
2740#[repr(C)]
2741pub struct GstReferenceTimestampMeta {
2742 pub parent: GstMeta,
2743 pub reference: *mut GstCaps,
2744 pub timestamp: GstClockTime,
2745 pub duration: GstClockTime,
2746 pub info: *mut GstStructure,
2747}
2748
2749impl ::std::fmt::Debug for GstReferenceTimestampMeta {
2750 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2751 f.debug_struct(&format!("GstReferenceTimestampMeta @ {self:p}"))
2752 .field("parent", &self.parent)
2753 .field("reference", &self.reference)
2754 .field("timestamp", &self.timestamp)
2755 .field("duration", &self.duration)
2756 .field("info", &self.info)
2757 .finish()
2758 }
2759}
2760
2761#[derive(Copy, Clone)]
2762#[repr(C)]
2763pub struct GstRegistryClass {
2764 pub parent_class: GstObjectClass,
2765}
2766
2767impl ::std::fmt::Debug for GstRegistryClass {
2768 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2769 f.debug_struct(&format!("GstRegistryClass @ {self:p}"))
2770 .field("parent_class", &self.parent_class)
2771 .finish()
2772 }
2773}
2774
2775#[repr(C)]
2776#[allow(dead_code)]
2777pub struct _GstRegistryPrivate {
2778 _data: [u8; 0],
2779 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2780}
2781
2782pub type GstRegistryPrivate = _GstRegistryPrivate;
2783
2784#[repr(C)]
2785#[allow(dead_code)]
2786pub struct GstSample {
2787 _data: [u8; 0],
2788 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2789}
2790
2791impl ::std::fmt::Debug for GstSample {
2792 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2793 f.debug_struct(&format!("GstSample @ {self:p}")).finish()
2794 }
2795}
2796
2797#[derive(Copy, Clone)]
2798#[repr(C)]
2799pub struct GstSegment {
2800 pub flags: GstSegmentFlags,
2801 pub rate: c_double,
2802 pub applied_rate: c_double,
2803 pub format: GstFormat,
2804 pub base: u64,
2805 pub offset: u64,
2806 pub start: u64,
2807 pub stop: u64,
2808 pub time: u64,
2809 pub position: u64,
2810 pub duration: u64,
2811 pub _gst_reserved: [gpointer; 4],
2812}
2813
2814impl ::std::fmt::Debug for GstSegment {
2815 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2816 f.debug_struct(&format!("GstSegment @ {self:p}"))
2817 .field("flags", &self.flags)
2818 .field("rate", &self.rate)
2819 .field("applied_rate", &self.applied_rate)
2820 .field("format", &self.format)
2821 .field("base", &self.base)
2822 .field("offset", &self.offset)
2823 .field("start", &self.start)
2824 .field("stop", &self.stop)
2825 .field("time", &self.time)
2826 .field("position", &self.position)
2827 .field("duration", &self.duration)
2828 .finish()
2829 }
2830}
2831
2832#[derive(Copy, Clone)]
2833#[repr(C)]
2834pub struct GstSharedTaskPoolClass {
2835 pub parent_class: GstTaskPoolClass,
2836 pub _gst_reserved: [gpointer; 4],
2837}
2838
2839impl ::std::fmt::Debug for GstSharedTaskPoolClass {
2840 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2841 f.debug_struct(&format!("GstSharedTaskPoolClass @ {self:p}"))
2842 .field("parent_class", &self.parent_class)
2843 .finish()
2844 }
2845}
2846
2847#[repr(C)]
2848#[allow(dead_code)]
2849pub struct _GstSharedTaskPoolPrivate {
2850 _data: [u8; 0],
2851 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2852}
2853
2854pub type GstSharedTaskPoolPrivate = _GstSharedTaskPoolPrivate;
2855
2856#[derive(Copy, Clone)]
2857#[repr(C)]
2858pub struct GstStaticCaps {
2859 pub caps: *mut GstCaps,
2860 pub string: *const c_char,
2861 pub _gst_reserved: [gpointer; 4],
2862}
2863
2864impl ::std::fmt::Debug for GstStaticCaps {
2865 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2866 f.debug_struct(&format!("GstStaticCaps @ {self:p}"))
2867 .field("caps", &self.caps)
2868 .field("string", &self.string)
2869 .finish()
2870 }
2871}
2872
2873#[derive(Copy, Clone)]
2874#[repr(C)]
2875pub struct GstStaticPadTemplate {
2876 pub name_template: *const c_char,
2877 pub direction: GstPadDirection,
2878 pub presence: GstPadPresence,
2879 pub static_caps: GstStaticCaps,
2880}
2881
2882impl ::std::fmt::Debug for GstStaticPadTemplate {
2883 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2884 f.debug_struct(&format!("GstStaticPadTemplate @ {self:p}"))
2885 .field("name_template", &self.name_template)
2886 .field("direction", &self.direction)
2887 .field("presence", &self.presence)
2888 .field("static_caps", &self.static_caps)
2889 .finish()
2890 }
2891}
2892
2893#[derive(Copy, Clone)]
2894#[repr(C)]
2895pub struct GstStreamClass {
2896 pub parent_class: GstObjectClass,
2897 pub _gst_reserved: [gpointer; 4],
2898}
2899
2900impl ::std::fmt::Debug for GstStreamClass {
2901 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2902 f.debug_struct(&format!("GstStreamClass @ {self:p}"))
2903 .field("parent_class", &self.parent_class)
2904 .finish()
2905 }
2906}
2907
2908#[derive(Copy, Clone)]
2909#[repr(C)]
2910pub struct GstStreamCollectionClass {
2911 pub parent_class: GstObjectClass,
2912 pub stream_notify: Option<
2913 unsafe extern "C" fn(*mut GstStreamCollection, *mut GstStream, *mut gobject::GParamSpec),
2914 >,
2915 pub _gst_reserved: [gpointer; 4],
2916}
2917
2918impl ::std::fmt::Debug for GstStreamCollectionClass {
2919 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2920 f.debug_struct(&format!("GstStreamCollectionClass @ {self:p}"))
2921 .field("parent_class", &self.parent_class)
2922 .field("stream_notify", &self.stream_notify)
2923 .finish()
2924 }
2925}
2926
2927#[repr(C)]
2928#[allow(dead_code)]
2929pub struct _GstStreamCollectionPrivate {
2930 _data: [u8; 0],
2931 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2932}
2933
2934pub type GstStreamCollectionPrivate = _GstStreamCollectionPrivate;
2935
2936#[repr(C)]
2937#[allow(dead_code)]
2938pub struct _GstStreamPrivate {
2939 _data: [u8; 0],
2940 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2941}
2942
2943pub type GstStreamPrivate = _GstStreamPrivate;
2944
2945#[derive(Copy, Clone)]
2946#[repr(C)]
2947pub struct GstStructure {
2948 pub type_: GType,
2949 pub name: glib::GQuark,
2950}
2951
2952impl ::std::fmt::Debug for GstStructure {
2953 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2954 f.debug_struct(&format!("GstStructure @ {self:p}"))
2955 .field("type_", &self.type_)
2956 .finish()
2957 }
2958}
2959
2960#[derive(Copy, Clone)]
2961#[repr(C)]
2962pub struct GstSystemClockClass {
2963 pub parent_class: GstClockClass,
2964 pub _gst_reserved: [gpointer; 4],
2965}
2966
2967impl ::std::fmt::Debug for GstSystemClockClass {
2968 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2969 f.debug_struct(&format!("GstSystemClockClass @ {self:p}"))
2970 .field("parent_class", &self.parent_class)
2971 .finish()
2972 }
2973}
2974
2975#[repr(C)]
2976#[allow(dead_code)]
2977pub struct _GstSystemClockPrivate {
2978 _data: [u8; 0],
2979 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
2980}
2981
2982pub type GstSystemClockPrivate = _GstSystemClockPrivate;
2983
2984#[derive(Copy, Clone)]
2985#[repr(C)]
2986pub struct GstTagList {
2987 pub mini_object: GstMiniObject,
2988}
2989
2990impl ::std::fmt::Debug for GstTagList {
2991 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
2992 f.debug_struct(&format!("GstTagList @ {self:p}"))
2993 .field("mini_object", &self.mini_object)
2994 .finish()
2995 }
2996}
2997
2998#[derive(Copy, Clone)]
2999#[repr(C)]
3000pub struct GstTagSetterInterface {
3001 pub g_iface: gobject::GTypeInterface,
3002}
3003
3004impl ::std::fmt::Debug for GstTagSetterInterface {
3005 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3006 f.debug_struct(&format!("GstTagSetterInterface @ {self:p}"))
3007 .field("g_iface", &self.g_iface)
3008 .finish()
3009 }
3010}
3011
3012#[derive(Copy, Clone)]
3013#[repr(C)]
3014pub struct GstTaskClass {
3015 pub parent_class: GstObjectClass,
3016 pub pool: *mut GstTaskPool,
3017 pub _gst_reserved: [gpointer; 4],
3018}
3019
3020impl ::std::fmt::Debug for GstTaskClass {
3021 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3022 f.debug_struct(&format!("GstTaskClass @ {self:p}"))
3023 .field("parent_class", &self.parent_class)
3024 .finish()
3025 }
3026}
3027
3028#[derive(Copy, Clone)]
3029#[repr(C)]
3030pub struct GstTaskPoolClass {
3031 pub parent_class: GstObjectClass,
3032 pub prepare: Option<unsafe extern "C" fn(*mut GstTaskPool, *mut *mut glib::GError)>,
3033 pub cleanup: Option<unsafe extern "C" fn(*mut GstTaskPool)>,
3034 pub push: Option<
3035 unsafe extern "C" fn(
3036 *mut GstTaskPool,
3037 GstTaskPoolFunction,
3038 gpointer,
3039 *mut *mut glib::GError,
3040 ) -> gpointer,
3041 >,
3042 pub join: Option<unsafe extern "C" fn(*mut GstTaskPool, gpointer)>,
3043 pub dispose_handle: Option<unsafe extern "C" fn(*mut GstTaskPool, gpointer)>,
3044 pub _gst_reserved: [gpointer; 3],
3045}
3046
3047impl ::std::fmt::Debug for GstTaskPoolClass {
3048 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3049 f.debug_struct(&format!("GstTaskPoolClass @ {self:p}"))
3050 .field("parent_class", &self.parent_class)
3051 .field("prepare", &self.prepare)
3052 .field("cleanup", &self.cleanup)
3053 .field("push", &self.push)
3054 .field("join", &self.join)
3055 .field("dispose_handle", &self.dispose_handle)
3056 .finish()
3057 }
3058}
3059
3060#[repr(C)]
3061#[allow(dead_code)]
3062pub struct _GstTaskPrivate {
3063 _data: [u8; 0],
3064 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3065}
3066
3067pub type GstTaskPrivate = _GstTaskPrivate;
3068
3069#[derive(Copy, Clone)]
3070#[repr(C)]
3071pub struct GstTimedValue {
3072 pub timestamp: GstClockTime,
3073 pub value: c_double,
3074}
3075
3076impl ::std::fmt::Debug for GstTimedValue {
3077 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3078 f.debug_struct(&format!("GstTimedValue @ {self:p}"))
3079 .field("timestamp", &self.timestamp)
3080 .field("value", &self.value)
3081 .finish()
3082 }
3083}
3084
3085#[repr(C)]
3086#[allow(dead_code)]
3087pub struct GstToc {
3088 _data: [u8; 0],
3089 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3090}
3091
3092impl ::std::fmt::Debug for GstToc {
3093 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3094 f.debug_struct(&format!("GstToc @ {self:p}")).finish()
3095 }
3096}
3097
3098#[repr(C)]
3099#[allow(dead_code)]
3100pub struct GstTocEntry {
3101 _data: [u8; 0],
3102 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3103}
3104
3105impl ::std::fmt::Debug for GstTocEntry {
3106 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3107 f.debug_struct(&format!("GstTocEntry @ {self:p}")).finish()
3108 }
3109}
3110
3111#[derive(Copy, Clone)]
3112#[repr(C)]
3113pub struct GstTocSetterInterface {
3114 pub g_iface: gobject::GTypeInterface,
3115}
3116
3117impl ::std::fmt::Debug for GstTocSetterInterface {
3118 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3119 f.debug_struct(&format!("GstTocSetterInterface @ {self:p}"))
3120 .field("g_iface", &self.g_iface)
3121 .finish()
3122 }
3123}
3124
3125#[repr(C)]
3126#[allow(dead_code)]
3127pub struct _GstTraceField {
3128 _data: [u8; 0],
3129 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3130}
3131
3132pub type GstTraceField = _GstTraceField;
3133
3134#[repr(C)]
3135#[allow(dead_code)]
3136pub struct _GstTraceFormat {
3137 _data: [u8; 0],
3138 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3139}
3140
3141pub type GstTraceFormat = _GstTraceFormat;
3142
3143#[repr(C)]
3144#[allow(dead_code)]
3145pub struct _GstTraceFormatBuilder {
3146 _data: [u8; 0],
3147 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3148}
3149
3150pub type GstTraceFormatBuilder = _GstTraceFormatBuilder;
3151
3152#[derive(Copy, Clone)]
3153#[repr(C)]
3154pub struct GstTracerClass {
3155 pub parent_class: GstObjectClass,
3156 pub _gst_reserved: [gpointer; 4],
3157}
3158
3159impl ::std::fmt::Debug for GstTracerClass {
3160 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3161 f.debug_struct(&format!("GstTracerClass @ {self:p}"))
3162 .field("parent_class", &self.parent_class)
3163 .finish()
3164 }
3165}
3166
3167#[repr(C)]
3168#[allow(dead_code)]
3169pub struct _GstTracerFactoryClass {
3170 _data: [u8; 0],
3171 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3172}
3173
3174pub type GstTracerFactoryClass = _GstTracerFactoryClass;
3175
3176#[repr(C)]
3177#[allow(dead_code)]
3178pub struct _GstTracerPrivate {
3179 _data: [u8; 0],
3180 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3181}
3182
3183pub type GstTracerPrivate = _GstTracerPrivate;
3184
3185#[repr(C)]
3186#[allow(dead_code)]
3187pub struct _GstTracerRecordClass {
3188 _data: [u8; 0],
3189 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3190}
3191
3192pub type GstTracerRecordClass = _GstTracerRecordClass;
3193
3194#[derive(Copy, Clone)]
3195#[repr(C)]
3196pub struct GstTypeFind {
3197 pub peek: Option<unsafe extern "C" fn(gpointer, i64, c_uint) -> *const u8>,
3198 pub suggest: Option<unsafe extern "C" fn(gpointer, c_uint, *mut GstCaps)>,
3199 pub data: gpointer,
3200 pub get_length: Option<unsafe extern "C" fn(gpointer) -> u64>,
3201 pub _gst_reserved: [gpointer; 4],
3202}
3203
3204impl ::std::fmt::Debug for GstTypeFind {
3205 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3206 f.debug_struct(&format!("GstTypeFind @ {self:p}"))
3207 .field("peek", &self.peek)
3208 .field("suggest", &self.suggest)
3209 .field("data", &self.data)
3210 .field("get_length", &self.get_length)
3211 .finish()
3212 }
3213}
3214
3215#[repr(C)]
3216#[allow(dead_code)]
3217pub struct _GstTypeFindFactoryClass {
3218 _data: [u8; 0],
3219 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3220}
3221
3222pub type GstTypeFindFactoryClass = _GstTypeFindFactoryClass;
3223
3224#[derive(Copy, Clone)]
3225#[repr(C)]
3226pub struct GstURIHandlerInterface {
3227 pub parent: gobject::GTypeInterface,
3228 pub get_type: Option<unsafe extern "C" fn(GType) -> GstURIType>,
3229 pub get_protocols: Option<unsafe extern "C" fn(GType) -> *const *const c_char>,
3230 pub get_uri: Option<unsafe extern "C" fn(*mut GstURIHandler) -> *mut c_char>,
3231 pub set_uri: Option<
3232 unsafe extern "C" fn(*mut GstURIHandler, *const c_char, *mut *mut glib::GError) -> gboolean,
3233 >,
3234}
3235
3236impl ::std::fmt::Debug for GstURIHandlerInterface {
3237 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3238 f.debug_struct(&format!("GstURIHandlerInterface @ {self:p}"))
3239 .field("parent", &self.parent)
3240 .field("get_type", &self.get_type)
3241 .field("get_protocols", &self.get_protocols)
3242 .field("get_uri", &self.get_uri)
3243 .field("set_uri", &self.set_uri)
3244 .finish()
3245 }
3246}
3247
3248#[repr(C)]
3249#[allow(dead_code)]
3250pub struct GstUri {
3251 _data: [u8; 0],
3252 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3253}
3254
3255impl ::std::fmt::Debug for GstUri {
3256 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3257 f.debug_struct(&format!("GstUri @ {self:p}")).finish()
3258 }
3259}
3260
3261#[derive(Copy, Clone)]
3262#[repr(C)]
3263pub struct GstValueTable {
3264 pub type_: GType,
3265 pub compare: GstValueCompareFunc,
3266 pub serialize: GstValueSerializeFunc,
3267 pub deserialize: GstValueDeserializeFunc,
3268 pub deserialize_with_pspec: GstValueDeserializeWithPSpecFunc,
3269 pub hash: GstValueHashFunc,
3270 pub _gst_reserved: [gpointer; 2],
3271}
3272
3273impl ::std::fmt::Debug for GstValueTable {
3274 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3275 f.debug_struct(&format!("GstValueTable @ {self:p}"))
3276 .field("type_", &self.type_)
3277 .field("compare", &self.compare)
3278 .field("serialize", &self.serialize)
3279 .field("deserialize", &self.deserialize)
3280 .field("deserialize_with_pspec", &self.deserialize_with_pspec)
3281 .field("hash", &self.hash)
3282 .finish()
3283 }
3284}
3285
3286#[repr(C)]
3287#[allow(dead_code)]
3288pub struct _GstVecDeque {
3289 _data: [u8; 0],
3290 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3291}
3292
3293pub type GstVecDeque = _GstVecDeque;
3294
3295#[derive(Copy, Clone)]
3297#[repr(C)]
3298pub struct GstAllocator {
3299 pub object: GstObject,
3300 pub mem_type: *const c_char,
3301 pub mem_map: GstMemoryMapFunction,
3302 pub mem_unmap: GstMemoryUnmapFunction,
3303 pub mem_copy: GstMemoryCopyFunction,
3304 pub mem_share: GstMemoryShareFunction,
3305 pub mem_is_span: GstMemoryIsSpanFunction,
3306 pub mem_map_full: GstMemoryMapFullFunction,
3307 pub mem_unmap_full: GstMemoryUnmapFullFunction,
3308 pub _gst_reserved: [gpointer; 2],
3309 pub priv_: *mut GstAllocatorPrivate,
3310}
3311
3312impl ::std::fmt::Debug for GstAllocator {
3313 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3314 f.debug_struct(&format!("GstAllocator @ {self:p}"))
3315 .field("object", &self.object)
3316 .field("mem_type", &self.mem_type)
3317 .field("mem_map", &self.mem_map)
3318 .field("mem_unmap", &self.mem_unmap)
3319 .field("mem_copy", &self.mem_copy)
3320 .field("mem_share", &self.mem_share)
3321 .field("mem_is_span", &self.mem_is_span)
3322 .field("mem_map_full", &self.mem_map_full)
3323 .field("mem_unmap_full", &self.mem_unmap_full)
3324 .finish()
3325 }
3326}
3327
3328#[derive(Copy, Clone)]
3329#[repr(C)]
3330pub struct GstBin {
3331 pub element: GstElement,
3332 pub numchildren: c_int,
3333 pub children: *mut glib::GList,
3334 pub children_cookie: u32,
3335 pub child_bus: *mut GstBus,
3336 pub messages: *mut glib::GList,
3337 pub polling: gboolean,
3338 pub state_dirty: gboolean,
3339 pub clock_dirty: gboolean,
3340 pub provided_clock: *mut GstClock,
3341 pub clock_provider: *mut GstElement,
3342 pub priv_: *mut GstBinPrivate,
3343 pub _gst_reserved: [gpointer; 4],
3344}
3345
3346impl ::std::fmt::Debug for GstBin {
3347 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3348 f.debug_struct(&format!("GstBin @ {self:p}"))
3349 .field("element", &self.element)
3350 .field("numchildren", &self.numchildren)
3351 .field("children", &self.children)
3352 .field("children_cookie", &self.children_cookie)
3353 .field("child_bus", &self.child_bus)
3354 .field("messages", &self.messages)
3355 .field("polling", &self.polling)
3356 .field("state_dirty", &self.state_dirty)
3357 .field("clock_dirty", &self.clock_dirty)
3358 .field("provided_clock", &self.provided_clock)
3359 .field("clock_provider", &self.clock_provider)
3360 .finish()
3361 }
3362}
3363
3364#[repr(C)]
3365#[allow(dead_code)]
3366pub struct GstBitmask {
3367 _data: [u8; 0],
3368 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3369}
3370
3371impl ::std::fmt::Debug for GstBitmask {
3372 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3373 f.debug_struct(&format!("GstBitmask @ {self:p}")).finish()
3374 }
3375}
3376
3377#[derive(Copy, Clone)]
3378#[repr(C)]
3379pub struct GstBufferPool {
3380 pub object: GstObject,
3381 pub flushing: c_int,
3382 pub priv_: *mut GstBufferPoolPrivate,
3383 pub _gst_reserved: [gpointer; 4],
3384}
3385
3386impl ::std::fmt::Debug for GstBufferPool {
3387 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3388 f.debug_struct(&format!("GstBufferPool @ {self:p}"))
3389 .field("object", &self.object)
3390 .field("flushing", &self.flushing)
3391 .finish()
3392 }
3393}
3394
3395#[derive(Copy, Clone)]
3396#[repr(C)]
3397pub struct GstBus {
3398 pub object: GstObject,
3399 pub priv_: *mut GstBusPrivate,
3400 pub _gst_reserved: [gpointer; 4],
3401}
3402
3403impl ::std::fmt::Debug for GstBus {
3404 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3405 f.debug_struct(&format!("GstBus @ {self:p}"))
3406 .field("object", &self.object)
3407 .finish()
3408 }
3409}
3410
3411#[derive(Copy, Clone)]
3412#[repr(C)]
3413pub struct GstClock {
3414 pub object: GstObject,
3415 pub priv_: *mut GstClockPrivate,
3416 pub _gst_reserved: [gpointer; 4],
3417}
3418
3419impl ::std::fmt::Debug for GstClock {
3420 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3421 f.debug_struct(&format!("GstClock @ {self:p}"))
3422 .field("object", &self.object)
3423 .finish()
3424 }
3425}
3426
3427#[derive(Copy, Clone)]
3428#[repr(C)]
3429pub struct GstControlBinding {
3430 pub parent: GstObject,
3431 pub name: *mut c_char,
3432 pub pspec: *mut gobject::GParamSpec,
3433 pub object: *mut GstObject,
3434 pub disabled: gboolean,
3435 pub ABI: GstControlBinding_ABI,
3436}
3437
3438impl ::std::fmt::Debug for GstControlBinding {
3439 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3440 f.debug_struct(&format!("GstControlBinding @ {self:p}"))
3441 .field("parent", &self.parent)
3442 .field("name", &self.name)
3443 .field("pspec", &self.pspec)
3444 .field("ABI", &self.ABI)
3445 .finish()
3446 }
3447}
3448
3449#[derive(Copy, Clone)]
3450#[repr(C)]
3451pub struct GstControlSource {
3452 pub parent: GstObject,
3453 pub get_value: GstControlSourceGetValue,
3454 pub get_value_array: GstControlSourceGetValueArray,
3455 pub _gst_reserved: [gpointer; 4],
3456}
3457
3458impl ::std::fmt::Debug for GstControlSource {
3459 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3460 f.debug_struct(&format!("GstControlSource @ {self:p}"))
3461 .field("parent", &self.parent)
3462 .field("get_value", &self.get_value)
3463 .field("get_value_array", &self.get_value_array)
3464 .finish()
3465 }
3466}
3467
3468#[derive(Copy, Clone)]
3469#[repr(C)]
3470pub struct GstDevice {
3471 pub parent: GstObject,
3472 pub priv_: *mut GstDevicePrivate,
3473 pub _gst_reserved: [gpointer; 4],
3474}
3475
3476impl ::std::fmt::Debug for GstDevice {
3477 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3478 f.debug_struct(&format!("GstDevice @ {self:p}"))
3479 .field("parent", &self.parent)
3480 .finish()
3481 }
3482}
3483
3484#[derive(Copy, Clone)]
3485#[repr(C)]
3486pub struct GstDeviceMonitor {
3487 pub parent: GstObject,
3488 pub priv_: *mut GstDeviceMonitorPrivate,
3489 pub _gst_reserved: [gpointer; 4],
3490}
3491
3492impl ::std::fmt::Debug for GstDeviceMonitor {
3493 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3494 f.debug_struct(&format!("GstDeviceMonitor @ {self:p}"))
3495 .field("parent", &self.parent)
3496 .finish()
3497 }
3498}
3499
3500#[derive(Copy, Clone)]
3501#[repr(C)]
3502pub struct GstDeviceProvider {
3503 pub parent: GstObject,
3504 pub devices: *mut glib::GList,
3505 pub priv_: *mut GstDeviceProviderPrivate,
3506 pub _gst_reserved: [gpointer; 4],
3507}
3508
3509impl ::std::fmt::Debug for GstDeviceProvider {
3510 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3511 f.debug_struct(&format!("GstDeviceProvider @ {self:p}"))
3512 .field("parent", &self.parent)
3513 .field("devices", &self.devices)
3514 .finish()
3515 }
3516}
3517
3518#[repr(C)]
3519#[allow(dead_code)]
3520pub struct GstDeviceProviderFactory {
3521 _data: [u8; 0],
3522 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3523}
3524
3525impl ::std::fmt::Debug for GstDeviceProviderFactory {
3526 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3527 f.debug_struct(&format!("GstDeviceProviderFactory @ {self:p}"))
3528 .finish()
3529 }
3530}
3531
3532#[repr(C)]
3533#[allow(dead_code)]
3534pub struct GstDoubleRange {
3535 _data: [u8; 0],
3536 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3537}
3538
3539impl ::std::fmt::Debug for GstDoubleRange {
3540 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3541 f.debug_struct(&format!("GstDoubleRange @ {self:p}"))
3542 .finish()
3543 }
3544}
3545
3546#[repr(C)]
3547#[allow(dead_code)]
3548pub struct GstDynamicTypeFactory {
3549 _data: [u8; 0],
3550 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3551}
3552
3553impl ::std::fmt::Debug for GstDynamicTypeFactory {
3554 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3555 f.debug_struct(&format!("GstDynamicTypeFactory @ {self:p}"))
3556 .finish()
3557 }
3558}
3559
3560#[derive(Copy, Clone)]
3561#[repr(C)]
3562pub struct GstElement {
3563 pub object: GstObject,
3564 pub state_lock: glib::GRecMutex,
3565 pub state_cond: glib::GCond,
3566 pub state_cookie: u32,
3567 pub target_state: GstState,
3568 pub current_state: GstState,
3569 pub next_state: GstState,
3570 pub pending_state: GstState,
3571 pub last_return: GstStateChangeReturn,
3572 pub bus: *mut GstBus,
3573 pub clock: *mut GstClock,
3574 pub base_time: GstClockTimeDiff,
3575 pub start_time: GstClockTime,
3576 pub numpads: u16,
3577 pub pads: *mut glib::GList,
3578 pub numsrcpads: u16,
3579 pub srcpads: *mut glib::GList,
3580 pub numsinkpads: u16,
3581 pub sinkpads: *mut glib::GList,
3582 pub pads_cookie: u32,
3583 pub contexts: *mut glib::GList,
3584 pub _gst_reserved: [gpointer; 3],
3585}
3586
3587impl ::std::fmt::Debug for GstElement {
3588 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3589 f.debug_struct(&format!("GstElement @ {self:p}"))
3590 .field("object", &self.object)
3591 .field("state_lock", &self.state_lock)
3592 .field("state_cond", &self.state_cond)
3593 .field("state_cookie", &self.state_cookie)
3594 .field("target_state", &self.target_state)
3595 .field("current_state", &self.current_state)
3596 .field("next_state", &self.next_state)
3597 .field("pending_state", &self.pending_state)
3598 .field("last_return", &self.last_return)
3599 .field("bus", &self.bus)
3600 .field("clock", &self.clock)
3601 .field("base_time", &self.base_time)
3602 .field("start_time", &self.start_time)
3603 .field("numpads", &self.numpads)
3604 .field("pads", &self.pads)
3605 .field("numsrcpads", &self.numsrcpads)
3606 .field("srcpads", &self.srcpads)
3607 .field("numsinkpads", &self.numsinkpads)
3608 .field("sinkpads", &self.sinkpads)
3609 .field("pads_cookie", &self.pads_cookie)
3610 .field("contexts", &self.contexts)
3611 .finish()
3612 }
3613}
3614
3615#[repr(C)]
3616#[allow(dead_code)]
3617pub struct GstElementFactory {
3618 _data: [u8; 0],
3619 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3620}
3621
3622impl ::std::fmt::Debug for GstElementFactory {
3623 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3624 f.debug_struct(&format!("GstElementFactory @ {self:p}"))
3625 .finish()
3626 }
3627}
3628
3629#[repr(C)]
3630#[allow(dead_code)]
3631pub struct GstFlagSet {
3632 _data: [u8; 0],
3633 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3634}
3635
3636impl ::std::fmt::Debug for GstFlagSet {
3637 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3638 f.debug_struct(&format!("GstFlagSet @ {self:p}")).finish()
3639 }
3640}
3641
3642#[repr(C)]
3643#[allow(dead_code)]
3644pub struct GstFraction {
3645 _data: [u8; 0],
3646 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3647}
3648
3649impl ::std::fmt::Debug for GstFraction {
3650 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3651 f.debug_struct(&format!("GstFraction @ {self:p}")).finish()
3652 }
3653}
3654
3655#[repr(C)]
3656#[allow(dead_code)]
3657pub struct GstFractionRange {
3658 _data: [u8; 0],
3659 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3660}
3661
3662impl ::std::fmt::Debug for GstFractionRange {
3663 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3664 f.debug_struct(&format!("GstFractionRange @ {self:p}"))
3665 .finish()
3666 }
3667}
3668
3669#[derive(Copy, Clone)]
3670#[repr(C)]
3671pub struct GstGhostPad {
3672 pub pad: GstProxyPad,
3673 pub priv_: *mut GstGhostPadPrivate,
3674}
3675
3676impl ::std::fmt::Debug for GstGhostPad {
3677 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3678 f.debug_struct(&format!("GstGhostPad @ {self:p}"))
3679 .field("pad", &self.pad)
3680 .finish()
3681 }
3682}
3683
3684#[repr(C)]
3685#[allow(dead_code)]
3686pub struct GstInt64Range {
3687 _data: [u8; 0],
3688 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3689}
3690
3691impl ::std::fmt::Debug for GstInt64Range {
3692 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3693 f.debug_struct(&format!("GstInt64Range @ {self:p}"))
3694 .finish()
3695 }
3696}
3697
3698#[repr(C)]
3699#[allow(dead_code)]
3700pub struct GstIntRange {
3701 _data: [u8; 0],
3702 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3703}
3704
3705impl ::std::fmt::Debug for GstIntRange {
3706 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3707 f.debug_struct(&format!("GstIntRange @ {self:p}")).finish()
3708 }
3709}
3710
3711#[repr(C)]
3712#[allow(dead_code)]
3713pub struct GstMetaFactory {
3714 _data: [u8; 0],
3715 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3716}
3717
3718impl ::std::fmt::Debug for GstMetaFactory {
3719 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3720 f.debug_struct(&format!("GstMetaFactory @ {self:p}"))
3721 .finish()
3722 }
3723}
3724
3725#[derive(Copy, Clone)]
3726#[repr(C)]
3727pub struct GstObject {
3728 pub object: gobject::GInitiallyUnowned,
3729 pub lock: glib::GMutex,
3730 pub name: *mut c_char,
3731 pub parent: *mut GstObject,
3732 pub flags: u32,
3733 pub control_bindings: *mut glib::GList,
3734 pub control_rate: u64,
3735 pub last_sync: u64,
3736 pub _gst_reserved: gpointer,
3737}
3738
3739impl ::std::fmt::Debug for GstObject {
3740 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3741 f.debug_struct(&format!("GstObject @ {self:p}"))
3742 .field("object", &self.object)
3743 .field("lock", &self.lock)
3744 .field("name", &self.name)
3745 .field("parent", &self.parent)
3746 .field("flags", &self.flags)
3747 .finish()
3748 }
3749}
3750
3751#[derive(Copy, Clone)]
3752#[repr(C)]
3753pub struct GstPad {
3754 pub object: GstObject,
3755 pub element_private: gpointer,
3756 pub padtemplate: *mut GstPadTemplate,
3757 pub direction: GstPadDirection,
3758 pub stream_rec_lock: glib::GRecMutex,
3759 pub task: *mut GstTask,
3760 pub block_cond: glib::GCond,
3761 pub probes: glib::GHookList,
3762 pub mode: GstPadMode,
3763 pub activatefunc: GstPadActivateFunction,
3764 pub activatedata: gpointer,
3765 pub activatenotify: glib::GDestroyNotify,
3766 pub activatemodefunc: GstPadActivateModeFunction,
3767 pub activatemodedata: gpointer,
3768 pub activatemodenotify: glib::GDestroyNotify,
3769 pub peer: *mut GstPad,
3770 pub linkfunc: GstPadLinkFunction,
3771 pub linkdata: gpointer,
3772 pub linknotify: glib::GDestroyNotify,
3773 pub unlinkfunc: GstPadUnlinkFunction,
3774 pub unlinkdata: gpointer,
3775 pub unlinknotify: glib::GDestroyNotify,
3776 pub chainfunc: GstPadChainFunction,
3777 pub chaindata: gpointer,
3778 pub chainnotify: glib::GDestroyNotify,
3779 pub chainlistfunc: GstPadChainListFunction,
3780 pub chainlistdata: gpointer,
3781 pub chainlistnotify: glib::GDestroyNotify,
3782 pub getrangefunc: GstPadGetRangeFunction,
3783 pub getrangedata: gpointer,
3784 pub getrangenotify: glib::GDestroyNotify,
3785 pub eventfunc: GstPadEventFunction,
3786 pub eventdata: gpointer,
3787 pub eventnotify: glib::GDestroyNotify,
3788 pub offset: i64,
3789 pub queryfunc: GstPadQueryFunction,
3790 pub querydata: gpointer,
3791 pub querynotify: glib::GDestroyNotify,
3792 pub iterintlinkfunc: GstPadIterIntLinkFunction,
3793 pub iterintlinkdata: gpointer,
3794 pub iterintlinknotify: glib::GDestroyNotify,
3795 pub num_probes: c_int,
3796 pub num_blocked: c_int,
3797 pub priv_: *mut GstPadPrivate,
3798 pub ABI: GstPad_ABI,
3799}
3800
3801impl ::std::fmt::Debug for GstPad {
3802 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3803 f.debug_struct(&format!("GstPad @ {self:p}"))
3804 .field("object", &self.object)
3805 .field("element_private", &self.element_private)
3806 .field("padtemplate", &self.padtemplate)
3807 .field("direction", &self.direction)
3808 .field("ABI", &self.ABI)
3809 .finish()
3810 }
3811}
3812
3813#[derive(Copy, Clone)]
3814#[repr(C)]
3815pub struct GstPadTemplate {
3816 pub object: GstObject,
3817 pub name_template: *mut c_char,
3818 pub direction: GstPadDirection,
3819 pub presence: GstPadPresence,
3820 pub caps: *mut GstCaps,
3821 pub ABI: GstPadTemplate_ABI,
3822}
3823
3824impl ::std::fmt::Debug for GstPadTemplate {
3825 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3826 f.debug_struct(&format!("GstPadTemplate @ {self:p}"))
3827 .field("object", &self.object)
3828 .field("name_template", &self.name_template)
3829 .field("direction", &self.direction)
3830 .field("presence", &self.presence)
3831 .field("caps", &self.caps)
3832 .field("ABI", &self.ABI)
3833 .finish()
3834 }
3835}
3836
3837#[derive(Copy, Clone)]
3838#[repr(C)]
3839pub struct GstParamSpecArray {
3840 pub parent_instance: gobject::GParamSpec,
3841 pub element_spec: *mut gobject::GParamSpec,
3842}
3843
3844impl ::std::fmt::Debug for GstParamSpecArray {
3845 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3846 f.debug_struct(&format!("GstParamSpecArray @ {self:p}"))
3847 .field("parent_instance", &self.parent_instance)
3848 .field("element_spec", &self.element_spec)
3849 .finish()
3850 }
3851}
3852
3853#[derive(Copy, Clone)]
3854#[repr(C)]
3855pub struct GstParamSpecFraction {
3856 pub parent_instance: gobject::GParamSpec,
3857 pub min_num: c_int,
3858 pub min_den: c_int,
3859 pub max_num: c_int,
3860 pub max_den: c_int,
3861 pub def_num: c_int,
3862 pub def_den: c_int,
3863}
3864
3865impl ::std::fmt::Debug for GstParamSpecFraction {
3866 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3867 f.debug_struct(&format!("GstParamSpecFraction @ {self:p}"))
3868 .field("parent_instance", &self.parent_instance)
3869 .field("min_num", &self.min_num)
3870 .field("min_den", &self.min_den)
3871 .field("max_num", &self.max_num)
3872 .field("max_den", &self.max_den)
3873 .field("def_num", &self.def_num)
3874 .field("def_den", &self.def_den)
3875 .finish()
3876 }
3877}
3878
3879#[derive(Copy, Clone)]
3880#[repr(C)]
3881pub struct GstPipeline {
3882 pub bin: GstBin,
3883 pub fixed_clock: *mut GstClock,
3884 pub stream_time: GstClockTime,
3885 pub delay: GstClockTime,
3886 pub priv_: *mut GstPipelinePrivate,
3887 pub _gst_reserved: [gpointer; 4],
3888}
3889
3890impl ::std::fmt::Debug for GstPipeline {
3891 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3892 f.debug_struct(&format!("GstPipeline @ {self:p}"))
3893 .field("bin", &self.bin)
3894 .field("fixed_clock", &self.fixed_clock)
3895 .field("stream_time", &self.stream_time)
3896 .field("delay", &self.delay)
3897 .finish()
3898 }
3899}
3900
3901#[repr(C)]
3902#[allow(dead_code)]
3903pub struct GstPlugin {
3904 _data: [u8; 0],
3905 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3906}
3907
3908impl ::std::fmt::Debug for GstPlugin {
3909 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3910 f.debug_struct(&format!("GstPlugin @ {self:p}")).finish()
3911 }
3912}
3913
3914#[repr(C)]
3915#[allow(dead_code)]
3916pub struct GstPluginFeature {
3917 _data: [u8; 0],
3918 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
3919}
3920
3921impl ::std::fmt::Debug for GstPluginFeature {
3922 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3923 f.debug_struct(&format!("GstPluginFeature @ {self:p}"))
3924 .finish()
3925 }
3926}
3927
3928#[derive(Copy, Clone)]
3929#[repr(C)]
3930pub struct GstProxyPad {
3931 pub pad: GstPad,
3932 pub priv_: *mut GstProxyPadPrivate,
3933}
3934
3935impl ::std::fmt::Debug for GstProxyPad {
3936 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3937 f.debug_struct(&format!("GstProxyPad @ {self:p}"))
3938 .field("pad", &self.pad)
3939 .finish()
3940 }
3941}
3942
3943#[derive(Copy, Clone)]
3944#[repr(C)]
3945pub struct GstRegistry {
3946 pub object: GstObject,
3947 pub priv_: *mut GstRegistryPrivate,
3948}
3949
3950impl ::std::fmt::Debug for GstRegistry {
3951 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3952 f.debug_struct(&format!("GstRegistry @ {self:p}"))
3953 .field("object", &self.object)
3954 .finish()
3955 }
3956}
3957
3958#[derive(Copy, Clone)]
3959#[repr(C)]
3960pub struct GstSharedTaskPool {
3961 pub parent: GstTaskPool,
3962 pub priv_: *mut GstSharedTaskPoolPrivate,
3963 pub _gst_reserved: [gpointer; 4],
3964}
3965
3966impl ::std::fmt::Debug for GstSharedTaskPool {
3967 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3968 f.debug_struct(&format!("GstSharedTaskPool @ {self:p}"))
3969 .field("parent", &self.parent)
3970 .finish()
3971 }
3972}
3973
3974#[derive(Copy, Clone)]
3975#[repr(C)]
3976pub struct GstStream {
3977 pub object: GstObject,
3978 pub stream_id: *const c_char,
3979 pub priv_: *mut GstStreamPrivate,
3980 pub _gst_reserved: [gpointer; 4],
3981}
3982
3983impl ::std::fmt::Debug for GstStream {
3984 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
3985 f.debug_struct(&format!("GstStream @ {self:p}"))
3986 .field("stream_id", &self.stream_id)
3987 .finish()
3988 }
3989}
3990
3991#[derive(Copy, Clone)]
3992#[repr(C)]
3993pub struct GstStreamCollection {
3994 pub object: GstObject,
3995 pub upstream_id: *mut c_char,
3996 pub priv_: *mut GstStreamCollectionPrivate,
3997 pub _gst_reserved: [gpointer; 4],
3998}
3999
4000impl ::std::fmt::Debug for GstStreamCollection {
4001 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4002 f.debug_struct(&format!("GstStreamCollection @ {self:p}"))
4003 .finish()
4004 }
4005}
4006
4007#[derive(Copy, Clone)]
4008#[repr(C)]
4009pub struct GstSystemClock {
4010 pub clock: GstClock,
4011 pub priv_: *mut GstSystemClockPrivate,
4012 pub _gst_reserved: [gpointer; 4],
4013}
4014
4015impl ::std::fmt::Debug for GstSystemClock {
4016 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4017 f.debug_struct(&format!("GstSystemClock @ {self:p}"))
4018 .field("clock", &self.clock)
4019 .finish()
4020 }
4021}
4022
4023#[derive(Copy, Clone)]
4024#[repr(C)]
4025pub struct GstTask {
4026 pub object: GstObject,
4027 pub state: GstTaskState,
4028 pub cond: glib::GCond,
4029 pub lock: *mut glib::GRecMutex,
4030 pub func: GstTaskFunction,
4031 pub user_data: gpointer,
4032 pub notify: glib::GDestroyNotify,
4033 pub running: gboolean,
4034 pub thread: *mut glib::GThread,
4035 pub priv_: *mut GstTaskPrivate,
4036 pub _gst_reserved: [gpointer; 4],
4037}
4038
4039impl ::std::fmt::Debug for GstTask {
4040 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4041 f.debug_struct(&format!("GstTask @ {self:p}"))
4042 .field("object", &self.object)
4043 .field("state", &self.state)
4044 .field("cond", &self.cond)
4045 .field("lock", &self.lock)
4046 .field("func", &self.func)
4047 .field("user_data", &self.user_data)
4048 .field("notify", &self.notify)
4049 .field("running", &self.running)
4050 .finish()
4051 }
4052}
4053
4054#[derive(Copy, Clone)]
4055#[repr(C)]
4056pub struct GstTaskPool {
4057 pub object: GstObject,
4058 pub pool: *mut glib::GThreadPool,
4059 pub _gst_reserved: [gpointer; 4],
4060}
4061
4062impl ::std::fmt::Debug for GstTaskPool {
4063 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4064 f.debug_struct(&format!("GstTaskPool @ {self:p}"))
4065 .field("object", &self.object)
4066 .finish()
4067 }
4068}
4069
4070#[derive(Copy, Clone)]
4071#[repr(C)]
4072pub struct GstTracer {
4073 pub parent: GstObject,
4074 pub priv_: *mut GstTracerPrivate,
4075 pub _gst_reserved: [gpointer; 4],
4076}
4077
4078impl ::std::fmt::Debug for GstTracer {
4079 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4080 f.debug_struct(&format!("GstTracer @ {self:p}"))
4081 .field("parent", &self.parent)
4082 .finish()
4083 }
4084}
4085
4086#[repr(C)]
4087#[allow(dead_code)]
4088pub struct GstTracerFactory {
4089 _data: [u8; 0],
4090 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4091}
4092
4093impl ::std::fmt::Debug for GstTracerFactory {
4094 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4095 f.debug_struct(&format!("GstTracerFactory @ {self:p}"))
4096 .finish()
4097 }
4098}
4099
4100#[repr(C)]
4101#[allow(dead_code)]
4102pub struct GstTracerRecord {
4103 _data: [u8; 0],
4104 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4105}
4106
4107impl ::std::fmt::Debug for GstTracerRecord {
4108 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4109 f.debug_struct(&format!("GstTracerRecord @ {self:p}"))
4110 .finish()
4111 }
4112}
4113
4114#[repr(C)]
4115#[allow(dead_code)]
4116pub struct GstTypeFindFactory {
4117 _data: [u8; 0],
4118 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4119}
4120
4121impl ::std::fmt::Debug for GstTypeFindFactory {
4122 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4123 f.debug_struct(&format!("GstTypeFindFactory @ {self:p}"))
4124 .finish()
4125 }
4126}
4127
4128#[repr(C)]
4129#[allow(dead_code)]
4130pub struct GstValueArray {
4131 _data: [u8; 0],
4132 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4133}
4134
4135impl ::std::fmt::Debug for GstValueArray {
4136 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4137 f.debug_struct(&format!("GstValueArray @ {self:p}"))
4138 .finish()
4139 }
4140}
4141
4142#[repr(C)]
4143#[allow(dead_code)]
4144pub struct GstValueList {
4145 _data: [u8; 0],
4146 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4147}
4148
4149impl ::std::fmt::Debug for GstValueList {
4150 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4151 f.debug_struct(&format!("GstValueList @ {self:p}")).finish()
4152 }
4153}
4154
4155#[repr(C)]
4156#[allow(dead_code)]
4157pub struct GstValueUniqueList {
4158 _data: [u8; 0],
4159 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4160}
4161
4162impl ::std::fmt::Debug for GstValueUniqueList {
4163 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4164 f.debug_struct(&format!("GstValueUniqueList @ {self:p}"))
4165 .finish()
4166 }
4167}
4168
4169#[repr(C)]
4171#[allow(dead_code)]
4172pub struct GstChildProxy {
4173 _data: [u8; 0],
4174 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4175}
4176
4177impl ::std::fmt::Debug for GstChildProxy {
4178 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4179 write!(f, "GstChildProxy @ {self:p}")
4180 }
4181}
4182
4183#[repr(C)]
4184#[allow(dead_code)]
4185pub struct GstPreset {
4186 _data: [u8; 0],
4187 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4188}
4189
4190impl ::std::fmt::Debug for GstPreset {
4191 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4192 write!(f, "GstPreset @ {self:p}")
4193 }
4194}
4195
4196#[repr(C)]
4197#[allow(dead_code)]
4198pub struct GstTagSetter {
4199 _data: [u8; 0],
4200 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4201}
4202
4203impl ::std::fmt::Debug for GstTagSetter {
4204 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4205 write!(f, "GstTagSetter @ {self:p}")
4206 }
4207}
4208
4209#[repr(C)]
4210#[allow(dead_code)]
4211pub struct GstTocSetter {
4212 _data: [u8; 0],
4213 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4214}
4215
4216impl ::std::fmt::Debug for GstTocSetter {
4217 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4218 write!(f, "GstTocSetter @ {self:p}")
4219 }
4220}
4221
4222#[repr(C)]
4223#[allow(dead_code)]
4224pub struct GstURIHandler {
4225 _data: [u8; 0],
4226 _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
4227}
4228
4229impl ::std::fmt::Debug for GstURIHandler {
4230 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
4231 write!(f, "GstURIHandler @ {self:p}")
4232 }
4233}
4234
4235unsafe extern "C" {
4236
4237 pub fn gst_buffering_mode_get_type() -> GType;
4241
4242 pub fn gst_bus_sync_reply_get_type() -> GType;
4246
4247 pub fn gst_caps_intersect_mode_get_type() -> GType;
4251
4252 pub fn gst_clock_entry_type_get_type() -> GType;
4256
4257 pub fn gst_clock_return_get_type() -> GType;
4261
4262 pub fn gst_clock_type_get_type() -> GType;
4266
4267 pub fn gst_core_error_get_type() -> GType;
4271 pub fn gst_core_error_quark() -> glib::GQuark;
4272
4273 pub fn gst_debug_color_mode_get_type() -> GType;
4277
4278 pub fn gst_debug_level_get_type() -> GType;
4282 pub fn gst_debug_level_get_name(level: GstDebugLevel) -> *const c_char;
4283
4284 pub fn gst_event_type_get_type() -> GType;
4288 pub fn gst_event_type_get_flags(type_: GstEventType) -> GstEventTypeFlags;
4289 pub fn gst_event_type_get_name(type_: GstEventType) -> *const c_char;
4290 pub fn gst_event_type_to_quark(type_: GstEventType) -> glib::GQuark;
4291 #[cfg(feature = "v1_22")]
4292 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
4293 pub fn gst_event_type_to_sticky_ordering(type_: GstEventType) -> c_uint;
4294
4295 pub fn gst_flow_return_get_type() -> GType;
4299
4300 pub fn gst_format_get_type() -> GType;
4304 pub fn gst_format_get_by_nick(nick: *const c_char) -> GstFormat;
4305 pub fn gst_format_get_details(format: GstFormat) -> *const GstFormatDefinition;
4306 pub fn gst_format_get_name(format: GstFormat) -> *const c_char;
4307 pub fn gst_format_iterate_definitions() -> *mut GstIterator;
4308 pub fn gst_format_register(nick: *const c_char, description: *const c_char) -> GstFormat;
4309 pub fn gst_format_to_quark(format: GstFormat) -> glib::GQuark;
4310
4311 pub fn gst_iterator_item_get_type() -> GType;
4315
4316 pub fn gst_iterator_result_get_type() -> GType;
4320
4321 pub fn gst_library_error_get_type() -> GType;
4325 pub fn gst_library_error_quark() -> glib::GQuark;
4326
4327 pub fn gst_pad_direction_get_type() -> GType;
4331
4332 pub fn gst_pad_link_return_get_type() -> GType;
4336
4337 pub fn gst_pad_mode_get_type() -> GType;
4341 pub fn gst_pad_mode_get_name(mode: GstPadMode) -> *const c_char;
4342
4343 pub fn gst_pad_presence_get_type() -> GType;
4347
4348 pub fn gst_pad_probe_return_get_type() -> GType;
4352
4353 pub fn gst_parse_error_get_type() -> GType;
4357 pub fn gst_parse_error_quark() -> glib::GQuark;
4358
4359 pub fn gst_plugin_error_get_type() -> GType;
4363 pub fn gst_plugin_error_quark() -> glib::GQuark;
4364
4365 pub fn gst_progress_type_get_type() -> GType;
4369
4370 pub fn gst_promise_result_get_type() -> GType;
4374
4375 pub fn gst_qos_type_get_type() -> GType;
4379
4380 pub fn gst_query_type_get_type() -> GType;
4384 pub fn gst_query_type_get_flags(type_: GstQueryType) -> GstQueryTypeFlags;
4385 pub fn gst_query_type_get_name(type_: GstQueryType) -> *const c_char;
4386 pub fn gst_query_type_to_quark(type_: GstQueryType) -> glib::GQuark;
4387
4388 pub fn gst_rank_get_type() -> GType;
4392
4393 pub fn gst_resource_error_get_type() -> GType;
4397 pub fn gst_resource_error_quark() -> glib::GQuark;
4398
4399 pub fn gst_search_mode_get_type() -> GType;
4403
4404 pub fn gst_seek_type_get_type() -> GType;
4408
4409 pub fn gst_state_get_type() -> GType;
4413 #[cfg(feature = "v1_28")]
4414 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4415 pub fn gst_state_get_name(state: GstState) -> *const c_char;
4416
4417 pub fn gst_state_change_get_type() -> GType;
4421 pub fn gst_state_change_get_name(transition: GstStateChange) -> *const c_char;
4422
4423 pub fn gst_state_change_return_get_type() -> GType;
4427 #[cfg(feature = "v1_28")]
4428 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4429 pub fn gst_state_change_return_get_name(state_ret: GstStateChangeReturn) -> *const c_char;
4430
4431 pub fn gst_stream_error_get_type() -> GType;
4435 pub fn gst_stream_error_quark() -> glib::GQuark;
4436
4437 pub fn gst_stream_status_type_get_type() -> GType;
4441
4442 pub fn gst_structure_change_type_get_type() -> GType;
4446
4447 pub fn gst_tag_flag_get_type() -> GType;
4451
4452 pub fn gst_tag_merge_mode_get_type() -> GType;
4456
4457 pub fn gst_tag_scope_get_type() -> GType;
4461
4462 pub fn gst_task_state_get_type() -> GType;
4466
4467 pub fn gst_toc_entry_type_get_type() -> GType;
4471 pub fn gst_toc_entry_type_get_nick(type_: GstTocEntryType) -> *const c_char;
4472
4473 pub fn gst_toc_loop_type_get_type() -> GType;
4477
4478 pub fn gst_toc_scope_get_type() -> GType;
4482
4483 #[cfg(feature = "v1_30")]
4487 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
4488 pub fn gst_tracer_field_type_get_type() -> GType;
4489
4490 pub fn gst_tracer_value_scope_get_type() -> GType;
4494
4495 pub fn gst_type_find_probability_get_type() -> GType;
4499
4500 pub fn gst_uri_error_get_type() -> GType;
4504 pub fn gst_uri_error_quark() -> glib::GQuark;
4505
4506 pub fn gst_uri_type_get_type() -> GType;
4510
4511 pub fn gst_allocator_flags_get_type() -> GType;
4515
4516 pub fn gst_bin_flags_get_type() -> GType;
4520
4521 pub fn gst_buffer_copy_flags_get_type() -> GType;
4525
4526 pub fn gst_buffer_flags_get_type() -> GType;
4530
4531 pub fn gst_buffer_pool_acquire_flags_get_type() -> GType;
4535
4536 pub fn gst_bus_flags_get_type() -> GType;
4540
4541 pub fn gst_caps_flags_get_type() -> GType;
4545
4546 pub fn gst_clock_flags_get_type() -> GType;
4550
4551 pub fn gst_debug_color_flags_get_type() -> GType;
4555
4556 pub fn gst_debug_graph_details_get_type() -> GType;
4560
4561 pub fn gst_element_flags_get_type() -> GType;
4565
4566 pub fn gst_event_type_flags_get_type() -> GType;
4570
4571 #[cfg(feature = "v1_20")]
4575 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4576 pub fn gst_gap_flags_get_type() -> GType;
4577
4578 pub fn gst_lock_flags_get_type() -> GType;
4582
4583 #[cfg(feature = "v1_28")]
4587 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4588 pub fn gst_log_context_flags_get_type() -> GType;
4589
4590 #[cfg(feature = "v1_28")]
4594 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4595 pub fn gst_log_context_hash_flags_get_type() -> GType;
4596
4597 pub fn gst_map_flags_get_type() -> GType;
4601
4602 pub fn gst_memory_flags_get_type() -> GType;
4606
4607 pub fn gst_message_type_get_type() -> GType;
4611 pub fn gst_message_type_get_name(type_: GstMessageType) -> *const c_char;
4612 pub fn gst_message_type_to_quark(type_: GstMessageType) -> glib::GQuark;
4613
4614 pub fn gst_meta_flags_get_type() -> GType;
4618
4619 pub fn gst_mini_object_flags_get_type() -> GType;
4623
4624 pub fn gst_object_flags_get_type() -> GType;
4628
4629 pub fn gst_pad_flags_get_type() -> GType;
4633
4634 pub fn gst_pad_link_check_get_type() -> GType;
4638
4639 pub fn gst_pad_probe_type_get_type() -> GType;
4643
4644 pub fn gst_pad_template_flags_get_type() -> GType;
4648
4649 pub fn gst_parse_flags_get_type() -> GType;
4653
4654 pub fn gst_pipeline_flags_get_type() -> GType;
4658
4659 #[cfg(feature = "v1_18")]
4663 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
4664 pub fn gst_plugin_api_flags_get_type() -> GType;
4665
4666 pub fn gst_plugin_dependency_flags_get_type() -> GType;
4670
4671 pub fn gst_plugin_flags_get_type() -> GType;
4675
4676 pub fn gst_query_type_flags_get_type() -> GType;
4680
4681 pub fn gst_scheduling_flags_get_type() -> GType;
4685
4686 pub fn gst_seek_flags_get_type() -> GType;
4690
4691 pub fn gst_segment_flags_get_type() -> GType;
4695
4696 #[cfg(feature = "v1_20")]
4700 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4701 pub fn gst_serialize_flags_get_type() -> GType;
4702
4703 pub fn gst_stack_trace_flags_get_type() -> GType;
4707
4708 pub fn gst_stream_flags_get_type() -> GType;
4712
4713 pub fn gst_stream_type_get_type() -> GType;
4717 pub fn gst_stream_type_get_name(stype: GstStreamType) -> *const c_char;
4718
4719 pub fn gst_tracer_value_flags_get_type() -> GType;
4723
4724 pub fn gst_allocation_params_get_type() -> GType;
4728 #[cfg(feature = "v1_20")]
4729 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4730 pub fn gst_allocation_params_new() -> *mut GstAllocationParams;
4731 pub fn gst_allocation_params_copy(
4732 params: *const GstAllocationParams,
4733 ) -> *mut GstAllocationParams;
4734 pub fn gst_allocation_params_free(params: *mut GstAllocationParams);
4735 pub fn gst_allocation_params_init(params: *mut GstAllocationParams);
4736
4737 pub fn gst_atomic_queue_get_type() -> GType;
4741 pub fn gst_atomic_queue_new(initial_size: c_uint) -> *mut GstAtomicQueue;
4742 pub fn gst_atomic_queue_length(queue: *mut GstAtomicQueue) -> c_uint;
4743 pub fn gst_atomic_queue_peek(queue: *mut GstAtomicQueue) -> gpointer;
4744 pub fn gst_atomic_queue_pop(queue: *mut GstAtomicQueue) -> gpointer;
4745 pub fn gst_atomic_queue_push(queue: *mut GstAtomicQueue, data: gpointer);
4746 pub fn gst_atomic_queue_ref(queue: *mut GstAtomicQueue);
4747 pub fn gst_atomic_queue_unref(queue: *mut GstAtomicQueue);
4748
4749 pub fn gst_buffer_get_type() -> GType;
4753 pub fn gst_buffer_new() -> *mut GstBuffer;
4754 pub fn gst_buffer_new_allocate(
4755 allocator: *mut GstAllocator,
4756 size: size_t,
4757 params: *mut GstAllocationParams,
4758 ) -> *mut GstBuffer;
4759 #[cfg(feature = "v1_20")]
4760 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4761 pub fn gst_buffer_new_memdup(data: gconstpointer, size: size_t) -> *mut GstBuffer;
4762 pub fn gst_buffer_new_wrapped(data: gpointer, size: size_t) -> *mut GstBuffer;
4763 #[cfg(feature = "v1_16")]
4764 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
4765 pub fn gst_buffer_new_wrapped_bytes(bytes: *mut glib::GBytes) -> *mut GstBuffer;
4766 pub fn gst_buffer_new_wrapped_full(
4767 flags: GstMemoryFlags,
4768 data: gpointer,
4769 maxsize: size_t,
4770 offset: size_t,
4771 size: size_t,
4772 user_data: gpointer,
4773 notify: glib::GDestroyNotify,
4774 ) -> *mut GstBuffer;
4775 #[cfg(feature = "v1_20")]
4776 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4777 pub fn gst_buffer_add_custom_meta(
4778 buffer: *mut GstBuffer,
4779 name: *const c_char,
4780 ) -> *mut GstCustomMeta;
4781 pub fn gst_buffer_add_meta(
4782 buffer: *mut GstBuffer,
4783 info: *const GstMetaInfo,
4784 params: gpointer,
4785 ) -> *mut GstMeta;
4786 pub fn gst_buffer_add_parent_buffer_meta(
4787 buffer: *mut GstBuffer,
4788 ref_: *mut GstBuffer,
4789 ) -> *mut GstParentBufferMeta;
4790 pub fn gst_buffer_add_protection_meta(
4791 buffer: *mut GstBuffer,
4792 info: *mut GstStructure,
4793 ) -> *mut GstProtectionMeta;
4794 pub fn gst_buffer_add_reference_timestamp_meta(
4795 buffer: *mut GstBuffer,
4796 reference: *mut GstCaps,
4797 timestamp: GstClockTime,
4798 duration: GstClockTime,
4799 ) -> *mut GstReferenceTimestampMeta;
4800 pub fn gst_buffer_append(buf1: *mut GstBuffer, buf2: *mut GstBuffer) -> *mut GstBuffer;
4801 pub fn gst_buffer_append_memory(buffer: *mut GstBuffer, mem: *mut GstMemory);
4802 pub fn gst_buffer_append_region(
4803 buf1: *mut GstBuffer,
4804 buf2: *mut GstBuffer,
4805 offset: ssize_t,
4806 size: ssize_t,
4807 ) -> *mut GstBuffer;
4808 #[cfg(feature = "v1_18_3")]
4809 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4810 pub fn gst_buffer_copy(buf: *const GstBuffer) -> *mut GstBuffer;
4811 pub fn gst_buffer_copy_deep(buf: *const GstBuffer) -> *mut GstBuffer;
4812 pub fn gst_buffer_copy_into(
4813 dest: *mut GstBuffer,
4814 src: *mut GstBuffer,
4815 flags: GstBufferCopyFlags,
4816 offset: size_t,
4817 size: size_t,
4818 ) -> gboolean;
4819 pub fn gst_buffer_copy_region(
4820 parent: *mut GstBuffer,
4821 flags: GstBufferCopyFlags,
4822 offset: size_t,
4823 size: size_t,
4824 ) -> *mut GstBuffer;
4825 pub fn gst_buffer_extract(
4826 buffer: *mut GstBuffer,
4827 offset: size_t,
4828 dest: gpointer,
4829 size: size_t,
4830 ) -> size_t;
4831 pub fn gst_buffer_extract_dup(
4832 buffer: *mut GstBuffer,
4833 offset: size_t,
4834 size: size_t,
4835 dest: *mut u8,
4836 dest_size: *mut size_t,
4837 );
4838 pub fn gst_buffer_fill(
4839 buffer: *mut GstBuffer,
4840 offset: size_t,
4841 src: gconstpointer,
4842 size: size_t,
4843 ) -> size_t;
4844 pub fn gst_buffer_find_memory(
4845 buffer: *mut GstBuffer,
4846 offset: size_t,
4847 size: size_t,
4848 idx: *mut c_uint,
4849 length: *mut c_uint,
4850 skip: *mut size_t,
4851 ) -> gboolean;
4852 pub fn gst_buffer_foreach_meta(
4853 buffer: *mut GstBuffer,
4854 func: GstBufferForeachMetaFunc,
4855 user_data: gpointer,
4856 ) -> gboolean;
4857 pub fn gst_buffer_get_all_memory(buffer: *mut GstBuffer) -> *mut GstMemory;
4858 #[cfg(feature = "v1_20")]
4859 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
4860 pub fn gst_buffer_get_custom_meta(
4861 buffer: *mut GstBuffer,
4862 name: *const c_char,
4863 ) -> *mut GstCustomMeta;
4864 pub fn gst_buffer_get_flags(buffer: *mut GstBuffer) -> GstBufferFlags;
4865 pub fn gst_buffer_get_memory(buffer: *mut GstBuffer, idx: c_uint) -> *mut GstMemory;
4866 pub fn gst_buffer_get_memory_range(
4867 buffer: *mut GstBuffer,
4868 idx: c_uint,
4869 length: c_int,
4870 ) -> *mut GstMemory;
4871 pub fn gst_buffer_get_meta(buffer: *mut GstBuffer, api: GType) -> *mut GstMeta;
4872 pub fn gst_buffer_get_n_meta(buffer: *mut GstBuffer, api_type: GType) -> c_uint;
4873 pub fn gst_buffer_get_reference_timestamp_meta(
4874 buffer: *mut GstBuffer,
4875 reference: *mut GstCaps,
4876 ) -> *mut GstReferenceTimestampMeta;
4877 pub fn gst_buffer_get_size(buffer: *mut GstBuffer) -> size_t;
4878 pub fn gst_buffer_get_sizes(
4879 buffer: *mut GstBuffer,
4880 offset: *mut size_t,
4881 maxsize: *mut size_t,
4882 ) -> size_t;
4883 pub fn gst_buffer_get_sizes_range(
4884 buffer: *mut GstBuffer,
4885 idx: c_uint,
4886 length: c_int,
4887 offset: *mut size_t,
4888 maxsize: *mut size_t,
4889 ) -> size_t;
4890 pub fn gst_buffer_has_flags(buffer: *mut GstBuffer, flags: GstBufferFlags) -> gboolean;
4891 pub fn gst_buffer_insert_memory(buffer: *mut GstBuffer, idx: c_int, mem: *mut GstMemory);
4892 pub fn gst_buffer_is_all_memory_writable(buffer: *mut GstBuffer) -> gboolean;
4893 pub fn gst_buffer_is_memory_range_writable(
4894 buffer: *mut GstBuffer,
4895 idx: c_uint,
4896 length: c_int,
4897 ) -> gboolean;
4898 pub fn gst_buffer_is_writable(buf: *const GstBuffer) -> gboolean;
4899 pub fn gst_buffer_iterate_meta(buffer: *mut GstBuffer, state: *mut gpointer) -> *mut GstMeta;
4900 pub fn gst_buffer_iterate_meta_filtered(
4901 buffer: *mut GstBuffer,
4902 state: *mut gpointer,
4903 meta_api_type: GType,
4904 ) -> *mut GstMeta;
4905 pub fn gst_buffer_make_writable(buf: *mut GstBuffer) -> *mut GstBuffer;
4906 pub fn gst_buffer_map(
4907 buffer: *mut GstBuffer,
4908 info: *mut GstMapInfo,
4909 flags: GstMapFlags,
4910 ) -> gboolean;
4911 pub fn gst_buffer_map_range(
4912 buffer: *mut GstBuffer,
4913 idx: c_uint,
4914 length: c_int,
4915 info: *mut GstMapInfo,
4916 flags: GstMapFlags,
4917 ) -> gboolean;
4918 pub fn gst_buffer_memcmp(
4919 buffer: *mut GstBuffer,
4920 offset: size_t,
4921 mem: gconstpointer,
4922 size: size_t,
4923 ) -> c_int;
4924 pub fn gst_buffer_memset(
4925 buffer: *mut GstBuffer,
4926 offset: size_t,
4927 val: u8,
4928 size: size_t,
4929 ) -> size_t;
4930 pub fn gst_buffer_n_memory(buffer: *mut GstBuffer) -> c_uint;
4931 pub fn gst_buffer_peek_memory(buffer: *mut GstBuffer, idx: c_uint) -> *mut GstMemory;
4932 pub fn gst_buffer_prepend_memory(buffer: *mut GstBuffer, mem: *mut GstMemory);
4933 #[cfg(feature = "v1_18_3")]
4934 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4935 pub fn gst_buffer_ref(buf: *mut GstBuffer) -> *mut GstBuffer;
4936 pub fn gst_buffer_remove_all_memory(buffer: *mut GstBuffer);
4937 pub fn gst_buffer_remove_memory(buffer: *mut GstBuffer, idx: c_uint);
4938 pub fn gst_buffer_remove_memory_range(buffer: *mut GstBuffer, idx: c_uint, length: c_int);
4939 pub fn gst_buffer_remove_meta(buffer: *mut GstBuffer, meta: *mut GstMeta) -> gboolean;
4940 pub fn gst_buffer_replace_all_memory(buffer: *mut GstBuffer, mem: *mut GstMemory);
4941 pub fn gst_buffer_replace_memory(buffer: *mut GstBuffer, idx: c_uint, mem: *mut GstMemory);
4942 pub fn gst_buffer_replace_memory_range(
4943 buffer: *mut GstBuffer,
4944 idx: c_uint,
4945 length: c_int,
4946 mem: *mut GstMemory,
4947 );
4948 pub fn gst_buffer_resize(buffer: *mut GstBuffer, offset: ssize_t, size: ssize_t);
4949 pub fn gst_buffer_resize_range(
4950 buffer: *mut GstBuffer,
4951 idx: c_uint,
4952 length: c_int,
4953 offset: ssize_t,
4954 size: ssize_t,
4955 ) -> gboolean;
4956 pub fn gst_buffer_set_flags(buffer: *mut GstBuffer, flags: GstBufferFlags) -> gboolean;
4957 pub fn gst_buffer_set_size(buffer: *mut GstBuffer, size: ssize_t);
4958 pub fn gst_buffer_unmap(buffer: *mut GstBuffer, info: *mut GstMapInfo);
4959 #[cfg(feature = "v1_18_3")]
4960 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4961 pub fn gst_buffer_unref(buf: *mut GstBuffer);
4962 pub fn gst_buffer_unset_flags(buffer: *mut GstBuffer, flags: GstBufferFlags) -> gboolean;
4963 pub fn gst_buffer_get_max_memory() -> c_uint;
4964 #[cfg(feature = "v1_18_3")]
4965 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4966 pub fn gst_buffer_replace(obuf: *mut *mut GstBuffer, nbuf: *mut GstBuffer) -> gboolean;
4967 #[cfg(feature = "v1_28")]
4968 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4969 pub fn gst_buffer_steal(old_buffer: *mut *mut GstBuffer) -> *mut GstBuffer;
4970 #[cfg(feature = "v1_28")]
4971 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
4972 pub fn gst_buffer_take(old_buffer: *mut *mut GstBuffer, new_buffer: *mut GstBuffer)
4973 -> gboolean;
4974
4975 pub fn gst_buffer_list_get_type() -> GType;
4979 pub fn gst_buffer_list_new() -> *mut GstBufferList;
4980 pub fn gst_buffer_list_new_sized(size: c_uint) -> *mut GstBufferList;
4981 pub fn gst_buffer_list_calculate_size(list: *mut GstBufferList) -> size_t;
4982 #[cfg(feature = "v1_18_3")]
4983 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4984 pub fn gst_buffer_list_copy(list: *const GstBufferList) -> *mut GstBufferList;
4985 pub fn gst_buffer_list_copy_deep(list: *const GstBufferList) -> *mut GstBufferList;
4986 pub fn gst_buffer_list_foreach(
4987 list: *mut GstBufferList,
4988 func: GstBufferListFunc,
4989 user_data: gpointer,
4990 ) -> gboolean;
4991 pub fn gst_buffer_list_get(list: *mut GstBufferList, idx: c_uint) -> *mut GstBuffer;
4992 pub fn gst_buffer_list_get_writable(list: *mut GstBufferList, idx: c_uint) -> *mut GstBuffer;
4993 pub fn gst_buffer_list_insert(list: *mut GstBufferList, idx: c_int, buffer: *mut GstBuffer);
4994 pub fn gst_buffer_list_is_writable(list: *const GstBufferList) -> gboolean;
4995 pub fn gst_buffer_list_length(list: *mut GstBufferList) -> c_uint;
4996 pub fn gst_buffer_list_make_writable(list: *mut GstBufferList) -> *mut GstBufferList;
4997 #[cfg(feature = "v1_18_3")]
4998 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
4999 pub fn gst_buffer_list_ref(list: *mut GstBufferList) -> *mut GstBufferList;
5000 pub fn gst_buffer_list_remove(list: *mut GstBufferList, idx: c_uint, length: c_uint);
5001 #[cfg(feature = "v1_18_3")]
5002 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5003 pub fn gst_buffer_list_unref(list: *mut GstBufferList);
5004 #[cfg(feature = "v1_18_3")]
5005 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5006 pub fn gst_buffer_list_replace(
5007 old_list: *mut *mut GstBufferList,
5008 new_list: *mut GstBufferList,
5009 ) -> gboolean;
5010 #[cfg(feature = "v1_28")]
5011 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5012 pub fn gst_buffer_list_steal(old_list: *mut *mut GstBufferList) -> *mut GstBufferList;
5013 #[cfg(feature = "v1_18_3")]
5014 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5015 pub fn gst_buffer_list_take(
5016 old_list: *mut *mut GstBufferList,
5017 new_list: *mut GstBufferList,
5018 ) -> gboolean;
5019
5020 pub fn gst_caps_get_type() -> GType;
5024 pub fn gst_caps_new_any() -> *mut GstCaps;
5025 pub fn gst_caps_new_empty() -> *mut GstCaps;
5026 pub fn gst_caps_new_empty_simple(media_type: *const c_char) -> *mut GstCaps;
5027 pub fn gst_caps_new_full(struct1: *mut GstStructure, ...) -> *mut GstCaps;
5028 #[cfg(feature = "v1_26")]
5030 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5031 pub fn gst_caps_new_id_str_empty_simple(media_type: *const GstIdStr) -> *mut GstCaps;
5032 #[cfg(feature = "v1_26")]
5033 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5034 pub fn gst_caps_new_id_str_simple(
5035 media_type: *const GstIdStr,
5036 fieldname: *const GstIdStr,
5037 ...
5038 ) -> *mut GstCaps;
5039 pub fn gst_caps_new_simple(
5040 media_type: *const c_char,
5041 fieldname: *const c_char,
5042 ...
5043 ) -> *mut GstCaps;
5044 #[cfg(feature = "v1_26")]
5045 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5046 pub fn gst_caps_new_static_str_empty_simple(media_type: *const c_char) -> *mut GstCaps;
5047 #[cfg(feature = "v1_26")]
5048 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5049 pub fn gst_caps_new_static_str_simple(
5050 media_type: *const c_char,
5051 fieldname: *const c_char,
5052 ...
5053 ) -> *mut GstCaps;
5054 pub fn gst_caps_append(caps1: *mut GstCaps, caps2: *mut GstCaps);
5055 pub fn gst_caps_append_structure(caps: *mut GstCaps, structure: *mut GstStructure);
5056 pub fn gst_caps_append_structure_full(
5057 caps: *mut GstCaps,
5058 structure: *mut GstStructure,
5059 features: *mut GstCapsFeatures,
5060 );
5061 pub fn gst_caps_can_intersect(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5062 #[cfg(feature = "v1_16")]
5063 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5064 pub fn gst_caps_copy(caps: *const GstCaps) -> *mut GstCaps;
5065 #[cfg(feature = "v1_16")]
5066 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5067 pub fn gst_caps_copy_nth(caps: *const GstCaps, nth: c_uint) -> *mut GstCaps;
5068 pub fn gst_caps_filter_and_map_in_place(
5069 caps: *mut GstCaps,
5070 func: GstCapsFilterMapFunc,
5071 user_data: gpointer,
5072 );
5073 pub fn gst_caps_fixate(caps: *mut GstCaps) -> *mut GstCaps;
5074 pub fn gst_caps_foreach(
5075 caps: *const GstCaps,
5076 func: GstCapsForeachFunc,
5077 user_data: gpointer,
5078 ) -> gboolean;
5079 pub fn gst_caps_get_features(caps: *const GstCaps, index: c_uint) -> *mut GstCapsFeatures;
5080 pub fn gst_caps_get_size(caps: *const GstCaps) -> c_uint;
5081 pub fn gst_caps_get_structure(caps: *const GstCaps, index: c_uint) -> *mut GstStructure;
5082 #[cfg(feature = "v1_26")]
5083 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5084 pub fn gst_caps_id_str_set_simple(caps: *mut GstCaps, field: *const GstIdStr, ...);
5085 #[cfg(feature = "v1_26")]
5089 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5090 pub fn gst_caps_id_str_set_value(
5091 caps: *mut GstCaps,
5092 field: *const GstIdStr,
5093 value: *const gobject::GValue,
5094 );
5095 pub fn gst_caps_intersect(caps1: *mut GstCaps, caps2: *mut GstCaps) -> *mut GstCaps;
5096 pub fn gst_caps_intersect_full(
5097 caps1: *mut GstCaps,
5098 caps2: *mut GstCaps,
5099 mode: GstCapsIntersectMode,
5100 ) -> *mut GstCaps;
5101 pub fn gst_caps_is_always_compatible(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5102 pub fn gst_caps_is_any(caps: *const GstCaps) -> gboolean;
5103 pub fn gst_caps_is_empty(caps: *const GstCaps) -> gboolean;
5104 pub fn gst_caps_is_equal(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5105 pub fn gst_caps_is_equal_fixed(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5106 pub fn gst_caps_is_fixed(caps: *const GstCaps) -> gboolean;
5107 pub fn gst_caps_is_strictly_equal(caps1: *const GstCaps, caps2: *const GstCaps) -> gboolean;
5108 pub fn gst_caps_is_subset(subset: *const GstCaps, superset: *const GstCaps) -> gboolean;
5109 pub fn gst_caps_is_subset_structure(
5110 caps: *const GstCaps,
5111 structure: *const GstStructure,
5112 ) -> gboolean;
5113 pub fn gst_caps_is_subset_structure_full(
5114 caps: *const GstCaps,
5115 structure: *const GstStructure,
5116 features: *const GstCapsFeatures,
5117 ) -> gboolean;
5118 pub fn gst_caps_is_writable(caps: *const GstCaps) -> gboolean;
5119 pub fn gst_caps_make_writable(caps: *mut GstCaps) -> *mut GstCaps;
5120 pub fn gst_caps_map_in_place(
5121 caps: *mut GstCaps,
5122 func: GstCapsMapFunc,
5123 user_data: gpointer,
5124 ) -> gboolean;
5125 pub fn gst_caps_merge(caps1: *mut GstCaps, caps2: *mut GstCaps) -> *mut GstCaps;
5126 pub fn gst_caps_merge_structure(
5127 caps: *mut GstCaps,
5128 structure: *mut GstStructure,
5129 ) -> *mut GstCaps;
5130 pub fn gst_caps_merge_structure_full(
5131 caps: *mut GstCaps,
5132 structure: *mut GstStructure,
5133 features: *mut GstCapsFeatures,
5134 ) -> *mut GstCaps;
5135 pub fn gst_caps_normalize(caps: *mut GstCaps) -> *mut GstCaps;
5136 #[cfg(feature = "v1_18_3")]
5137 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5138 pub fn gst_caps_ref(caps: *mut GstCaps) -> *mut GstCaps;
5139 pub fn gst_caps_remove_structure(caps: *mut GstCaps, idx: c_uint);
5140 #[cfg(feature = "v1_20")]
5141 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5142 pub fn gst_caps_serialize(caps: *const GstCaps, flags: GstSerializeFlags) -> *mut c_char;
5143 pub fn gst_caps_set_features(caps: *mut GstCaps, index: c_uint, features: *mut GstCapsFeatures);
5144 #[cfg(feature = "v1_16")]
5145 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5146 pub fn gst_caps_set_features_simple(caps: *mut GstCaps, features: *mut GstCapsFeatures);
5147 pub fn gst_caps_set_simple(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(caps: *mut GstCaps, field: *const c_char, ...);
5151 pub fn gst_caps_set_value(
5156 caps: *mut GstCaps,
5157 field: *const c_char,
5158 value: *const gobject::GValue,
5159 );
5160 #[cfg(feature = "v1_26")]
5161 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5162 pub fn gst_caps_set_value_static_str(
5163 caps: *mut GstCaps,
5164 field: *const c_char,
5165 value: *const gobject::GValue,
5166 );
5167 pub fn gst_caps_simplify(caps: *mut GstCaps) -> *mut GstCaps;
5168 pub fn gst_caps_steal_structure(caps: *mut GstCaps, index: c_uint) -> *mut GstStructure;
5169 pub fn gst_caps_subtract(minuend: *mut GstCaps, subtrahend: *mut GstCaps) -> *mut GstCaps;
5170 pub fn gst_caps_to_string(caps: *const GstCaps) -> *mut c_char;
5171 pub fn gst_caps_truncate(caps: *mut GstCaps) -> *mut GstCaps;
5172 #[cfg(feature = "v1_18_3")]
5173 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5174 pub fn gst_caps_unref(caps: *mut GstCaps);
5175 pub fn gst_caps_from_string(string: *const c_char) -> *mut GstCaps;
5176 #[cfg(feature = "v1_18_3")]
5177 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5178 pub fn gst_caps_replace(old_caps: *mut *mut GstCaps, new_caps: *mut GstCaps) -> gboolean;
5179 #[cfg(feature = "v1_28")]
5180 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5181 pub fn gst_caps_steal(old_caps: *mut *mut GstCaps) -> *mut GstCaps;
5182 #[cfg(feature = "v1_18_3")]
5183 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5184 pub fn gst_caps_take(old_caps: *mut *mut GstCaps, new_caps: *mut GstCaps) -> gboolean;
5185
5186 pub fn gst_caps_features_get_type() -> GType;
5190 pub fn gst_caps_features_new(feature1: *const c_char, ...) -> *mut GstCapsFeatures;
5191 pub fn gst_caps_features_new_any() -> *mut GstCapsFeatures;
5192 pub fn gst_caps_features_new_empty() -> *mut GstCapsFeatures;
5193 pub fn gst_caps_features_new_id(feature1: glib::GQuark, ...) -> *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(feature1: *const GstIdStr, ...) -> *mut GstCapsFeatures;
5197 #[cfg(feature = "v1_20")]
5202 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5203 pub fn gst_caps_features_new_single(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_single_static_str(feature: *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(feature1: *const c_char, ...) -> *mut GstCapsFeatures;
5210 pub fn gst_caps_features_add(features: *mut GstCapsFeatures, feature: *const c_char);
5215 pub fn gst_caps_features_add_id(features: *mut GstCapsFeatures, feature: glib::GQuark);
5216 #[cfg(feature = "v1_26")]
5217 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5218 pub fn gst_caps_features_add_id_str(features: *mut GstCapsFeatures, feature: *const GstIdStr);
5219 #[cfg(feature = "v1_26")]
5220 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5221 pub fn gst_caps_features_add_static_str(features: *mut GstCapsFeatures, feature: *const c_char);
5222 pub fn gst_caps_features_contains(
5223 features: *const GstCapsFeatures,
5224 feature: *const c_char,
5225 ) -> gboolean;
5226 pub fn gst_caps_features_contains_id(
5227 features: *const GstCapsFeatures,
5228 feature: glib::GQuark,
5229 ) -> gboolean;
5230 #[cfg(feature = "v1_26")]
5231 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5232 pub fn gst_caps_features_contains_id_str(
5233 features: *const GstCapsFeatures,
5234 feature: *const GstIdStr,
5235 ) -> gboolean;
5236 pub fn gst_caps_features_copy(features: *const GstCapsFeatures) -> *mut GstCapsFeatures;
5237 pub fn gst_caps_features_free(features: *mut GstCapsFeatures);
5238 pub fn gst_caps_features_get_nth(features: *const GstCapsFeatures, i: c_uint) -> *const c_char;
5239 pub fn gst_caps_features_get_nth_id(
5240 features: *const GstCapsFeatures,
5241 i: c_uint,
5242 ) -> glib::GQuark;
5243 #[cfg(feature = "v1_26")]
5244 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5245 pub fn gst_caps_features_get_nth_id_str(
5246 features: *const GstCapsFeatures,
5247 i: c_uint,
5248 ) -> *const GstIdStr;
5249 pub fn gst_caps_features_get_size(features: *const GstCapsFeatures) -> c_uint;
5250 pub fn gst_caps_features_is_any(features: *const GstCapsFeatures) -> gboolean;
5251 pub fn gst_caps_features_is_equal(
5252 features1: *const GstCapsFeatures,
5253 features2: *const GstCapsFeatures,
5254 ) -> gboolean;
5255 pub fn gst_caps_features_remove(features: *mut GstCapsFeatures, feature: *const c_char);
5256 pub fn gst_caps_features_remove_id(features: *mut GstCapsFeatures, feature: glib::GQuark);
5257 #[cfg(feature = "v1_26")]
5258 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5259 pub fn gst_caps_features_remove_id_str(
5260 features: *mut GstCapsFeatures,
5261 feature: *const GstIdStr,
5262 );
5263 pub fn gst_caps_features_set_parent_refcount(
5264 features: *mut GstCapsFeatures,
5265 refcount: *mut c_int,
5266 ) -> gboolean;
5267 pub fn gst_caps_features_to_string(features: *const GstCapsFeatures) -> *mut c_char;
5268 pub fn gst_caps_features_from_string(features: *const c_char) -> *mut GstCapsFeatures;
5269
5270 pub fn gst_context_get_type() -> GType;
5274 pub fn gst_context_new(context_type: *const c_char, persistent: gboolean) -> *mut GstContext;
5275 #[cfg(feature = "v1_18_3")]
5276 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5277 pub fn gst_context_copy(context: *const GstContext) -> *mut GstContext;
5278 pub fn gst_context_get_context_type(context: *const GstContext) -> *const c_char;
5279 pub fn gst_context_get_structure(context: *const GstContext) -> *const GstStructure;
5280 #[cfg(feature = "v1_28")]
5281 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5282 pub fn gst_context_get_task_pool(
5283 context: *mut GstContext,
5284 pool: *mut *mut GstTaskPool,
5285 ) -> gboolean;
5286 pub fn gst_context_has_context_type(
5287 context: *const GstContext,
5288 context_type: *const c_char,
5289 ) -> gboolean;
5290 pub fn gst_context_is_persistent(context: *const GstContext) -> gboolean;
5291 pub fn gst_context_is_writable(context: *const GstContext) -> gboolean;
5292 pub fn gst_context_make_writable(context: *mut GstContext) -> *mut GstContext;
5293 #[cfg(feature = "v1_18_3")]
5294 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5295 pub fn gst_context_ref(context: *mut GstContext) -> *mut GstContext;
5296 #[cfg(feature = "v1_28")]
5297 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5298 pub fn gst_context_set_task_pool(context: *mut GstContext, pool: *mut GstTaskPool);
5299 #[cfg(feature = "v1_18_3")]
5300 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5301 pub fn gst_context_unref(context: *mut GstContext);
5302 pub fn gst_context_writable_structure(context: *mut GstContext) -> *mut GstStructure;
5303 #[cfg(feature = "v1_18_3")]
5304 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5305 pub fn gst_context_replace(
5306 old_context: *mut *mut GstContext,
5307 new_context: *mut GstContext,
5308 ) -> gboolean;
5309
5310 #[cfg(feature = "v1_20")]
5314 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5315 pub fn gst_custom_meta_get_structure(meta: *mut GstCustomMeta) -> *mut GstStructure;
5316 #[cfg(feature = "v1_20")]
5317 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5318 pub fn gst_custom_meta_has_name(meta: *mut GstCustomMeta, name: *const c_char) -> gboolean;
5319
5320 pub fn gst_date_time_get_type() -> GType;
5324 pub fn gst_date_time_new(
5325 tzoffset: c_float,
5326 year: c_int,
5327 month: c_int,
5328 day: c_int,
5329 hour: c_int,
5330 minute: c_int,
5331 seconds: c_double,
5332 ) -> *mut GstDateTime;
5333 pub fn gst_date_time_new_from_g_date_time(dt: *mut glib::GDateTime) -> *mut GstDateTime;
5334 pub fn gst_date_time_new_from_iso8601_string(string: *const c_char) -> *mut GstDateTime;
5335 pub fn gst_date_time_new_from_unix_epoch_local_time(secs: i64) -> *mut GstDateTime;
5336 #[cfg(feature = "v1_18")]
5337 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5338 pub fn gst_date_time_new_from_unix_epoch_local_time_usecs(usecs: i64) -> *mut GstDateTime;
5339 pub fn gst_date_time_new_from_unix_epoch_utc(secs: i64) -> *mut GstDateTime;
5340 #[cfg(feature = "v1_18")]
5341 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5342 pub fn gst_date_time_new_from_unix_epoch_utc_usecs(usecs: i64) -> *mut GstDateTime;
5343 pub fn gst_date_time_new_local_time(
5344 year: c_int,
5345 month: c_int,
5346 day: c_int,
5347 hour: c_int,
5348 minute: c_int,
5349 seconds: c_double,
5350 ) -> *mut GstDateTime;
5351 pub fn gst_date_time_new_now_local_time() -> *mut GstDateTime;
5352 pub fn gst_date_time_new_now_utc() -> *mut GstDateTime;
5353 pub fn gst_date_time_new_y(year: c_int) -> *mut GstDateTime;
5354 pub fn gst_date_time_new_ym(year: c_int, month: c_int) -> *mut GstDateTime;
5355 pub fn gst_date_time_new_ymd(year: c_int, month: c_int, day: c_int) -> *mut GstDateTime;
5356 pub fn gst_date_time_get_day(datetime: *const GstDateTime) -> c_int;
5357 pub fn gst_date_time_get_hour(datetime: *const GstDateTime) -> c_int;
5358 pub fn gst_date_time_get_microsecond(datetime: *const GstDateTime) -> c_int;
5359 pub fn gst_date_time_get_minute(datetime: *const GstDateTime) -> c_int;
5360 pub fn gst_date_time_get_month(datetime: *const GstDateTime) -> c_int;
5361 pub fn gst_date_time_get_second(datetime: *const GstDateTime) -> c_int;
5362 pub fn gst_date_time_get_time_zone_offset(datetime: *const GstDateTime) -> c_float;
5363 pub fn gst_date_time_get_year(datetime: *const GstDateTime) -> c_int;
5364 pub fn gst_date_time_has_day(datetime: *const GstDateTime) -> gboolean;
5365 pub fn gst_date_time_has_month(datetime: *const GstDateTime) -> gboolean;
5366 pub fn gst_date_time_has_second(datetime: *const GstDateTime) -> gboolean;
5367 pub fn gst_date_time_has_time(datetime: *const GstDateTime) -> gboolean;
5368 pub fn gst_date_time_has_year(datetime: *const GstDateTime) -> gboolean;
5369 pub fn gst_date_time_ref(datetime: *mut GstDateTime) -> *mut GstDateTime;
5370 pub fn gst_date_time_to_g_date_time(datetime: *mut GstDateTime) -> *mut glib::GDateTime;
5371 pub fn gst_date_time_to_iso8601_string(datetime: *mut GstDateTime) -> *mut c_char;
5372 pub fn gst_date_time_unref(datetime: *mut GstDateTime);
5373
5374 pub fn gst_debug_category_free(category: *mut GstDebugCategory);
5378 pub fn gst_debug_category_get_color(category: *mut GstDebugCategory) -> c_uint;
5379 pub fn gst_debug_category_get_description(category: *mut GstDebugCategory) -> *const c_char;
5380 pub fn gst_debug_category_get_name(category: *mut GstDebugCategory) -> *const c_char;
5381 pub fn gst_debug_category_get_threshold(category: *mut GstDebugCategory) -> GstDebugLevel;
5382 pub fn gst_debug_category_reset_threshold(category: *mut GstDebugCategory);
5383 pub fn gst_debug_category_set_threshold(category: *mut GstDebugCategory, level: GstDebugLevel);
5384
5385 pub fn gst_debug_message_get(message: *mut GstDebugMessage) -> *const c_char;
5389 #[cfg(feature = "v1_22")]
5390 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
5391 pub fn gst_debug_message_get_id(message: *mut GstDebugMessage) -> *const c_char;
5392
5393 pub fn gst_device_provider_class_add_metadata(
5397 klass: *mut GstDeviceProviderClass,
5398 key: *const c_char,
5399 value: *const c_char,
5400 );
5401 pub fn gst_device_provider_class_add_static_metadata(
5402 klass: *mut GstDeviceProviderClass,
5403 key: *const c_char,
5404 value: *const c_char,
5405 );
5406 pub fn gst_device_provider_class_get_metadata(
5407 klass: *mut GstDeviceProviderClass,
5408 key: *const c_char,
5409 ) -> *const c_char;
5410 pub fn gst_device_provider_class_set_metadata(
5411 klass: *mut GstDeviceProviderClass,
5412 longname: *const c_char,
5413 classification: *const c_char,
5414 description: *const c_char,
5415 author: *const c_char,
5416 );
5417 pub fn gst_device_provider_class_set_static_metadata(
5418 klass: *mut GstDeviceProviderClass,
5419 longname: *const c_char,
5420 classification: *const c_char,
5421 description: *const c_char,
5422 author: *const c_char,
5423 );
5424
5425 pub fn gst_element_class_add_metadata(
5429 klass: *mut GstElementClass,
5430 key: *const c_char,
5431 value: *const c_char,
5432 );
5433 pub fn gst_element_class_add_pad_template(
5434 klass: *mut GstElementClass,
5435 templ: *mut GstPadTemplate,
5436 );
5437 pub fn gst_element_class_add_static_metadata(
5438 klass: *mut GstElementClass,
5439 key: *const c_char,
5440 value: *const c_char,
5441 );
5442 pub fn gst_element_class_add_static_pad_template(
5443 klass: *mut GstElementClass,
5444 static_templ: *mut GstStaticPadTemplate,
5445 );
5446 pub fn gst_element_class_add_static_pad_template_with_gtype(
5447 klass: *mut GstElementClass,
5448 static_templ: *mut GstStaticPadTemplate,
5449 pad_type: GType,
5450 );
5451 pub fn gst_element_class_get_metadata(
5452 klass: *mut GstElementClass,
5453 key: *const c_char,
5454 ) -> *const c_char;
5455 pub fn gst_element_class_get_pad_template(
5456 element_class: *mut GstElementClass,
5457 name: *const c_char,
5458 ) -> *mut GstPadTemplate;
5459 pub fn gst_element_class_get_pad_template_list(
5460 element_class: *mut GstElementClass,
5461 ) -> *mut glib::GList;
5462 #[cfg(feature = "v1_30")]
5463 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
5464 pub fn gst_element_class_is_untrusted_aware(klass: *mut GstElementClass) -> gboolean;
5465 #[cfg(feature = "v1_30")]
5466 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
5467 pub fn gst_element_class_mark_as_untrusted_aware(klass: *mut GstElementClass);
5468 pub fn gst_element_class_set_metadata(
5469 klass: *mut GstElementClass,
5470 longname: *const c_char,
5471 classification: *const c_char,
5472 description: *const c_char,
5473 author: *const c_char,
5474 );
5475 pub fn gst_element_class_set_static_metadata(
5476 klass: *mut GstElementClass,
5477 longname: *const c_char,
5478 classification: *const c_char,
5479 description: *const c_char,
5480 author: *const c_char,
5481 );
5482
5483 pub fn gst_event_get_type() -> GType;
5487 pub fn gst_event_new_buffer_size(
5488 format: GstFormat,
5489 minsize: i64,
5490 maxsize: i64,
5491 async_: gboolean,
5492 ) -> *mut GstEvent;
5493 pub fn gst_event_new_caps(caps: *mut GstCaps) -> *mut GstEvent;
5494 pub fn gst_event_new_custom(type_: GstEventType, structure: *mut GstStructure)
5495 -> *mut GstEvent;
5496 pub fn gst_event_new_eos() -> *mut GstEvent;
5497 pub fn gst_event_new_flush_start() -> *mut GstEvent;
5498 pub fn gst_event_new_flush_stop(reset_time: gboolean) -> *mut GstEvent;
5499 pub fn gst_event_new_gap(timestamp: GstClockTime, duration: GstClockTime) -> *mut GstEvent;
5500 #[cfg(feature = "v1_18")]
5501 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5502 pub fn gst_event_new_instant_rate_change(
5503 rate_multiplier: c_double,
5504 new_flags: GstSegmentFlags,
5505 ) -> *mut GstEvent;
5506 #[cfg(feature = "v1_18")]
5507 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5508 pub fn gst_event_new_instant_rate_sync_time(
5509 rate_multiplier: c_double,
5510 running_time: GstClockTime,
5511 upstream_running_time: GstClockTime,
5512 ) -> *mut GstEvent;
5513 pub fn gst_event_new_latency(latency: GstClockTime) -> *mut GstEvent;
5514 pub fn gst_event_new_navigation(structure: *mut GstStructure) -> *mut GstEvent;
5515 pub fn gst_event_new_protection(
5516 system_id: *const c_char,
5517 data: *mut GstBuffer,
5518 origin: *const c_char,
5519 ) -> *mut GstEvent;
5520 pub fn gst_event_new_qos(
5521 type_: GstQOSType,
5522 proportion: c_double,
5523 diff: GstClockTimeDiff,
5524 timestamp: GstClockTime,
5525 ) -> *mut GstEvent;
5526 pub fn gst_event_new_reconfigure() -> *mut GstEvent;
5527 pub fn gst_event_new_seek(
5528 rate: c_double,
5529 format: GstFormat,
5530 flags: GstSeekFlags,
5531 start_type: GstSeekType,
5532 start: i64,
5533 stop_type: GstSeekType,
5534 stop: i64,
5535 ) -> *mut GstEvent;
5536 pub fn gst_event_new_segment(segment: *const GstSegment) -> *mut GstEvent;
5537 pub fn gst_event_new_segment_done(format: GstFormat, position: i64) -> *mut GstEvent;
5538 pub fn gst_event_new_select_streams(streams: *mut glib::GList) -> *mut GstEvent;
5539 pub fn gst_event_new_sink_message(name: *const c_char, msg: *mut GstMessage) -> *mut GstEvent;
5540 pub fn gst_event_new_step(
5541 format: GstFormat,
5542 amount: u64,
5543 rate: c_double,
5544 flush: gboolean,
5545 intermediate: gboolean,
5546 ) -> *mut GstEvent;
5547 pub fn gst_event_new_stream_collection(collection: *mut GstStreamCollection) -> *mut GstEvent;
5548 pub fn gst_event_new_stream_group_done(group_id: c_uint) -> *mut GstEvent;
5549 pub fn gst_event_new_stream_start(stream_id: *const c_char) -> *mut GstEvent;
5550 pub fn gst_event_new_tag(taglist: *mut GstTagList) -> *mut GstEvent;
5551 pub fn gst_event_new_toc(toc: *mut GstToc, updated: gboolean) -> *mut GstEvent;
5552 pub fn gst_event_new_toc_select(uid: *const c_char) -> *mut GstEvent;
5553 #[cfg(feature = "v1_18_3")]
5554 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5555 pub fn gst_event_copy(event: *const GstEvent) -> *mut GstEvent;
5556 pub fn gst_event_copy_segment(event: *mut GstEvent, segment: *mut GstSegment);
5557 pub fn gst_event_get_running_time_offset(event: *mut GstEvent) -> i64;
5558 pub fn gst_event_get_seqnum(event: *mut GstEvent) -> u32;
5559 pub fn gst_event_get_structure(event: *mut GstEvent) -> *const GstStructure;
5560 pub fn gst_event_has_name(event: *mut GstEvent, name: *const c_char) -> gboolean;
5561 #[cfg(feature = "v1_18")]
5562 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5563 pub fn gst_event_has_name_id(event: *mut GstEvent, name: glib::GQuark) -> gboolean;
5564 pub fn gst_event_is_writable(event: *const GstEvent) -> gboolean;
5565 pub fn gst_event_make_writable(event: *mut GstEvent) -> *mut GstEvent;
5566 pub fn gst_event_parse_buffer_size(
5567 event: *mut GstEvent,
5568 format: *mut GstFormat,
5569 minsize: *mut i64,
5570 maxsize: *mut i64,
5571 async_: *mut gboolean,
5572 );
5573 pub fn gst_event_parse_caps(event: *mut GstEvent, caps: *mut *mut GstCaps);
5574 pub fn gst_event_parse_flush_stop(event: *mut GstEvent, reset_time: *mut gboolean);
5575 pub fn gst_event_parse_gap(
5576 event: *mut GstEvent,
5577 timestamp: *mut GstClockTime,
5578 duration: *mut GstClockTime,
5579 );
5580 #[cfg(feature = "v1_20")]
5581 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5582 pub fn gst_event_parse_gap_flags(event: *mut GstEvent, flags: *mut GstGapFlags);
5583 pub fn gst_event_parse_group_id(event: *mut GstEvent, group_id: *mut c_uint) -> gboolean;
5584 #[cfg(feature = "v1_18")]
5585 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5586 pub fn gst_event_parse_instant_rate_change(
5587 event: *mut GstEvent,
5588 rate_multiplier: *mut c_double,
5589 new_flags: *mut GstSegmentFlags,
5590 );
5591 #[cfg(feature = "v1_18")]
5592 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
5593 pub fn gst_event_parse_instant_rate_sync_time(
5594 event: *mut GstEvent,
5595 rate_multiplier: *mut c_double,
5596 running_time: *mut GstClockTime,
5597 upstream_running_time: *mut GstClockTime,
5598 );
5599 pub fn gst_event_parse_latency(event: *mut GstEvent, latency: *mut GstClockTime);
5600 pub fn gst_event_parse_protection(
5601 event: *mut GstEvent,
5602 system_id: *mut *const c_char,
5603 data: *mut *mut GstBuffer,
5604 origin: *mut *const c_char,
5605 );
5606 pub fn gst_event_parse_qos(
5607 event: *mut GstEvent,
5608 type_: *mut GstQOSType,
5609 proportion: *mut c_double,
5610 diff: *mut GstClockTimeDiff,
5611 timestamp: *mut GstClockTime,
5612 );
5613 pub fn gst_event_parse_seek(
5614 event: *mut GstEvent,
5615 rate: *mut c_double,
5616 format: *mut GstFormat,
5617 flags: *mut GstSeekFlags,
5618 start_type: *mut GstSeekType,
5619 start: *mut i64,
5620 stop_type: *mut GstSeekType,
5621 stop: *mut i64,
5622 );
5623 #[cfg(feature = "v1_16")]
5624 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5625 pub fn gst_event_parse_seek_trickmode_interval(
5626 event: *mut GstEvent,
5627 interval: *mut GstClockTime,
5628 );
5629 pub fn gst_event_parse_segment(event: *mut GstEvent, segment: *mut *const GstSegment);
5630 pub fn gst_event_parse_segment_done(
5631 event: *mut GstEvent,
5632 format: *mut GstFormat,
5633 position: *mut i64,
5634 );
5635 pub fn gst_event_parse_select_streams(event: *mut GstEvent, streams: *mut *mut glib::GList);
5636 pub fn gst_event_parse_sink_message(event: *mut GstEvent, msg: *mut *mut GstMessage);
5637 pub fn gst_event_parse_step(
5638 event: *mut GstEvent,
5639 format: *mut GstFormat,
5640 amount: *mut u64,
5641 rate: *mut c_double,
5642 flush: *mut gboolean,
5643 intermediate: *mut gboolean,
5644 );
5645 pub fn gst_event_parse_stream(event: *mut GstEvent, stream: *mut *mut GstStream);
5646 pub fn gst_event_parse_stream_collection(
5647 event: *mut GstEvent,
5648 collection: *mut *mut GstStreamCollection,
5649 );
5650 pub fn gst_event_parse_stream_flags(event: *mut GstEvent, flags: *mut GstStreamFlags);
5651 pub fn gst_event_parse_stream_group_done(event: *mut GstEvent, group_id: *mut c_uint);
5652 pub fn gst_event_parse_stream_start(event: *mut GstEvent, stream_id: *mut *const c_char);
5653 pub fn gst_event_parse_tag(event: *mut GstEvent, taglist: *mut *mut GstTagList);
5654 pub fn gst_event_parse_toc(event: *mut GstEvent, toc: *mut *mut GstToc, updated: *mut gboolean);
5655 pub fn gst_event_parse_toc_select(event: *mut GstEvent, uid: *mut *mut c_char);
5656 #[cfg(feature = "v1_18_3")]
5657 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5658 pub fn gst_event_ref(event: *mut GstEvent) -> *mut GstEvent;
5659 #[cfg(feature = "v1_20")]
5660 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
5661 pub fn gst_event_set_gap_flags(event: *mut GstEvent, flags: GstGapFlags);
5662 pub fn gst_event_set_group_id(event: *mut GstEvent, group_id: c_uint);
5663 pub fn gst_event_set_running_time_offset(event: *mut GstEvent, offset: i64);
5664 #[cfg(feature = "v1_16")]
5665 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5666 pub fn gst_event_set_seek_trickmode_interval(event: *mut GstEvent, interval: GstClockTime);
5667 pub fn gst_event_set_seqnum(event: *mut GstEvent, seqnum: u32);
5668 pub fn gst_event_set_stream(event: *mut GstEvent, stream: *mut GstStream);
5669 pub fn gst_event_set_stream_flags(event: *mut GstEvent, flags: GstStreamFlags);
5670 #[cfg(feature = "v1_18_3")]
5671 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5672 pub fn gst_event_unref(event: *mut GstEvent);
5673 pub fn gst_event_writable_structure(event: *mut GstEvent) -> *mut GstStructure;
5674 #[cfg(feature = "v1_18_3")]
5675 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5676 pub fn gst_event_replace(old_event: *mut *mut GstEvent, new_event: *mut GstEvent) -> gboolean;
5677 #[cfg(feature = "v1_18_3")]
5678 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5679 pub fn gst_event_steal(old_event: *mut *mut GstEvent) -> *mut GstEvent;
5680 #[cfg(feature = "v1_18_3")]
5681 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5682 pub fn gst_event_take(old_event: *mut *mut GstEvent, new_event: *mut GstEvent) -> gboolean;
5683
5684 #[cfg(feature = "v1_26")]
5688 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5689 pub fn gst_id_str_get_type() -> GType;
5690 #[cfg(feature = "v1_26")]
5691 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5692 pub fn gst_id_str_new() -> *mut GstIdStr;
5693 #[cfg(feature = "v1_26")]
5694 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5695 pub fn gst_id_str_as_str(s: *const GstIdStr) -> *const c_char;
5696 #[cfg(feature = "v1_26")]
5697 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5698 pub fn gst_id_str_clear(s: *mut GstIdStr);
5699 #[cfg(feature = "v1_26")]
5700 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5701 pub fn gst_id_str_copy(s: *const GstIdStr) -> *mut GstIdStr;
5702 #[cfg(feature = "v1_26")]
5703 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5704 pub fn gst_id_str_copy_into(d: *mut GstIdStr, s: *const GstIdStr);
5705 #[cfg(feature = "v1_26")]
5706 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5707 pub fn gst_id_str_free(s: *mut GstIdStr);
5708 #[cfg(feature = "v1_26")]
5709 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5710 pub fn gst_id_str_get_len(s: *const GstIdStr) -> size_t;
5711 #[cfg(feature = "v1_26")]
5712 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5713 pub fn gst_id_str_init(s: *mut GstIdStr);
5714 #[cfg(feature = "v1_26")]
5715 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5716 pub fn gst_id_str_is_equal(s1: *const GstIdStr, s2: *const GstIdStr) -> 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(s1: *const GstIdStr, s2: *const c_char) -> gboolean;
5720 #[cfg(feature = "v1_26")]
5721 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5722 pub fn gst_id_str_is_equal_to_str_with_len(
5723 s1: *const GstIdStr,
5724 s2: *const c_char,
5725 len: size_t,
5726 ) -> gboolean;
5727 #[cfg(feature = "v1_26")]
5728 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5729 pub fn gst_id_str_move(d: *mut GstIdStr, s: *mut GstIdStr);
5730 #[cfg(feature = "v1_26")]
5731 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5732 pub fn gst_id_str_set(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(s: *mut GstIdStr, value: *const c_char);
5736 #[cfg(feature = "v1_26")]
5737 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5738 pub fn gst_id_str_set_static_str_with_len(s: *mut GstIdStr, value: *const c_char, len: size_t);
5739 #[cfg(feature = "v1_26")]
5740 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
5741 pub fn gst_id_str_set_with_len(s: *mut GstIdStr, value: *const c_char, len: size_t);
5742
5743 pub fn gst_iterator_get_type() -> GType;
5747 pub fn gst_iterator_new(
5748 size: c_uint,
5749 type_: GType,
5750 lock: *mut glib::GMutex,
5751 master_cookie: *mut u32,
5752 copy: GstIteratorCopyFunction,
5753 next: GstIteratorNextFunction,
5754 item: GstIteratorItemFunction,
5755 resync: GstIteratorResyncFunction,
5756 free: GstIteratorFreeFunction,
5757 ) -> *mut GstIterator;
5758 pub fn gst_iterator_new_list(
5759 type_: GType,
5760 lock: *mut glib::GMutex,
5761 master_cookie: *mut u32,
5762 list: *mut *mut glib::GList,
5763 owner: *mut gobject::GObject,
5764 item: GstIteratorItemFunction,
5765 ) -> *mut GstIterator;
5766 pub fn gst_iterator_new_single(
5767 type_: GType,
5768 object: *const gobject::GValue,
5769 ) -> *mut GstIterator;
5770 pub fn gst_iterator_copy(it: *const GstIterator) -> *mut GstIterator;
5771 pub fn gst_iterator_filter(
5772 it: *mut GstIterator,
5773 func: glib::GCompareFunc,
5774 user_data: *const gobject::GValue,
5775 ) -> *mut GstIterator;
5776 pub fn gst_iterator_find_custom(
5777 it: *mut GstIterator,
5778 func: glib::GCompareFunc,
5779 elem: *mut gobject::GValue,
5780 user_data: gpointer,
5781 ) -> gboolean;
5782 pub fn gst_iterator_fold(
5783 it: *mut GstIterator,
5784 func: GstIteratorFoldFunction,
5785 ret: *mut gobject::GValue,
5786 user_data: gpointer,
5787 ) -> GstIteratorResult;
5788 pub fn gst_iterator_foreach(
5789 it: *mut GstIterator,
5790 func: GstIteratorForeachFunction,
5791 user_data: gpointer,
5792 ) -> GstIteratorResult;
5793 pub fn gst_iterator_free(it: *mut GstIterator);
5794 pub fn gst_iterator_next(it: *mut GstIterator, elem: *mut gobject::GValue)
5795 -> GstIteratorResult;
5796 pub fn gst_iterator_push(it: *mut GstIterator, other: *mut GstIterator);
5797 pub fn gst_iterator_resync(it: *mut GstIterator);
5798
5799 #[cfg(feature = "v1_28")]
5803 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5804 pub fn gst_log_context_free(ctx: *mut GstLogContext);
5805 #[cfg(feature = "v1_28")]
5806 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5807 pub fn gst_log_context_get_category(context: *mut GstLogContext) -> *mut GstDebugCategory;
5808 #[cfg(feature = "v1_28")]
5809 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5810 pub fn gst_log_context_reset(ctx: *mut GstLogContext);
5811
5812 #[cfg(feature = "v1_28")]
5816 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5817 pub fn gst_log_context_builder_build(builder: *mut GstLogContextBuilder) -> *mut GstLogContext;
5818 #[cfg(feature = "v1_28")]
5819 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5820 pub fn gst_log_context_builder_set_category(
5821 builder: *mut GstLogContextBuilder,
5822 category: *mut GstDebugCategory,
5823 ) -> *mut GstLogContextBuilder;
5824 #[cfg(feature = "v1_28")]
5825 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5826 pub fn gst_log_context_builder_set_hash_flags(
5827 builder: *mut GstLogContextBuilder,
5828 flags: GstLogContextHashFlags,
5829 ) -> *mut GstLogContextBuilder;
5830 #[cfg(feature = "v1_28")]
5831 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5832 pub fn gst_log_context_builder_set_interval(
5833 builder: *mut GstLogContextBuilder,
5834 interval: GstClockTime,
5835 ) -> *mut GstLogContextBuilder;
5836 #[cfg(feature = "v1_28")]
5837 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5838 pub fn gst_log_context_builder_new(
5839 category: *mut GstDebugCategory,
5840 flags: GstLogContextFlags,
5841 ) -> *mut GstLogContextBuilder;
5842
5843 #[cfg(feature = "v1_28")]
5847 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5848 pub fn gst_map_info_clear(info: *mut GstMapInfo);
5849 #[cfg(feature = "v1_28")]
5850 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5851 pub fn gst_map_info_get_data(info: *mut GstMapInfo, size: *mut size_t) -> *mut u8;
5852 #[cfg(feature = "v1_28")]
5853 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5854 pub fn gst_map_info_init(info: *mut GstMapInfo);
5855
5856 pub fn gst_memory_get_type() -> GType;
5860 pub fn gst_memory_new_wrapped(
5861 flags: GstMemoryFlags,
5862 data: gpointer,
5863 maxsize: size_t,
5864 offset: size_t,
5865 size: size_t,
5866 user_data: gpointer,
5867 notify: glib::GDestroyNotify,
5868 ) -> *mut GstMemory;
5869 pub fn gst_memory_copy(mem: *mut GstMemory, offset: ssize_t, size: ssize_t) -> *mut GstMemory;
5870 pub fn gst_memory_get_sizes(
5871 mem: *mut GstMemory,
5872 offset: *mut size_t,
5873 maxsize: *mut size_t,
5874 ) -> size_t;
5875 pub fn gst_memory_init(
5876 mem: *mut GstMemory,
5877 flags: GstMemoryFlags,
5878 allocator: *mut GstAllocator,
5879 parent: *mut GstMemory,
5880 maxsize: size_t,
5881 align: size_t,
5882 offset: size_t,
5883 size: size_t,
5884 );
5885 pub fn gst_memory_is_span(
5886 mem1: *mut GstMemory,
5887 mem2: *mut GstMemory,
5888 offset: *mut size_t,
5889 ) -> gboolean;
5890 pub fn gst_memory_is_type(mem: *mut GstMemory, mem_type: *const c_char) -> gboolean;
5891 pub fn gst_memory_is_writable(memory: *const GstMemory) -> gboolean;
5892 pub fn gst_memory_make_mapped(
5893 mem: *mut GstMemory,
5894 info: *mut GstMapInfo,
5895 flags: GstMapFlags,
5896 ) -> *mut GstMemory;
5897 pub fn gst_memory_make_writable(memory: *mut GstMemory) -> *mut GstMemory;
5898 pub fn gst_memory_map(
5899 mem: *mut GstMemory,
5900 info: *mut GstMapInfo,
5901 flags: GstMapFlags,
5902 ) -> gboolean;
5903 #[cfg(feature = "v1_18_3")]
5904 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5905 pub fn gst_memory_ref(memory: *mut GstMemory) -> *mut GstMemory;
5906 pub fn gst_memory_resize(mem: *mut GstMemory, offset: ssize_t, size: size_t);
5907 pub fn gst_memory_share(mem: *mut GstMemory, offset: ssize_t, size: ssize_t) -> *mut GstMemory;
5908 pub fn gst_memory_unmap(mem: *mut GstMemory, info: *mut GstMapInfo);
5909 #[cfg(feature = "v1_18_3")]
5910 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
5911 pub fn gst_memory_unref(memory: *mut GstMemory);
5912 #[cfg(feature = "v1_28")]
5913 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5914 pub fn gst_memory_replace(
5915 old_memory: *mut *mut GstMemory,
5916 new_memory: *mut GstMemory,
5917 ) -> gboolean;
5918 #[cfg(feature = "v1_28")]
5919 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5920 pub fn gst_memory_steal(old_memory: *mut *mut GstMemory) -> *mut GstMemory;
5921 #[cfg(feature = "v1_28")]
5922 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5923 pub fn gst_memory_take(old_memory: *mut *mut GstMemory, new_memory: *mut GstMemory)
5924 -> gboolean;
5925
5926 pub fn gst_message_get_type() -> GType;
5930 pub fn gst_message_new_application(
5931 src: *mut GstObject,
5932 structure: *mut GstStructure,
5933 ) -> *mut GstMessage;
5934 pub fn gst_message_new_async_done(
5935 src: *mut GstObject,
5936 running_time: GstClockTime,
5937 ) -> *mut GstMessage;
5938 pub fn gst_message_new_async_start(src: *mut GstObject) -> *mut GstMessage;
5939 pub fn gst_message_new_buffering(src: *mut GstObject, percent: c_int) -> *mut GstMessage;
5940 pub fn gst_message_new_clock_lost(src: *mut GstObject, clock: *mut GstClock)
5941 -> *mut GstMessage;
5942 pub fn gst_message_new_clock_provide(
5943 src: *mut GstObject,
5944 clock: *mut GstClock,
5945 ready: gboolean,
5946 ) -> *mut GstMessage;
5947 pub fn gst_message_new_custom(
5948 type_: GstMessageType,
5949 src: *mut GstObject,
5950 structure: *mut GstStructure,
5951 ) -> *mut GstMessage;
5952 pub fn gst_message_new_device_added(
5953 src: *mut GstObject,
5954 device: *mut GstDevice,
5955 ) -> *mut GstMessage;
5956 #[cfg(feature = "v1_16")]
5957 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
5958 pub fn gst_message_new_device_changed(
5959 src: *mut GstObject,
5960 device: *mut GstDevice,
5961 changed_device: *mut GstDevice,
5962 ) -> *mut GstMessage;
5963 #[cfg(feature = "v1_28")]
5964 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
5965 pub fn gst_message_new_device_monitor_started(
5966 src: *mut GstObject,
5967 success: gboolean,
5968 ) -> *mut GstMessage;
5969 pub fn gst_message_new_device_removed(
5970 src: *mut GstObject,
5971 device: *mut GstDevice,
5972 ) -> *mut GstMessage;
5973 pub fn gst_message_new_duration_changed(src: *mut GstObject) -> *mut GstMessage;
5974 pub fn gst_message_new_element(
5975 src: *mut GstObject,
5976 structure: *mut GstStructure,
5977 ) -> *mut GstMessage;
5978 pub fn gst_message_new_eos(src: *mut GstObject) -> *mut GstMessage;
5979 pub fn gst_message_new_error(
5980 src: *mut GstObject,
5981 error: *mut glib::GError,
5982 debug: *const c_char,
5983 ) -> *mut GstMessage;
5984 pub fn gst_message_new_error_with_details(
5985 src: *mut GstObject,
5986 error: *mut glib::GError,
5987 debug: *const c_char,
5988 details: *mut GstStructure,
5989 ) -> *mut GstMessage;
5990 pub fn gst_message_new_have_context(
5991 src: *mut GstObject,
5992 context: *mut GstContext,
5993 ) -> *mut GstMessage;
5994 pub fn gst_message_new_info(
5995 src: *mut GstObject,
5996 error: *mut glib::GError,
5997 debug: *const c_char,
5998 ) -> *mut GstMessage;
5999 pub fn gst_message_new_info_with_details(
6000 src: *mut GstObject,
6001 error: *mut glib::GError,
6002 debug: *const c_char,
6003 details: *mut GstStructure,
6004 ) -> *mut GstMessage;
6005 #[cfg(feature = "v1_18")]
6006 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
6007 pub fn gst_message_new_instant_rate_request(
6008 src: *mut GstObject,
6009 rate_multiplier: c_double,
6010 ) -> *mut GstMessage;
6011 pub fn gst_message_new_latency(src: *mut GstObject) -> *mut GstMessage;
6012 pub fn gst_message_new_need_context(
6013 src: *mut GstObject,
6014 context_type: *const c_char,
6015 ) -> *mut GstMessage;
6016 pub fn gst_message_new_new_clock(src: *mut GstObject, clock: *mut GstClock) -> *mut GstMessage;
6017 pub fn gst_message_new_progress(
6018 src: *mut GstObject,
6019 type_: GstProgressType,
6020 code: *const c_char,
6021 text: *const c_char,
6022 ) -> *mut GstMessage;
6023 pub fn gst_message_new_property_notify(
6024 src: *mut GstObject,
6025 property_name: *const c_char,
6026 val: *mut gobject::GValue,
6027 ) -> *mut GstMessage;
6028 pub fn gst_message_new_qos(
6029 src: *mut GstObject,
6030 live: gboolean,
6031 running_time: u64,
6032 stream_time: u64,
6033 timestamp: u64,
6034 duration: u64,
6035 ) -> *mut GstMessage;
6036 pub fn gst_message_new_redirect(
6037 src: *mut GstObject,
6038 location: *const c_char,
6039 tag_list: *mut GstTagList,
6040 entry_struct: *mut GstStructure,
6041 ) -> *mut GstMessage;
6042 pub fn gst_message_new_request_state(src: *mut GstObject, state: GstState) -> *mut GstMessage;
6043 pub fn gst_message_new_reset_time(
6044 src: *mut GstObject,
6045 running_time: GstClockTime,
6046 ) -> *mut GstMessage;
6047 pub fn gst_message_new_segment_done(
6048 src: *mut GstObject,
6049 format: GstFormat,
6050 position: i64,
6051 ) -> *mut GstMessage;
6052 pub fn gst_message_new_segment_start(
6053 src: *mut GstObject,
6054 format: GstFormat,
6055 position: i64,
6056 ) -> *mut GstMessage;
6057 pub fn gst_message_new_state_changed(
6058 src: *mut GstObject,
6059 oldstate: GstState,
6060 newstate: GstState,
6061 pending: GstState,
6062 ) -> *mut GstMessage;
6063 pub fn gst_message_new_state_dirty(src: *mut GstObject) -> *mut GstMessage;
6064 pub fn gst_message_new_step_done(
6065 src: *mut GstObject,
6066 format: GstFormat,
6067 amount: u64,
6068 rate: c_double,
6069 flush: gboolean,
6070 intermediate: gboolean,
6071 duration: u64,
6072 eos: gboolean,
6073 ) -> *mut GstMessage;
6074 pub fn gst_message_new_step_start(
6075 src: *mut GstObject,
6076 active: gboolean,
6077 format: GstFormat,
6078 amount: u64,
6079 rate: c_double,
6080 flush: gboolean,
6081 intermediate: gboolean,
6082 ) -> *mut GstMessage;
6083 pub fn gst_message_new_stream_collection(
6084 src: *mut GstObject,
6085 collection: *mut GstStreamCollection,
6086 ) -> *mut GstMessage;
6087 pub fn gst_message_new_stream_start(src: *mut GstObject) -> *mut GstMessage;
6088 pub fn gst_message_new_stream_status(
6089 src: *mut GstObject,
6090 type_: GstStreamStatusType,
6091 owner: *mut GstElement,
6092 ) -> *mut GstMessage;
6093 pub fn gst_message_new_streams_selected(
6094 src: *mut GstObject,
6095 collection: *mut GstStreamCollection,
6096 ) -> *mut GstMessage;
6097 pub fn gst_message_new_structure_change(
6098 src: *mut GstObject,
6099 type_: GstStructureChangeType,
6100 owner: *mut GstElement,
6101 busy: gboolean,
6102 ) -> *mut GstMessage;
6103 pub fn gst_message_new_tag(src: *mut GstObject, tag_list: *mut GstTagList) -> *mut GstMessage;
6104 pub fn gst_message_new_toc(
6105 src: *mut GstObject,
6106 toc: *mut GstToc,
6107 updated: gboolean,
6108 ) -> *mut GstMessage;
6109 pub fn gst_message_new_warning(
6110 src: *mut GstObject,
6111 error: *mut glib::GError,
6112 debug: *const c_char,
6113 ) -> *mut GstMessage;
6114 pub fn gst_message_new_warning_with_details(
6115 src: *mut GstObject,
6116 error: *mut glib::GError,
6117 debug: *const c_char,
6118 details: *mut GstStructure,
6119 ) -> *mut GstMessage;
6120 pub fn gst_message_add_redirect_entry(
6121 message: *mut GstMessage,
6122 location: *const c_char,
6123 tag_list: *mut GstTagList,
6124 entry_struct: *mut GstStructure,
6125 );
6126 #[cfg(feature = "v1_18_3")]
6127 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6128 pub fn gst_message_copy(msg: *const GstMessage) -> *mut GstMessage;
6129 #[cfg(feature = "v1_26")]
6130 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6131 pub fn gst_message_get_details(message: *mut GstMessage) -> *const GstStructure;
6132 pub fn gst_message_get_num_redirect_entries(message: *mut GstMessage) -> size_t;
6133 pub fn gst_message_get_seqnum(message: *mut GstMessage) -> u32;
6134 pub fn gst_message_get_stream_status_object(message: *mut GstMessage)
6135 -> *const gobject::GValue;
6136 pub fn gst_message_get_structure(message: *mut GstMessage) -> *const GstStructure;
6137 pub fn gst_message_has_name(message: *mut GstMessage, name: *const c_char) -> gboolean;
6138 pub fn gst_message_is_writable(message: *const GstMessage) -> gboolean;
6139 pub fn gst_message_make_writable(message: *mut GstMessage) -> *mut GstMessage;
6140 pub fn gst_message_parse_async_done(message: *mut GstMessage, running_time: *mut GstClockTime);
6141 pub fn gst_message_parse_buffering(message: *mut GstMessage, percent: *mut c_int);
6142 pub fn gst_message_parse_buffering_stats(
6143 message: *mut GstMessage,
6144 mode: *mut GstBufferingMode,
6145 avg_in: *mut c_int,
6146 avg_out: *mut c_int,
6147 buffering_left: *mut i64,
6148 );
6149 pub fn gst_message_parse_clock_lost(message: *mut GstMessage, clock: *mut *mut GstClock);
6150 pub fn gst_message_parse_clock_provide(
6151 message: *mut GstMessage,
6152 clock: *mut *mut GstClock,
6153 ready: *mut gboolean,
6154 );
6155 pub fn gst_message_parse_context_type(
6156 message: *mut GstMessage,
6157 context_type: *mut *const c_char,
6158 ) -> gboolean;
6159 pub fn gst_message_parse_device_added(message: *mut GstMessage, device: *mut *mut GstDevice);
6160 #[cfg(feature = "v1_16")]
6161 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6162 pub fn gst_message_parse_device_changed(
6163 message: *mut GstMessage,
6164 device: *mut *mut GstDevice,
6165 changed_device: *mut *mut GstDevice,
6166 );
6167 #[cfg(feature = "v1_28")]
6168 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6169 pub fn gst_message_parse_device_monitor_started(
6170 message: *mut GstMessage,
6171 success: *mut gboolean,
6172 );
6173 pub fn gst_message_parse_device_removed(message: *mut GstMessage, device: *mut *mut GstDevice);
6174 pub fn gst_message_parse_error(
6175 message: *mut GstMessage,
6176 gerror: *mut *mut glib::GError,
6177 debug: *mut *mut c_char,
6178 );
6179 pub fn gst_message_parse_error_details(
6180 message: *mut GstMessage,
6181 structure: *mut *const GstStructure,
6182 );
6183 #[cfg(feature = "v1_26")]
6184 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6185 pub fn gst_message_parse_error_writable_details(
6186 message: *mut GstMessage,
6187 structure: *mut *mut GstStructure,
6188 );
6189 pub fn gst_message_parse_group_id(message: *mut GstMessage, group_id: *mut c_uint) -> gboolean;
6190 pub fn gst_message_parse_have_context(message: *mut GstMessage, context: *mut *mut GstContext);
6191 pub fn gst_message_parse_info(
6192 message: *mut GstMessage,
6193 gerror: *mut *mut glib::GError,
6194 debug: *mut *mut c_char,
6195 );
6196 pub fn gst_message_parse_info_details(
6197 message: *mut GstMessage,
6198 structure: *mut *const GstStructure,
6199 );
6200 #[cfg(feature = "v1_26")]
6201 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6202 pub fn gst_message_parse_info_writable_details(
6203 message: *mut GstMessage,
6204 structure: *mut *mut GstStructure,
6205 );
6206 #[cfg(feature = "v1_18")]
6207 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
6208 pub fn gst_message_parse_instant_rate_request(
6209 message: *mut GstMessage,
6210 rate_multiplier: *mut c_double,
6211 );
6212 pub fn gst_message_parse_new_clock(message: *mut GstMessage, clock: *mut *mut GstClock);
6213 pub fn gst_message_parse_progress(
6214 message: *mut GstMessage,
6215 type_: *mut GstProgressType,
6216 code: *mut *mut c_char,
6217 text: *mut *mut c_char,
6218 );
6219 pub fn gst_message_parse_property_notify(
6220 message: *mut GstMessage,
6221 object: *mut *mut GstObject,
6222 property_name: *mut *const c_char,
6223 property_value: *mut *const gobject::GValue,
6224 );
6225 pub fn gst_message_parse_qos(
6226 message: *mut GstMessage,
6227 live: *mut gboolean,
6228 running_time: *mut u64,
6229 stream_time: *mut u64,
6230 timestamp: *mut u64,
6231 duration: *mut u64,
6232 );
6233 pub fn gst_message_parse_qos_stats(
6234 message: *mut GstMessage,
6235 format: *mut GstFormat,
6236 processed: *mut u64,
6237 dropped: *mut u64,
6238 );
6239 pub fn gst_message_parse_qos_values(
6240 message: *mut GstMessage,
6241 jitter: *mut i64,
6242 proportion: *mut c_double,
6243 quality: *mut c_int,
6244 );
6245 pub fn gst_message_parse_redirect_entry(
6246 message: *mut GstMessage,
6247 entry_index: size_t,
6248 location: *mut *const c_char,
6249 tag_list: *mut *mut GstTagList,
6250 entry_struct: *mut *const GstStructure,
6251 );
6252 pub fn gst_message_parse_request_state(message: *mut GstMessage, state: *mut GstState);
6253 pub fn gst_message_parse_reset_time(message: *mut GstMessage, running_time: *mut GstClockTime);
6254 pub fn gst_message_parse_segment_done(
6255 message: *mut GstMessage,
6256 format: *mut GstFormat,
6257 position: *mut i64,
6258 );
6259 pub fn gst_message_parse_segment_start(
6260 message: *mut GstMessage,
6261 format: *mut GstFormat,
6262 position: *mut i64,
6263 );
6264 pub fn gst_message_parse_state_changed(
6265 message: *mut GstMessage,
6266 oldstate: *mut GstState,
6267 newstate: *mut GstState,
6268 pending: *mut GstState,
6269 );
6270 pub fn gst_message_parse_step_done(
6271 message: *mut GstMessage,
6272 format: *mut GstFormat,
6273 amount: *mut u64,
6274 rate: *mut c_double,
6275 flush: *mut gboolean,
6276 intermediate: *mut gboolean,
6277 duration: *mut u64,
6278 eos: *mut gboolean,
6279 );
6280 pub fn gst_message_parse_step_start(
6281 message: *mut GstMessage,
6282 active: *mut gboolean,
6283 format: *mut GstFormat,
6284 amount: *mut u64,
6285 rate: *mut c_double,
6286 flush: *mut gboolean,
6287 intermediate: *mut gboolean,
6288 );
6289 pub fn gst_message_parse_stream_collection(
6290 message: *mut GstMessage,
6291 collection: *mut *mut GstStreamCollection,
6292 );
6293 pub fn gst_message_parse_stream_status(
6294 message: *mut GstMessage,
6295 type_: *mut GstStreamStatusType,
6296 owner: *mut *mut GstElement,
6297 );
6298 pub fn gst_message_parse_streams_selected(
6299 message: *mut GstMessage,
6300 collection: *mut *mut GstStreamCollection,
6301 );
6302 pub fn gst_message_parse_structure_change(
6303 message: *mut GstMessage,
6304 type_: *mut GstStructureChangeType,
6305 owner: *mut *mut GstElement,
6306 busy: *mut gboolean,
6307 );
6308 pub fn gst_message_parse_tag(message: *mut GstMessage, tag_list: *mut *mut GstTagList);
6309 pub fn gst_message_parse_toc(
6310 message: *mut GstMessage,
6311 toc: *mut *mut GstToc,
6312 updated: *mut gboolean,
6313 );
6314 pub fn gst_message_parse_warning(
6315 message: *mut GstMessage,
6316 gerror: *mut *mut glib::GError,
6317 debug: *mut *mut c_char,
6318 );
6319 pub fn gst_message_parse_warning_details(
6320 message: *mut GstMessage,
6321 structure: *mut *const GstStructure,
6322 );
6323 #[cfg(feature = "v1_26")]
6324 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6325 pub fn gst_message_parse_warning_writable_details(
6326 message: *mut GstMessage,
6327 structure: *mut *mut GstStructure,
6328 );
6329 #[cfg(feature = "v1_18_3")]
6330 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6331 pub fn gst_message_ref(msg: *mut GstMessage) -> *mut GstMessage;
6332 pub fn gst_message_set_buffering_stats(
6333 message: *mut GstMessage,
6334 mode: GstBufferingMode,
6335 avg_in: c_int,
6336 avg_out: c_int,
6337 buffering_left: i64,
6338 );
6339 #[cfg(feature = "v1_26")]
6340 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6341 pub fn gst_message_set_details(message: *mut GstMessage, details: *mut GstStructure);
6342 pub fn gst_message_set_group_id(message: *mut GstMessage, group_id: c_uint);
6343 pub fn gst_message_set_qos_stats(
6344 message: *mut GstMessage,
6345 format: GstFormat,
6346 processed: u64,
6347 dropped: u64,
6348 );
6349 pub fn gst_message_set_qos_values(
6350 message: *mut GstMessage,
6351 jitter: i64,
6352 proportion: c_double,
6353 quality: c_int,
6354 );
6355 pub fn gst_message_set_seqnum(message: *mut GstMessage, seqnum: u32);
6356 pub fn gst_message_set_stream_status_object(
6357 message: *mut GstMessage,
6358 object: *const gobject::GValue,
6359 );
6360 pub fn gst_message_streams_selected_add(message: *mut GstMessage, stream: *mut GstStream);
6361 pub fn gst_message_streams_selected_get_size(message: *mut GstMessage) -> c_uint;
6362 pub fn gst_message_streams_selected_get_stream(
6363 message: *mut GstMessage,
6364 idx: c_uint,
6365 ) -> *mut GstStream;
6366 #[cfg(feature = "v1_18_3")]
6367 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6368 pub fn gst_message_unref(msg: *mut GstMessage);
6369 #[cfg(feature = "v1_26")]
6370 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6371 pub fn gst_message_writable_details(message: *mut GstMessage) -> *mut GstStructure;
6372 pub fn gst_message_writable_structure(message: *mut GstMessage) -> *mut GstStructure;
6373 #[cfg(feature = "v1_18_3")]
6374 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6375 pub fn gst_message_replace(
6376 old_message: *mut *mut GstMessage,
6377 new_message: *mut GstMessage,
6378 ) -> gboolean;
6379 #[cfg(feature = "v1_28")]
6380 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6381 pub fn gst_message_steal(old_message: *mut *mut GstMessage) -> *mut GstMessage;
6382 #[cfg(feature = "v1_18_3")]
6383 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6384 pub fn gst_message_take(
6385 old_message: *mut *mut GstMessage,
6386 new_message: *mut GstMessage,
6387 ) -> gboolean;
6388
6389 #[cfg(feature = "v1_16")]
6393 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6394 pub fn gst_meta_compare_seqnum(meta1: *const GstMeta, meta2: *const GstMeta) -> c_int;
6395 #[cfg(feature = "v1_16")]
6396 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6397 pub fn gst_meta_get_seqnum(meta: *const GstMeta) -> u64;
6398 #[cfg(feature = "v1_24")]
6399 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6400 pub fn gst_meta_serialize(meta: *const GstMeta, data: *mut GstByteArrayInterface) -> gboolean;
6401 #[cfg(feature = "v1_24")]
6402 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6403 pub fn gst_meta_serialize_simple(meta: *const GstMeta, data: *mut glib::GByteArray)
6404 -> gboolean;
6405 #[cfg(feature = "v1_26")]
6406 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6407 pub fn gst_meta_api_type_aggregate_params(
6408 api: GType,
6409 aggregated_params: *mut *mut GstStructure,
6410 params0: *const GstStructure,
6411 params1: *const GstStructure,
6412 ) -> gboolean;
6413 pub fn gst_meta_api_type_get_tags(api: GType) -> *const *const c_char;
6414 pub fn gst_meta_api_type_has_tag(api: GType, tag: glib::GQuark) -> gboolean;
6415 pub fn gst_meta_api_type_register(api: *const c_char, tags: *mut *const c_char) -> GType;
6416 #[cfg(feature = "v1_26")]
6417 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
6418 pub fn gst_meta_api_type_set_params_aggregator(
6419 api: GType,
6420 aggregator: GstAllocationMetaParamsAggregator,
6421 );
6422 #[cfg(feature = "v1_28")]
6423 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6424 pub fn gst_meta_api_type_tags_contain_only(
6425 api: GType,
6426 valid_tags: *mut *const c_char,
6427 ) -> gboolean;
6428 #[cfg(feature = "v1_24")]
6429 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6430 pub fn gst_meta_deserialize(
6431 buffer: *mut GstBuffer,
6432 data: *const u8,
6433 size: size_t,
6434 consumed: *mut u32,
6435 ) -> *mut GstMeta;
6436 pub fn gst_meta_get_info(impl_: *const c_char) -> *const GstMetaInfo;
6437 pub fn gst_meta_register(
6438 api: GType,
6439 impl_: *const c_char,
6440 size: size_t,
6441 init_func: GstMetaInitFunction,
6442 free_func: GstMetaFreeFunction,
6443 transform_func: GstMetaTransformFunction,
6444 ) -> *const GstMetaInfo;
6445 #[cfg(feature = "v1_20")]
6446 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
6447 pub fn gst_meta_register_custom(
6448 name: *const c_char,
6449 tags: *mut *const c_char,
6450 transform_func: GstCustomMetaTransformFunction,
6451 user_data: gpointer,
6452 destroy_data: glib::GDestroyNotify,
6453 ) -> *const GstMetaInfo;
6454 #[cfg(feature = "v1_24")]
6455 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6456 pub fn gst_meta_register_custom_simple(name: *const c_char) -> *const GstMetaInfo;
6457
6458 #[cfg(feature = "v1_20")]
6462 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
6463 pub fn gst_meta_info_is_custom(info: *const GstMetaInfo) -> gboolean;
6464 #[cfg(feature = "v1_24")]
6465 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6466 pub fn gst_meta_info_register(info: *mut GstMetaInfo) -> *const GstMetaInfo;
6467 #[cfg(feature = "v1_24")]
6468 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
6469 pub fn gst_meta_info_new(api: GType, impl_: *const c_char, size: size_t) -> *mut GstMetaInfo;
6470
6471 #[cfg(feature = "v1_20")]
6475 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
6476 pub fn gst_mini_object_get_type() -> GType;
6477 #[cfg(feature = "v1_16")]
6478 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6479 pub fn gst_mini_object_add_parent(object: *mut GstMiniObject, parent: *mut GstMiniObject);
6480 pub fn gst_mini_object_copy(mini_object: *const GstMiniObject) -> *mut GstMiniObject;
6481 pub fn gst_mini_object_get_qdata(object: *mut GstMiniObject, quark: glib::GQuark) -> gpointer;
6482 pub fn gst_mini_object_init(
6483 mini_object: *mut GstMiniObject,
6484 flags: c_uint,
6485 type_: GType,
6486 copy_func: GstMiniObjectCopyFunction,
6487 dispose_func: GstMiniObjectDisposeFunction,
6488 free_func: GstMiniObjectFreeFunction,
6489 );
6490 pub fn gst_mini_object_is_writable(mini_object: *const GstMiniObject) -> gboolean;
6491 pub fn gst_mini_object_lock(object: *mut GstMiniObject, flags: GstLockFlags) -> gboolean;
6492 pub fn gst_mini_object_make_writable(mini_object: *mut GstMiniObject) -> *mut GstMiniObject;
6493 pub fn gst_mini_object_ref(mini_object: *mut GstMiniObject) -> *mut GstMiniObject;
6494 #[cfg(feature = "v1_16")]
6495 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6496 pub fn gst_mini_object_remove_parent(object: *mut GstMiniObject, parent: *mut GstMiniObject);
6497 pub fn gst_mini_object_set_qdata(
6498 object: *mut GstMiniObject,
6499 quark: glib::GQuark,
6500 data: gpointer,
6501 destroy: glib::GDestroyNotify,
6502 );
6503 pub fn gst_mini_object_steal_qdata(object: *mut GstMiniObject, quark: glib::GQuark)
6504 -> gpointer;
6505 pub fn gst_mini_object_unlock(object: *mut GstMiniObject, flags: GstLockFlags);
6506 pub fn gst_mini_object_unref(mini_object: *mut GstMiniObject);
6507 pub fn gst_mini_object_weak_ref(
6508 object: *mut GstMiniObject,
6509 notify: GstMiniObjectNotify,
6510 data: gpointer,
6511 );
6512 pub fn gst_mini_object_weak_unref(
6513 object: *mut GstMiniObject,
6514 notify: GstMiniObjectNotify,
6515 data: gpointer,
6516 );
6517 pub fn gst_mini_object_replace(
6518 olddata: *mut *mut GstMiniObject,
6519 newdata: *mut GstMiniObject,
6520 ) -> gboolean;
6521 pub fn gst_mini_object_steal(olddata: *mut *mut GstMiniObject) -> *mut GstMiniObject;
6522 pub fn gst_mini_object_take(
6523 olddata: *mut *mut GstMiniObject,
6524 newdata: *mut GstMiniObject,
6525 ) -> gboolean;
6526
6527 pub fn gst_pad_probe_info_get_buffer(info: *mut GstPadProbeInfo) -> *mut GstBuffer;
6531 pub fn gst_pad_probe_info_get_buffer_list(info: *mut GstPadProbeInfo) -> *mut GstBufferList;
6532 pub fn gst_pad_probe_info_get_event(info: *mut GstPadProbeInfo) -> *mut GstEvent;
6533 #[cfg(feature = "v1_28")]
6534 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6535 pub fn gst_pad_probe_info_get_flow_return(info: *mut GstPadProbeInfo) -> GstFlowReturn;
6536 #[cfg(feature = "v1_28")]
6537 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6538 pub fn gst_pad_probe_info_get_id(info: *mut GstPadProbeInfo) -> c_ulong;
6539 #[cfg(feature = "v1_28")]
6540 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6541 pub fn gst_pad_probe_info_get_offset(info: *mut GstPadProbeInfo) -> u64;
6542 pub fn gst_pad_probe_info_get_query(info: *mut GstPadProbeInfo) -> *mut GstQuery;
6543 #[cfg(feature = "v1_28")]
6544 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6545 pub fn gst_pad_probe_info_get_size(info: *mut GstPadProbeInfo) -> size_t;
6546 #[cfg(feature = "v1_28")]
6547 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6548 pub fn gst_pad_probe_info_get_type(info: *mut GstPadProbeInfo) -> GstPadProbeType;
6549 #[cfg(feature = "v1_28")]
6550 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6551 pub fn gst_pad_probe_info_set_buffer(info: *mut GstPadProbeInfo, buffer: *mut GstBuffer);
6552 #[cfg(feature = "v1_28")]
6553 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6554 pub fn gst_pad_probe_info_set_buffer_list(info: *mut GstPadProbeInfo, list: *mut GstBufferList);
6555 #[cfg(feature = "v1_28")]
6556 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6557 pub fn gst_pad_probe_info_set_event(info: *mut GstPadProbeInfo, event: *mut GstEvent);
6558 #[cfg(feature = "v1_28")]
6559 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6560 pub fn gst_pad_probe_info_set_flow_return(info: *mut GstPadProbeInfo, flow_ret: GstFlowReturn);
6561
6562 pub fn gst_parent_buffer_meta_get_info() -> *const GstMetaInfo;
6566
6567 pub fn gst_parse_context_get_type() -> GType;
6571 pub fn gst_parse_context_new() -> *mut GstParseContext;
6572 pub fn gst_parse_context_copy(context: *const GstParseContext) -> *mut GstParseContext;
6573 pub fn gst_parse_context_free(context: *mut GstParseContext);
6574 pub fn gst_parse_context_get_missing_elements(
6575 context: *mut GstParseContext,
6576 ) -> *mut *mut c_char;
6577 #[cfg(feature = "v1_30")]
6578 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
6579 pub fn gst_parse_context_get_untrusted_report(
6580 context: *mut GstParseContext,
6581 ) -> *mut GstStructure;
6582
6583 pub fn gst_poll_add_fd(set: *mut GstPoll, fd: *mut GstPollFD) -> gboolean;
6587 pub fn gst_poll_fd_can_read(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6588 pub fn gst_poll_fd_can_write(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6589 #[cfg(feature = "v1_16")]
6590 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6591 pub fn gst_poll_fd_ctl_pri(set: *mut GstPoll, fd: *mut GstPollFD, active: gboolean)
6592 -> gboolean;
6593 pub fn gst_poll_fd_ctl_read(
6594 set: *mut GstPoll,
6595 fd: *mut GstPollFD,
6596 active: gboolean,
6597 ) -> gboolean;
6598 pub fn gst_poll_fd_ctl_write(
6599 set: *mut GstPoll,
6600 fd: *mut GstPollFD,
6601 active: gboolean,
6602 ) -> gboolean;
6603 pub fn gst_poll_fd_has_closed(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6604 pub fn gst_poll_fd_has_error(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6605 #[cfg(feature = "v1_16")]
6606 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6607 pub fn gst_poll_fd_has_pri(set: *const GstPoll, fd: *mut GstPollFD) -> gboolean;
6608 pub fn gst_poll_fd_ignored(set: *mut GstPoll, fd: *mut GstPollFD);
6609 pub fn gst_poll_free(set: *mut GstPoll);
6610 pub fn gst_poll_get_read_gpollfd(set: *mut GstPoll, fd: *mut glib::GPollFD);
6611 pub fn gst_poll_read_control(set: *mut GstPoll) -> gboolean;
6612 pub fn gst_poll_remove_fd(set: *mut GstPoll, fd: *mut GstPollFD) -> gboolean;
6613 pub fn gst_poll_restart(set: *mut GstPoll);
6614 pub fn gst_poll_set_controllable(set: *mut GstPoll, controllable: gboolean) -> gboolean;
6615 pub fn gst_poll_set_flushing(set: *mut GstPoll, flushing: gboolean);
6616 pub fn gst_poll_wait(set: *mut GstPoll, timeout: GstClockTime) -> c_int;
6617 pub fn gst_poll_write_control(set: *mut GstPoll) -> gboolean;
6618 pub fn gst_poll_new(controllable: gboolean) -> *mut GstPoll;
6619 pub fn gst_poll_new_timer() -> *mut GstPoll;
6620
6621 pub fn gst_poll_fd_init(fd: *mut GstPollFD);
6625
6626 pub fn gst_promise_get_type() -> GType;
6630 pub fn gst_promise_new() -> *mut GstPromise;
6631 pub fn gst_promise_new_with_change_func(
6632 func: GstPromiseChangeFunc,
6633 user_data: gpointer,
6634 notify: glib::GDestroyNotify,
6635 ) -> *mut GstPromise;
6636 pub fn gst_promise_expire(promise: *mut GstPromise);
6637 pub fn gst_promise_get_reply(promise: *mut GstPromise) -> *const GstStructure;
6638 pub fn gst_promise_interrupt(promise: *mut GstPromise);
6639 #[cfg(feature = "v1_18_3")]
6640 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6641 pub fn gst_promise_ref(promise: *mut GstPromise) -> *mut GstPromise;
6642 pub fn gst_promise_reply(promise: *mut GstPromise, s: *mut GstStructure);
6643 #[cfg(feature = "v1_18_3")]
6644 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6645 pub fn gst_promise_unref(promise: *mut GstPromise);
6646 pub fn gst_promise_wait(promise: *mut GstPromise) -> GstPromiseResult;
6647
6648 pub fn gst_protection_meta_get_info() -> *const GstMetaInfo;
6652
6653 pub fn gst_query_get_type() -> GType;
6657 pub fn gst_query_new_accept_caps(caps: *mut GstCaps) -> *mut GstQuery;
6658 pub fn gst_query_new_allocation(caps: *mut GstCaps, need_pool: gboolean) -> *mut GstQuery;
6659 #[cfg(feature = "v1_16")]
6660 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6661 pub fn gst_query_new_bitrate() -> *mut GstQuery;
6662 pub fn gst_query_new_buffering(format: GstFormat) -> *mut GstQuery;
6663 pub fn gst_query_new_caps(filter: *mut GstCaps) -> *mut GstQuery;
6664 pub fn gst_query_new_context(context_type: *const c_char) -> *mut GstQuery;
6665 pub fn gst_query_new_convert(
6666 src_format: GstFormat,
6667 value: i64,
6668 dest_format: GstFormat,
6669 ) -> *mut GstQuery;
6670 pub fn gst_query_new_custom(type_: GstQueryType, structure: *mut GstStructure)
6671 -> *mut GstQuery;
6672 pub fn gst_query_new_drain() -> *mut GstQuery;
6673 pub fn gst_query_new_duration(format: GstFormat) -> *mut GstQuery;
6674 pub fn gst_query_new_formats() -> *mut GstQuery;
6675 pub fn gst_query_new_latency() -> *mut GstQuery;
6676 pub fn gst_query_new_position(format: GstFormat) -> *mut GstQuery;
6677 pub fn gst_query_new_scheduling() -> *mut GstQuery;
6678 pub fn gst_query_new_seeking(format: GstFormat) -> *mut GstQuery;
6679 pub fn gst_query_new_segment(format: GstFormat) -> *mut GstQuery;
6680 #[cfg(feature = "v1_22")]
6681 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
6682 pub fn gst_query_new_selectable() -> *mut GstQuery;
6683 pub fn gst_query_new_uri() -> *mut GstQuery;
6684 pub fn gst_query_add_allocation_meta(
6685 query: *mut GstQuery,
6686 api: GType,
6687 params: *const GstStructure,
6688 );
6689 pub fn gst_query_add_allocation_param(
6690 query: *mut GstQuery,
6691 allocator: *mut GstAllocator,
6692 params: *const GstAllocationParams,
6693 );
6694 pub fn gst_query_add_allocation_pool(
6695 query: *mut GstQuery,
6696 pool: *mut GstBufferPool,
6697 size: c_uint,
6698 min_buffers: c_uint,
6699 max_buffers: c_uint,
6700 );
6701 pub fn gst_query_add_buffering_range(query: *mut GstQuery, start: i64, stop: i64) -> gboolean;
6702 pub fn gst_query_add_scheduling_mode(query: *mut GstQuery, mode: GstPadMode);
6703 #[cfg(feature = "v1_18_3")]
6704 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6705 pub fn gst_query_copy(q: *const GstQuery) -> *mut GstQuery;
6706 pub fn gst_query_find_allocation_meta(
6707 query: *mut GstQuery,
6708 api: GType,
6709 index: *mut c_uint,
6710 ) -> gboolean;
6711 pub fn gst_query_get_n_allocation_metas(query: *mut GstQuery) -> c_uint;
6712 pub fn gst_query_get_n_allocation_params(query: *mut GstQuery) -> c_uint;
6713 pub fn gst_query_get_n_allocation_pools(query: *mut GstQuery) -> c_uint;
6714 pub fn gst_query_get_n_buffering_ranges(query: *mut GstQuery) -> c_uint;
6715 pub fn gst_query_get_n_scheduling_modes(query: *mut GstQuery) -> c_uint;
6716 pub fn gst_query_get_structure(query: *mut GstQuery) -> *const GstStructure;
6717 pub fn gst_query_has_scheduling_mode(query: *mut GstQuery, mode: GstPadMode) -> gboolean;
6718 pub fn gst_query_has_scheduling_mode_with_flags(
6719 query: *mut GstQuery,
6720 mode: GstPadMode,
6721 flags: GstSchedulingFlags,
6722 ) -> gboolean;
6723 pub fn gst_query_is_writable(query: *const GstQuery) -> gboolean;
6724 pub fn gst_query_make_writable(query: *mut GstQuery) -> *mut GstQuery;
6725 pub fn gst_query_parse_accept_caps(query: *mut GstQuery, caps: *mut *mut GstCaps);
6726 pub fn gst_query_parse_accept_caps_result(query: *mut GstQuery, result: *mut gboolean);
6727 pub fn gst_query_parse_allocation(
6728 query: *mut GstQuery,
6729 caps: *mut *mut GstCaps,
6730 need_pool: *mut gboolean,
6731 );
6732 #[cfg(feature = "v1_16")]
6733 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6734 pub fn gst_query_parse_bitrate(query: *mut GstQuery, nominal_bitrate: *mut c_uint);
6735 pub fn gst_query_parse_buffering_percent(
6736 query: *mut GstQuery,
6737 busy: *mut gboolean,
6738 percent: *mut c_int,
6739 );
6740 pub fn gst_query_parse_buffering_range(
6741 query: *mut GstQuery,
6742 format: *mut GstFormat,
6743 start: *mut i64,
6744 stop: *mut i64,
6745 estimated_total: *mut i64,
6746 );
6747 pub fn gst_query_parse_buffering_stats(
6748 query: *mut GstQuery,
6749 mode: *mut GstBufferingMode,
6750 avg_in: *mut c_int,
6751 avg_out: *mut c_int,
6752 buffering_left: *mut i64,
6753 );
6754 pub fn gst_query_parse_caps(query: *mut GstQuery, filter: *mut *mut GstCaps);
6755 pub fn gst_query_parse_caps_result(query: *mut GstQuery, caps: *mut *mut GstCaps);
6756 pub fn gst_query_parse_context(query: *mut GstQuery, context: *mut *mut GstContext);
6757 pub fn gst_query_parse_context_type(
6758 query: *mut GstQuery,
6759 context_type: *mut *const c_char,
6760 ) -> gboolean;
6761 pub fn gst_query_parse_convert(
6762 query: *mut GstQuery,
6763 src_format: *mut GstFormat,
6764 src_value: *mut i64,
6765 dest_format: *mut GstFormat,
6766 dest_value: *mut i64,
6767 );
6768 pub fn gst_query_parse_duration(
6769 query: *mut GstQuery,
6770 format: *mut GstFormat,
6771 duration: *mut i64,
6772 );
6773 pub fn gst_query_parse_latency(
6774 query: *mut GstQuery,
6775 live: *mut gboolean,
6776 min_latency: *mut GstClockTime,
6777 max_latency: *mut GstClockTime,
6778 );
6779 pub fn gst_query_parse_n_formats(query: *mut GstQuery, n_formats: *mut c_uint);
6780 pub fn gst_query_parse_nth_allocation_meta(
6781 query: *mut GstQuery,
6782 index: c_uint,
6783 params: *mut *const GstStructure,
6784 ) -> GType;
6785 pub fn gst_query_parse_nth_allocation_param(
6786 query: *mut GstQuery,
6787 index: c_uint,
6788 allocator: *mut *mut GstAllocator,
6789 params: *mut GstAllocationParams,
6790 );
6791 pub fn gst_query_parse_nth_allocation_pool(
6792 query: *mut GstQuery,
6793 index: c_uint,
6794 pool: *mut *mut GstBufferPool,
6795 size: *mut c_uint,
6796 min_buffers: *mut c_uint,
6797 max_buffers: *mut c_uint,
6798 );
6799 pub fn gst_query_parse_nth_buffering_range(
6800 query: *mut GstQuery,
6801 index: c_uint,
6802 start: *mut i64,
6803 stop: *mut i64,
6804 ) -> gboolean;
6805 pub fn gst_query_parse_nth_format(query: *mut GstQuery, nth: c_uint, format: *mut GstFormat);
6806 pub fn gst_query_parse_nth_scheduling_mode(query: *mut GstQuery, index: c_uint) -> GstPadMode;
6807 pub fn gst_query_parse_position(query: *mut GstQuery, format: *mut GstFormat, cur: *mut i64);
6808 pub fn gst_query_parse_scheduling(
6809 query: *mut GstQuery,
6810 flags: *mut GstSchedulingFlags,
6811 minsize: *mut c_int,
6812 maxsize: *mut c_int,
6813 align: *mut c_int,
6814 );
6815 pub fn gst_query_parse_seeking(
6816 query: *mut GstQuery,
6817 format: *mut GstFormat,
6818 seekable: *mut gboolean,
6819 segment_start: *mut i64,
6820 segment_end: *mut i64,
6821 );
6822 pub fn gst_query_parse_segment(
6823 query: *mut GstQuery,
6824 rate: *mut c_double,
6825 format: *mut GstFormat,
6826 start_value: *mut i64,
6827 stop_value: *mut i64,
6828 );
6829 #[cfg(feature = "v1_22")]
6830 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
6831 pub fn gst_query_parse_selectable(query: *mut GstQuery, selectable: *mut gboolean);
6832 pub fn gst_query_parse_uri(query: *mut GstQuery, uri: *mut *mut c_char);
6833 pub fn gst_query_parse_uri_redirection(query: *mut GstQuery, uri: *mut *mut c_char);
6834 pub fn gst_query_parse_uri_redirection_permanent(
6835 query: *mut GstQuery,
6836 permanent: *mut gboolean,
6837 );
6838 #[cfg(feature = "v1_18_3")]
6839 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6840 pub fn gst_query_ref(q: *mut GstQuery) -> *mut GstQuery;
6841 pub fn gst_query_remove_nth_allocation_meta(query: *mut GstQuery, index: c_uint);
6842 pub fn gst_query_remove_nth_allocation_param(query: *mut GstQuery, index: c_uint);
6843 pub fn gst_query_remove_nth_allocation_pool(query: *mut GstQuery, index: c_uint);
6844 pub fn gst_query_set_accept_caps_result(query: *mut GstQuery, result: gboolean);
6845 #[cfg(feature = "v1_16")]
6846 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6847 pub fn gst_query_set_bitrate(query: *mut GstQuery, nominal_bitrate: c_uint);
6848 pub fn gst_query_set_buffering_percent(query: *mut GstQuery, busy: gboolean, percent: c_int);
6849 pub fn gst_query_set_buffering_range(
6850 query: *mut GstQuery,
6851 format: GstFormat,
6852 start: i64,
6853 stop: i64,
6854 estimated_total: i64,
6855 );
6856 pub fn gst_query_set_buffering_stats(
6857 query: *mut GstQuery,
6858 mode: GstBufferingMode,
6859 avg_in: c_int,
6860 avg_out: c_int,
6861 buffering_left: i64,
6862 );
6863 pub fn gst_query_set_caps_result(query: *mut GstQuery, caps: *mut GstCaps);
6864 pub fn gst_query_set_context(query: *mut GstQuery, context: *mut GstContext);
6865 pub fn gst_query_set_convert(
6866 query: *mut GstQuery,
6867 src_format: GstFormat,
6868 src_value: i64,
6869 dest_format: GstFormat,
6870 dest_value: i64,
6871 );
6872 pub fn gst_query_set_duration(query: *mut GstQuery, format: GstFormat, duration: i64);
6873 pub fn gst_query_set_formats(query: *mut GstQuery, n_formats: c_int, ...);
6874 pub fn gst_query_set_formatsv(
6875 query: *mut GstQuery,
6876 n_formats: c_int,
6877 formats: *const GstFormat,
6878 );
6879 pub fn gst_query_set_latency(
6880 query: *mut GstQuery,
6881 live: gboolean,
6882 min_latency: GstClockTime,
6883 max_latency: GstClockTime,
6884 );
6885 pub fn gst_query_set_nth_allocation_param(
6886 query: *mut GstQuery,
6887 index: c_uint,
6888 allocator: *mut GstAllocator,
6889 params: *const GstAllocationParams,
6890 );
6891 pub fn gst_query_set_nth_allocation_pool(
6892 query: *mut GstQuery,
6893 index: c_uint,
6894 pool: *mut GstBufferPool,
6895 size: c_uint,
6896 min_buffers: c_uint,
6897 max_buffers: c_uint,
6898 );
6899 pub fn gst_query_set_position(query: *mut GstQuery, format: GstFormat, cur: i64);
6900 pub fn gst_query_set_scheduling(
6901 query: *mut GstQuery,
6902 flags: GstSchedulingFlags,
6903 minsize: c_int,
6904 maxsize: c_int,
6905 align: c_int,
6906 );
6907 pub fn gst_query_set_seeking(
6908 query: *mut GstQuery,
6909 format: GstFormat,
6910 seekable: gboolean,
6911 segment_start: i64,
6912 segment_end: i64,
6913 );
6914 pub fn gst_query_set_segment(
6915 query: *mut GstQuery,
6916 rate: c_double,
6917 format: GstFormat,
6918 start_value: i64,
6919 stop_value: i64,
6920 );
6921 #[cfg(feature = "v1_22")]
6922 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
6923 pub fn gst_query_set_selectable(query: *mut GstQuery, selectable: gboolean);
6924 pub fn gst_query_set_uri(query: *mut GstQuery, uri: *const c_char);
6925 pub fn gst_query_set_uri_redirection(query: *mut GstQuery, uri: *const c_char);
6926 pub fn gst_query_set_uri_redirection_permanent(query: *mut GstQuery, permanent: gboolean);
6927 #[cfg(feature = "v1_18_3")]
6928 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6929 pub fn gst_query_unref(q: *mut GstQuery);
6930 pub fn gst_query_writable_structure(query: *mut GstQuery) -> *mut GstStructure;
6931 #[cfg(feature = "v1_18_3")]
6932 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6933 pub fn gst_query_replace(old_query: *mut *mut GstQuery, new_query: *mut GstQuery) -> gboolean;
6934 #[cfg(feature = "v1_28")]
6935 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
6936 pub fn gst_query_steal(old_query: *mut *mut GstQuery) -> *mut GstQuery;
6937 #[cfg(feature = "v1_18_3")]
6938 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6939 pub fn gst_query_take(old_query: *mut *mut GstQuery, new_query: *mut GstQuery) -> gboolean;
6940
6941 pub fn gst_reference_timestamp_meta_get_info() -> *const GstMetaInfo;
6945
6946 pub fn gst_sample_get_type() -> GType;
6950 pub fn gst_sample_new(
6951 buffer: *mut GstBuffer,
6952 caps: *mut GstCaps,
6953 segment: *const GstSegment,
6954 info: *mut GstStructure,
6955 ) -> *mut GstSample;
6956 #[cfg(feature = "v1_18_3")]
6957 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6958 pub fn gst_sample_copy(sample: *const GstSample) -> *mut GstSample;
6959 pub fn gst_sample_get_buffer(sample: *mut GstSample) -> *mut GstBuffer;
6960 pub fn gst_sample_get_buffer_list(sample: *mut GstSample) -> *mut GstBufferList;
6961 pub fn gst_sample_get_caps(sample: *mut GstSample) -> *mut GstCaps;
6962 pub fn gst_sample_get_info(sample: *mut GstSample) -> *const GstStructure;
6963 pub fn gst_sample_get_segment(sample: *mut GstSample) -> *mut GstSegment;
6964 #[cfg(feature = "v1_16")]
6965 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6966 pub fn gst_sample_is_writable(sample: *const GstSample) -> gboolean;
6967 #[cfg(feature = "v1_16")]
6968 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6969 pub fn gst_sample_make_writable(sample: *mut GstSample) -> *mut GstSample;
6970 #[cfg(feature = "v1_18_3")]
6971 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6972 pub fn gst_sample_ref(sample: *mut GstSample) -> *mut GstSample;
6973 #[cfg(feature = "v1_16")]
6974 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6975 pub fn gst_sample_set_buffer(sample: *mut GstSample, buffer: *mut GstBuffer);
6976 pub fn gst_sample_set_buffer_list(sample: *mut GstSample, buffer_list: *mut GstBufferList);
6977 #[cfg(feature = "v1_16")]
6978 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6979 pub fn gst_sample_set_caps(sample: *mut GstSample, caps: *mut GstCaps);
6980 #[cfg(feature = "v1_16")]
6981 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6982 pub fn gst_sample_set_info(sample: *mut GstSample, info: *mut GstStructure) -> gboolean;
6983 #[cfg(feature = "v1_16")]
6984 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
6985 pub fn gst_sample_set_segment(sample: *mut GstSample, segment: *const GstSegment);
6986 #[cfg(feature = "v1_18_3")]
6987 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
6988 pub fn gst_sample_unref(sample: *mut GstSample);
6989
6990 pub fn gst_segment_get_type() -> GType;
6994 pub fn gst_segment_new() -> *mut GstSegment;
6995 pub fn gst_segment_clip(
6996 segment: *const GstSegment,
6997 format: GstFormat,
6998 start: u64,
6999 stop: u64,
7000 clip_start: *mut u64,
7001 clip_stop: *mut u64,
7002 ) -> gboolean;
7003 pub fn gst_segment_copy(segment: *const GstSegment) -> *mut GstSegment;
7004 pub fn gst_segment_copy_into(src: *const GstSegment, dest: *mut GstSegment);
7005 pub fn gst_segment_do_seek(
7006 segment: *mut GstSegment,
7007 rate: c_double,
7008 format: GstFormat,
7009 flags: GstSeekFlags,
7010 start_type: GstSeekType,
7011 start: u64,
7012 stop_type: GstSeekType,
7013 stop: u64,
7014 update: *mut gboolean,
7015 ) -> gboolean;
7016 pub fn gst_segment_free(segment: *mut GstSegment);
7017 pub fn gst_segment_init(segment: *mut GstSegment, format: GstFormat);
7018 pub fn gst_segment_is_equal(s0: *const GstSegment, s1: *const GstSegment) -> gboolean;
7019 pub fn gst_segment_offset_running_time(
7020 segment: *mut GstSegment,
7021 format: GstFormat,
7022 offset: i64,
7023 ) -> gboolean;
7024 pub fn gst_segment_position_from_running_time(
7025 segment: *const GstSegment,
7026 format: GstFormat,
7027 running_time: u64,
7028 ) -> u64;
7029 pub fn gst_segment_position_from_running_time_full(
7030 segment: *const GstSegment,
7031 format: GstFormat,
7032 running_time: u64,
7033 position: *mut u64,
7034 ) -> c_int;
7035 pub fn gst_segment_position_from_stream_time(
7036 segment: *const GstSegment,
7037 format: GstFormat,
7038 stream_time: u64,
7039 ) -> u64;
7040 pub fn gst_segment_position_from_stream_time_full(
7041 segment: *const GstSegment,
7042 format: GstFormat,
7043 stream_time: u64,
7044 position: *mut u64,
7045 ) -> c_int;
7046 pub fn gst_segment_set_running_time(
7047 segment: *mut GstSegment,
7048 format: GstFormat,
7049 running_time: u64,
7050 ) -> gboolean;
7051 pub fn gst_segment_to_position(
7052 segment: *const GstSegment,
7053 format: GstFormat,
7054 running_time: u64,
7055 ) -> u64;
7056 pub fn gst_segment_to_running_time(
7057 segment: *const GstSegment,
7058 format: GstFormat,
7059 position: u64,
7060 ) -> u64;
7061 pub fn gst_segment_to_running_time_full(
7062 segment: *const GstSegment,
7063 format: GstFormat,
7064 position: u64,
7065 running_time: *mut u64,
7066 ) -> c_int;
7067 pub fn gst_segment_to_stream_time(
7068 segment: *const GstSegment,
7069 format: GstFormat,
7070 position: u64,
7071 ) -> u64;
7072 pub fn gst_segment_to_stream_time_full(
7073 segment: *const GstSegment,
7074 format: GstFormat,
7075 position: u64,
7076 stream_time: *mut u64,
7077 ) -> c_int;
7078
7079 pub fn gst_static_caps_get_type() -> GType;
7083 pub fn gst_static_caps_cleanup(static_caps: *mut GstStaticCaps);
7084 pub fn gst_static_caps_get(static_caps: *mut GstStaticCaps) -> *mut GstCaps;
7085
7086 pub fn gst_static_pad_template_get_type() -> GType;
7090 pub fn gst_static_pad_template_get(
7091 pad_template: *mut GstStaticPadTemplate,
7092 ) -> *mut GstPadTemplate;
7093 pub fn gst_static_pad_template_get_caps(templ: *mut GstStaticPadTemplate) -> *mut GstCaps;
7094
7095 pub fn gst_structure_get_type() -> GType;
7099 pub fn gst_structure_from_string(
7100 string: *const c_char,
7101 end: *mut *mut c_char,
7102 ) -> *mut GstStructure;
7103 pub fn gst_structure_new(
7104 name: *const c_char,
7105 firstfield: *const c_char,
7106 ...
7107 ) -> *mut GstStructure;
7108 pub fn gst_structure_new_empty(name: *const c_char) -> *mut GstStructure;
7109 pub fn gst_structure_new_from_string(string: *const c_char) -> *mut GstStructure;
7110 pub fn gst_structure_new_id(
7111 name_quark: glib::GQuark,
7112 field_quark: glib::GQuark,
7113 ...
7114 ) -> *mut GstStructure;
7115 pub fn gst_structure_new_id_empty(quark: glib::GQuark) -> *mut GstStructure;
7116 #[cfg(feature = "v1_26")]
7117 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7118 pub fn gst_structure_new_id_str(
7119 name: *const GstIdStr,
7120 fieldname: *const GstIdStr,
7121 ...
7122 ) -> *mut GstStructure;
7123 #[cfg(feature = "v1_26")]
7124 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7125 pub fn gst_structure_new_id_str_empty(name: *const GstIdStr) -> *mut GstStructure;
7126 #[cfg(feature = "v1_26")]
7130 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7131 pub fn gst_structure_new_static_str(
7132 name: *const c_char,
7133 firstfield: *const c_char,
7134 ...
7135 ) -> *mut GstStructure;
7136 #[cfg(feature = "v1_26")]
7137 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7138 pub fn gst_structure_new_static_str_empty(name: *const c_char) -> *mut GstStructure;
7139 pub fn gst_structure_can_intersect(
7144 struct1: *const GstStructure,
7145 struct2: *const GstStructure,
7146 ) -> gboolean;
7147 pub fn gst_structure_copy(structure: *const GstStructure) -> *mut GstStructure;
7148 pub fn gst_structure_filter_and_map_in_place(
7149 structure: *mut GstStructure,
7150 func: GstStructureFilterMapFunc,
7151 user_data: gpointer,
7152 );
7153 #[cfg(feature = "v1_26")]
7154 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7155 pub fn gst_structure_filter_and_map_in_place_id_str(
7156 structure: *mut GstStructure,
7157 func: GstStructureFilterMapIdStrFunc,
7158 user_data: gpointer,
7159 );
7160 pub fn gst_structure_fixate(structure: *mut GstStructure);
7161 pub fn gst_structure_fixate_field(
7162 structure: *mut GstStructure,
7163 field_name: *const c_char,
7164 ) -> gboolean;
7165 pub fn gst_structure_fixate_field_boolean(
7166 structure: *mut GstStructure,
7167 field_name: *const c_char,
7168 target: gboolean,
7169 ) -> gboolean;
7170 pub fn gst_structure_fixate_field_nearest_double(
7171 structure: *mut GstStructure,
7172 field_name: *const c_char,
7173 target: c_double,
7174 ) -> gboolean;
7175 pub fn gst_structure_fixate_field_nearest_fraction(
7176 structure: *mut GstStructure,
7177 field_name: *const c_char,
7178 target_numerator: c_int,
7179 target_denominator: c_int,
7180 ) -> gboolean;
7181 pub fn gst_structure_fixate_field_nearest_int(
7182 structure: *mut GstStructure,
7183 field_name: *const c_char,
7184 target: c_int,
7185 ) -> gboolean;
7186 pub fn gst_structure_fixate_field_string(
7187 structure: *mut GstStructure,
7188 field_name: *const c_char,
7189 target: *const c_char,
7190 ) -> gboolean;
7191 pub fn gst_structure_foreach(
7192 structure: *const GstStructure,
7193 func: GstStructureForeachFunc,
7194 user_data: gpointer,
7195 ) -> gboolean;
7196 #[cfg(feature = "v1_26")]
7197 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7198 pub fn gst_structure_foreach_id_str(
7199 structure: *const GstStructure,
7200 func: GstStructureForeachIdStrFunc,
7201 user_data: gpointer,
7202 ) -> gboolean;
7203 pub fn gst_structure_free(structure: *mut GstStructure);
7204 pub fn gst_structure_get(
7205 structure: *const GstStructure,
7206 first_fieldname: *const c_char,
7207 ...
7208 ) -> gboolean;
7209 pub fn gst_structure_get_array(
7210 structure: *mut GstStructure,
7211 fieldname: *const c_char,
7212 array: *mut *mut gobject::GValueArray,
7213 ) -> gboolean;
7214 pub fn gst_structure_get_boolean(
7215 structure: *const GstStructure,
7216 fieldname: *const c_char,
7217 value: *mut gboolean,
7218 ) -> gboolean;
7219 #[cfg(feature = "v1_28")]
7220 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
7221 pub fn gst_structure_get_caps(
7222 structure: *const GstStructure,
7223 fieldname: *const c_char,
7224 caps: *mut *const GstCaps,
7225 ) -> gboolean;
7226 pub fn gst_structure_get_clock_time(
7227 structure: *const GstStructure,
7228 fieldname: *const c_char,
7229 value: *mut GstClockTime,
7230 ) -> gboolean;
7231 pub fn gst_structure_get_date(
7232 structure: *const GstStructure,
7233 fieldname: *const c_char,
7234 value: *mut *mut glib::GDate,
7235 ) -> gboolean;
7236 pub fn gst_structure_get_date_time(
7237 structure: *const GstStructure,
7238 fieldname: *const c_char,
7239 value: *mut *mut GstDateTime,
7240 ) -> gboolean;
7241 pub fn gst_structure_get_double(
7242 structure: *const GstStructure,
7243 fieldname: *const c_char,
7244 value: *mut c_double,
7245 ) -> gboolean;
7246 pub fn gst_structure_get_enum(
7247 structure: *const GstStructure,
7248 fieldname: *const c_char,
7249 enumtype: GType,
7250 value: *mut c_int,
7251 ) -> gboolean;
7252 pub fn gst_structure_get_field_type(
7253 structure: *const GstStructure,
7254 fieldname: *const c_char,
7255 ) -> GType;
7256 #[cfg(feature = "v1_22")]
7257 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
7258 pub fn gst_structure_get_flags(
7259 structure: *const GstStructure,
7260 fieldname: *const c_char,
7261 flags_type: GType,
7262 value: *mut c_uint,
7263 ) -> gboolean;
7264 pub fn gst_structure_get_flagset(
7265 structure: *const GstStructure,
7266 fieldname: *const c_char,
7267 value_flags: *mut c_uint,
7268 value_mask: *mut c_uint,
7269 ) -> gboolean;
7270 pub fn gst_structure_get_fraction(
7271 structure: *const GstStructure,
7272 fieldname: *const c_char,
7273 value_numerator: *mut c_int,
7274 value_denominator: *mut c_int,
7275 ) -> gboolean;
7276 pub fn gst_structure_get_int(
7277 structure: *const GstStructure,
7278 fieldname: *const c_char,
7279 value: *mut c_int,
7280 ) -> gboolean;
7281 pub fn gst_structure_get_int64(
7282 structure: *const GstStructure,
7283 fieldname: *const c_char,
7284 value: *mut i64,
7285 ) -> gboolean;
7286 pub fn gst_structure_get_list(
7287 structure: *mut GstStructure,
7288 fieldname: *const c_char,
7289 array: *mut *mut gobject::GValueArray,
7290 ) -> gboolean;
7291 pub fn gst_structure_get_name(structure: *const GstStructure) -> *const c_char;
7292 pub fn gst_structure_get_name_id(structure: *const GstStructure) -> glib::GQuark;
7293 #[cfg(feature = "v1_26")]
7294 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7295 pub fn gst_structure_get_name_id_str(structure: *const GstStructure) -> *const GstIdStr;
7296 pub fn gst_structure_get_string(
7297 structure: *const GstStructure,
7298 fieldname: *const c_char,
7299 ) -> *const c_char;
7300 pub fn gst_structure_get_uint(
7301 structure: *const GstStructure,
7302 fieldname: *const c_char,
7303 value: *mut c_uint,
7304 ) -> gboolean;
7305 pub fn gst_structure_get_uint64(
7306 structure: *const GstStructure,
7307 fieldname: *const c_char,
7308 value: *mut u64,
7309 ) -> gboolean;
7310 pub fn gst_structure_get_value(
7312 structure: *const GstStructure,
7313 fieldname: *const c_char,
7314 ) -> *const gobject::GValue;
7315 pub fn gst_structure_has_field(
7316 structure: *const GstStructure,
7317 fieldname: *const c_char,
7318 ) -> gboolean;
7319 pub fn gst_structure_has_field_typed(
7320 structure: *const GstStructure,
7321 fieldname: *const c_char,
7322 type_: GType,
7323 ) -> gboolean;
7324 pub fn gst_structure_has_name(structure: *const GstStructure, name: *const c_char) -> gboolean;
7325 pub fn gst_structure_id_get(
7326 structure: *const GstStructure,
7327 first_field_id: glib::GQuark,
7328 ...
7329 ) -> gboolean;
7330 pub fn gst_structure_id_get_value(
7332 structure: *const GstStructure,
7333 field: glib::GQuark,
7334 ) -> *const gobject::GValue;
7335 pub fn gst_structure_id_has_field(
7336 structure: *const GstStructure,
7337 field: glib::GQuark,
7338 ) -> gboolean;
7339 pub fn gst_structure_id_has_field_typed(
7340 structure: *const GstStructure,
7341 field: glib::GQuark,
7342 type_: GType,
7343 ) -> gboolean;
7344 pub fn gst_structure_id_set(structure: *mut GstStructure, fieldname: glib::GQuark, ...);
7345 pub fn gst_structure_id_set_value(
7347 structure: *mut GstStructure,
7348 field: glib::GQuark,
7349 value: *const gobject::GValue,
7350 );
7351 #[cfg(feature = "v1_26")]
7352 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7353 pub fn gst_structure_id_str_get(
7354 structure: *const GstStructure,
7355 first_fieldname: *const GstIdStr,
7356 ...
7357 ) -> gboolean;
7358 #[cfg(feature = "v1_26")]
7359 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7360 pub fn gst_structure_id_str_get_field_type(
7361 structure: *const GstStructure,
7362 fieldname: *const GstIdStr,
7363 ) -> GType;
7364 #[cfg(feature = "v1_26")]
7368 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7369 pub fn gst_structure_id_str_get_value(
7370 structure: *const GstStructure,
7371 fieldname: *const GstIdStr,
7372 ) -> *const gobject::GValue;
7373 #[cfg(feature = "v1_26")]
7374 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7375 pub fn gst_structure_id_str_has_field(
7376 structure: *const GstStructure,
7377 fieldname: *const GstIdStr,
7378 ) -> gboolean;
7379 #[cfg(feature = "v1_26")]
7380 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7381 pub fn gst_structure_id_str_has_field_typed(
7382 structure: *const GstStructure,
7383 fieldname: *const GstIdStr,
7384 type_: GType,
7385 ) -> gboolean;
7386 #[cfg(feature = "v1_26")]
7387 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7388 pub fn gst_structure_id_str_nth_field_name(
7389 structure: *const GstStructure,
7390 index: c_uint,
7391 ) -> *const GstIdStr;
7392 #[cfg(feature = "v1_26")]
7393 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7394 pub fn gst_structure_id_str_remove_field(
7395 structure: *mut GstStructure,
7396 fieldname: *const GstIdStr,
7397 );
7398 #[cfg(feature = "v1_26")]
7399 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7400 pub fn gst_structure_id_str_remove_fields(
7401 structure: *mut GstStructure,
7402 fieldname: *const GstIdStr,
7403 ...
7404 );
7405 #[cfg(feature = "v1_26")]
7409 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7410 pub fn gst_structure_id_str_set(structure: *mut GstStructure, fieldname: *const GstIdStr, ...);
7411 #[cfg(feature = "v1_26")]
7415 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7416 pub fn gst_structure_id_str_set_value(
7417 structure: *mut GstStructure,
7418 fieldname: *const GstIdStr,
7419 value: *const gobject::GValue,
7420 );
7421 #[cfg(feature = "v1_26")]
7422 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7423 pub fn gst_structure_id_str_take_value(
7424 structure: *mut GstStructure,
7425 fieldname: *const GstIdStr,
7426 value: *mut gobject::GValue,
7427 );
7428 pub fn gst_structure_id_take_value(
7429 structure: *mut GstStructure,
7430 field: glib::GQuark,
7431 value: *mut gobject::GValue,
7432 );
7433 pub fn gst_structure_intersect(
7434 struct1: *const GstStructure,
7435 struct2: *const GstStructure,
7436 ) -> *mut GstStructure;
7437 pub fn gst_structure_is_equal(
7438 structure1: *const GstStructure,
7439 structure2: *const GstStructure,
7440 ) -> gboolean;
7441 pub fn gst_structure_is_subset(
7442 subset: *const GstStructure,
7443 superset: *const GstStructure,
7444 ) -> gboolean;
7445 #[cfg(feature = "v1_28")]
7446 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
7447 pub fn gst_structure_is_writable(structure: *const GstStructure) -> gboolean;
7448 pub fn gst_structure_map_in_place(
7449 structure: *mut GstStructure,
7450 func: GstStructureMapFunc,
7451 user_data: gpointer,
7452 ) -> gboolean;
7453 #[cfg(feature = "v1_26")]
7454 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7455 pub fn gst_structure_map_in_place_id_str(
7456 structure: *mut GstStructure,
7457 func: GstStructureMapIdStrFunc,
7458 user_data: gpointer,
7459 ) -> gboolean;
7460 pub fn gst_structure_n_fields(structure: *const GstStructure) -> c_int;
7461 pub fn gst_structure_nth_field_name(
7462 structure: *const GstStructure,
7463 index: c_uint,
7464 ) -> *const c_char;
7465 pub fn gst_structure_remove_all_fields(structure: *mut GstStructure);
7466 pub fn gst_structure_remove_field(structure: *mut GstStructure, fieldname: *const c_char);
7467 pub fn gst_structure_remove_fields(structure: *mut GstStructure, fieldname: *const c_char, ...);
7468 #[cfg(feature = "v1_20")]
7470 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
7471 pub fn gst_structure_serialize(
7472 structure: *const GstStructure,
7473 flags: GstSerializeFlags,
7474 ) -> *mut c_char;
7475 #[cfg(feature = "v1_24")]
7476 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
7477 pub fn gst_structure_serialize_full(
7478 structure: *const GstStructure,
7479 flags: GstSerializeFlags,
7480 ) -> *mut c_char;
7481 pub fn gst_structure_set(structure: *mut GstStructure, fieldname: *const c_char, ...);
7482 pub fn gst_structure_set_array(
7483 structure: *mut GstStructure,
7484 fieldname: *const c_char,
7485 array: *const gobject::GValueArray,
7486 );
7487 pub fn gst_structure_set_list(
7488 structure: *mut GstStructure,
7489 fieldname: *const c_char,
7490 array: *const gobject::GValueArray,
7491 );
7492 pub fn gst_structure_set_name(structure: *mut GstStructure, name: *const c_char);
7493 #[cfg(feature = "v1_26")]
7494 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7495 pub fn gst_structure_set_name_id_str(structure: *mut GstStructure, name: *const GstIdStr);
7496 #[cfg(feature = "v1_26")]
7497 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7498 pub fn gst_structure_set_name_static_str(structure: *mut GstStructure, name: *const c_char);
7499 pub fn gst_structure_set_parent_refcount(
7500 structure: *mut GstStructure,
7501 refcount: *mut c_int,
7502 ) -> gboolean;
7503 #[cfg(feature = "v1_26")]
7504 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7505 pub fn gst_structure_set_static_str(
7506 structure: *mut GstStructure,
7507 fieldname: *const c_char,
7508 ...
7509 );
7510 pub fn gst_structure_set_value(
7515 structure: *mut GstStructure,
7516 fieldname: *const c_char,
7517 value: *const gobject::GValue,
7518 );
7519 #[cfg(feature = "v1_26")]
7520 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7521 pub fn gst_structure_set_value_static_str(
7522 structure: *mut GstStructure,
7523 fieldname: *const c_char,
7524 value: *const gobject::GValue,
7525 );
7526 pub fn gst_structure_take_value(
7527 structure: *mut GstStructure,
7528 fieldname: *const c_char,
7529 value: *mut gobject::GValue,
7530 );
7531 #[cfg(feature = "v1_26")]
7532 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7533 pub fn gst_structure_take_value_static_str(
7534 structure: *mut GstStructure,
7535 fieldname: *const c_char,
7536 value: *mut gobject::GValue,
7537 );
7538 pub fn gst_structure_to_string(structure: *const GstStructure) -> *mut c_char;
7539 #[cfg(feature = "v1_18")]
7540 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
7541 pub fn gst_structure_take(
7542 oldstr_ptr: *mut *mut GstStructure,
7543 newstr: *mut GstStructure,
7544 ) -> gboolean;
7545
7546 pub fn gst_tag_list_get_type() -> GType;
7550 pub fn gst_tag_list_new(tag: *const c_char, ...) -> *mut GstTagList;
7551 pub fn gst_tag_list_new_empty() -> *mut GstTagList;
7552 pub fn gst_tag_list_new_from_string(str: *const c_char) -> *mut GstTagList;
7553 pub fn gst_tag_list_add(list: *mut GstTagList, mode: GstTagMergeMode, tag: *const c_char, ...);
7555 pub fn gst_tag_list_add_value(
7558 list: *mut GstTagList,
7559 mode: GstTagMergeMode,
7560 tag: *const c_char,
7561 value: *const gobject::GValue,
7562 );
7563 pub fn gst_tag_list_add_values(
7564 list: *mut GstTagList,
7565 mode: GstTagMergeMode,
7566 tag: *const c_char,
7567 ...
7568 );
7569 #[cfg(feature = "v1_18_3")]
7570 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7571 pub fn gst_tag_list_copy(taglist: *const GstTagList) -> *mut GstTagList;
7572 pub fn gst_tag_list_foreach(
7573 list: *const GstTagList,
7574 func: GstTagForeachFunc,
7575 user_data: gpointer,
7576 );
7577 pub fn gst_tag_list_get_boolean(
7578 list: *const GstTagList,
7579 tag: *const c_char,
7580 value: *mut gboolean,
7581 ) -> gboolean;
7582 pub fn gst_tag_list_get_boolean_index(
7583 list: *const GstTagList,
7584 tag: *const c_char,
7585 index: c_uint,
7586 value: *mut gboolean,
7587 ) -> gboolean;
7588 pub fn gst_tag_list_get_date(
7589 list: *const GstTagList,
7590 tag: *const c_char,
7591 value: *mut *mut glib::GDate,
7592 ) -> gboolean;
7593 pub fn gst_tag_list_get_date_index(
7594 list: *const GstTagList,
7595 tag: *const c_char,
7596 index: c_uint,
7597 value: *mut *mut glib::GDate,
7598 ) -> gboolean;
7599 pub fn gst_tag_list_get_date_time(
7600 list: *const GstTagList,
7601 tag: *const c_char,
7602 value: *mut *mut GstDateTime,
7603 ) -> gboolean;
7604 pub fn gst_tag_list_get_date_time_index(
7605 list: *const GstTagList,
7606 tag: *const c_char,
7607 index: c_uint,
7608 value: *mut *mut GstDateTime,
7609 ) -> gboolean;
7610 pub fn gst_tag_list_get_double(
7611 list: *const GstTagList,
7612 tag: *const c_char,
7613 value: *mut c_double,
7614 ) -> gboolean;
7615 pub fn gst_tag_list_get_double_index(
7616 list: *const GstTagList,
7617 tag: *const c_char,
7618 index: c_uint,
7619 value: *mut c_double,
7620 ) -> gboolean;
7621 pub fn gst_tag_list_get_float(
7622 list: *const GstTagList,
7623 tag: *const c_char,
7624 value: *mut c_float,
7625 ) -> gboolean;
7626 pub fn gst_tag_list_get_float_index(
7627 list: *const GstTagList,
7628 tag: *const c_char,
7629 index: c_uint,
7630 value: *mut c_float,
7631 ) -> gboolean;
7632 pub fn gst_tag_list_get_int(
7633 list: *const GstTagList,
7634 tag: *const c_char,
7635 value: *mut c_int,
7636 ) -> gboolean;
7637 pub fn gst_tag_list_get_int64(
7638 list: *const GstTagList,
7639 tag: *const c_char,
7640 value: *mut i64,
7641 ) -> gboolean;
7642 pub fn gst_tag_list_get_int64_index(
7643 list: *const GstTagList,
7644 tag: *const c_char,
7645 index: c_uint,
7646 value: *mut i64,
7647 ) -> gboolean;
7648 pub fn gst_tag_list_get_int_index(
7649 list: *const GstTagList,
7650 tag: *const c_char,
7651 index: c_uint,
7652 value: *mut c_int,
7653 ) -> gboolean;
7654 pub fn gst_tag_list_get_pointer(
7655 list: *const GstTagList,
7656 tag: *const c_char,
7657 value: *mut gpointer,
7658 ) -> gboolean;
7659 pub fn gst_tag_list_get_pointer_index(
7660 list: *const GstTagList,
7661 tag: *const c_char,
7662 index: c_uint,
7663 value: *mut gpointer,
7664 ) -> gboolean;
7665 pub fn gst_tag_list_get_sample(
7666 list: *const GstTagList,
7667 tag: *const c_char,
7668 sample: *mut *mut GstSample,
7669 ) -> gboolean;
7670 pub fn gst_tag_list_get_sample_index(
7671 list: *const GstTagList,
7672 tag: *const c_char,
7673 index: c_uint,
7674 sample: *mut *mut GstSample,
7675 ) -> gboolean;
7676 pub fn gst_tag_list_get_scope(list: *const GstTagList) -> GstTagScope;
7677 pub fn gst_tag_list_get_string(
7678 list: *const GstTagList,
7679 tag: *const c_char,
7680 value: *mut *mut c_char,
7681 ) -> gboolean;
7682 pub fn gst_tag_list_get_string_index(
7683 list: *const GstTagList,
7684 tag: *const c_char,
7685 index: c_uint,
7686 value: *mut *mut c_char,
7687 ) -> gboolean;
7688 pub fn gst_tag_list_get_tag_size(list: *const GstTagList, tag: *const c_char) -> c_uint;
7689 pub fn gst_tag_list_get_uint(
7690 list: *const GstTagList,
7691 tag: *const c_char,
7692 value: *mut c_uint,
7693 ) -> gboolean;
7694 pub fn gst_tag_list_get_uint64(
7695 list: *const GstTagList,
7696 tag: *const c_char,
7697 value: *mut u64,
7698 ) -> gboolean;
7699 pub fn gst_tag_list_get_uint64_index(
7700 list: *const GstTagList,
7701 tag: *const c_char,
7702 index: c_uint,
7703 value: *mut u64,
7704 ) -> gboolean;
7705 pub fn gst_tag_list_get_uint_index(
7706 list: *const GstTagList,
7707 tag: *const c_char,
7708 index: c_uint,
7709 value: *mut c_uint,
7710 ) -> gboolean;
7711 pub fn gst_tag_list_get_value_index(
7712 list: *const GstTagList,
7713 tag: *const c_char,
7714 index: c_uint,
7715 ) -> *const gobject::GValue;
7716 pub fn gst_tag_list_insert(
7717 into: *mut GstTagList,
7718 from: *const GstTagList,
7719 mode: GstTagMergeMode,
7720 );
7721 pub fn gst_tag_list_is_empty(list: *const GstTagList) -> gboolean;
7722 pub fn gst_tag_list_is_equal(list1: *const GstTagList, list2: *const GstTagList) -> gboolean;
7723 pub fn gst_tag_list_is_writable(taglist: *const GstTagList) -> gboolean;
7724 pub fn gst_tag_list_make_writable(taglist: *mut GstTagList) -> *mut GstTagList;
7725 pub fn gst_tag_list_merge(
7726 list1: *const GstTagList,
7727 list2: *const GstTagList,
7728 mode: GstTagMergeMode,
7729 ) -> *mut GstTagList;
7730 pub fn gst_tag_list_n_tags(list: *const GstTagList) -> c_int;
7731 pub fn gst_tag_list_nth_tag_name(list: *const GstTagList, index: c_uint) -> *const c_char;
7732 pub fn gst_tag_list_peek_string_index(
7733 list: *const GstTagList,
7734 tag: *const c_char,
7735 index: c_uint,
7736 value: *mut *const c_char,
7737 ) -> gboolean;
7738 #[cfg(feature = "v1_18_3")]
7739 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7740 pub fn gst_tag_list_ref(taglist: *mut GstTagList) -> *mut GstTagList;
7741 pub fn gst_tag_list_remove_tag(list: *mut GstTagList, tag: *const c_char);
7742 pub fn gst_tag_list_set_scope(list: *mut GstTagList, scope: GstTagScope);
7743 pub fn gst_tag_list_to_string(list: *const GstTagList) -> *mut c_char;
7744 #[cfg(feature = "v1_18_3")]
7745 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7746 pub fn gst_tag_list_unref(taglist: *mut GstTagList);
7747 pub fn gst_tag_list_copy_value(
7748 dest: *mut gobject::GValue,
7749 list: *const GstTagList,
7750 tag: *const c_char,
7751 ) -> gboolean;
7752 #[cfg(feature = "v1_18_3")]
7753 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7754 pub fn gst_tag_list_replace(
7755 old_taglist: *mut *mut GstTagList,
7756 new_taglist: *mut GstTagList,
7757 ) -> gboolean;
7758 #[cfg(feature = "v1_18_3")]
7759 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7760 pub fn gst_tag_list_take(
7761 old_taglist: *mut *mut GstTagList,
7762 new_taglist: *mut GstTagList,
7763 ) -> gboolean;
7764
7765 pub fn gst_toc_get_type() -> GType;
7769 pub fn gst_toc_new(scope: GstTocScope) -> *mut GstToc;
7770 pub fn gst_toc_append_entry(toc: *mut GstToc, entry: *mut GstTocEntry);
7771 pub fn gst_toc_dump(toc: *mut GstToc);
7772 pub fn gst_toc_find_entry(toc: *const GstToc, uid: *const c_char) -> *mut GstTocEntry;
7773 pub fn gst_toc_get_entries(toc: *const GstToc) -> *mut glib::GList;
7774 pub fn gst_toc_get_scope(toc: *const GstToc) -> GstTocScope;
7775 pub fn gst_toc_get_tags(toc: *const GstToc) -> *mut GstTagList;
7776 pub fn gst_toc_merge_tags(toc: *mut GstToc, tags: *mut GstTagList, mode: GstTagMergeMode);
7777 pub fn gst_toc_set_tags(toc: *mut GstToc, tags: *mut GstTagList);
7778
7779 pub fn gst_toc_entry_get_type() -> GType;
7783 pub fn gst_toc_entry_new(type_: GstTocEntryType, uid: *const c_char) -> *mut GstTocEntry;
7784 pub fn gst_toc_entry_append_sub_entry(entry: *mut GstTocEntry, subentry: *mut GstTocEntry);
7785 pub fn gst_toc_entry_get_entry_type(entry: *const GstTocEntry) -> GstTocEntryType;
7786 pub fn gst_toc_entry_get_loop(
7787 entry: *const GstTocEntry,
7788 loop_type: *mut GstTocLoopType,
7789 repeat_count: *mut c_int,
7790 ) -> gboolean;
7791 pub fn gst_toc_entry_get_parent(entry: *mut GstTocEntry) -> *mut GstTocEntry;
7792 pub fn gst_toc_entry_get_start_stop_times(
7793 entry: *const GstTocEntry,
7794 start: *mut i64,
7795 stop: *mut i64,
7796 ) -> gboolean;
7797 pub fn gst_toc_entry_get_sub_entries(entry: *const GstTocEntry) -> *mut glib::GList;
7798 pub fn gst_toc_entry_get_tags(entry: *const GstTocEntry) -> *mut GstTagList;
7799 pub fn gst_toc_entry_get_toc(entry: *mut GstTocEntry) -> *mut GstToc;
7800 pub fn gst_toc_entry_get_uid(entry: *const GstTocEntry) -> *const c_char;
7801 pub fn gst_toc_entry_is_alternative(entry: *const GstTocEntry) -> gboolean;
7802 pub fn gst_toc_entry_is_sequence(entry: *const GstTocEntry) -> gboolean;
7803 pub fn gst_toc_entry_merge_tags(
7804 entry: *mut GstTocEntry,
7805 tags: *mut GstTagList,
7806 mode: GstTagMergeMode,
7807 );
7808 pub fn gst_toc_entry_set_loop(
7809 entry: *mut GstTocEntry,
7810 loop_type: GstTocLoopType,
7811 repeat_count: c_int,
7812 );
7813 pub fn gst_toc_entry_set_start_stop_times(entry: *mut GstTocEntry, start: i64, stop: i64);
7814 pub fn gst_toc_entry_set_tags(entry: *mut GstTocEntry, tags: *mut GstTagList);
7815
7816 #[cfg(feature = "v1_30")]
7820 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7821 pub fn gst_trace_field_free(field: *mut GstTraceField);
7822 #[cfg(feature = "v1_30")]
7823 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7824 pub fn gst_trace_field_set_description(
7825 field: *mut GstTraceField,
7826 description: *const c_char,
7827 ) -> *mut GstTraceField;
7828 #[cfg(feature = "v1_30")]
7829 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7830 pub fn gst_trace_field_set_flags(
7831 field: *mut GstTraceField,
7832 flags: GstTracerValueFlags,
7833 ) -> *mut GstTraceField;
7834 #[cfg(feature = "v1_30")]
7835 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7836 pub fn gst_trace_field_set_scope(
7837 field: *mut GstTraceField,
7838 scope: GstTracerValueScope,
7839 ) -> *mut GstTraceField;
7840 #[cfg(feature = "v1_30")]
7841 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7842 pub fn gst_trace_field_new(
7843 name: *const c_char,
7844 type_: GstTracerFieldType,
7845 ) -> *mut GstTraceField;
7846
7847 #[cfg(feature = "v1_30")]
7851 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7852 pub fn gst_trace_format_get_description(format: *mut GstTraceFormat) -> *const c_char;
7853 #[cfg(feature = "v1_30")]
7854 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7855 pub fn gst_trace_format_get_field_description(
7856 format: *mut GstTraceFormat,
7857 index: c_uint,
7858 ) -> *const c_char;
7859 #[cfg(feature = "v1_30")]
7860 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7861 pub fn gst_trace_format_get_field_name(
7862 format: *mut GstTraceFormat,
7863 index: c_uint,
7864 ) -> *const c_char;
7865 #[cfg(feature = "v1_30")]
7866 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7867 pub fn gst_trace_format_get_field_structure(
7868 format: *mut GstTraceFormat,
7869 index: c_uint,
7870 ) -> *const GstStructure;
7871 #[cfg(feature = "v1_30")]
7872 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7873 pub fn gst_trace_format_get_field_type(
7874 format: *mut GstTraceFormat,
7875 index: c_uint,
7876 ) -> GstTracerFieldType;
7877 #[cfg(feature = "v1_30")]
7878 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7879 pub fn gst_trace_format_get_n_fields(format: *mut GstTraceFormat) -> c_uint;
7880 #[cfg(feature = "v1_30")]
7881 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7882 pub fn gst_trace_format_get_name(format: *mut GstTraceFormat) -> *const c_char;
7883 #[cfg(feature = "v1_30")]
7884 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7885 pub fn gst_trace_format_is_enabled(format: *mut GstTraceFormat) -> gboolean;
7886 #[cfg(feature = "v1_30")]
7887 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7888 pub fn gst_trace_format_register(name: *const c_char, ...) -> *mut GstTraceFormat;
7889
7890 #[cfg(feature = "v1_30")]
7894 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7895 pub fn gst_trace_format_builder_add_field(
7896 builder: *mut GstTraceFormatBuilder,
7897 name: *const c_char,
7898 type_: GstTracerFieldType,
7899 ) -> *mut GstTraceFormatBuilder;
7900 #[cfg(feature = "v1_30")]
7901 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7902 pub fn gst_trace_format_builder_add_field_full(
7903 builder: *mut GstTraceFormatBuilder,
7904 field: *mut GstTraceField,
7905 ) -> *mut GstTraceFormatBuilder;
7906 #[cfg(feature = "v1_30")]
7907 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7908 pub fn gst_trace_format_builder_free(builder: *mut GstTraceFormatBuilder);
7909 #[cfg(feature = "v1_30")]
7910 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7911 pub fn gst_trace_format_builder_register(
7912 builder: *mut GstTraceFormatBuilder,
7913 ) -> *mut GstTraceFormat;
7914 #[cfg(feature = "v1_30")]
7915 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7916 pub fn gst_trace_format_builder_set_description(
7917 builder: *mut GstTraceFormatBuilder,
7918 description: *const c_char,
7919 ) -> *mut GstTraceFormatBuilder;
7920 #[cfg(feature = "v1_30")]
7921 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
7922 pub fn gst_trace_format_builder_new(name: *const c_char) -> *mut GstTraceFormatBuilder;
7923
7924 #[cfg(feature = "v1_26")]
7928 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7929 pub fn gst_tracer_class_set_use_structure_params(
7930 tracer_class: *mut GstTracerClass,
7931 use_structure_params: gboolean,
7932 );
7933 #[cfg(feature = "v1_26")]
7934 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
7935 pub fn gst_tracer_class_uses_structure_params(tracer_class: *mut GstTracerClass) -> gboolean;
7936
7937 pub fn gst_type_find_get_type() -> GType;
7941 pub fn gst_type_find_get_length(find: *mut GstTypeFind) -> u64;
7942 pub fn gst_type_find_peek(find: *mut GstTypeFind, offset: i64, size: c_uint) -> *const u8;
7943 pub fn gst_type_find_suggest(find: *mut GstTypeFind, probability: c_uint, caps: *mut GstCaps);
7944 #[cfg(feature = "v1_20")]
7945 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
7946 pub fn gst_type_find_suggest_empty_simple(
7947 find: *mut GstTypeFind,
7948 probability: c_uint,
7949 media_type: *const c_char,
7950 );
7951 pub fn gst_type_find_suggest_simple(
7952 find: *mut GstTypeFind,
7953 probability: c_uint,
7954 media_type: *const c_char,
7955 fieldname: *const c_char,
7956 ...
7957 );
7958 pub fn gst_type_find_register(
7959 plugin: *mut GstPlugin,
7960 name: *const c_char,
7961 rank: c_uint,
7962 func: GstTypeFindFunction,
7963 extensions: *const c_char,
7964 possible_caps: *mut GstCaps,
7965 data: gpointer,
7966 data_notify: glib::GDestroyNotify,
7967 ) -> gboolean;
7968
7969 pub fn gst_uri_get_type() -> GType;
7973 pub fn gst_uri_new(
7974 scheme: *const c_char,
7975 userinfo: *const c_char,
7976 host: *const c_char,
7977 port: c_uint,
7978 path: *const c_char,
7979 query: *const c_char,
7980 fragment: *const c_char,
7981 ) -> *mut GstUri;
7982 pub fn gst_uri_append_path(uri: *mut GstUri, relative_path: *const c_char) -> gboolean;
7983 pub fn gst_uri_append_path_segment(uri: *mut GstUri, path_segment: *const c_char) -> gboolean;
7984 #[cfg(feature = "v1_18_3")]
7985 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
7986 pub fn gst_uri_copy(uri: *const GstUri) -> *mut GstUri;
7987 pub fn gst_uri_equal(first: *const GstUri, second: *const GstUri) -> gboolean;
7988 pub fn gst_uri_from_string_with_base(base: *mut GstUri, uri: *const c_char) -> *mut GstUri;
7989 pub fn gst_uri_get_fragment(uri: *const GstUri) -> *const c_char;
7990 pub fn gst_uri_get_host(uri: *const GstUri) -> *const c_char;
7991 pub fn gst_uri_get_media_fragment_table(uri: *const GstUri) -> *mut glib::GHashTable;
7992 pub fn gst_uri_get_path(uri: *const GstUri) -> *mut c_char;
7993 pub fn gst_uri_get_path_segments(uri: *const GstUri) -> *mut glib::GList;
7994 pub fn gst_uri_get_path_string(uri: *const GstUri) -> *mut c_char;
7995 pub fn gst_uri_get_port(uri: *const GstUri) -> c_uint;
7996 pub fn gst_uri_get_query_keys(uri: *const GstUri) -> *mut glib::GList;
7997 pub fn gst_uri_get_query_string(uri: *const GstUri) -> *mut c_char;
7998 #[cfg(feature = "v1_24")]
7999 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8000 pub fn gst_uri_get_query_string_ordered(
8001 uri: *const GstUri,
8002 keys: *const glib::GList,
8003 ) -> *mut c_char;
8004 pub fn gst_uri_get_query_table(uri: *const GstUri) -> *mut glib::GHashTable;
8005 pub fn gst_uri_get_query_value(uri: *const GstUri, query_key: *const c_char) -> *const c_char;
8006 pub fn gst_uri_get_scheme(uri: *const GstUri) -> *const c_char;
8007 pub fn gst_uri_get_userinfo(uri: *const GstUri) -> *const c_char;
8008 pub fn gst_uri_is_normalized(uri: *const GstUri) -> gboolean;
8009 pub fn gst_uri_is_writable(uri: *const GstUri) -> gboolean;
8010 pub fn gst_uri_join(base_uri: *mut GstUri, ref_uri: *mut GstUri) -> *mut GstUri;
8011 pub fn gst_uri_make_writable(uri: *mut GstUri) -> *mut GstUri;
8012 pub fn gst_uri_new_with_base(
8013 base: *mut GstUri,
8014 scheme: *const c_char,
8015 userinfo: *const c_char,
8016 host: *const c_char,
8017 port: c_uint,
8018 path: *const c_char,
8019 query: *const c_char,
8020 fragment: *const c_char,
8021 ) -> *mut GstUri;
8022 pub fn gst_uri_normalize(uri: *mut GstUri) -> gboolean;
8023 pub fn gst_uri_query_has_key(uri: *const GstUri, query_key: *const c_char) -> gboolean;
8024 #[cfg(feature = "v1_18_3")]
8025 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
8026 pub fn gst_uri_ref(uri: *mut GstUri) -> *mut GstUri;
8027 pub fn gst_uri_remove_query_key(uri: *mut GstUri, query_key: *const c_char) -> gboolean;
8028 pub fn gst_uri_set_fragment(uri: *mut GstUri, fragment: *const c_char) -> gboolean;
8029 pub fn gst_uri_set_host(uri: *mut GstUri, host: *const c_char) -> gboolean;
8030 pub fn gst_uri_set_path(uri: *mut GstUri, path: *const c_char) -> gboolean;
8031 pub fn gst_uri_set_path_segments(uri: *mut GstUri, path_segments: *mut glib::GList)
8032 -> gboolean;
8033 pub fn gst_uri_set_path_string(uri: *mut GstUri, path: *const c_char) -> gboolean;
8034 pub fn gst_uri_set_port(uri: *mut GstUri, port: c_uint) -> gboolean;
8035 pub fn gst_uri_set_query_string(uri: *mut GstUri, query: *const c_char) -> gboolean;
8036 pub fn gst_uri_set_query_table(
8037 uri: *mut GstUri,
8038 query_table: *mut glib::GHashTable,
8039 ) -> gboolean;
8040 pub fn gst_uri_set_query_value(
8041 uri: *mut GstUri,
8042 query_key: *const c_char,
8043 query_value: *const c_char,
8044 ) -> gboolean;
8045 pub fn gst_uri_set_scheme(uri: *mut GstUri, scheme: *const c_char) -> gboolean;
8046 pub fn gst_uri_set_userinfo(uri: *mut GstUri, userinfo: *const c_char) -> gboolean;
8047 pub fn gst_uri_to_string(uri: *const GstUri) -> *mut c_char;
8048 #[cfg(feature = "v1_24")]
8049 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8050 pub fn gst_uri_to_string_with_keys(uri: *const GstUri, keys: *const glib::GList)
8051 -> *mut c_char;
8052 #[cfg(feature = "v1_18_3")]
8053 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
8054 pub fn gst_uri_unref(uri: *mut GstUri);
8055 pub fn gst_uri_construct(protocol: *const c_char, location: *const c_char) -> *mut c_char;
8056 pub fn gst_uri_from_string(uri: *const c_char) -> *mut GstUri;
8057 #[cfg(feature = "v1_18")]
8058 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8059 pub fn gst_uri_from_string_escaped(uri: *const c_char) -> *mut GstUri;
8060 pub fn gst_uri_get_location(uri: *const c_char) -> *mut c_char;
8061 pub fn gst_uri_get_protocol(uri: *const c_char) -> *mut c_char;
8062 pub fn gst_uri_has_protocol(uri: *const c_char, protocol: *const c_char) -> gboolean;
8063 pub fn gst_uri_is_valid(uri: *const c_char) -> gboolean;
8064 pub fn gst_uri_join_strings(base_uri: *const c_char, ref_uri: *const c_char) -> *mut c_char;
8065 pub fn gst_uri_protocol_is_supported(type_: GstURIType, protocol: *const c_char) -> gboolean;
8066 pub fn gst_uri_protocol_is_valid(protocol: *const c_char) -> gboolean;
8067
8068 #[cfg(feature = "v1_26")]
8072 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8073 pub fn gst_vec_deque_clear(array: *mut GstVecDeque);
8074 #[cfg(feature = "v1_26")]
8075 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8076 pub fn gst_vec_deque_drop_element(array: *mut GstVecDeque, idx: size_t) -> gpointer;
8077 #[cfg(feature = "v1_26")]
8078 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8079 pub fn gst_vec_deque_drop_struct(
8080 array: *mut GstVecDeque,
8081 idx: size_t,
8082 p_struct: gpointer,
8083 ) -> gboolean;
8084 #[cfg(feature = "v1_26")]
8085 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8086 pub fn gst_vec_deque_find(
8087 array: *mut GstVecDeque,
8088 func: glib::GCompareFunc,
8089 data: gpointer,
8090 ) -> size_t;
8091 #[cfg(feature = "v1_26")]
8092 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8093 pub fn gst_vec_deque_free(array: *mut GstVecDeque);
8094 #[cfg(feature = "v1_26")]
8095 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8096 pub fn gst_vec_deque_get_length(array: *mut GstVecDeque) -> size_t;
8097 #[cfg(feature = "v1_26")]
8098 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8099 pub fn gst_vec_deque_is_empty(array: *mut GstVecDeque) -> gboolean;
8100 #[cfg(feature = "v1_26")]
8101 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8102 pub fn gst_vec_deque_peek_head(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_head_struct(array: *mut GstVecDeque) -> gpointer;
8106 #[cfg(feature = "v1_26")]
8107 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8108 pub fn gst_vec_deque_peek_nth(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_nth_struct(array: *mut GstVecDeque, idx: size_t) -> gpointer;
8112 #[cfg(feature = "v1_26")]
8113 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8114 pub fn gst_vec_deque_peek_tail(array: *mut GstVecDeque) -> gpointer;
8115 #[cfg(feature = "v1_26")]
8116 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8117 pub fn gst_vec_deque_peek_tail_struct(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(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_head_struct(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(array: *mut GstVecDeque) -> gpointer;
8127 #[cfg(feature = "v1_26")]
8128 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8129 pub fn gst_vec_deque_pop_tail_struct(array: *mut GstVecDeque) -> gpointer;
8130 #[cfg(feature = "v1_26")]
8131 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8132 pub fn gst_vec_deque_push_sorted(
8133 array: *mut GstVecDeque,
8134 data: gpointer,
8135 func: glib::GCompareDataFunc,
8136 user_data: gpointer,
8137 );
8138 #[cfg(feature = "v1_26")]
8139 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8140 pub fn gst_vec_deque_push_sorted_struct(
8141 array: *mut GstVecDeque,
8142 p_struct: gpointer,
8143 func: glib::GCompareDataFunc,
8144 user_data: gpointer,
8145 );
8146 #[cfg(feature = "v1_26")]
8147 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8148 pub fn gst_vec_deque_push_tail(array: *mut GstVecDeque, data: gpointer);
8149 #[cfg(feature = "v1_26")]
8150 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8151 pub fn gst_vec_deque_push_tail_struct(array: *mut GstVecDeque, p_struct: gpointer);
8152 #[cfg(feature = "v1_26")]
8153 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8154 pub fn gst_vec_deque_set_clear_func(array: *mut GstVecDeque, clear_func: glib::GDestroyNotify);
8155 #[cfg(feature = "v1_26")]
8156 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8157 pub fn gst_vec_deque_sort(
8158 array: *mut GstVecDeque,
8159 compare_func: glib::GCompareDataFunc,
8160 user_data: gpointer,
8161 );
8162 #[cfg(feature = "v1_26")]
8163 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8164 pub fn gst_vec_deque_new(initial_size: size_t) -> *mut GstVecDeque;
8165 #[cfg(feature = "v1_26")]
8166 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
8167 pub fn gst_vec_deque_new_for_struct(
8168 struct_size: size_t,
8169 initial_size: size_t,
8170 ) -> *mut GstVecDeque;
8171
8172 pub fn gst_allocator_get_type() -> GType;
8176 pub fn gst_allocator_find(name: *const c_char) -> *mut GstAllocator;
8177 pub fn gst_allocator_register(name: *const c_char, allocator: *mut GstAllocator);
8178 pub fn gst_allocator_alloc(
8179 allocator: *mut GstAllocator,
8180 size: size_t,
8181 params: *mut GstAllocationParams,
8182 ) -> *mut GstMemory;
8183 pub fn gst_allocator_free(allocator: *mut GstAllocator, memory: *mut GstMemory);
8184 pub fn gst_allocator_set_default(allocator: *mut GstAllocator);
8185
8186 pub fn gst_bin_get_type() -> GType;
8190 pub fn gst_bin_new(name: *const c_char) -> *mut GstElement;
8191 pub fn gst_bin_add(bin: *mut GstBin, element: *mut GstElement) -> gboolean;
8192 pub fn gst_bin_add_many(bin: *mut GstBin, element_1: *mut GstElement, ...);
8193 pub fn gst_bin_find_unlinked_pad(bin: *mut GstBin, direction: GstPadDirection) -> *mut GstPad;
8194 pub fn gst_bin_get_by_interface(bin: *mut GstBin, iface: GType) -> *mut GstElement;
8195 pub fn gst_bin_get_by_name(bin: *mut GstBin, name: *const c_char) -> *mut GstElement;
8196 pub fn gst_bin_get_by_name_recurse_up(bin: *mut GstBin, name: *const c_char)
8197 -> *mut GstElement;
8198 pub fn gst_bin_get_suppressed_flags(bin: *mut GstBin) -> GstElementFlags;
8199 #[cfg(feature = "v1_18")]
8200 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8201 pub fn gst_bin_iterate_all_by_element_factory_name(
8202 bin: *mut GstBin,
8203 factory_name: *const c_char,
8204 ) -> *mut GstIterator;
8205 pub fn gst_bin_iterate_all_by_interface(bin: *mut GstBin, iface: GType) -> *mut GstIterator;
8206 pub fn gst_bin_iterate_elements(bin: *mut GstBin) -> *mut GstIterator;
8207 pub fn gst_bin_iterate_recurse(bin: *mut GstBin) -> *mut GstIterator;
8208 pub fn gst_bin_iterate_sinks(bin: *mut GstBin) -> *mut GstIterator;
8209 pub fn gst_bin_iterate_sorted(bin: *mut GstBin) -> *mut GstIterator;
8210 pub fn gst_bin_iterate_sources(bin: *mut GstBin) -> *mut GstIterator;
8211 pub fn gst_bin_recalculate_latency(bin: *mut GstBin) -> gboolean;
8212 pub fn gst_bin_remove(bin: *mut GstBin, element: *mut GstElement) -> gboolean;
8213 pub fn gst_bin_remove_many(bin: *mut GstBin, element_1: *mut GstElement, ...);
8214 pub fn gst_bin_set_suppressed_flags(bin: *mut GstBin, flags: GstElementFlags);
8215 pub fn gst_bin_sync_children_states(bin: *mut GstBin) -> gboolean;
8216
8217 pub fn gst_bitmask_get_type() -> GType;
8221
8222 pub fn gst_buffer_pool_get_type() -> GType;
8226 pub fn gst_buffer_pool_new() -> *mut GstBufferPool;
8227 pub fn gst_buffer_pool_config_add_option(config: *mut GstStructure, option: *const c_char);
8228 pub fn gst_buffer_pool_config_get_allocator(
8229 config: *mut GstStructure,
8230 allocator: *mut *mut GstAllocator,
8231 params: *mut GstAllocationParams,
8232 ) -> gboolean;
8233 pub fn gst_buffer_pool_config_get_option(
8234 config: *mut GstStructure,
8235 index: c_uint,
8236 ) -> *const c_char;
8237 pub fn gst_buffer_pool_config_get_params(
8238 config: *mut GstStructure,
8239 caps: *mut *mut GstCaps,
8240 size: *mut c_uint,
8241 min_buffers: *mut c_uint,
8242 max_buffers: *mut c_uint,
8243 ) -> gboolean;
8244 pub fn gst_buffer_pool_config_has_option(
8245 config: *mut GstStructure,
8246 option: *const c_char,
8247 ) -> gboolean;
8248 pub fn gst_buffer_pool_config_n_options(config: *mut GstStructure) -> c_uint;
8249 pub fn gst_buffer_pool_config_set_allocator(
8250 config: *mut GstStructure,
8251 allocator: *mut GstAllocator,
8252 params: *const GstAllocationParams,
8253 );
8254 pub fn gst_buffer_pool_config_set_params(
8255 config: *mut GstStructure,
8256 caps: *mut GstCaps,
8257 size: c_uint,
8258 min_buffers: c_uint,
8259 max_buffers: c_uint,
8260 );
8261 pub fn gst_buffer_pool_config_validate_params(
8262 config: *mut GstStructure,
8263 caps: *mut GstCaps,
8264 size: c_uint,
8265 min_buffers: c_uint,
8266 max_buffers: c_uint,
8267 ) -> gboolean;
8268 pub fn gst_buffer_pool_acquire_buffer(
8269 pool: *mut GstBufferPool,
8270 buffer: *mut *mut GstBuffer,
8271 params: *mut GstBufferPoolAcquireParams,
8272 ) -> GstFlowReturn;
8273 pub fn gst_buffer_pool_get_config(pool: *mut GstBufferPool) -> *mut GstStructure;
8274 pub fn gst_buffer_pool_get_options(pool: *mut GstBufferPool) -> *mut *const c_char;
8275 pub fn gst_buffer_pool_has_option(pool: *mut GstBufferPool, option: *const c_char) -> gboolean;
8276 pub fn gst_buffer_pool_is_active(pool: *mut GstBufferPool) -> gboolean;
8277 pub fn gst_buffer_pool_release_buffer(pool: *mut GstBufferPool, buffer: *mut GstBuffer);
8278 pub fn gst_buffer_pool_set_active(pool: *mut GstBufferPool, active: gboolean) -> gboolean;
8279 pub fn gst_buffer_pool_set_config(
8280 pool: *mut GstBufferPool,
8281 config: *mut GstStructure,
8282 ) -> gboolean;
8283 pub fn gst_buffer_pool_set_flushing(pool: *mut GstBufferPool, flushing: gboolean);
8284
8285 pub fn gst_bus_get_type() -> GType;
8289 pub fn gst_bus_new() -> *mut GstBus;
8290 pub fn gst_bus_add_signal_watch(bus: *mut GstBus);
8291 pub fn gst_bus_add_signal_watch_full(bus: *mut GstBus, priority: c_int);
8292 pub fn gst_bus_add_watch(bus: *mut GstBus, func: GstBusFunc, user_data: gpointer) -> c_uint;
8293 pub fn gst_bus_add_watch_full(
8294 bus: *mut GstBus,
8295 priority: c_int,
8296 func: GstBusFunc,
8297 user_data: gpointer,
8298 notify: glib::GDestroyNotify,
8299 ) -> c_uint;
8300 pub fn gst_bus_async_signal_func(
8301 bus: *mut GstBus,
8302 message: *mut GstMessage,
8303 data: gpointer,
8304 ) -> gboolean;
8305 pub fn gst_bus_create_watch(bus: *mut GstBus) -> *mut glib::GSource;
8306 pub fn gst_bus_disable_sync_message_emission(bus: *mut GstBus);
8307 pub fn gst_bus_enable_sync_message_emission(bus: *mut GstBus);
8308 pub fn gst_bus_get_pollfd(bus: *mut GstBus, fd: *mut glib::GPollFD);
8309 pub fn gst_bus_have_pending(bus: *mut GstBus) -> gboolean;
8310 pub fn gst_bus_peek(bus: *mut GstBus) -> *mut GstMessage;
8311 pub fn gst_bus_poll(
8312 bus: *mut GstBus,
8313 events: GstMessageType,
8314 timeout: GstClockTime,
8315 ) -> *mut GstMessage;
8316 pub fn gst_bus_pop(bus: *mut GstBus) -> *mut GstMessage;
8317 pub fn gst_bus_pop_filtered(bus: *mut GstBus, types: GstMessageType) -> *mut GstMessage;
8318 pub fn gst_bus_post(bus: *mut GstBus, message: *mut GstMessage) -> gboolean;
8319 pub fn gst_bus_remove_signal_watch(bus: *mut GstBus);
8320 pub fn gst_bus_remove_watch(bus: *mut GstBus) -> gboolean;
8321 pub fn gst_bus_set_flushing(bus: *mut GstBus, flushing: gboolean);
8322 pub fn gst_bus_set_sync_handler(
8323 bus: *mut GstBus,
8324 func: GstBusSyncHandler,
8325 user_data: gpointer,
8326 notify: glib::GDestroyNotify,
8327 );
8328 pub fn gst_bus_sync_signal_handler(
8329 bus: *mut GstBus,
8330 message: *mut GstMessage,
8331 data: gpointer,
8332 ) -> GstBusSyncReply;
8333 pub fn gst_bus_timed_pop(bus: *mut GstBus, timeout: GstClockTime) -> *mut GstMessage;
8334 pub fn gst_bus_timed_pop_filtered(
8335 bus: *mut GstBus,
8336 timeout: GstClockTime,
8337 types: GstMessageType,
8338 ) -> *mut GstMessage;
8339
8340 pub fn gst_clock_get_type() -> GType;
8344 pub fn gst_clock_id_compare_func(id1: gconstpointer, id2: gconstpointer) -> c_int;
8345 #[cfg(feature = "v1_16")]
8346 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
8347 pub fn gst_clock_id_get_clock(id: GstClockID) -> *mut GstClock;
8348 pub fn gst_clock_id_get_time(id: GstClockID) -> GstClockTime;
8349 pub fn gst_clock_id_ref(id: GstClockID) -> GstClockID;
8350 pub fn gst_clock_id_unref(id: GstClockID);
8351 pub fn gst_clock_id_unschedule(id: GstClockID);
8352 #[cfg(feature = "v1_16")]
8353 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
8354 pub fn gst_clock_id_uses_clock(id: GstClockID, clock: *mut GstClock) -> gboolean;
8355 pub fn gst_clock_id_wait(id: GstClockID, jitter: *mut GstClockTimeDiff) -> GstClockReturn;
8356 pub fn gst_clock_id_wait_async(
8357 id: GstClockID,
8358 func: GstClockCallback,
8359 user_data: gpointer,
8360 destroy_data: glib::GDestroyNotify,
8361 ) -> GstClockReturn;
8362 pub fn gst_clock_add_observation(
8363 clock: *mut GstClock,
8364 observation_internal: GstClockTime,
8365 observation_external: GstClockTime,
8366 r_squared: *mut c_double,
8367 ) -> gboolean;
8368 pub fn gst_clock_add_observation_unapplied(
8369 clock: *mut GstClock,
8370 observation_internal: GstClockTime,
8371 observation_external: GstClockTime,
8372 r_squared: *mut c_double,
8373 internal: *mut GstClockTime,
8374 external: *mut GstClockTime,
8375 rate_num: *mut GstClockTime,
8376 rate_denom: *mut GstClockTime,
8377 ) -> gboolean;
8378 pub fn gst_clock_adjust_unlocked(clock: *mut GstClock, internal: GstClockTime) -> GstClockTime;
8379 pub fn gst_clock_adjust_with_calibration(
8380 clock: *mut GstClock,
8381 internal_target: GstClockTime,
8382 cinternal: GstClockTime,
8383 cexternal: GstClockTime,
8384 cnum: GstClockTime,
8385 cdenom: GstClockTime,
8386 ) -> GstClockTime;
8387 pub fn gst_clock_get_calibration(
8388 clock: *mut GstClock,
8389 internal: *mut GstClockTime,
8390 external: *mut GstClockTime,
8391 rate_num: *mut GstClockTime,
8392 rate_denom: *mut GstClockTime,
8393 );
8394 pub fn gst_clock_get_internal_time(clock: *mut GstClock) -> GstClockTime;
8395 pub fn gst_clock_get_master(clock: *mut GstClock) -> *mut GstClock;
8396 pub fn gst_clock_get_resolution(clock: *mut GstClock) -> GstClockTime;
8397 pub fn gst_clock_get_time(clock: *mut GstClock) -> GstClockTime;
8398 pub fn gst_clock_get_timeout(clock: *mut GstClock) -> GstClockTime;
8399 pub fn gst_clock_is_synced(clock: *mut GstClock) -> gboolean;
8400 #[cfg(feature = "v1_28")]
8401 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
8402 pub fn gst_clock_is_system_monotonic(clock: *mut GstClock) -> gboolean;
8403 pub fn gst_clock_new_periodic_id(
8404 clock: *mut GstClock,
8405 start_time: GstClockTime,
8406 interval: GstClockTime,
8407 ) -> GstClockID;
8408 pub fn gst_clock_new_single_shot_id(clock: *mut GstClock, time: GstClockTime) -> GstClockID;
8409 pub fn gst_clock_periodic_id_reinit(
8410 clock: *mut GstClock,
8411 id: GstClockID,
8412 start_time: GstClockTime,
8413 interval: GstClockTime,
8414 ) -> gboolean;
8415 pub fn gst_clock_set_calibration(
8416 clock: *mut GstClock,
8417 internal: GstClockTime,
8418 external: GstClockTime,
8419 rate_num: GstClockTime,
8420 rate_denom: GstClockTime,
8421 );
8422 pub fn gst_clock_set_master(clock: *mut GstClock, master: *mut GstClock) -> gboolean;
8423 pub fn gst_clock_set_resolution(clock: *mut GstClock, resolution: GstClockTime)
8424 -> GstClockTime;
8425 pub fn gst_clock_set_synced(clock: *mut GstClock, synced: gboolean);
8426 pub fn gst_clock_set_timeout(clock: *mut GstClock, timeout: GstClockTime);
8427 pub fn gst_clock_single_shot_id_reinit(
8428 clock: *mut GstClock,
8429 id: GstClockID,
8430 time: GstClockTime,
8431 ) -> gboolean;
8432 pub fn gst_clock_unadjust_unlocked(
8433 clock: *mut GstClock,
8434 external: GstClockTime,
8435 ) -> GstClockTime;
8436 pub fn gst_clock_unadjust_with_calibration(
8437 clock: *mut GstClock,
8438 external_target: GstClockTime,
8439 cinternal: GstClockTime,
8440 cexternal: GstClockTime,
8441 cnum: GstClockTime,
8442 cdenom: GstClockTime,
8443 ) -> GstClockTime;
8444 pub fn gst_clock_wait_for_sync(clock: *mut GstClock, timeout: GstClockTime) -> gboolean;
8445
8446 pub fn gst_control_binding_get_type() -> GType;
8450 pub fn gst_control_binding_get_g_value_array(
8451 binding: *mut GstControlBinding,
8452 timestamp: GstClockTime,
8453 interval: GstClockTime,
8454 n_values: c_uint,
8455 values: *mut gobject::GValue,
8456 ) -> gboolean;
8457 pub fn gst_control_binding_get_value(
8458 binding: *mut GstControlBinding,
8459 timestamp: GstClockTime,
8460 ) -> *mut gobject::GValue;
8461 pub fn gst_control_binding_get_value_array(
8462 binding: *mut GstControlBinding,
8463 timestamp: GstClockTime,
8464 interval: GstClockTime,
8465 n_values: c_uint,
8466 values: gpointer,
8467 ) -> gboolean;
8468 pub fn gst_control_binding_is_disabled(binding: *mut GstControlBinding) -> gboolean;
8469 pub fn gst_control_binding_set_disabled(binding: *mut GstControlBinding, disabled: gboolean);
8470 pub fn gst_control_binding_sync_values(
8471 binding: *mut GstControlBinding,
8472 object: *mut GstObject,
8473 timestamp: GstClockTime,
8474 last_sync: GstClockTime,
8475 ) -> gboolean;
8476
8477 pub fn gst_control_source_get_type() -> GType;
8481 pub fn gst_control_source_get_value(
8482 self_: *mut GstControlSource,
8483 timestamp: GstClockTime,
8484 value: *mut c_double,
8485 ) -> gboolean;
8486 pub fn gst_control_source_get_value_array(
8487 self_: *mut GstControlSource,
8488 timestamp: GstClockTime,
8489 interval: GstClockTime,
8490 n_values: c_uint,
8491 values: *mut c_double,
8492 ) -> gboolean;
8493
8494 pub fn gst_device_get_type() -> GType;
8498 pub fn gst_device_create_element(
8499 device: *mut GstDevice,
8500 name: *const c_char,
8501 ) -> *mut GstElement;
8502 pub fn gst_device_get_caps(device: *mut GstDevice) -> *mut GstCaps;
8503 pub fn gst_device_get_device_class(device: *mut GstDevice) -> *mut c_char;
8504 pub fn gst_device_get_display_name(device: *mut GstDevice) -> *mut c_char;
8505 pub fn gst_device_get_properties(device: *mut GstDevice) -> *mut GstStructure;
8506 pub fn gst_device_has_classes(device: *mut GstDevice, classes: *const c_char) -> gboolean;
8507 pub fn gst_device_has_classesv(device: *mut GstDevice, classes: *mut *mut c_char) -> gboolean;
8508 pub fn gst_device_reconfigure_element(
8509 device: *mut GstDevice,
8510 element: *mut GstElement,
8511 ) -> gboolean;
8512
8513 pub fn gst_device_monitor_get_type() -> GType;
8517 pub fn gst_device_monitor_new() -> *mut GstDeviceMonitor;
8518 pub fn gst_device_monitor_add_filter(
8519 monitor: *mut GstDeviceMonitor,
8520 classes: *const c_char,
8521 caps: *mut GstCaps,
8522 ) -> c_uint;
8523 pub fn gst_device_monitor_get_bus(monitor: *mut GstDeviceMonitor) -> *mut GstBus;
8524 pub fn gst_device_monitor_get_devices(monitor: *mut GstDeviceMonitor) -> *mut glib::GList;
8525 pub fn gst_device_monitor_get_providers(monitor: *mut GstDeviceMonitor) -> *mut *mut c_char;
8526 pub fn gst_device_monitor_get_show_all_devices(monitor: *mut GstDeviceMonitor) -> gboolean;
8527 pub fn gst_device_monitor_remove_filter(
8528 monitor: *mut GstDeviceMonitor,
8529 filter_id: c_uint,
8530 ) -> gboolean;
8531 pub fn gst_device_monitor_set_show_all_devices(
8532 monitor: *mut GstDeviceMonitor,
8533 show_all: gboolean,
8534 );
8535 pub fn gst_device_monitor_start(monitor: *mut GstDeviceMonitor) -> gboolean;
8536 pub fn gst_device_monitor_stop(monitor: *mut GstDeviceMonitor);
8537
8538 pub fn gst_device_provider_get_type() -> GType;
8542 pub fn gst_device_provider_register(
8543 plugin: *mut GstPlugin,
8544 name: *const c_char,
8545 rank: c_uint,
8546 type_: GType,
8547 ) -> gboolean;
8548 pub fn gst_device_provider_can_monitor(provider: *mut GstDeviceProvider) -> gboolean;
8549 pub fn gst_device_provider_device_add(provider: *mut GstDeviceProvider, device: *mut GstDevice);
8550 #[cfg(feature = "v1_16")]
8551 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
8552 pub fn gst_device_provider_device_changed(
8553 provider: *mut GstDeviceProvider,
8554 device: *mut GstDevice,
8555 changed_device: *mut GstDevice,
8556 );
8557 pub fn gst_device_provider_device_remove(
8558 provider: *mut GstDeviceProvider,
8559 device: *mut GstDevice,
8560 );
8561 pub fn gst_device_provider_get_bus(provider: *mut GstDeviceProvider) -> *mut GstBus;
8562 pub fn gst_device_provider_get_devices(provider: *mut GstDeviceProvider) -> *mut glib::GList;
8563 pub fn gst_device_provider_get_factory(
8564 provider: *mut GstDeviceProvider,
8565 ) -> *mut GstDeviceProviderFactory;
8566 pub fn gst_device_provider_get_hidden_providers(
8567 provider: *mut GstDeviceProvider,
8568 ) -> *mut *mut c_char;
8569 pub fn gst_device_provider_get_metadata(
8570 provider: *mut GstDeviceProvider,
8571 key: *const c_char,
8572 ) -> *const c_char;
8573 pub fn gst_device_provider_hide_provider(provider: *mut GstDeviceProvider, name: *const c_char);
8574 #[cfg(feature = "v1_20")]
8575 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8576 pub fn gst_device_provider_is_started(provider: *mut GstDeviceProvider) -> gboolean;
8577 pub fn gst_device_provider_start(provider: *mut GstDeviceProvider) -> gboolean;
8578 pub fn gst_device_provider_stop(provider: *mut GstDeviceProvider);
8579 pub fn gst_device_provider_unhide_provider(
8580 provider: *mut GstDeviceProvider,
8581 name: *const c_char,
8582 );
8583
8584 pub fn gst_device_provider_factory_get_type() -> GType;
8588 pub fn gst_device_provider_factory_find(name: *const c_char) -> *mut GstDeviceProviderFactory;
8589 pub fn gst_device_provider_factory_get_by_name(
8590 factoryname: *const c_char,
8591 ) -> *mut GstDeviceProvider;
8592 pub fn gst_device_provider_factory_list_get_device_providers(
8593 minrank: GstRank,
8594 ) -> *mut glib::GList;
8595 pub fn gst_device_provider_factory_get(
8596 factory: *mut GstDeviceProviderFactory,
8597 ) -> *mut GstDeviceProvider;
8598 pub fn gst_device_provider_factory_get_device_provider_type(
8599 factory: *mut GstDeviceProviderFactory,
8600 ) -> GType;
8601 pub fn gst_device_provider_factory_get_metadata(
8602 factory: *mut GstDeviceProviderFactory,
8603 key: *const c_char,
8604 ) -> *const c_char;
8605 pub fn gst_device_provider_factory_get_metadata_keys(
8606 factory: *mut GstDeviceProviderFactory,
8607 ) -> *mut *mut c_char;
8608 pub fn gst_device_provider_factory_has_classes(
8609 factory: *mut GstDeviceProviderFactory,
8610 classes: *const c_char,
8611 ) -> gboolean;
8612 pub fn gst_device_provider_factory_has_classesv(
8613 factory: *mut GstDeviceProviderFactory,
8614 classes: *mut *mut c_char,
8615 ) -> gboolean;
8616
8617 pub fn gst_double_range_get_type() -> GType;
8621
8622 pub fn gst_dynamic_type_factory_get_type() -> GType;
8626 pub fn gst_dynamic_type_factory_load(factoryname: *const c_char) -> GType;
8627
8628 pub fn gst_element_get_type() -> GType;
8632 pub fn gst_element_make_from_uri(
8633 type_: GstURIType,
8634 uri: *const c_char,
8635 elementname: *const c_char,
8636 error: *mut *mut glib::GError,
8637 ) -> *mut GstElement;
8638 pub fn gst_element_register(
8639 plugin: *mut GstPlugin,
8640 name: *const c_char,
8641 rank: c_uint,
8642 type_: GType,
8643 ) -> gboolean;
8644 pub fn gst_element_state_change_return_get_name(
8645 state_ret: GstStateChangeReturn,
8646 ) -> *const c_char;
8647 pub fn gst_element_state_get_name(state: GstState) -> *const c_char;
8648 #[cfg(feature = "v1_20")]
8649 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8650 pub fn gst_element_type_set_skip_documentation(type_: GType);
8651 pub fn gst_element_abort_state(element: *mut GstElement);
8652 pub fn gst_element_add_pad(element: *mut GstElement, pad: *mut GstPad) -> gboolean;
8653 pub fn gst_element_add_property_deep_notify_watch(
8654 element: *mut GstElement,
8655 property_name: *const c_char,
8656 include_value: gboolean,
8657 ) -> c_ulong;
8658 pub fn gst_element_add_property_notify_watch(
8659 element: *mut GstElement,
8660 property_name: *const c_char,
8661 include_value: gboolean,
8662 ) -> c_ulong;
8663 pub fn gst_element_call_async(
8664 element: *mut GstElement,
8665 func: GstElementCallAsyncFunc,
8666 user_data: gpointer,
8667 destroy_notify: glib::GDestroyNotify,
8668 );
8669 pub fn gst_element_change_state(
8670 element: *mut GstElement,
8671 transition: GstStateChange,
8672 ) -> GstStateChangeReturn;
8673 pub fn gst_element_continue_state(
8674 element: *mut GstElement,
8675 ret: GstStateChangeReturn,
8676 ) -> GstStateChangeReturn;
8677 pub fn gst_element_create_all_pads(element: *mut GstElement);
8678 #[cfg(feature = "v1_24")]
8679 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8680 pub fn gst_element_decorate_stream_id(
8681 element: *mut GstElement,
8682 stream_id: *const c_char,
8683 ) -> *mut c_char;
8684 #[cfg(feature = "v1_24")]
8685 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
8686 pub fn gst_element_decorate_stream_id_printf(
8687 element: *mut GstElement,
8688 format: *const c_char,
8689 ...
8690 ) -> *mut c_char;
8691 pub fn gst_element_foreach_pad(
8695 element: *mut GstElement,
8696 func: GstElementForeachPadFunc,
8697 user_data: gpointer,
8698 ) -> gboolean;
8699 pub fn gst_element_foreach_sink_pad(
8700 element: *mut GstElement,
8701 func: GstElementForeachPadFunc,
8702 user_data: gpointer,
8703 ) -> gboolean;
8704 pub fn gst_element_foreach_src_pad(
8705 element: *mut GstElement,
8706 func: GstElementForeachPadFunc,
8707 user_data: gpointer,
8708 ) -> gboolean;
8709 pub fn gst_element_get_base_time(element: *mut GstElement) -> GstClockTime;
8710 pub fn gst_element_get_bus(element: *mut GstElement) -> *mut GstBus;
8711 pub fn gst_element_get_clock(element: *mut GstElement) -> *mut GstClock;
8712 pub fn gst_element_get_compatible_pad(
8713 element: *mut GstElement,
8714 pad: *mut GstPad,
8715 caps: *mut GstCaps,
8716 ) -> *mut GstPad;
8717 pub fn gst_element_get_compatible_pad_template(
8718 element: *mut GstElement,
8719 compattempl: *mut GstPadTemplate,
8720 ) -> *mut GstPadTemplate;
8721 pub fn gst_element_get_context(
8722 element: *mut GstElement,
8723 context_type: *const c_char,
8724 ) -> *mut GstContext;
8725 pub fn gst_element_get_context_unlocked(
8726 element: *mut GstElement,
8727 context_type: *const c_char,
8728 ) -> *mut GstContext;
8729 pub fn gst_element_get_contexts(element: *mut GstElement) -> *mut glib::GList;
8730 #[cfg(feature = "v1_18")]
8731 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8732 pub fn gst_element_get_current_clock_time(element: *mut GstElement) -> GstClockTime;
8733 #[cfg(feature = "v1_18")]
8734 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
8735 pub fn gst_element_get_current_running_time(element: *mut GstElement) -> GstClockTime;
8736 pub fn gst_element_get_factory(element: *mut GstElement) -> *mut GstElementFactory;
8737 pub fn gst_element_get_metadata(element: *mut GstElement, key: *const c_char) -> *const c_char;
8738 pub fn gst_element_get_pad_template(
8739 element: *mut GstElement,
8740 name: *const c_char,
8741 ) -> *mut GstPadTemplate;
8742 pub fn gst_element_get_pad_template_list(element: *mut GstElement) -> *mut glib::GList;
8743 pub fn gst_element_get_request_pad(
8744 element: *mut GstElement,
8745 name: *const c_char,
8746 ) -> *mut GstPad;
8747 pub fn gst_element_get_start_time(element: *mut GstElement) -> GstClockTime;
8748 pub fn gst_element_get_state(
8749 element: *mut GstElement,
8750 state: *mut GstState,
8751 pending: *mut GstState,
8752 timeout: GstClockTime,
8753 ) -> GstStateChangeReturn;
8754 pub fn gst_element_get_static_pad(element: *mut GstElement, name: *const c_char)
8755 -> *mut GstPad;
8756 pub fn gst_element_is_locked_state(element: *mut GstElement) -> gboolean;
8757 pub fn gst_element_iterate_pads(element: *mut GstElement) -> *mut GstIterator;
8758 pub fn gst_element_iterate_sink_pads(element: *mut GstElement) -> *mut GstIterator;
8759 pub fn gst_element_iterate_src_pads(element: *mut GstElement) -> *mut GstIterator;
8760 pub fn gst_element_link(src: *mut GstElement, dest: *mut GstElement) -> gboolean;
8761 pub fn gst_element_link_filtered(
8762 src: *mut GstElement,
8763 dest: *mut GstElement,
8764 filter: *mut GstCaps,
8765 ) -> gboolean;
8766 pub fn gst_element_link_many(
8767 element_1: *mut GstElement,
8768 element_2: *mut GstElement,
8769 ...
8770 ) -> gboolean;
8771 pub fn gst_element_link_pads(
8772 src: *mut GstElement,
8773 srcpadname: *const c_char,
8774 dest: *mut GstElement,
8775 destpadname: *const c_char,
8776 ) -> gboolean;
8777 pub fn gst_element_link_pads_filtered(
8778 src: *mut GstElement,
8779 srcpadname: *const c_char,
8780 dest: *mut GstElement,
8781 destpadname: *const c_char,
8782 filter: *mut GstCaps,
8783 ) -> gboolean;
8784 pub fn gst_element_link_pads_full(
8785 src: *mut GstElement,
8786 srcpadname: *const c_char,
8787 dest: *mut GstElement,
8788 destpadname: *const c_char,
8789 flags: GstPadLinkCheck,
8790 ) -> gboolean;
8791 pub fn gst_element_lost_state(element: *mut GstElement);
8792 pub fn gst_element_message_full(
8793 element: *mut GstElement,
8794 type_: GstMessageType,
8795 domain: glib::GQuark,
8796 code: c_int,
8797 text: *mut c_char,
8798 debug: *mut c_char,
8799 file: *const c_char,
8800 function: *const c_char,
8801 line: c_int,
8802 );
8803 pub fn gst_element_message_full_with_details(
8804 element: *mut GstElement,
8805 type_: GstMessageType,
8806 domain: glib::GQuark,
8807 code: c_int,
8808 text: *mut c_char,
8809 debug: *mut c_char,
8810 file: *const c_char,
8811 function: *const c_char,
8812 line: c_int,
8813 structure: *mut GstStructure,
8814 );
8815 pub fn gst_element_no_more_pads(element: *mut GstElement);
8816 pub fn gst_element_post_message(element: *mut GstElement, message: *mut GstMessage)
8817 -> gboolean;
8818 pub fn gst_element_provide_clock(element: *mut GstElement) -> *mut GstClock;
8819 pub fn gst_element_query(element: *mut GstElement, query: *mut GstQuery) -> gboolean;
8820 pub fn gst_element_query_convert(
8821 element: *mut GstElement,
8822 src_format: GstFormat,
8823 src_val: i64,
8824 dest_format: GstFormat,
8825 dest_val: *mut i64,
8826 ) -> gboolean;
8827 pub fn gst_element_query_duration(
8828 element: *mut GstElement,
8829 format: GstFormat,
8830 duration: *mut i64,
8831 ) -> gboolean;
8832 pub fn gst_element_query_position(
8833 element: *mut GstElement,
8834 format: GstFormat,
8835 cur: *mut i64,
8836 ) -> gboolean;
8837 pub fn gst_element_release_request_pad(element: *mut GstElement, pad: *mut GstPad);
8838 pub fn gst_element_remove_pad(element: *mut GstElement, pad: *mut GstPad) -> gboolean;
8839 pub fn gst_element_remove_property_notify_watch(element: *mut GstElement, watch_id: c_ulong);
8840 pub fn gst_element_request_pad(
8841 element: *mut GstElement,
8842 templ: *mut GstPadTemplate,
8843 name: *const c_char,
8844 caps: *const GstCaps,
8845 ) -> *mut GstPad;
8846 #[cfg(feature = "v1_20")]
8847 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8848 pub fn gst_element_request_pad_simple(
8849 element: *mut GstElement,
8850 name: *const c_char,
8851 ) -> *mut GstPad;
8852 pub fn gst_element_seek(
8853 element: *mut GstElement,
8854 rate: c_double,
8855 format: GstFormat,
8856 flags: GstSeekFlags,
8857 start_type: GstSeekType,
8858 start: i64,
8859 stop_type: GstSeekType,
8860 stop: i64,
8861 ) -> gboolean;
8862 pub fn gst_element_seek_simple(
8863 element: *mut GstElement,
8864 format: GstFormat,
8865 seek_flags: GstSeekFlags,
8866 seek_pos: i64,
8867 ) -> gboolean;
8868 pub fn gst_element_send_event(element: *mut GstElement, event: *mut GstEvent) -> gboolean;
8869 pub fn gst_element_set_base_time(element: *mut GstElement, time: GstClockTime);
8870 pub fn gst_element_set_bus(element: *mut GstElement, bus: *mut GstBus);
8871 pub fn gst_element_set_clock(element: *mut GstElement, clock: *mut GstClock) -> gboolean;
8872 pub fn gst_element_set_context(element: *mut GstElement, context: *mut GstContext);
8873 pub fn gst_element_set_locked_state(
8874 element: *mut GstElement,
8875 locked_state: gboolean,
8876 ) -> gboolean;
8877 pub fn gst_element_set_start_time(element: *mut GstElement, time: GstClockTime);
8878 pub fn gst_element_set_state(element: *mut GstElement, state: GstState)
8879 -> GstStateChangeReturn;
8880 pub fn gst_element_sync_state_with_parent(element: *mut GstElement) -> gboolean;
8881 pub fn gst_element_unlink(src: *mut GstElement, dest: *mut GstElement);
8882 pub fn gst_element_unlink_many(element_1: *mut GstElement, element_2: *mut GstElement, ...);
8883 pub fn gst_element_unlink_pads(
8884 src: *mut GstElement,
8885 srcpadname: *const c_char,
8886 dest: *mut GstElement,
8887 destpadname: *const c_char,
8888 );
8889
8890 pub fn gst_element_factory_get_type() -> GType;
8894 pub fn gst_element_factory_find(name: *const c_char) -> *mut GstElementFactory;
8895 pub fn gst_element_factory_list_filter(
8896 list: *mut glib::GList,
8897 caps: *const GstCaps,
8898 direction: GstPadDirection,
8899 subsetonly: gboolean,
8900 ) -> *mut glib::GList;
8901 pub fn gst_element_factory_list_get_elements(
8902 type_: GstElementFactoryListType,
8903 minrank: GstRank,
8904 ) -> *mut glib::GList;
8905 pub fn gst_element_factory_make(
8906 factoryname: *const c_char,
8907 name: *const c_char,
8908 ) -> *mut GstElement;
8909 #[cfg(feature = "v1_20")]
8910 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8911 pub fn gst_element_factory_make_full(
8912 factoryname: *const c_char,
8913 first: *const c_char,
8914 ...
8915 ) -> *mut GstElement;
8916 #[cfg(feature = "v1_20")]
8920 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8921 pub fn gst_element_factory_make_with_properties(
8922 factoryname: *const c_char,
8923 n: c_uint,
8924 names: *mut *const c_char,
8925 values: *const gobject::GValue,
8926 ) -> *mut GstElement;
8927 pub fn gst_element_factory_can_sink_all_caps(
8928 factory: *mut GstElementFactory,
8929 caps: *const GstCaps,
8930 ) -> gboolean;
8931 pub fn gst_element_factory_can_sink_any_caps(
8932 factory: *mut GstElementFactory,
8933 caps: *const GstCaps,
8934 ) -> gboolean;
8935 pub fn gst_element_factory_can_src_all_caps(
8936 factory: *mut GstElementFactory,
8937 caps: *const GstCaps,
8938 ) -> gboolean;
8939 pub fn gst_element_factory_can_src_any_caps(
8940 factory: *mut GstElementFactory,
8941 caps: *const GstCaps,
8942 ) -> gboolean;
8943 pub fn gst_element_factory_create(
8944 factory: *mut GstElementFactory,
8945 name: *const c_char,
8946 ) -> *mut GstElement;
8947 #[cfg(feature = "v1_20")]
8948 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8949 pub fn gst_element_factory_create_full(
8950 factory: *mut GstElementFactory,
8951 first: *const c_char,
8952 ...
8953 ) -> *mut GstElement;
8954 #[cfg(feature = "v1_20")]
8958 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8959 pub fn gst_element_factory_create_with_properties(
8960 factory: *mut GstElementFactory,
8961 n: c_uint,
8962 names: *mut *const c_char,
8963 values: *const gobject::GValue,
8964 ) -> *mut GstElement;
8965 pub fn gst_element_factory_get_element_type(factory: *mut GstElementFactory) -> GType;
8966 pub fn gst_element_factory_get_metadata(
8967 factory: *mut GstElementFactory,
8968 key: *const c_char,
8969 ) -> *const c_char;
8970 pub fn gst_element_factory_get_metadata_keys(
8971 factory: *mut GstElementFactory,
8972 ) -> *mut *mut c_char;
8973 pub fn gst_element_factory_get_num_pad_templates(factory: *mut GstElementFactory) -> c_uint;
8974 #[cfg(feature = "v1_20")]
8975 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
8976 pub fn gst_element_factory_get_skip_documentation(factory: *mut GstElementFactory) -> gboolean;
8977 pub fn gst_element_factory_get_static_pad_templates(
8978 factory: *mut GstElementFactory,
8979 ) -> *const glib::GList;
8980 pub fn gst_element_factory_get_uri_protocols(
8981 factory: *mut GstElementFactory,
8982 ) -> *const *const c_char;
8983 pub fn gst_element_factory_get_uri_type(factory: *mut GstElementFactory) -> GstURIType;
8984 pub fn gst_element_factory_has_interface(
8985 factory: *mut GstElementFactory,
8986 interfacename: *const c_char,
8987 ) -> gboolean;
8988 #[cfg(feature = "v1_30")]
8989 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
8990 pub fn gst_element_factory_is_untrusted_aware(factory: *mut GstElementFactory) -> gboolean;
8991 pub fn gst_element_factory_list_is_type(
8992 factory: *mut GstElementFactory,
8993 type_: GstElementFactoryListType,
8994 ) -> gboolean;
8995
8996 pub fn gst_flagset_get_type() -> GType;
9000 pub fn gst_flagset_register(flags_type: GType) -> GType;
9001
9002 pub fn gst_fraction_get_type() -> GType;
9006
9007 pub fn gst_fraction_range_get_type() -> GType;
9011
9012 pub fn gst_ghost_pad_get_type() -> GType;
9016 pub fn gst_ghost_pad_new(name: *const c_char, target: *mut GstPad) -> *mut GstPad;
9017 pub fn gst_ghost_pad_new_from_template(
9018 name: *const c_char,
9019 target: *mut GstPad,
9020 templ: *mut GstPadTemplate,
9021 ) -> *mut GstPad;
9022 pub fn gst_ghost_pad_new_no_target(name: *const c_char, dir: GstPadDirection) -> *mut GstPad;
9023 pub fn gst_ghost_pad_new_no_target_from_template(
9024 name: *const c_char,
9025 templ: *mut GstPadTemplate,
9026 ) -> *mut GstPad;
9027 pub fn gst_ghost_pad_activate_mode_default(
9028 pad: *mut GstPad,
9029 parent: *mut GstObject,
9030 mode: GstPadMode,
9031 active: gboolean,
9032 ) -> gboolean;
9033 pub fn gst_ghost_pad_internal_activate_mode_default(
9034 pad: *mut GstPad,
9035 parent: *mut GstObject,
9036 mode: GstPadMode,
9037 active: gboolean,
9038 ) -> gboolean;
9039 pub fn gst_ghost_pad_construct(gpad: *mut GstGhostPad) -> gboolean;
9040 pub fn gst_ghost_pad_get_target(gpad: *mut GstGhostPad) -> *mut GstPad;
9041 pub fn gst_ghost_pad_set_target(gpad: *mut GstGhostPad, newtarget: *mut GstPad) -> gboolean;
9042
9043 pub fn gst_int64_range_get_type() -> GType;
9047
9048 pub fn gst_int_range_get_type() -> GType;
9052
9053 #[cfg(feature = "v1_28")]
9057 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9058 pub fn gst_meta_factory_get_type() -> GType;
9059 #[cfg(feature = "v1_28")]
9060 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9061 pub fn gst_meta_factory_load(factoryname: *const c_char) -> *const GstMetaInfo;
9062 #[cfg(feature = "v1_28")]
9063 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9064 pub fn gst_meta_factory_register(
9065 plugin: *mut GstPlugin,
9066 meta_info: *const GstMetaInfo,
9067 ) -> gboolean;
9068
9069 pub fn gst_object_get_type() -> GType;
9073 pub fn gst_object_check_uniqueness(list: *mut glib::GList, name: *const c_char) -> gboolean;
9074 pub fn gst_object_default_deep_notify(
9075 object: *mut gobject::GObject,
9076 orig: *mut GstObject,
9077 pspec: *mut gobject::GParamSpec,
9078 excluded_props: *mut *mut c_char,
9079 );
9080 pub fn gst_object_ref_sink(object: gpointer) -> gpointer;
9081 pub fn gst_object_replace(oldobj: *mut *mut GstObject, newobj: *mut GstObject) -> gboolean;
9082 pub fn gst_object_add_control_binding(
9083 object: *mut GstObject,
9084 binding: *mut GstControlBinding,
9085 ) -> gboolean;
9086 #[cfg(feature = "v1_28")]
9087 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9088 pub fn gst_object_call_async(
9089 object: *mut GstObject,
9090 func: GstObjectCallAsyncFunc,
9091 user_data: gpointer,
9092 );
9093 pub fn gst_object_default_error(
9094 source: *mut GstObject,
9095 error: *const glib::GError,
9096 debug: *const c_char,
9097 );
9098 pub fn gst_object_get_control_binding(
9099 object: *mut GstObject,
9100 property_name: *const c_char,
9101 ) -> *mut GstControlBinding;
9102 pub fn gst_object_get_control_rate(object: *mut GstObject) -> GstClockTime;
9103 pub fn gst_object_get_g_value_array(
9104 object: *mut GstObject,
9105 property_name: *const c_char,
9106 timestamp: GstClockTime,
9107 interval: GstClockTime,
9108 n_values: c_uint,
9109 values: *mut gobject::GValue,
9110 ) -> gboolean;
9111 pub fn gst_object_get_name(object: *mut GstObject) -> *mut c_char;
9112 pub fn gst_object_get_parent(object: *mut GstObject) -> *mut GstObject;
9113 pub fn gst_object_get_path_string(object: *mut GstObject) -> *mut c_char;
9114 #[cfg(feature = "v1_28")]
9115 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9116 pub fn gst_object_get_toplevel(object: *mut GstObject) -> *mut GstObject;
9117 pub fn gst_object_get_value(
9118 object: *mut GstObject,
9119 property_name: *const c_char,
9120 timestamp: GstClockTime,
9121 ) -> *mut gobject::GValue;
9122 pub fn gst_object_get_value_array(
9123 object: *mut GstObject,
9124 property_name: *const c_char,
9125 timestamp: GstClockTime,
9126 interval: GstClockTime,
9127 n_values: c_uint,
9128 values: gpointer,
9129 ) -> gboolean;
9130 pub fn gst_object_has_active_control_bindings(object: *mut GstObject) -> gboolean;
9131 pub fn gst_object_has_ancestor(object: *mut GstObject, ancestor: *mut GstObject) -> gboolean;
9132 pub fn gst_object_has_as_ancestor(object: *mut GstObject, ancestor: *mut GstObject)
9133 -> gboolean;
9134 pub fn gst_object_has_as_parent(object: *mut GstObject, parent: *mut GstObject) -> gboolean;
9135 pub fn gst_object_ref(object: *mut GstObject) -> *mut GstObject;
9136 pub fn gst_object_remove_control_binding(
9137 object: *mut GstObject,
9138 binding: *mut GstControlBinding,
9139 ) -> gboolean;
9140 pub fn gst_object_set_control_binding_disabled(
9141 object: *mut GstObject,
9142 property_name: *const c_char,
9143 disabled: gboolean,
9144 );
9145 pub fn gst_object_set_control_bindings_disabled(object: *mut GstObject, disabled: gboolean);
9146 pub fn gst_object_set_control_rate(object: *mut GstObject, control_rate: GstClockTime);
9147 pub fn gst_object_set_name(object: *mut GstObject, name: *const c_char) -> gboolean;
9148 pub fn gst_object_set_parent(object: *mut GstObject, parent: *mut GstObject) -> gboolean;
9149 pub fn gst_object_suggest_next_sync(object: *mut GstObject) -> GstClockTime;
9150 pub fn gst_object_sync_values(object: *mut GstObject, timestamp: GstClockTime) -> gboolean;
9151 pub fn gst_object_unparent(object: *mut GstObject);
9152 pub fn gst_object_unref(object: *mut GstObject);
9153
9154 pub fn gst_pad_get_type() -> GType;
9158 pub fn gst_pad_new(name: *const c_char, direction: GstPadDirection) -> *mut GstPad;
9159 pub fn gst_pad_new_from_static_template(
9160 templ: *mut GstStaticPadTemplate,
9161 name: *const c_char,
9162 ) -> *mut GstPad;
9163 pub fn gst_pad_new_from_template(
9164 templ: *mut GstPadTemplate,
9165 name: *const c_char,
9166 ) -> *mut GstPad;
9167 pub fn gst_pad_link_get_name(ret: GstPadLinkReturn) -> *const c_char;
9168 pub fn gst_pad_activate_mode(pad: *mut GstPad, mode: GstPadMode, active: gboolean) -> gboolean;
9169 pub fn gst_pad_add_probe(
9170 pad: *mut GstPad,
9171 mask: GstPadProbeType,
9172 callback: GstPadProbeCallback,
9173 user_data: gpointer,
9174 destroy_data: glib::GDestroyNotify,
9175 ) -> c_ulong;
9176 pub fn gst_pad_can_link(srcpad: *mut GstPad, sinkpad: *mut GstPad) -> gboolean;
9177 pub fn gst_pad_chain(pad: *mut GstPad, buffer: *mut GstBuffer) -> GstFlowReturn;
9178 pub fn gst_pad_chain_list(pad: *mut GstPad, list: *mut GstBufferList) -> GstFlowReturn;
9179 pub fn gst_pad_check_reconfigure(pad: *mut GstPad) -> gboolean;
9180 pub fn gst_pad_create_stream_id(
9181 pad: *mut GstPad,
9182 parent: *mut GstElement,
9183 stream_id: *const c_char,
9184 ) -> *mut c_char;
9185 pub fn gst_pad_create_stream_id_printf(
9186 pad: *mut GstPad,
9187 parent: *mut GstElement,
9188 stream_id: *const c_char,
9189 ...
9190 ) -> *mut c_char;
9191 pub fn gst_pad_event_default(
9193 pad: *mut GstPad,
9194 parent: *mut GstObject,
9195 event: *mut GstEvent,
9196 ) -> gboolean;
9197 pub fn gst_pad_forward(
9198 pad: *mut GstPad,
9199 forward: GstPadForwardFunction,
9200 user_data: gpointer,
9201 ) -> gboolean;
9202 pub fn gst_pad_get_allowed_caps(pad: *mut GstPad) -> *mut GstCaps;
9203 pub fn gst_pad_get_current_caps(pad: *mut GstPad) -> *mut GstCaps;
9204 pub fn gst_pad_get_direction(pad: *mut GstPad) -> GstPadDirection;
9205 pub fn gst_pad_get_element_private(pad: *mut GstPad) -> gpointer;
9206 pub fn gst_pad_get_last_flow_return(pad: *mut GstPad) -> GstFlowReturn;
9207 pub fn gst_pad_get_offset(pad: *mut GstPad) -> i64;
9208 pub fn gst_pad_get_pad_template(pad: *mut GstPad) -> *mut GstPadTemplate;
9209 pub fn gst_pad_get_pad_template_caps(pad: *mut GstPad) -> *mut GstCaps;
9210 pub fn gst_pad_get_parent_element(pad: *mut GstPad) -> *mut GstElement;
9211 pub fn gst_pad_get_peer(pad: *mut GstPad) -> *mut GstPad;
9212 pub fn gst_pad_get_range(
9213 pad: *mut GstPad,
9214 offset: u64,
9215 size: c_uint,
9216 buffer: *mut *mut GstBuffer,
9217 ) -> GstFlowReturn;
9218 #[cfg(feature = "v1_18")]
9219 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9220 pub fn gst_pad_get_single_internal_link(pad: *mut GstPad) -> *mut GstPad;
9221 pub fn gst_pad_get_sticky_event(
9222 pad: *mut GstPad,
9223 event_type: GstEventType,
9224 idx: c_uint,
9225 ) -> *mut GstEvent;
9226 pub fn gst_pad_get_stream(pad: *mut GstPad) -> *mut GstStream;
9227 pub fn gst_pad_get_stream_id(pad: *mut GstPad) -> *mut c_char;
9228 pub fn gst_pad_get_task_state(pad: *mut GstPad) -> GstTaskState;
9229 pub fn gst_pad_has_current_caps(pad: *mut GstPad) -> gboolean;
9230 pub fn gst_pad_is_active(pad: *mut GstPad) -> gboolean;
9231 pub fn gst_pad_is_blocked(pad: *mut GstPad) -> gboolean;
9232 pub fn gst_pad_is_blocking(pad: *mut GstPad) -> gboolean;
9233 pub fn gst_pad_is_linked(pad: *mut GstPad) -> gboolean;
9234 pub fn gst_pad_iterate_internal_links(pad: *mut GstPad) -> *mut GstIterator;
9235 pub fn gst_pad_iterate_internal_links_default(
9236 pad: *mut GstPad,
9237 parent: *mut GstObject,
9238 ) -> *mut GstIterator;
9239 pub fn gst_pad_link(srcpad: *mut GstPad, sinkpad: *mut GstPad) -> GstPadLinkReturn;
9240 pub fn gst_pad_link_full(
9241 srcpad: *mut GstPad,
9242 sinkpad: *mut GstPad,
9243 flags: GstPadLinkCheck,
9244 ) -> GstPadLinkReturn;
9245 pub fn gst_pad_link_maybe_ghosting(src: *mut GstPad, sink: *mut GstPad) -> gboolean;
9246 pub fn gst_pad_link_maybe_ghosting_full(
9247 src: *mut GstPad,
9248 sink: *mut GstPad,
9249 flags: GstPadLinkCheck,
9250 ) -> gboolean;
9251 pub fn gst_pad_mark_reconfigure(pad: *mut GstPad);
9252 pub fn gst_pad_needs_reconfigure(pad: *mut GstPad) -> gboolean;
9253 pub fn gst_pad_pause_task(pad: *mut GstPad) -> gboolean;
9254 pub fn gst_pad_peer_query(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9255 pub fn gst_pad_peer_query_accept_caps(pad: *mut GstPad, caps: *mut GstCaps) -> gboolean;
9256 pub fn gst_pad_peer_query_caps(pad: *mut GstPad, filter: *mut GstCaps) -> *mut GstCaps;
9257 pub fn gst_pad_peer_query_convert(
9258 pad: *mut GstPad,
9259 src_format: GstFormat,
9260 src_val: i64,
9261 dest_format: GstFormat,
9262 dest_val: *mut i64,
9263 ) -> gboolean;
9264 pub fn gst_pad_peer_query_duration(
9265 pad: *mut GstPad,
9266 format: GstFormat,
9267 duration: *mut i64,
9268 ) -> gboolean;
9269 pub fn gst_pad_peer_query_position(
9270 pad: *mut GstPad,
9271 format: GstFormat,
9272 cur: *mut i64,
9273 ) -> gboolean;
9274 pub fn gst_pad_proxy_query_accept_caps(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9275 pub fn gst_pad_proxy_query_caps(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9276 pub fn gst_pad_pull_range(
9277 pad: *mut GstPad,
9278 offset: u64,
9279 size: c_uint,
9280 buffer: *mut *mut GstBuffer,
9281 ) -> GstFlowReturn;
9282 pub fn gst_pad_push(pad: *mut GstPad, buffer: *mut GstBuffer) -> GstFlowReturn;
9283 pub fn gst_pad_push_event(pad: *mut GstPad, event: *mut GstEvent) -> gboolean;
9284 pub fn gst_pad_push_list(pad: *mut GstPad, list: *mut GstBufferList) -> GstFlowReturn;
9285 pub fn gst_pad_query(pad: *mut GstPad, query: *mut GstQuery) -> gboolean;
9286 pub fn gst_pad_query_accept_caps(pad: *mut GstPad, caps: *mut GstCaps) -> gboolean;
9287 pub fn gst_pad_query_caps(pad: *mut GstPad, filter: *mut GstCaps) -> *mut GstCaps;
9288 pub fn gst_pad_query_convert(
9289 pad: *mut GstPad,
9290 src_format: GstFormat,
9291 src_val: i64,
9292 dest_format: GstFormat,
9293 dest_val: *mut i64,
9294 ) -> gboolean;
9295 pub fn gst_pad_query_default(
9296 pad: *mut GstPad,
9297 parent: *mut GstObject,
9298 query: *mut GstQuery,
9299 ) -> gboolean;
9300 pub fn gst_pad_query_duration(
9301 pad: *mut GstPad,
9302 format: GstFormat,
9303 duration: *mut i64,
9304 ) -> gboolean;
9305 pub fn gst_pad_query_position(pad: *mut GstPad, format: GstFormat, cur: *mut i64) -> gboolean;
9306 pub fn gst_pad_remove_probe(pad: *mut GstPad, id: c_ulong);
9307 pub fn gst_pad_send_event(pad: *mut GstPad, event: *mut GstEvent) -> gboolean;
9308 pub fn gst_pad_set_activate_function_full(
9309 pad: *mut GstPad,
9310 activate: GstPadActivateFunction,
9311 user_data: gpointer,
9312 notify: glib::GDestroyNotify,
9313 );
9314 pub fn gst_pad_set_activatemode_function_full(
9315 pad: *mut GstPad,
9316 activatemode: GstPadActivateModeFunction,
9317 user_data: gpointer,
9318 notify: glib::GDestroyNotify,
9319 );
9320 pub fn gst_pad_set_active(pad: *mut GstPad, active: gboolean) -> gboolean;
9321 pub fn gst_pad_set_chain_function_full(
9322 pad: *mut GstPad,
9323 chain: GstPadChainFunction,
9324 user_data: gpointer,
9325 notify: glib::GDestroyNotify,
9326 );
9327 pub fn gst_pad_set_chain_list_function_full(
9328 pad: *mut GstPad,
9329 chainlist: GstPadChainListFunction,
9330 user_data: gpointer,
9331 notify: glib::GDestroyNotify,
9332 );
9333 pub fn gst_pad_set_element_private(pad: *mut GstPad, priv_: gpointer);
9334 pub fn gst_pad_set_event_full_function_full(
9335 pad: *mut GstPad,
9336 event: GstPadEventFullFunction,
9337 user_data: gpointer,
9338 notify: glib::GDestroyNotify,
9339 );
9340 pub fn gst_pad_set_event_function_full(
9341 pad: *mut GstPad,
9342 event: GstPadEventFunction,
9343 user_data: gpointer,
9344 notify: glib::GDestroyNotify,
9345 );
9346 pub fn gst_pad_set_getrange_function_full(
9347 pad: *mut GstPad,
9348 get: GstPadGetRangeFunction,
9349 user_data: gpointer,
9350 notify: glib::GDestroyNotify,
9351 );
9352 pub fn gst_pad_set_iterate_internal_links_function_full(
9353 pad: *mut GstPad,
9354 iterintlink: GstPadIterIntLinkFunction,
9355 user_data: gpointer,
9356 notify: glib::GDestroyNotify,
9357 );
9358 pub fn gst_pad_set_link_function_full(
9359 pad: *mut GstPad,
9360 link: GstPadLinkFunction,
9361 user_data: gpointer,
9362 notify: glib::GDestroyNotify,
9363 );
9364 pub fn gst_pad_set_offset(pad: *mut GstPad, offset: i64);
9365 pub fn gst_pad_set_query_function_full(
9366 pad: *mut GstPad,
9367 query: GstPadQueryFunction,
9368 user_data: gpointer,
9369 notify: glib::GDestroyNotify,
9370 );
9371 pub fn gst_pad_set_unlink_function_full(
9372 pad: *mut GstPad,
9373 unlink: GstPadUnlinkFunction,
9374 user_data: gpointer,
9375 notify: glib::GDestroyNotify,
9376 );
9377 pub fn gst_pad_start_task(
9378 pad: *mut GstPad,
9379 func: GstTaskFunction,
9380 user_data: gpointer,
9381 notify: glib::GDestroyNotify,
9382 ) -> gboolean;
9383 pub fn gst_pad_sticky_events_foreach(
9384 pad: *mut GstPad,
9385 foreach_func: GstPadStickyEventsForeachFunction,
9386 user_data: gpointer,
9387 );
9388 pub fn gst_pad_stop_task(pad: *mut GstPad) -> gboolean;
9389 pub fn gst_pad_store_sticky_event(pad: *mut GstPad, event: *mut GstEvent) -> GstFlowReturn;
9390 pub fn gst_pad_unlink(srcpad: *mut GstPad, sinkpad: *mut GstPad) -> gboolean;
9391 pub fn gst_pad_use_fixed_caps(pad: *mut GstPad);
9392
9393 pub fn gst_pad_template_get_type() -> GType;
9397 pub fn gst_pad_template_new(
9398 name_template: *const c_char,
9399 direction: GstPadDirection,
9400 presence: GstPadPresence,
9401 caps: *mut GstCaps,
9402 ) -> *mut GstPadTemplate;
9403 pub fn gst_pad_template_new_from_static_pad_template_with_gtype(
9404 pad_template: *mut GstStaticPadTemplate,
9405 pad_type: GType,
9406 ) -> *mut GstPadTemplate;
9407 pub fn gst_pad_template_new_with_gtype(
9408 name_template: *const c_char,
9409 direction: GstPadDirection,
9410 presence: GstPadPresence,
9411 caps: *mut GstCaps,
9412 pad_type: GType,
9413 ) -> *mut GstPadTemplate;
9414 pub fn gst_pad_template_get_caps(templ: *mut GstPadTemplate) -> *mut GstCaps;
9415 #[cfg(feature = "v1_18")]
9416 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9417 pub fn gst_pad_template_get_documentation_caps(templ: *mut GstPadTemplate) -> *mut GstCaps;
9418 pub fn gst_pad_template_pad_created(templ: *mut GstPadTemplate, pad: *mut GstPad);
9419 #[cfg(feature = "v1_18")]
9420 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9421 pub fn gst_pad_template_set_documentation_caps(templ: *mut GstPadTemplate, caps: *mut GstCaps);
9422
9423 pub fn gst_param_spec_array_get_type() -> GType;
9427
9428 pub fn gst_param_spec_fraction_get_type() -> GType;
9432
9433 pub fn gst_pipeline_get_type() -> GType;
9437 pub fn gst_pipeline_new(name: *const c_char) -> *mut GstElement;
9438 pub fn gst_pipeline_auto_clock(pipeline: *mut GstPipeline);
9439 pub fn gst_pipeline_get_auto_flush_bus(pipeline: *mut GstPipeline) -> gboolean;
9440 pub fn gst_pipeline_get_bus(pipeline: *mut GstPipeline) -> *mut GstBus;
9441 pub fn gst_pipeline_get_clock(pipeline: *mut GstPipeline) -> *mut GstClock;
9442 #[cfg(feature = "v1_24")]
9443 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9444 pub fn gst_pipeline_get_configured_latency(pipeline: *mut GstPipeline) -> GstClockTime;
9445 pub fn gst_pipeline_get_delay(pipeline: *mut GstPipeline) -> GstClockTime;
9446 pub fn gst_pipeline_get_latency(pipeline: *mut GstPipeline) -> GstClockTime;
9447 pub fn gst_pipeline_get_pipeline_clock(pipeline: *mut GstPipeline) -> *mut GstClock;
9448 #[cfg(feature = "v1_24")]
9449 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9450 pub fn gst_pipeline_is_live(pipeline: *mut GstPipeline) -> gboolean;
9451 pub fn gst_pipeline_set_auto_flush_bus(pipeline: *mut GstPipeline, auto_flush: gboolean);
9452 pub fn gst_pipeline_set_clock(pipeline: *mut GstPipeline, clock: *mut GstClock) -> gboolean;
9453 pub fn gst_pipeline_set_delay(pipeline: *mut GstPipeline, delay: GstClockTime);
9454 pub fn gst_pipeline_set_latency(pipeline: *mut GstPipeline, latency: GstClockTime);
9455 pub fn gst_pipeline_use_clock(pipeline: *mut GstPipeline, clock: *mut GstClock);
9456
9457 pub fn gst_plugin_get_type() -> GType;
9461 pub fn gst_plugin_list_free(list: *mut glib::GList);
9462 pub fn gst_plugin_load_by_name(name: *const c_char) -> *mut GstPlugin;
9463 pub fn gst_plugin_load_file(
9464 filename: *const c_char,
9465 error: *mut *mut glib::GError,
9466 ) -> *mut GstPlugin;
9467 pub fn gst_plugin_register_static(
9468 major_version: c_int,
9469 minor_version: c_int,
9470 name: *const c_char,
9471 description: *const c_char,
9472 init_func: GstPluginInitFunc,
9473 version: *const c_char,
9474 license: *const c_char,
9475 source: *const c_char,
9476 package: *const c_char,
9477 origin: *const c_char,
9478 ) -> gboolean;
9479 pub fn gst_plugin_register_static_full(
9480 major_version: c_int,
9481 minor_version: c_int,
9482 name: *const c_char,
9483 description: *const c_char,
9484 init_full_func: GstPluginInitFullFunc,
9485 version: *const c_char,
9486 license: *const c_char,
9487 source: *const c_char,
9488 package: *const c_char,
9489 origin: *const c_char,
9490 user_data: gpointer,
9491 ) -> gboolean;
9492 pub fn gst_plugin_add_dependency(
9493 plugin: *mut GstPlugin,
9494 env_vars: *mut *const c_char,
9495 paths: *mut *const c_char,
9496 names: *mut *const c_char,
9497 flags: GstPluginDependencyFlags,
9498 );
9499 pub fn gst_plugin_add_dependency_simple(
9500 plugin: *mut GstPlugin,
9501 env_vars: *const c_char,
9502 paths: *const c_char,
9503 names: *const c_char,
9504 flags: GstPluginDependencyFlags,
9505 );
9506 #[cfg(feature = "v1_24")]
9507 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9508 pub fn gst_plugin_add_status_error(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_info(plugin: *mut GstPlugin, message: *const c_char);
9512 #[cfg(feature = "v1_24")]
9513 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9514 pub fn gst_plugin_add_status_warning(plugin: *mut GstPlugin, message: *const c_char);
9515 pub fn gst_plugin_get_cache_data(plugin: *mut GstPlugin) -> *const GstStructure;
9516 pub fn gst_plugin_get_description(plugin: *mut GstPlugin) -> *const c_char;
9517 pub fn gst_plugin_get_filename(plugin: *mut GstPlugin) -> *const c_char;
9518 pub fn gst_plugin_get_license(plugin: *mut GstPlugin) -> *const c_char;
9519 pub fn gst_plugin_get_name(plugin: *mut GstPlugin) -> *const c_char;
9520 pub fn gst_plugin_get_origin(plugin: *mut GstPlugin) -> *const c_char;
9521 pub fn gst_plugin_get_package(plugin: *mut GstPlugin) -> *const c_char;
9522 #[cfg(feature = "v1_30")]
9523 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9524 pub fn gst_plugin_get_registry(plugin: *mut GstPlugin) -> *mut GstRegistry;
9525 pub fn gst_plugin_get_release_date_string(plugin: *mut GstPlugin) -> *const c_char;
9526 pub fn gst_plugin_get_source(plugin: *mut GstPlugin) -> *const c_char;
9527 #[cfg(feature = "v1_24")]
9528 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9529 pub fn gst_plugin_get_status_errors(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_infos(plugin: *mut GstPlugin) -> *mut *mut c_char;
9533 #[cfg(feature = "v1_24")]
9534 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
9535 pub fn gst_plugin_get_status_warnings(plugin: *mut GstPlugin) -> *mut *mut c_char;
9536 pub fn gst_plugin_get_version(plugin: *mut GstPlugin) -> *const c_char;
9537 pub fn gst_plugin_is_loaded(plugin: *mut GstPlugin) -> gboolean;
9538 pub fn gst_plugin_load(plugin: *mut GstPlugin) -> *mut GstPlugin;
9539 pub fn gst_plugin_set_cache_data(plugin: *mut GstPlugin, cache_data: *mut GstStructure);
9540 #[cfg(feature = "v1_30")]
9541 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9542 pub fn gst_plugin_set_static_features_flag(plugin: *mut GstPlugin);
9543
9544 pub fn gst_plugin_feature_get_type() -> GType;
9548 pub fn gst_plugin_feature_list_copy(list: *mut glib::GList) -> *mut glib::GList;
9549 pub fn gst_plugin_feature_list_debug(list: *mut glib::GList);
9550 pub fn gst_plugin_feature_list_free(list: *mut glib::GList);
9551 pub fn gst_plugin_feature_rank_compare_func(p1: gconstpointer, p2: gconstpointer) -> c_int;
9552 pub fn gst_plugin_feature_check_version(
9553 feature: *mut GstPluginFeature,
9554 min_major: c_uint,
9555 min_minor: c_uint,
9556 min_micro: c_uint,
9557 ) -> gboolean;
9558 pub fn gst_plugin_feature_get_plugin(feature: *mut GstPluginFeature) -> *mut GstPlugin;
9559 pub fn gst_plugin_feature_get_plugin_name(feature: *mut GstPluginFeature) -> *const c_char;
9560 pub fn gst_plugin_feature_get_rank(feature: *mut GstPluginFeature) -> c_uint;
9561 pub fn gst_plugin_feature_load(feature: *mut GstPluginFeature) -> *mut GstPluginFeature;
9562 pub fn gst_plugin_feature_set_rank(feature: *mut GstPluginFeature, rank: c_uint);
9563
9564 pub fn gst_proxy_pad_get_type() -> GType;
9568 pub fn gst_proxy_pad_chain_default(
9569 pad: *mut GstPad,
9570 parent: *mut GstObject,
9571 buffer: *mut GstBuffer,
9572 ) -> GstFlowReturn;
9573 pub fn gst_proxy_pad_chain_list_default(
9574 pad: *mut GstPad,
9575 parent: *mut GstObject,
9576 list: *mut GstBufferList,
9577 ) -> GstFlowReturn;
9578 pub fn gst_proxy_pad_getrange_default(
9579 pad: *mut GstPad,
9580 parent: *mut GstObject,
9581 offset: u64,
9582 size: c_uint,
9583 buffer: *mut *mut GstBuffer,
9584 ) -> GstFlowReturn;
9585 pub fn gst_proxy_pad_iterate_internal_links_default(
9586 pad: *mut GstPad,
9587 parent: *mut GstObject,
9588 ) -> *mut GstIterator;
9589 pub fn gst_proxy_pad_get_internal(pad: *mut GstProxyPad) -> *mut GstProxyPad;
9590
9591 pub fn gst_registry_get_type() -> GType;
9595 pub fn gst_registry_fork_is_enabled() -> gboolean;
9596 pub fn gst_registry_fork_set_enabled(enabled: gboolean);
9597 pub fn gst_registry_get() -> *mut GstRegistry;
9598 pub fn gst_registry_add_feature(
9599 registry: *mut GstRegistry,
9600 feature: *mut GstPluginFeature,
9601 ) -> gboolean;
9602 pub fn gst_registry_add_plugin(registry: *mut GstRegistry, plugin: *mut GstPlugin) -> gboolean;
9603 pub fn gst_registry_check_feature_version(
9604 registry: *mut GstRegistry,
9605 feature_name: *const c_char,
9606 min_major: c_uint,
9607 min_minor: c_uint,
9608 min_micro: c_uint,
9609 ) -> gboolean;
9610 pub fn gst_registry_feature_filter(
9611 registry: *mut GstRegistry,
9612 filter: GstPluginFeatureFilter,
9613 first: gboolean,
9614 user_data: gpointer,
9615 ) -> *mut glib::GList;
9616 pub fn gst_registry_find_feature(
9617 registry: *mut GstRegistry,
9618 name: *const c_char,
9619 type_: GType,
9620 ) -> *mut GstPluginFeature;
9621 pub fn gst_registry_find_plugin(
9622 registry: *mut GstRegistry,
9623 name: *const c_char,
9624 ) -> *mut GstPlugin;
9625 pub fn gst_registry_get_feature_list(
9626 registry: *mut GstRegistry,
9627 type_: GType,
9628 ) -> *mut glib::GList;
9629 pub fn gst_registry_get_feature_list_by_plugin(
9630 registry: *mut GstRegistry,
9631 name: *const c_char,
9632 ) -> *mut glib::GList;
9633 pub fn gst_registry_get_feature_list_cookie(registry: *mut GstRegistry) -> u32;
9634 pub fn gst_registry_get_plugin_list(registry: *mut GstRegistry) -> *mut glib::GList;
9635 pub fn gst_registry_lookup(
9636 registry: *mut GstRegistry,
9637 filename: *const c_char,
9638 ) -> *mut GstPlugin;
9639 pub fn gst_registry_lookup_feature(
9640 registry: *mut GstRegistry,
9641 name: *const c_char,
9642 ) -> *mut GstPluginFeature;
9643 pub fn gst_registry_plugin_filter(
9644 registry: *mut GstRegistry,
9645 filter: GstPluginFilter,
9646 first: gboolean,
9647 user_data: gpointer,
9648 ) -> *mut glib::GList;
9649 pub fn gst_registry_remove_feature(registry: *mut GstRegistry, feature: *mut GstPluginFeature);
9650 pub fn gst_registry_remove_plugin(registry: *mut GstRegistry, plugin: *mut GstPlugin);
9651 pub fn gst_registry_scan_path(registry: *mut GstRegistry, path: *const c_char) -> gboolean;
9652
9653 #[cfg(feature = "v1_20")]
9657 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9658 pub fn gst_shared_task_pool_get_type() -> GType;
9659 #[cfg(feature = "v1_20")]
9660 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9661 pub fn gst_shared_task_pool_new() -> *mut GstTaskPool;
9662 #[cfg(feature = "v1_20")]
9663 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9664 pub fn gst_shared_task_pool_get_max_threads(pool: *mut GstSharedTaskPool) -> c_uint;
9665 #[cfg(feature = "v1_20")]
9666 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9667 pub fn gst_shared_task_pool_set_max_threads(pool: *mut GstSharedTaskPool, max_threads: c_uint);
9668
9669 pub fn gst_stream_get_type() -> GType;
9673 pub fn gst_stream_new(
9674 stream_id: *const c_char,
9675 caps: *mut GstCaps,
9676 type_: GstStreamType,
9677 flags: GstStreamFlags,
9678 ) -> *mut GstStream;
9679 pub fn gst_stream_get_caps(stream: *mut GstStream) -> *mut GstCaps;
9680 pub fn gst_stream_get_stream_flags(stream: *mut GstStream) -> GstStreamFlags;
9681 pub fn gst_stream_get_stream_id(stream: *mut GstStream) -> *const c_char;
9682 pub fn gst_stream_get_stream_type(stream: *mut GstStream) -> GstStreamType;
9683 pub fn gst_stream_get_tags(stream: *mut GstStream) -> *mut GstTagList;
9684 pub fn gst_stream_set_caps(stream: *mut GstStream, caps: *mut GstCaps);
9685 pub fn gst_stream_set_stream_flags(stream: *mut GstStream, flags: GstStreamFlags);
9686 pub fn gst_stream_set_stream_type(stream: *mut GstStream, stream_type: GstStreamType);
9687 pub fn gst_stream_set_tags(stream: *mut GstStream, tags: *mut GstTagList);
9688
9689 pub fn gst_stream_collection_get_type() -> GType;
9693 pub fn gst_stream_collection_new(upstream_id: *const c_char) -> *mut GstStreamCollection;
9694 pub fn gst_stream_collection_add_stream(
9695 collection: *mut GstStreamCollection,
9696 stream: *mut GstStream,
9697 ) -> gboolean;
9698 pub fn gst_stream_collection_get_size(collection: *mut GstStreamCollection) -> c_uint;
9699 pub fn gst_stream_collection_get_stream(
9700 collection: *mut GstStreamCollection,
9701 index: c_uint,
9702 ) -> *mut GstStream;
9703 pub fn gst_stream_collection_get_upstream_id(
9704 collection: *mut GstStreamCollection,
9705 ) -> *const c_char;
9706
9707 pub fn gst_system_clock_get_type() -> GType;
9711 #[cfg(feature = "v1_30")]
9712 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9713 pub fn gst_system_clock_new(name: *const c_char, clock_type: GstClockType) -> *mut GstClock;
9714 pub fn gst_system_clock_obtain() -> *mut GstClock;
9715 pub fn gst_system_clock_set_default(new_clock: *mut GstClock);
9716
9717 pub fn gst_task_get_type() -> GType;
9721 pub fn gst_task_new(
9722 func: GstTaskFunction,
9723 user_data: gpointer,
9724 notify: glib::GDestroyNotify,
9725 ) -> *mut GstTask;
9726 pub fn gst_task_cleanup_all();
9727 pub fn gst_task_get_pool(task: *mut GstTask) -> *mut GstTaskPool;
9728 pub fn gst_task_get_state(task: *mut GstTask) -> GstTaskState;
9729 pub fn gst_task_join(task: *mut GstTask) -> gboolean;
9730 pub fn gst_task_pause(task: *mut GstTask) -> gboolean;
9731 #[cfg(feature = "v1_18")]
9732 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9733 pub fn gst_task_resume(task: *mut GstTask) -> gboolean;
9734 pub fn gst_task_set_enter_callback(
9735 task: *mut GstTask,
9736 enter_func: GstTaskThreadFunc,
9737 user_data: gpointer,
9738 notify: glib::GDestroyNotify,
9739 );
9740 pub fn gst_task_set_leave_callback(
9741 task: *mut GstTask,
9742 leave_func: GstTaskThreadFunc,
9743 user_data: gpointer,
9744 notify: glib::GDestroyNotify,
9745 );
9746 pub fn gst_task_set_lock(task: *mut GstTask, mutex: *mut glib::GRecMutex);
9747 pub fn gst_task_set_pool(task: *mut GstTask, pool: *mut GstTaskPool);
9748 pub fn gst_task_set_state(task: *mut GstTask, state: GstTaskState) -> gboolean;
9749 pub fn gst_task_start(task: *mut GstTask) -> gboolean;
9750 pub fn gst_task_stop(task: *mut GstTask) -> gboolean;
9751
9752 pub fn gst_task_pool_get_type() -> GType;
9756 pub fn gst_task_pool_new() -> *mut GstTaskPool;
9757 pub fn gst_task_pool_cleanup(pool: *mut GstTaskPool);
9758 #[cfg(feature = "v1_20")]
9759 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
9760 pub fn gst_task_pool_dispose_handle(pool: *mut GstTaskPool, id: gpointer);
9761 pub fn gst_task_pool_join(pool: *mut GstTaskPool, id: gpointer);
9762 pub fn gst_task_pool_prepare(pool: *mut GstTaskPool, error: *mut *mut glib::GError);
9763 pub fn gst_task_pool_push(
9764 pool: *mut GstTaskPool,
9765 func: GstTaskPoolFunction,
9766 user_data: gpointer,
9767 error: *mut *mut glib::GError,
9768 ) -> gpointer;
9769
9770 pub fn gst_tracer_get_type() -> GType;
9774 pub fn gst_tracer_register(
9775 plugin: *mut GstPlugin,
9776 name: *const c_char,
9777 type_: GType,
9778 ) -> gboolean;
9779
9780 pub fn gst_tracer_factory_get_type() -> GType;
9784 pub fn gst_tracer_factory_get_list() -> *mut glib::GList;
9785 pub fn gst_tracer_factory_get_tracer_type(factory: *mut GstTracerFactory) -> GType;
9786
9787 pub fn gst_tracer_record_get_type() -> GType;
9791 pub fn gst_tracer_record_new(
9792 name: *const c_char,
9793 firstfield: *const c_char,
9794 ...
9795 ) -> *mut GstTracerRecord;
9796 pub fn gst_tracer_record_log(self_: *mut GstTracerRecord, ...);
9797
9798 pub fn gst_type_find_factory_get_type() -> GType;
9802 pub fn gst_type_find_factory_get_list() -> *mut glib::GList;
9803 pub fn gst_type_find_factory_call_function(
9804 factory: *mut GstTypeFindFactory,
9805 find: *mut GstTypeFind,
9806 );
9807 pub fn gst_type_find_factory_get_caps(factory: *mut GstTypeFindFactory) -> *mut GstCaps;
9808 pub fn gst_type_find_factory_get_extensions(
9809 factory: *mut GstTypeFindFactory,
9810 ) -> *const *const c_char;
9811 pub fn gst_type_find_factory_has_function(factory: *mut GstTypeFindFactory) -> gboolean;
9812
9813 pub fn gst_value_array_get_type() -> GType;
9817 pub fn gst_value_array_append_and_take_value(
9818 value: *mut gobject::GValue,
9819 append_value: *mut gobject::GValue,
9820 );
9821 pub fn gst_value_array_append_value(
9822 value: *mut gobject::GValue,
9823 append_value: *const gobject::GValue,
9824 );
9825 pub fn gst_value_array_get_size(value: *const gobject::GValue) -> c_uint;
9826 pub fn gst_value_array_get_value(
9827 value: *const gobject::GValue,
9828 index: c_uint,
9829 ) -> *const gobject::GValue;
9830 #[cfg(feature = "v1_18")]
9831 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9832 pub fn gst_value_array_init(
9833 value: *mut gobject::GValue,
9834 prealloc: c_uint,
9835 ) -> *mut gobject::GValue;
9836 pub fn gst_value_array_prepend_value(
9837 value: *mut gobject::GValue,
9838 prepend_value: *const gobject::GValue,
9839 );
9840
9841 pub fn gst_value_list_get_type() -> GType;
9845 pub fn gst_value_list_append_and_take_value(
9846 value: *mut gobject::GValue,
9847 append_value: *mut gobject::GValue,
9848 );
9849 pub fn gst_value_list_append_value(
9850 value: *mut gobject::GValue,
9851 append_value: *const gobject::GValue,
9852 );
9853 pub fn gst_value_list_concat(
9854 dest: *mut gobject::GValue,
9855 value1: *const gobject::GValue,
9856 value2: *const gobject::GValue,
9857 );
9858 pub fn gst_value_list_get_size(value: *const gobject::GValue) -> c_uint;
9859 pub fn gst_value_list_get_value(
9860 value: *const gobject::GValue,
9861 index: c_uint,
9862 ) -> *const gobject::GValue;
9863 #[cfg(feature = "v1_18")]
9864 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
9865 pub fn gst_value_list_init(
9866 value: *mut gobject::GValue,
9867 prealloc: c_uint,
9868 ) -> *mut gobject::GValue;
9869 pub fn gst_value_list_merge(
9870 dest: *mut gobject::GValue,
9871 value1: *const gobject::GValue,
9872 value2: *const gobject::GValue,
9873 );
9874 pub fn gst_value_list_prepend_value(
9875 value: *mut gobject::GValue,
9876 prepend_value: *const gobject::GValue,
9877 );
9878
9879 #[cfg(feature = "v1_28")]
9883 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9884 pub fn gst_value_unique_list_get_type() -> GType;
9885 #[cfg(feature = "v1_28")]
9886 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9887 pub fn gst_value_unique_list_append_and_take_value(
9888 value: *mut gobject::GValue,
9889 append_value: *mut gobject::GValue,
9890 );
9891 #[cfg(feature = "v1_28")]
9892 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9893 pub fn gst_value_unique_list_append_value(
9894 value: *mut gobject::GValue,
9895 append_value: *const gobject::GValue,
9896 );
9897 #[cfg(feature = "v1_28")]
9898 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9899 pub fn gst_value_unique_list_concat(
9900 dest: *mut gobject::GValue,
9901 value1: *const gobject::GValue,
9902 value2: *const gobject::GValue,
9903 );
9904 #[cfg(feature = "v1_28")]
9905 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9906 pub fn gst_value_unique_list_get_size(value: *const gobject::GValue) -> c_uint;
9907 #[cfg(feature = "v1_28")]
9908 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9909 pub fn gst_value_unique_list_get_value(
9910 value: *const gobject::GValue,
9911 index: c_uint,
9912 ) -> *const gobject::GValue;
9913 #[cfg(feature = "v1_28")]
9914 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
9915 pub fn gst_value_unique_list_prepend_value(
9916 value: *mut gobject::GValue,
9917 prepend_value: *const gobject::GValue,
9918 );
9919
9920 pub fn gst_child_proxy_get_type() -> GType;
9924 pub fn gst_child_proxy_child_added(
9925 parent: *mut GstChildProxy,
9926 child: *mut gobject::GObject,
9927 name: *const c_char,
9928 );
9929 pub fn gst_child_proxy_child_removed(
9930 parent: *mut GstChildProxy,
9931 child: *mut gobject::GObject,
9932 name: *const c_char,
9933 );
9934 pub fn gst_child_proxy_get(object: *mut GstChildProxy, first_property_name: *const c_char, ...);
9935 pub fn gst_child_proxy_get_child_by_index(
9936 parent: *mut GstChildProxy,
9937 index: c_uint,
9938 ) -> *mut gobject::GObject;
9939 pub fn gst_child_proxy_get_child_by_name(
9940 parent: *mut GstChildProxy,
9941 name: *const c_char,
9942 ) -> *mut gobject::GObject;
9943 #[cfg(feature = "v1_22")]
9944 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
9945 pub fn gst_child_proxy_get_child_by_name_recurse(
9946 child_proxy: *mut GstChildProxy,
9947 name: *const c_char,
9948 ) -> *mut gobject::GObject;
9949 pub fn gst_child_proxy_get_children_count(parent: *mut GstChildProxy) -> c_uint;
9950 pub fn gst_child_proxy_get_property(
9951 object: *mut GstChildProxy,
9952 name: *const c_char,
9953 value: *mut gobject::GValue,
9954 );
9955 pub fn gst_child_proxy_lookup(
9957 object: *mut GstChildProxy,
9958 name: *const c_char,
9959 target: *mut *mut gobject::GObject,
9960 pspec: *mut *mut gobject::GParamSpec,
9961 ) -> gboolean;
9962 pub fn gst_child_proxy_set(object: *mut GstChildProxy, first_property_name: *const c_char, ...);
9963 pub fn gst_child_proxy_set_property(
9964 object: *mut GstChildProxy,
9965 name: *const c_char,
9966 value: *const gobject::GValue,
9967 );
9968 pub fn gst_preset_get_type() -> GType;
9974 pub fn gst_preset_get_app_dir() -> *const c_char;
9975 pub fn gst_preset_set_app_dir(app_dir: *const c_char) -> gboolean;
9976 pub fn gst_preset_delete_preset(preset: *mut GstPreset, name: *const c_char) -> gboolean;
9977 pub fn gst_preset_get_meta(
9978 preset: *mut GstPreset,
9979 name: *const c_char,
9980 tag: *const c_char,
9981 value: *mut *mut c_char,
9982 ) -> gboolean;
9983 pub fn gst_preset_get_preset_names(preset: *mut GstPreset) -> *mut *mut c_char;
9984 #[cfg(feature = "v1_30")]
9985 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9986 pub fn gst_preset_get_property(
9987 preset: *mut GstPreset,
9988 name: *const c_char,
9989 prop: *const c_char,
9990 value: *mut gobject::GValue,
9991 ) -> gboolean;
9992 #[cfg(feature = "v1_30")]
9993 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
9994 pub fn gst_preset_get_property_alternatives(
9995 preset: *mut GstPreset,
9996 name: *const c_char,
9997 prop: *const c_char,
9998 ) -> *mut *mut c_char;
9999 pub fn gst_preset_get_property_names(preset: *mut GstPreset) -> *mut *mut c_char;
10000 pub fn gst_preset_is_editable(preset: *mut GstPreset) -> gboolean;
10001 pub fn gst_preset_load_preset(preset: *mut GstPreset, name: *const c_char) -> gboolean;
10002 pub fn gst_preset_rename_preset(
10003 preset: *mut GstPreset,
10004 old_name: *const c_char,
10005 new_name: *const c_char,
10006 ) -> gboolean;
10007 pub fn gst_preset_save_preset(preset: *mut GstPreset, name: *const c_char) -> gboolean;
10008 pub fn gst_preset_set_meta(
10009 preset: *mut GstPreset,
10010 name: *const c_char,
10011 tag: *const c_char,
10012 value: *const c_char,
10013 ) -> gboolean;
10014
10015 pub fn gst_tag_setter_get_type() -> GType;
10019 pub fn gst_tag_setter_add_tag_value(
10022 setter: *mut GstTagSetter,
10023 mode: GstTagMergeMode,
10024 tag: *const c_char,
10025 value: *const gobject::GValue,
10026 );
10027 pub fn gst_tag_setter_add_tag_values(
10028 setter: *mut GstTagSetter,
10029 mode: GstTagMergeMode,
10030 tag: *const c_char,
10031 ...
10032 );
10033 pub fn gst_tag_setter_add_tags(
10034 setter: *mut GstTagSetter,
10035 mode: GstTagMergeMode,
10036 tag: *const c_char,
10037 ...
10038 );
10039 pub fn gst_tag_setter_get_tag_list(setter: *mut GstTagSetter) -> *const GstTagList;
10040 pub fn gst_tag_setter_get_tag_merge_mode(setter: *mut GstTagSetter) -> GstTagMergeMode;
10041 pub fn gst_tag_setter_merge_tags(
10042 setter: *mut GstTagSetter,
10043 list: *const GstTagList,
10044 mode: GstTagMergeMode,
10045 );
10046 pub fn gst_tag_setter_reset_tags(setter: *mut GstTagSetter);
10047 pub fn gst_tag_setter_set_tag_merge_mode(setter: *mut GstTagSetter, mode: GstTagMergeMode);
10048
10049 pub fn gst_toc_setter_get_type() -> GType;
10053 pub fn gst_toc_setter_get_toc(setter: *mut GstTocSetter) -> *mut GstToc;
10054 pub fn gst_toc_setter_reset(setter: *mut GstTocSetter);
10055 pub fn gst_toc_setter_set_toc(setter: *mut GstTocSetter, toc: *mut GstToc);
10056
10057 pub fn gst_uri_handler_get_type() -> GType;
10061 pub fn gst_uri_handler_get_protocols(handler: *mut GstURIHandler) -> *const *const c_char;
10062 pub fn gst_uri_handler_get_uri(handler: *mut GstURIHandler) -> *mut c_char;
10063 pub fn gst_uri_handler_get_uri_type(handler: *mut GstURIHandler) -> GstURIType;
10064 pub fn gst_uri_handler_set_uri(
10065 handler: *mut GstURIHandler,
10066 uri: *const c_char,
10067 error: *mut *mut glib::GError,
10068 ) -> gboolean;
10069
10070 pub fn gst_calculate_linear_regression(
10074 xy: *const GstClockTime,
10075 temp: *mut GstClockTime,
10076 n: c_uint,
10077 m_num: *mut GstClockTime,
10078 m_denom: *mut GstClockTime,
10079 b: *mut GstClockTime,
10080 xbase: *mut GstClockTime,
10081 r_squared: *mut c_double,
10082 ) -> gboolean;
10083 #[cfg(feature = "v1_28")]
10084 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10085 pub fn gst_call_async(func: GstCallAsyncFunc, user_data: gpointer);
10086 #[cfg(feature = "v1_28")]
10087 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10088 pub fn gst_check_version(major: c_uint, minor: c_uint, micro: c_uint) -> gboolean;
10089 #[cfg(feature = "v1_18_3")]
10090 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10091 pub fn gst_clear_buffer(buf_ptr: *mut *mut GstBuffer);
10092 #[cfg(feature = "v1_18_3")]
10093 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10094 pub fn gst_clear_buffer_list(list_ptr: *mut *mut GstBufferList);
10095 #[cfg(feature = "v1_18_3")]
10096 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10097 pub fn gst_clear_caps(caps_ptr: *mut *mut GstCaps);
10098 #[cfg(feature = "v1_24")]
10099 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10100 pub fn gst_clear_context(context_ptr: *mut *mut GstContext);
10101 #[cfg(feature = "v1_18_3")]
10102 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10103 pub fn gst_clear_event(event_ptr: *mut *mut GstEvent);
10104 #[cfg(feature = "v1_18_3")]
10105 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10106 pub fn gst_clear_message(msg_ptr: *mut *mut GstMessage);
10107 #[cfg(feature = "v1_16")]
10108 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
10109 pub fn gst_clear_mini_object(object_ptr: *mut *mut GstMiniObject);
10110 #[cfg(feature = "v1_16")]
10111 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
10112 pub fn gst_clear_object(object_ptr: *mut *mut GstObject);
10113 #[cfg(feature = "v1_24")]
10114 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10115 pub fn gst_clear_promise(promise_ptr: *mut *mut GstPromise);
10116 #[cfg(feature = "v1_18_3")]
10117 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10118 pub fn gst_clear_query(query_ptr: *mut *mut GstQuery);
10119 #[cfg(feature = "v1_24")]
10120 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10121 pub fn gst_clear_sample(sample_ptr: *mut *mut GstSample);
10122 #[cfg(feature = "v1_16")]
10123 #[cfg_attr(docsrs, doc(cfg(feature = "v1_16")))]
10124 pub fn gst_clear_structure(structure_ptr: *mut *mut GstStructure);
10125 #[cfg(feature = "v1_18_3")]
10126 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10127 pub fn gst_clear_tag_list(taglist_ptr: *mut *mut GstTagList);
10128 #[cfg(feature = "v1_18_3")]
10129 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18_3")))]
10130 pub fn gst_clear_uri(uri_ptr: *mut *mut GstUri);
10131 #[cfg(feature = "v1_28")]
10132 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10133 pub fn gst_cpuid_supports_arm_neon() -> gboolean;
10134 #[cfg(feature = "v1_28")]
10135 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10136 pub fn gst_cpuid_supports_arm_neon64() -> gboolean;
10137 #[cfg(feature = "v1_30")]
10138 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10139 pub fn gst_cpuid_supports_riscv_v() -> gboolean;
10140 #[cfg(feature = "v1_28")]
10141 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10142 pub fn gst_cpuid_supports_x86_3dnow() -> gboolean;
10143 #[cfg(feature = "v1_28")]
10144 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10145 pub fn gst_cpuid_supports_x86_avx() -> gboolean;
10146 #[cfg(feature = "v1_28")]
10147 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10148 pub fn gst_cpuid_supports_x86_avx2() -> gboolean;
10149 #[cfg(feature = "v1_28")]
10150 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10151 pub fn gst_cpuid_supports_x86_mmx() -> gboolean;
10152 #[cfg(feature = "v1_28")]
10153 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10154 pub fn gst_cpuid_supports_x86_mmxext() -> gboolean;
10155 #[cfg(feature = "v1_28")]
10156 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10157 pub fn gst_cpuid_supports_x86_sse2() -> gboolean;
10158 #[cfg(feature = "v1_28")]
10159 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10160 pub fn gst_cpuid_supports_x86_sse3() -> gboolean;
10161 #[cfg(feature = "v1_28")]
10162 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10163 pub fn gst_cpuid_supports_x86_sse4_1() -> gboolean;
10164 #[cfg(feature = "v1_28")]
10165 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10166 pub fn gst_cpuid_supports_x86_sse4_2() -> gboolean;
10167 #[cfg(feature = "v1_28")]
10168 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10169 pub fn gst_cpuid_supports_x86_ssse3() -> gboolean;
10170 pub fn gst_debug_add_log_function(
10171 func: GstLogFunction,
10172 user_data: gpointer,
10173 notify: glib::GDestroyNotify,
10174 );
10175 pub fn gst_debug_add_ring_buffer_logger(max_size_per_thread: c_uint, thread_timeout: c_uint);
10176 pub fn gst_debug_bin_to_dot_data(
10177 bin: *mut GstBin,
10178 details: GstDebugGraphDetails,
10179 ) -> *mut c_char;
10180 pub fn gst_debug_bin_to_dot_file(
10181 bin: *mut GstBin,
10182 details: GstDebugGraphDetails,
10183 file_name: *const c_char,
10184 );
10185 pub fn gst_debug_bin_to_dot_file_with_ts(
10186 bin: *mut GstBin,
10187 details: GstDebugGraphDetails,
10188 file_name: *const c_char,
10189 );
10190 pub fn gst_debug_construct_term_color(colorinfo: c_uint) -> *mut c_char;
10191 pub fn gst_debug_construct_win_color(colorinfo: c_uint) -> c_int;
10192 pub fn gst_debug_get_all_categories() -> *mut glib::GSList;
10193 pub fn gst_debug_get_color_mode() -> GstDebugColorMode;
10194 pub fn gst_debug_get_default_threshold() -> GstDebugLevel;
10195 pub fn gst_debug_get_stack_trace(flags: GstStackTraceFlags) -> *mut c_char;
10196 pub fn gst_debug_is_active() -> gboolean;
10197 pub fn gst_debug_is_colored() -> gboolean;
10198 pub fn gst_debug_log(
10199 category: *mut GstDebugCategory,
10200 level: GstDebugLevel,
10201 file: *const c_char,
10202 function: *const c_char,
10203 line: c_int,
10204 object: *mut gobject::GObject,
10205 format: *const c_char,
10206 ...
10207 );
10208 pub fn gst_debug_log_default(
10209 category: *mut GstDebugCategory,
10210 level: GstDebugLevel,
10211 file: *const c_char,
10212 function: *const c_char,
10213 line: c_int,
10214 object: *mut gobject::GObject,
10215 message: *mut GstDebugMessage,
10216 user_data: gpointer,
10217 );
10218 #[cfg(feature = "v1_18")]
10219 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10220 pub fn gst_debug_log_get_line(
10221 category: *mut GstDebugCategory,
10222 level: GstDebugLevel,
10223 file: *const c_char,
10224 function: *const c_char,
10225 line: c_int,
10226 object: *mut gobject::GObject,
10227 message: *mut GstDebugMessage,
10228 ) -> *mut c_char;
10229 #[cfg(feature = "v1_22")]
10230 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
10231 pub fn gst_debug_log_id(
10232 category: *mut GstDebugCategory,
10233 level: GstDebugLevel,
10234 file: *const c_char,
10235 function: *const c_char,
10236 line: c_int,
10237 id: *const c_char,
10238 format: *const c_char,
10239 ...
10240 );
10241 #[cfg(feature = "v1_22")]
10242 #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
10243 pub fn gst_debug_log_id_literal(
10244 category: *mut GstDebugCategory,
10245 level: GstDebugLevel,
10246 file: *const c_char,
10247 function: *const c_char,
10248 line: c_int,
10249 id: *const c_char,
10250 message_string: *const c_char,
10251 );
10252 #[cfg(feature = "v1_28")]
10253 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10254 pub fn gst_debug_log_id_literal_with_context(
10255 ctx: *mut GstLogContext,
10256 level: GstDebugLevel,
10257 file: *const c_char,
10258 function: *const c_char,
10259 line: c_int,
10260 id: *const c_char,
10261 message: *const c_char,
10262 );
10263 #[cfg(feature = "v1_28")]
10267 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10268 pub fn gst_debug_log_id_with_context(
10269 ctx: *mut GstLogContext,
10270 level: GstDebugLevel,
10271 file: *const c_char,
10272 function: *const c_char,
10273 line: c_int,
10274 id: *const c_char,
10275 format: *const c_char,
10276 ...
10277 );
10278 #[cfg(feature = "v1_20")]
10282 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
10283 pub fn gst_debug_log_literal(
10284 category: *mut GstDebugCategory,
10285 level: GstDebugLevel,
10286 file: *const c_char,
10287 function: *const c_char,
10288 line: c_int,
10289 object: *mut gobject::GObject,
10290 message_string: *const c_char,
10291 );
10292 #[cfg(feature = "v1_28")]
10293 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10294 pub fn gst_debug_log_literal_with_context(
10295 ctx: *mut GstLogContext,
10296 level: GstDebugLevel,
10297 file: *const c_char,
10298 function: *const c_char,
10299 line: c_int,
10300 object: *mut gobject::GObject,
10301 message: *const c_char,
10302 );
10303 #[cfg(feature = "v1_28")]
10305 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10306 pub fn gst_debug_log_with_context(
10307 ctx: *mut GstLogContext,
10308 level: GstDebugLevel,
10309 file: *const c_char,
10310 function: *const c_char,
10311 line: c_int,
10312 object: *mut gobject::GObject,
10313 format: *const c_char,
10314 ...
10315 );
10316 #[cfg(feature = "v1_26")]
10320 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10321 pub fn gst_debug_print_object(ptr: gconstpointer) -> *mut c_char;
10322 #[cfg(feature = "v1_26")]
10323 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10324 pub fn gst_debug_print_segment(segment: *const GstSegment) -> *mut c_char;
10325 pub fn gst_debug_print_stack_trace();
10326 pub fn gst_debug_remove_log_function(func: GstLogFunction) -> c_uint;
10327 pub fn gst_debug_remove_log_function_by_data(data: gpointer) -> c_uint;
10328 pub fn gst_debug_remove_ring_buffer_logger();
10329 pub fn gst_debug_ring_buffer_logger_get_logs() -> *mut *mut c_char;
10330 pub fn gst_debug_set_active(active: gboolean);
10331 pub fn gst_debug_set_color_mode(mode: GstDebugColorMode);
10332 pub fn gst_debug_set_color_mode_from_string(mode: *const c_char);
10333 pub fn gst_debug_set_colored(colored: gboolean);
10334 pub fn gst_debug_set_default_threshold(level: GstDebugLevel);
10335 pub fn gst_debug_set_threshold_for_name(name: *const c_char, level: GstDebugLevel);
10336 pub fn gst_debug_set_threshold_from_string(list: *const c_char, reset: gboolean);
10337 pub fn gst_debug_unset_threshold_for_name(name: *const c_char);
10338 pub fn gst_deinit();
10339 pub fn gst_dynamic_type_register(plugin: *mut GstPlugin, type_: GType) -> gboolean;
10340 pub fn gst_error_get_message(domain: glib::GQuark, code: c_int) -> *mut c_char;
10341 pub fn gst_filename_to_uri(
10342 filename: *const c_char,
10343 error: *mut *mut glib::GError,
10344 ) -> *mut c_char;
10345 pub fn gst_flow_get_name(ret: GstFlowReturn) -> *const c_char;
10346 pub fn gst_flow_to_quark(ret: GstFlowReturn) -> glib::GQuark;
10347 pub fn gst_formats_contains(formats: *const GstFormat, format: GstFormat) -> gboolean;
10348 pub fn gst_get_main_executable_path() -> *const c_char;
10349 pub fn gst_info_strdup_printf(format: *const c_char, ...) -> *mut c_char;
10350 pub fn gst_init(argc: *mut c_int, argv: *mut *mut *mut c_char);
10353 pub fn gst_init_check(
10354 argc: *mut c_int,
10355 argv: *mut *mut *mut c_char,
10356 error: *mut *mut glib::GError,
10357 ) -> gboolean;
10358 pub fn gst_init_get_option_group() -> *mut glib::GOptionGroup;
10359 pub fn gst_is_caps_features(obj: gconstpointer) -> gboolean;
10360 pub fn gst_is_initialized() -> gboolean;
10361 pub fn gst_make_element_message_details(name: *const c_char, ...) -> *mut GstStructure;
10362 pub fn gst_param_spec_array(
10363 name: *const c_char,
10364 nick: *const c_char,
10365 blurb: *const c_char,
10366 element_spec: *mut gobject::GParamSpec,
10367 flags: gobject::GParamFlags,
10368 ) -> *mut gobject::GParamSpec;
10369 pub fn gst_param_spec_fraction(
10370 name: *const c_char,
10371 nick: *const c_char,
10372 blurb: *const c_char,
10373 min_num: c_int,
10374 min_denom: c_int,
10375 max_num: c_int,
10376 max_denom: c_int,
10377 default_num: c_int,
10378 default_denom: c_int,
10379 flags: gobject::GParamFlags,
10380 ) -> *mut gobject::GParamSpec;
10381 #[cfg(feature = "v1_30")]
10382 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10383 pub fn gst_param_spec_get_kind(pspec: *mut gobject::GParamSpec) -> *const GstStructure;
10384 #[cfg(feature = "v1_30")]
10385 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10386 pub fn gst_param_spec_set_kind(pspec: *mut gobject::GParamSpec, kind: *mut GstStructure);
10387 pub fn gst_parent_buffer_meta_api_get_type() -> GType;
10388 pub fn gst_parse_bin_from_description(
10389 bin_description: *const c_char,
10390 ghost_unlinked_pads: gboolean,
10391 error: *mut *mut glib::GError,
10392 ) -> *mut GstBin;
10393 pub fn gst_parse_bin_from_description_full(
10394 bin_description: *const c_char,
10395 ghost_unlinked_pads: gboolean,
10396 context: *mut GstParseContext,
10397 flags: GstParseFlags,
10398 error: *mut *mut glib::GError,
10399 ) -> *mut GstElement;
10400 pub fn gst_parse_launch(
10401 pipeline_description: *const c_char,
10402 error: *mut *mut glib::GError,
10403 ) -> *mut GstElement;
10404 pub fn gst_parse_launch_full(
10405 pipeline_description: *const c_char,
10406 context: *mut GstParseContext,
10407 flags: GstParseFlags,
10408 error: *mut *mut glib::GError,
10409 ) -> *mut GstElement;
10410 pub fn gst_parse_launchv(
10411 argv: *mut *const c_char,
10412 error: *mut *mut glib::GError,
10413 ) -> *mut GstElement;
10414 pub fn gst_parse_launchv_full(
10415 argv: *mut *const c_char,
10416 context: *mut GstParseContext,
10417 flags: GstParseFlags,
10418 error: *mut *mut glib::GError,
10419 ) -> *mut GstElement;
10420 #[cfg(feature = "v1_30")]
10421 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10422 pub fn gst_parse_untrusted_report(
10423 report: *const GstStructure,
10424 elements: *mut *mut *mut c_char,
10425 properties: *mut *mut GstStructure,
10426 unresolved_properties: *mut *mut GstStructure,
10427 ) -> gboolean;
10428 pub fn gst_print(format: *const c_char, ...);
10429 pub fn gst_printerr(format: *const c_char, ...);
10430 pub fn gst_printerrln(format: *const c_char, ...);
10431 pub fn gst_println(format: *const c_char, ...);
10432 pub fn gst_protection_filter_systems_by_available_decryptors(
10433 system_identifiers: *mut *const c_char,
10434 ) -> *mut *mut c_char;
10435 pub fn gst_protection_meta_api_get_type() -> GType;
10436 pub fn gst_protection_select_system(system_identifiers: *mut *const c_char) -> *const c_char;
10437 pub fn gst_reference_timestamp_meta_api_get_type() -> GType;
10438 pub fn gst_segtrap_is_enabled() -> gboolean;
10439 pub fn gst_segtrap_set_enabled(enabled: gboolean);
10440 pub fn gst_tag_exists(tag: *const c_char) -> gboolean;
10441 pub fn gst_tag_get_description(tag: *const c_char) -> *const c_char;
10442 pub fn gst_tag_get_flag(tag: *const c_char) -> GstTagFlag;
10443 pub fn gst_tag_get_nick(tag: *const c_char) -> *const c_char;
10444 pub fn gst_tag_get_type(tag: *const c_char) -> GType;
10445 pub fn gst_tag_is_fixed(tag: *const c_char) -> gboolean;
10446 pub fn gst_tag_merge_strings_with_comma(
10447 dest: *mut gobject::GValue,
10448 src: *const gobject::GValue,
10449 );
10450 pub fn gst_tag_merge_use_first(dest: *mut gobject::GValue, src: *const gobject::GValue);
10451 pub fn gst_tag_register(
10452 name: *const c_char,
10453 flag: GstTagFlag,
10454 type_: GType,
10455 nick: *const c_char,
10456 blurb: *const c_char,
10457 func: GstTagMergeFunc,
10458 );
10459 pub fn gst_tag_register_static(
10460 name: *const c_char,
10461 flag: GstTagFlag,
10462 type_: GType,
10463 nick: *const c_char,
10464 blurb: *const c_char,
10465 func: GstTagMergeFunc,
10466 );
10467 #[cfg(feature = "v1_30")]
10468 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10469 pub fn gst_trace_event(format: *mut GstTraceFormat, values: *const GstTraceValue);
10470 #[cfg(feature = "v1_30")]
10471 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10472 pub fn gst_trace_span_begin(
10473 format: *mut GstTraceFormat,
10474 values: *const GstTraceValue,
10475 ) -> GstTraceSpanId;
10476 #[cfg(feature = "v1_30")]
10477 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10478 pub fn gst_trace_span_end(span_id: GstTraceSpanId);
10479 #[cfg(feature = "v1_30")]
10480 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10481 pub fn gst_trace_span_end_and_clear(span_id: *mut GstTraceSpanId);
10482 #[cfg(feature = "v1_18")]
10483 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10484 pub fn gst_tracing_get_active_tracers() -> *mut glib::GList;
10485 pub fn gst_tracing_register_hook(
10486 tracer: *mut GstTracer,
10487 detail: *const c_char,
10488 func: gobject::GCallback,
10489 );
10490 #[cfg(feature = "v1_18")]
10491 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10492 pub fn gst_type_is_plugin_api(type_: GType, flags: *mut GstPluginAPIFlags) -> gboolean;
10493 #[cfg(feature = "v1_18")]
10494 #[cfg_attr(docsrs, doc(cfg(feature = "v1_18")))]
10495 pub fn gst_type_mark_as_plugin_api(type_: GType, flags: GstPluginAPIFlags);
10496 pub fn gst_update_registry() -> gboolean;
10497 pub fn gst_util_array_binary_search(
10498 array: gpointer,
10499 num_elements: c_uint,
10500 element_size: size_t,
10501 search_func: glib::GCompareDataFunc,
10502 mode: GstSearchMode,
10503 search_data: gconstpointer,
10504 user_data: gpointer,
10505 ) -> gpointer;
10506 #[cfg(feature = "v1_24")]
10507 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10508 pub fn gst_util_ceil_log2(v: u32) -> c_uint;
10509 pub fn gst_util_double_to_fraction(src: c_double, dest_n: *mut c_int, dest_d: *mut c_int);
10510 pub fn gst_util_dump_buffer(buf: *mut GstBuffer);
10511 pub fn gst_util_dump_mem(mem: *const u8, size: c_uint);
10512 #[cfg(feature = "v1_24")]
10513 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10514 pub fn gst_util_filename_compare(a: *const c_char, b: *const c_char) -> c_int;
10515 #[cfg(feature = "v1_26")]
10516 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10517 pub fn gst_util_floor_log2(v: u32) -> c_uint;
10518 pub fn gst_util_fraction_add(
10519 a_n: c_int,
10520 a_d: c_int,
10521 b_n: c_int,
10522 b_d: c_int,
10523 res_n: *mut c_int,
10524 res_d: *mut c_int,
10525 ) -> gboolean;
10526 pub fn gst_util_fraction_compare(a_n: c_int, a_d: c_int, b_n: c_int, b_d: c_int) -> c_int;
10527 pub fn gst_util_fraction_multiply(
10528 a_n: c_int,
10529 a_d: c_int,
10530 b_n: c_int,
10531 b_d: c_int,
10532 res_n: *mut c_int,
10533 res_d: *mut c_int,
10534 ) -> gboolean;
10535 #[cfg(feature = "v1_26")]
10536 #[cfg_attr(docsrs, doc(cfg(feature = "v1_26")))]
10537 pub fn gst_util_fraction_multiply_int64(
10538 a_n: i64,
10539 a_d: i64,
10540 b_n: i64,
10541 b_d: i64,
10542 res_n: *mut i64,
10543 res_d: *mut i64,
10544 ) -> gboolean;
10545 pub fn gst_util_fraction_to_double(src_n: c_int, src_d: c_int, dest: *mut c_double);
10546 pub fn gst_util_gdouble_to_guint64(value: c_double) -> u64;
10547 pub fn gst_util_get_object_array(
10548 object: *mut gobject::GObject,
10549 name: *const c_char,
10550 array: *mut *mut gobject::GValueArray,
10551 ) -> gboolean;
10552 pub fn gst_util_get_timestamp() -> GstClockTime;
10553 pub fn gst_util_greatest_common_divisor(a: c_int, b: c_int) -> c_int;
10554 pub fn gst_util_greatest_common_divisor_int64(a: i64, b: i64) -> i64;
10555 pub fn gst_util_group_id_next() -> c_uint;
10556 pub fn gst_util_guint64_to_gdouble(value: u64) -> c_double;
10557 pub fn gst_util_seqnum_compare(s1: u32, s2: u32) -> i32;
10558 pub fn gst_util_seqnum_next() -> u32;
10559 pub fn gst_util_set_object_arg(
10560 object: *mut gobject::GObject,
10561 name: *const c_char,
10562 value: *const c_char,
10563 );
10564 pub fn gst_util_set_object_array(
10565 object: *mut gobject::GObject,
10566 name: *const c_char,
10567 array: *const gobject::GValueArray,
10568 ) -> gboolean;
10569 pub fn gst_util_set_value_from_string(value: *mut gobject::GValue, value_str: *const c_char);
10570 #[cfg(feature = "v1_24")]
10571 #[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
10572 pub fn gst_util_simplify_fraction(
10573 numerator: *mut c_int,
10574 denominator: *mut c_int,
10575 n_terms: c_uint,
10576 threshold: c_uint,
10577 );
10578 pub fn gst_util_uint64_scale(val: u64, num: u64, denom: u64) -> u64;
10579 pub fn gst_util_uint64_scale_ceil(val: u64, num: u64, denom: u64) -> u64;
10580 pub fn gst_util_uint64_scale_int(val: u64, num: c_int, denom: c_int) -> u64;
10581 pub fn gst_util_uint64_scale_int_ceil(val: u64, num: c_int, denom: c_int) -> u64;
10582 pub fn gst_util_uint64_scale_int_round(val: u64, num: c_int, denom: c_int) -> u64;
10583 pub fn gst_util_uint64_scale_round(val: u64, num: u64, denom: u64) -> u64;
10584 pub fn gst_value_can_compare(
10585 value1: *const gobject::GValue,
10586 value2: *const gobject::GValue,
10587 ) -> gboolean;
10588 pub fn gst_value_can_intersect(
10589 value1: *const gobject::GValue,
10590 value2: *const gobject::GValue,
10591 ) -> gboolean;
10592 pub fn gst_value_can_subtract(
10593 minuend: *const gobject::GValue,
10594 subtrahend: *const gobject::GValue,
10595 ) -> gboolean;
10596 pub fn gst_value_can_union(
10597 value1: *const gobject::GValue,
10598 value2: *const gobject::GValue,
10599 ) -> gboolean;
10600 pub fn gst_value_compare(
10601 value1: *const gobject::GValue,
10602 value2: *const gobject::GValue,
10603 ) -> c_int;
10604 pub fn gst_value_deserialize(dest: *mut gobject::GValue, src: *const c_char) -> gboolean;
10605 #[cfg(feature = "v1_20")]
10606 #[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
10607 pub fn gst_value_deserialize_with_pspec(
10608 dest: *mut gobject::GValue,
10609 src: *const c_char,
10610 pspec: *mut gobject::GParamSpec,
10611 ) -> gboolean;
10612 pub fn gst_value_fixate(dest: *mut gobject::GValue, src: *const gobject::GValue) -> gboolean;
10613 pub fn gst_value_fraction_multiply(
10614 product: *mut gobject::GValue,
10615 factor1: *const gobject::GValue,
10616 factor2: *const gobject::GValue,
10617 ) -> gboolean;
10618 pub fn gst_value_fraction_subtract(
10619 dest: *mut gobject::GValue,
10620 minuend: *const gobject::GValue,
10621 subtrahend: *const gobject::GValue,
10622 ) -> gboolean;
10623 pub fn gst_value_get_bitmask(value: *const gobject::GValue) -> u64;
10624 pub fn gst_value_get_caps(value: *const gobject::GValue) -> *const GstCaps;
10625 pub fn gst_value_get_caps_features(value: *const gobject::GValue) -> *const GstCapsFeatures;
10626 pub fn gst_value_get_double_range_max(value: *const gobject::GValue) -> c_double;
10627 pub fn gst_value_get_double_range_min(value: *const gobject::GValue) -> c_double;
10628 pub fn gst_value_get_flagset_flags(value: *const gobject::GValue) -> c_uint;
10629 pub fn gst_value_get_flagset_mask(value: *const gobject::GValue) -> c_uint;
10630 pub fn gst_value_get_fraction_denominator(value: *const gobject::GValue) -> c_int;
10631 pub fn gst_value_get_fraction_numerator(value: *const gobject::GValue) -> c_int;
10632 pub fn gst_value_get_fraction_range_max(
10633 value: *const gobject::GValue,
10634 ) -> *const gobject::GValue;
10635 pub fn gst_value_get_fraction_range_min(
10636 value: *const gobject::GValue,
10637 ) -> *const gobject::GValue;
10638 pub fn gst_value_get_int64_range_max(value: *const gobject::GValue) -> i64;
10639 pub fn gst_value_get_int64_range_min(value: *const gobject::GValue) -> i64;
10640 pub fn gst_value_get_int64_range_step(value: *const gobject::GValue) -> i64;
10641 pub fn gst_value_get_int_range_max(value: *const gobject::GValue) -> c_int;
10642 pub fn gst_value_get_int_range_min(value: *const gobject::GValue) -> c_int;
10643 pub fn gst_value_get_int_range_step(value: *const gobject::GValue) -> c_int;
10644 pub fn gst_value_get_structure(value: *const gobject::GValue) -> *const GstStructure;
10645 #[cfg(feature = "v1_28")]
10646 #[cfg_attr(docsrs, doc(cfg(feature = "v1_28")))]
10647 pub fn gst_value_hash(value: *const gobject::GValue, res: *mut c_uint) -> gboolean;
10648 pub fn gst_value_init_and_copy(dest: *mut gobject::GValue, src: *const gobject::GValue);
10649 pub fn gst_value_intersect(
10650 dest: *mut gobject::GValue,
10651 value1: *const gobject::GValue,
10652 value2: *const gobject::GValue,
10653 ) -> gboolean;
10654 pub fn gst_value_is_fixed(value: *const gobject::GValue) -> gboolean;
10655 pub fn gst_value_is_subset(
10656 value1: *const gobject::GValue,
10657 value2: *const gobject::GValue,
10658 ) -> gboolean;
10659 pub fn gst_value_register(table: *const GstValueTable);
10660 pub fn gst_value_serialize(value: *const gobject::GValue) -> *mut c_char;
10661 pub fn gst_value_set_bitmask(value: *mut gobject::GValue, bitmask: u64);
10662 pub fn gst_value_set_caps(value: *mut gobject::GValue, caps: *const GstCaps);
10663 pub fn gst_value_set_caps_features(
10664 value: *mut gobject::GValue,
10665 features: *const GstCapsFeatures,
10666 );
10667 pub fn gst_value_set_double_range(value: *mut gobject::GValue, start: c_double, end: c_double);
10668 pub fn gst_value_set_flagset(value: *mut gobject::GValue, flags: c_uint, mask: c_uint);
10669 pub fn gst_value_set_fraction(
10670 value: *mut gobject::GValue,
10671 numerator: c_int,
10672 denominator: c_int,
10673 );
10674 pub fn gst_value_set_fraction_range(
10675 value: *mut gobject::GValue,
10676 start: *const gobject::GValue,
10677 end: *const gobject::GValue,
10678 );
10679 pub fn gst_value_set_fraction_range_full(
10680 value: *mut gobject::GValue,
10681 numerator_start: c_int,
10682 denominator_start: c_int,
10683 numerator_end: c_int,
10684 denominator_end: c_int,
10685 );
10686 pub fn gst_value_set_int64_range(value: *mut gobject::GValue, start: i64, end: i64);
10687 pub fn gst_value_set_int64_range_step(
10688 value: *mut gobject::GValue,
10689 start: i64,
10690 end: i64,
10691 step: i64,
10692 );
10693 pub fn gst_value_set_int_range(value: *mut gobject::GValue, start: c_int, end: c_int);
10694 pub fn gst_value_set_int_range_step(
10695 value: *mut gobject::GValue,
10696 start: c_int,
10697 end: c_int,
10698 step: c_int,
10699 );
10700 pub fn gst_value_set_structure(value: *mut gobject::GValue, structure: *const GstStructure);
10701 pub fn gst_value_subtract(
10702 dest: *mut gobject::GValue,
10703 minuend: *const gobject::GValue,
10704 subtrahend: *const gobject::GValue,
10705 ) -> gboolean;
10706 #[cfg(feature = "v1_30")]
10707 #[cfg_attr(docsrs, doc(cfg(feature = "v1_30")))]
10708 pub fn gst_value_take_structure(value: *mut gobject::GValue, structure: *mut GstStructure);
10709 pub fn gst_value_union(
10710 dest: *mut gobject::GValue,
10711 value1: *const gobject::GValue,
10712 value2: *const gobject::GValue,
10713 ) -> gboolean;
10714 pub fn gst_version(
10715 major: *mut c_uint,
10716 minor: *mut c_uint,
10717 micro: *mut c_uint,
10718 nano: *mut c_uint,
10719 );
10720 pub fn gst_version_string() -> *mut c_char;
10721
10722}