1 // This file was generated by gir (https://github.com/gtk-rs/gir @ d1e88f9) 2 // from gir-files (https://github.com/gtk-rs/gir-files @ 63dd366) 3 // DO NOT EDIT 4 5 #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] 6 #![allow( 7 clippy::approx_constant, 8 clippy::type_complexity, 9 clippy::unreadable_literal 10 )] 11 12 extern crate glib_sys as glib; 13 extern crate gobject_sys as gobject; 14 extern crate gstreamer_audio_sys as gst_audio; 15 extern crate gstreamer_sys as gst; 16 extern crate gstreamer_video_sys as gst_video; 17 extern crate libc; 18 19 #[allow(unused_imports)] 20 use libc::{ 21 c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, 22 intptr_t, size_t, ssize_t, time_t, uintptr_t, FILE, 23 }; 24 25 #[allow(unused_imports)] 26 use glib::{gboolean, gconstpointer, gpointer, GType}; 27 28 // Aliases 29 pub type GstDiscovererAudioInfoClass = gobject::GObjectClass; 30 pub type GstDiscovererContainerInfoClass = gobject::GObjectClass; 31 pub type GstDiscovererInfoClass = gobject::GObjectClass; 32 pub type GstDiscovererStreamInfoClass = gobject::GObjectClass; 33 pub type GstDiscovererSubtitleInfoClass = gobject::GObjectClass; 34 pub type GstDiscovererVideoInfoClass = gobject::GObjectClass; 35 pub type GstEncodingTargetClass = gobject::GObjectClass; 36 37 // Enums 38 pub type GstAudioVisualizerShader = c_int; 39 pub const GST_AUDIO_VISUALIZER_SHADER_NONE: GstAudioVisualizerShader = 0; 40 pub const GST_AUDIO_VISUALIZER_SHADER_FADE: GstAudioVisualizerShader = 1; 41 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_UP: GstAudioVisualizerShader = 2; 42 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_DOWN: GstAudioVisualizerShader = 3; 43 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_LEFT: GstAudioVisualizerShader = 4; 44 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_RIGHT: GstAudioVisualizerShader = 5; 45 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_OUT: GstAudioVisualizerShader = 6; 46 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN: GstAudioVisualizerShader = 7; 47 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_OUT: GstAudioVisualizerShader = 8; 48 pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_IN: GstAudioVisualizerShader = 9; 49 50 pub type GstDiscovererResult = c_int; 51 pub const GST_DISCOVERER_OK: GstDiscovererResult = 0; 52 pub const GST_DISCOVERER_URI_INVALID: GstDiscovererResult = 1; 53 pub const GST_DISCOVERER_ERROR: GstDiscovererResult = 2; 54 pub const GST_DISCOVERER_TIMEOUT: GstDiscovererResult = 3; 55 pub const GST_DISCOVERER_BUSY: GstDiscovererResult = 4; 56 pub const GST_DISCOVERER_MISSING_PLUGINS: GstDiscovererResult = 5; 57 58 pub type GstInstallPluginsReturn = c_int; 59 pub const GST_INSTALL_PLUGINS_SUCCESS: GstInstallPluginsReturn = 0; 60 pub const GST_INSTALL_PLUGINS_NOT_FOUND: GstInstallPluginsReturn = 1; 61 pub const GST_INSTALL_PLUGINS_ERROR: GstInstallPluginsReturn = 2; 62 pub const GST_INSTALL_PLUGINS_PARTIAL_SUCCESS: GstInstallPluginsReturn = 3; 63 pub const GST_INSTALL_PLUGINS_USER_ABORT: GstInstallPluginsReturn = 4; 64 pub const GST_INSTALL_PLUGINS_CRASHED: GstInstallPluginsReturn = 100; 65 pub const GST_INSTALL_PLUGINS_INVALID: GstInstallPluginsReturn = 101; 66 pub const GST_INSTALL_PLUGINS_STARTED_OK: GstInstallPluginsReturn = 200; 67 pub const GST_INSTALL_PLUGINS_INTERNAL_FAILURE: GstInstallPluginsReturn = 201; 68 pub const GST_INSTALL_PLUGINS_HELPER_MISSING: GstInstallPluginsReturn = 202; 69 pub const GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS: GstInstallPluginsReturn = 203; 70 71 // Constants 72 pub const GST_ENCODING_CATEGORY_CAPTURE: *const c_char = b"capture\0" as *const u8 as *const c_char; 73 pub const GST_ENCODING_CATEGORY_DEVICE: *const c_char = b"device\0" as *const u8 as *const c_char; 74 pub const GST_ENCODING_CATEGORY_FILE_EXTENSION: *const c_char = 75 b"file-extension\0" as *const u8 as *const c_char; 76 pub const GST_ENCODING_CATEGORY_ONLINE_SERVICE: *const c_char = 77 b"online-service\0" as *const u8 as *const c_char; 78 pub const GST_ENCODING_CATEGORY_STORAGE_EDITING: *const c_char = 79 b"storage-editing\0" as *const u8 as *const c_char; 80 81 // Flags 82 pub type GstDiscovererSerializeFlags = c_uint; 83 pub const GST_DISCOVERER_SERIALIZE_BASIC: GstDiscovererSerializeFlags = 0; 84 pub const GST_DISCOVERER_SERIALIZE_CAPS: GstDiscovererSerializeFlags = 1; 85 pub const GST_DISCOVERER_SERIALIZE_TAGS: GstDiscovererSerializeFlags = 2; 86 pub const GST_DISCOVERER_SERIALIZE_MISC: GstDiscovererSerializeFlags = 4; 87 pub const GST_DISCOVERER_SERIALIZE_ALL: GstDiscovererSerializeFlags = 7; 88 89 // Callbacks 90 pub type GstAudioVisualizerShaderFunc = Option< 91 unsafe extern "C" fn( 92 *mut GstAudioVisualizer, 93 *const gst_video::GstVideoFrame, 94 *mut gst_video::GstVideoFrame, 95 ), 96 >; 97 pub type GstInstallPluginsResultFunc = 98 Option<unsafe extern "C" fn(GstInstallPluginsReturn, gpointer)>; 99 100 // Records 101 #[repr(C)] 102 #[derive(Copy, Clone)] 103 pub struct GstAudioVisualizerClass { 104 pub parent_class: gst::GstElementClass, 105 pub setup: Option<unsafe extern "C" fn(*mut GstAudioVisualizer) -> gboolean>, 106 pub render: Option< 107 unsafe extern "C" fn( 108 *mut GstAudioVisualizer, 109 *mut gst::GstBuffer, 110 *mut gst_video::GstVideoFrame, 111 ) -> gboolean, 112 >, 113 pub decide_allocation: 114 Option<unsafe extern "C" fn(*mut GstAudioVisualizer, *mut gst::GstQuery) -> gboolean>, 115 } 116 117 impl ::std::fmt::Debug for GstAudioVisualizerClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result118 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 119 f.debug_struct(&format!("GstAudioVisualizerClass @ {:?}", self as *const _)) 120 .field("setup", &self.setup) 121 .field("render", &self.render) 122 .field("decide_allocation", &self.decide_allocation) 123 .finish() 124 } 125 } 126 127 #[repr(C)] 128 pub struct _GstAudioVisualizerPrivate(c_void); 129 130 pub type GstAudioVisualizerPrivate = *mut _GstAudioVisualizerPrivate; 131 132 #[repr(C)] 133 #[derive(Copy, Clone)] 134 pub struct GstDiscovererClass { 135 pub parentclass: gobject::GObjectClass, 136 pub finished: Option<unsafe extern "C" fn(*mut GstDiscoverer)>, 137 pub starting: Option<unsafe extern "C" fn(*mut GstDiscoverer)>, 138 pub discovered: Option< 139 unsafe extern "C" fn(*mut GstDiscoverer, *mut GstDiscovererInfo, *const glib::GError), 140 >, 141 pub source_setup: Option<unsafe extern "C" fn(*mut GstDiscoverer, *mut gst::GstElement)>, 142 pub _reserved: [gpointer; 4], 143 } 144 145 impl ::std::fmt::Debug for GstDiscovererClass { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result146 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 147 f.debug_struct(&format!("GstDiscovererClass @ {:?}", self as *const _)) 148 .field("parentclass", &self.parentclass) 149 .field("finished", &self.finished) 150 .field("starting", &self.starting) 151 .field("discovered", &self.discovered) 152 .field("source_setup", &self.source_setup) 153 .field("_reserved", &self._reserved) 154 .finish() 155 } 156 } 157 158 #[repr(C)] 159 pub struct _GstDiscovererPrivate(c_void); 160 161 pub type GstDiscovererPrivate = *mut _GstDiscovererPrivate; 162 163 #[repr(C)] 164 pub struct _GstEncodingAudioProfileClass(c_void); 165 166 pub type GstEncodingAudioProfileClass = *mut _GstEncodingAudioProfileClass; 167 168 #[repr(C)] 169 pub struct _GstEncodingContainerProfileClass(c_void); 170 171 pub type GstEncodingContainerProfileClass = *mut _GstEncodingContainerProfileClass; 172 173 #[repr(C)] 174 pub struct _GstEncodingProfileClass(c_void); 175 176 pub type GstEncodingProfileClass = *mut _GstEncodingProfileClass; 177 178 #[repr(C)] 179 pub struct _GstEncodingVideoProfileClass(c_void); 180 181 pub type GstEncodingVideoProfileClass = *mut _GstEncodingVideoProfileClass; 182 183 #[repr(C)] 184 pub struct GstInstallPluginsContext(c_void); 185 186 impl ::std::fmt::Debug for GstInstallPluginsContext { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result187 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 188 f.debug_struct(&format!( 189 "GstInstallPluginsContext @ {:?}", 190 self as *const _ 191 )) 192 .finish() 193 } 194 } 195 196 // Classes 197 #[repr(C)] 198 #[derive(Copy, Clone)] 199 pub struct GstAudioVisualizer { 200 pub parent: gst::GstElement, 201 pub req_spf: c_uint, 202 pub vinfo: gst_video::GstVideoInfo, 203 pub ainfo: gst_audio::GstAudioInfo, 204 pub priv_: *mut GstAudioVisualizerPrivate, 205 } 206 207 impl ::std::fmt::Debug for GstAudioVisualizer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result208 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 209 f.debug_struct(&format!("GstAudioVisualizer @ {:?}", self as *const _)) 210 .field("parent", &self.parent) 211 .field("req_spf", &self.req_spf) 212 .field("vinfo", &self.vinfo) 213 .field("ainfo", &self.ainfo) 214 .finish() 215 } 216 } 217 218 #[repr(C)] 219 #[derive(Copy, Clone)] 220 pub struct GstDiscoverer { 221 pub parent: gobject::GObject, 222 pub priv_: *mut GstDiscovererPrivate, 223 pub _reserved: [gpointer; 4], 224 } 225 226 impl ::std::fmt::Debug for GstDiscoverer { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result227 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 228 f.debug_struct(&format!("GstDiscoverer @ {:?}", self as *const _)) 229 .field("parent", &self.parent) 230 .finish() 231 } 232 } 233 234 #[repr(C)] 235 pub struct GstDiscovererAudioInfo(c_void); 236 237 impl ::std::fmt::Debug for GstDiscovererAudioInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result238 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 239 f.debug_struct(&format!("GstDiscovererAudioInfo @ {:?}", self as *const _)) 240 .finish() 241 } 242 } 243 244 #[repr(C)] 245 pub struct GstDiscovererContainerInfo(c_void); 246 247 impl ::std::fmt::Debug for GstDiscovererContainerInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result248 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 249 f.debug_struct(&format!( 250 "GstDiscovererContainerInfo @ {:?}", 251 self as *const _ 252 )) 253 .finish() 254 } 255 } 256 257 #[repr(C)] 258 pub struct GstDiscovererInfo(c_void); 259 260 impl ::std::fmt::Debug for GstDiscovererInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result261 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 262 f.debug_struct(&format!("GstDiscovererInfo @ {:?}", self as *const _)) 263 .finish() 264 } 265 } 266 267 #[repr(C)] 268 pub struct GstDiscovererStreamInfo(c_void); 269 270 impl ::std::fmt::Debug for GstDiscovererStreamInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result271 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 272 f.debug_struct(&format!("GstDiscovererStreamInfo @ {:?}", self as *const _)) 273 .finish() 274 } 275 } 276 277 #[repr(C)] 278 pub struct GstDiscovererSubtitleInfo(c_void); 279 280 impl ::std::fmt::Debug for GstDiscovererSubtitleInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result281 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 282 f.debug_struct(&format!( 283 "GstDiscovererSubtitleInfo @ {:?}", 284 self as *const _ 285 )) 286 .finish() 287 } 288 } 289 290 #[repr(C)] 291 pub struct GstDiscovererVideoInfo(c_void); 292 293 impl ::std::fmt::Debug for GstDiscovererVideoInfo { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result294 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 295 f.debug_struct(&format!("GstDiscovererVideoInfo @ {:?}", self as *const _)) 296 .finish() 297 } 298 } 299 300 #[repr(C)] 301 pub struct GstEncodingAudioProfile(c_void); 302 303 impl ::std::fmt::Debug for GstEncodingAudioProfile { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result304 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 305 f.debug_struct(&format!("GstEncodingAudioProfile @ {:?}", self as *const _)) 306 .finish() 307 } 308 } 309 310 #[repr(C)] 311 pub struct GstEncodingContainerProfile(c_void); 312 313 impl ::std::fmt::Debug for GstEncodingContainerProfile { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result314 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 315 f.debug_struct(&format!( 316 "GstEncodingContainerProfile @ {:?}", 317 self as *const _ 318 )) 319 .finish() 320 } 321 } 322 323 #[repr(C)] 324 pub struct GstEncodingProfile(c_void); 325 326 impl ::std::fmt::Debug for GstEncodingProfile { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result327 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 328 f.debug_struct(&format!("GstEncodingProfile @ {:?}", self as *const _)) 329 .finish() 330 } 331 } 332 333 #[repr(C)] 334 pub struct GstEncodingTarget(c_void); 335 336 impl ::std::fmt::Debug for GstEncodingTarget { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result337 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 338 f.debug_struct(&format!("GstEncodingTarget @ {:?}", self as *const _)) 339 .finish() 340 } 341 } 342 343 #[repr(C)] 344 pub struct GstEncodingVideoProfile(c_void); 345 346 impl ::std::fmt::Debug for GstEncodingVideoProfile { fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result347 fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { 348 f.debug_struct(&format!("GstEncodingVideoProfile @ {:?}", self as *const _)) 349 .finish() 350 } 351 } 352 353 extern "C" { 354 355 //========================================================================= 356 // GstAudioVisualizerShader 357 //========================================================================= gst_audio_visualizer_shader_get_type() -> GType358 pub fn gst_audio_visualizer_shader_get_type() -> GType; 359 360 //========================================================================= 361 // GstDiscovererResult 362 //========================================================================= gst_discoverer_result_get_type() -> GType363 pub fn gst_discoverer_result_get_type() -> GType; 364 365 //========================================================================= 366 // GstInstallPluginsReturn 367 //========================================================================= gst_install_plugins_return_get_type() -> GType368 pub fn gst_install_plugins_return_get_type() -> GType; gst_install_plugins_return_get_name(ret: GstInstallPluginsReturn) -> *const c_char369 pub fn gst_install_plugins_return_get_name(ret: GstInstallPluginsReturn) -> *const c_char; 370 371 //========================================================================= 372 // GstDiscovererSerializeFlags 373 //========================================================================= gst_discoverer_serialize_flags_get_type() -> GType374 pub fn gst_discoverer_serialize_flags_get_type() -> GType; 375 376 //========================================================================= 377 // GstInstallPluginsContext 378 //========================================================================= gst_install_plugins_context_get_type() -> GType379 pub fn gst_install_plugins_context_get_type() -> GType; gst_install_plugins_context_new() -> *mut GstInstallPluginsContext380 pub fn gst_install_plugins_context_new() -> *mut GstInstallPluginsContext; gst_install_plugins_context_copy( ctx: *mut GstInstallPluginsContext, ) -> *mut GstInstallPluginsContext381 pub fn gst_install_plugins_context_copy( 382 ctx: *mut GstInstallPluginsContext, 383 ) -> *mut GstInstallPluginsContext; gst_install_plugins_context_free(ctx: *mut GstInstallPluginsContext)384 pub fn gst_install_plugins_context_free(ctx: *mut GstInstallPluginsContext); 385 #[cfg(any(feature = "v1_6", feature = "dox"))] gst_install_plugins_context_set_confirm_search( ctx: *mut GstInstallPluginsContext, confirm_search: gboolean, )386 pub fn gst_install_plugins_context_set_confirm_search( 387 ctx: *mut GstInstallPluginsContext, 388 confirm_search: gboolean, 389 ); 390 #[cfg(any(feature = "v1_6", feature = "dox"))] gst_install_plugins_context_set_desktop_id( ctx: *mut GstInstallPluginsContext, desktop_id: *const c_char, )391 pub fn gst_install_plugins_context_set_desktop_id( 392 ctx: *mut GstInstallPluginsContext, 393 desktop_id: *const c_char, 394 ); 395 #[cfg(any(feature = "v1_6", feature = "dox"))] gst_install_plugins_context_set_startup_notification_id( ctx: *mut GstInstallPluginsContext, startup_id: *const c_char, )396 pub fn gst_install_plugins_context_set_startup_notification_id( 397 ctx: *mut GstInstallPluginsContext, 398 startup_id: *const c_char, 399 ); gst_install_plugins_context_set_xid(ctx: *mut GstInstallPluginsContext, xid: c_uint)400 pub fn gst_install_plugins_context_set_xid(ctx: *mut GstInstallPluginsContext, xid: c_uint); 401 402 //========================================================================= 403 // GstAudioVisualizer 404 //========================================================================= gst_audio_visualizer_get_type() -> GType405 pub fn gst_audio_visualizer_get_type() -> GType; 406 407 //========================================================================= 408 // GstDiscoverer 409 //========================================================================= gst_discoverer_get_type() -> GType410 pub fn gst_discoverer_get_type() -> GType; gst_discoverer_new( timeout: gst::GstClockTime, error: *mut *mut glib::GError, ) -> *mut GstDiscoverer411 pub fn gst_discoverer_new( 412 timeout: gst::GstClockTime, 413 error: *mut *mut glib::GError, 414 ) -> *mut GstDiscoverer; gst_discoverer_discover_uri( discoverer: *mut GstDiscoverer, uri: *const c_char, error: *mut *mut glib::GError, ) -> *mut GstDiscovererInfo415 pub fn gst_discoverer_discover_uri( 416 discoverer: *mut GstDiscoverer, 417 uri: *const c_char, 418 error: *mut *mut glib::GError, 419 ) -> *mut GstDiscovererInfo; gst_discoverer_discover_uri_async( discoverer: *mut GstDiscoverer, uri: *const c_char, ) -> gboolean420 pub fn gst_discoverer_discover_uri_async( 421 discoverer: *mut GstDiscoverer, 422 uri: *const c_char, 423 ) -> gboolean; gst_discoverer_start(discoverer: *mut GstDiscoverer)424 pub fn gst_discoverer_start(discoverer: *mut GstDiscoverer); gst_discoverer_stop(discoverer: *mut GstDiscoverer)425 pub fn gst_discoverer_stop(discoverer: *mut GstDiscoverer); 426 427 //========================================================================= 428 // GstDiscovererAudioInfo 429 //========================================================================= gst_discoverer_audio_info_get_type() -> GType430 pub fn gst_discoverer_audio_info_get_type() -> GType; gst_discoverer_audio_info_get_bitrate(info: *const GstDiscovererAudioInfo) -> c_uint431 pub fn gst_discoverer_audio_info_get_bitrate(info: *const GstDiscovererAudioInfo) -> c_uint; 432 #[cfg(any(feature = "v1_14", feature = "dox"))] gst_discoverer_audio_info_get_channel_mask(info: *const GstDiscovererAudioInfo) -> u64433 pub fn gst_discoverer_audio_info_get_channel_mask(info: *const GstDiscovererAudioInfo) -> u64; gst_discoverer_audio_info_get_channels(info: *const GstDiscovererAudioInfo) -> c_uint434 pub fn gst_discoverer_audio_info_get_channels(info: *const GstDiscovererAudioInfo) -> c_uint; gst_discoverer_audio_info_get_depth(info: *const GstDiscovererAudioInfo) -> c_uint435 pub fn gst_discoverer_audio_info_get_depth(info: *const GstDiscovererAudioInfo) -> c_uint; gst_discoverer_audio_info_get_language( info: *const GstDiscovererAudioInfo, ) -> *const c_char436 pub fn gst_discoverer_audio_info_get_language( 437 info: *const GstDiscovererAudioInfo, 438 ) -> *const c_char; gst_discoverer_audio_info_get_max_bitrate(info: *const GstDiscovererAudioInfo) -> c_uint439 pub fn gst_discoverer_audio_info_get_max_bitrate(info: *const GstDiscovererAudioInfo) 440 -> c_uint; gst_discoverer_audio_info_get_sample_rate(info: *const GstDiscovererAudioInfo) -> c_uint441 pub fn gst_discoverer_audio_info_get_sample_rate(info: *const GstDiscovererAudioInfo) 442 -> c_uint; 443 444 //========================================================================= 445 // GstDiscovererContainerInfo 446 //========================================================================= gst_discoverer_container_info_get_type() -> GType447 pub fn gst_discoverer_container_info_get_type() -> GType; gst_discoverer_container_info_get_streams( info: *mut GstDiscovererContainerInfo, ) -> *mut glib::GList448 pub fn gst_discoverer_container_info_get_streams( 449 info: *mut GstDiscovererContainerInfo, 450 ) -> *mut glib::GList; 451 452 //========================================================================= 453 // GstDiscovererInfo 454 //========================================================================= gst_discoverer_info_get_type() -> GType455 pub fn gst_discoverer_info_get_type() -> GType; 456 #[cfg(any(feature = "v1_6", feature = "dox"))] gst_discoverer_info_from_variant(variant: *mut glib::GVariant) -> *mut GstDiscovererInfo457 pub fn gst_discoverer_info_from_variant(variant: *mut glib::GVariant) 458 -> *mut GstDiscovererInfo; gst_discoverer_info_copy(ptr: *mut GstDiscovererInfo) -> *mut GstDiscovererInfo459 pub fn gst_discoverer_info_copy(ptr: *mut GstDiscovererInfo) -> *mut GstDiscovererInfo; gst_discoverer_info_get_audio_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList460 pub fn gst_discoverer_info_get_audio_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList; gst_discoverer_info_get_container_streams( info: *mut GstDiscovererInfo, ) -> *mut glib::GList461 pub fn gst_discoverer_info_get_container_streams( 462 info: *mut GstDiscovererInfo, 463 ) -> *mut glib::GList; gst_discoverer_info_get_duration(info: *const GstDiscovererInfo) -> gst::GstClockTime464 pub fn gst_discoverer_info_get_duration(info: *const GstDiscovererInfo) -> gst::GstClockTime; 465 #[cfg(any(feature = "v1_14", feature = "dox"))] gst_discoverer_info_get_live(info: *const GstDiscovererInfo) -> gboolean466 pub fn gst_discoverer_info_get_live(info: *const GstDiscovererInfo) -> gboolean; gst_discoverer_info_get_misc(info: *const GstDiscovererInfo) -> *const gst::GstStructure467 pub fn gst_discoverer_info_get_misc(info: *const GstDiscovererInfo) 468 -> *const gst::GstStructure; 469 #[cfg(any(feature = "v1_4", feature = "dox"))] gst_discoverer_info_get_missing_elements_installer_details( info: *const GstDiscovererInfo, ) -> *mut *const c_char470 pub fn gst_discoverer_info_get_missing_elements_installer_details( 471 info: *const GstDiscovererInfo, 472 ) -> *mut *const c_char; gst_discoverer_info_get_result(info: *const GstDiscovererInfo) -> GstDiscovererResult473 pub fn gst_discoverer_info_get_result(info: *const GstDiscovererInfo) -> GstDiscovererResult; gst_discoverer_info_get_seekable(info: *const GstDiscovererInfo) -> gboolean474 pub fn gst_discoverer_info_get_seekable(info: *const GstDiscovererInfo) -> gboolean; gst_discoverer_info_get_stream_info( info: *mut GstDiscovererInfo, ) -> *mut GstDiscovererStreamInfo475 pub fn gst_discoverer_info_get_stream_info( 476 info: *mut GstDiscovererInfo, 477 ) -> *mut GstDiscovererStreamInfo; gst_discoverer_info_get_stream_list(info: *mut GstDiscovererInfo) -> *mut glib::GList478 pub fn gst_discoverer_info_get_stream_list(info: *mut GstDiscovererInfo) -> *mut glib::GList; gst_discoverer_info_get_streams( info: *mut GstDiscovererInfo, streamtype: GType, ) -> *mut glib::GList479 pub fn gst_discoverer_info_get_streams( 480 info: *mut GstDiscovererInfo, 481 streamtype: GType, 482 ) -> *mut glib::GList; gst_discoverer_info_get_subtitle_streams( info: *mut GstDiscovererInfo, ) -> *mut glib::GList483 pub fn gst_discoverer_info_get_subtitle_streams( 484 info: *mut GstDiscovererInfo, 485 ) -> *mut glib::GList; gst_discoverer_info_get_tags(info: *const GstDiscovererInfo) -> *const gst::GstTagList486 pub fn gst_discoverer_info_get_tags(info: *const GstDiscovererInfo) -> *const gst::GstTagList; gst_discoverer_info_get_toc(info: *const GstDiscovererInfo) -> *const gst::GstToc487 pub fn gst_discoverer_info_get_toc(info: *const GstDiscovererInfo) -> *const gst::GstToc; gst_discoverer_info_get_uri(info: *const GstDiscovererInfo) -> *const c_char488 pub fn gst_discoverer_info_get_uri(info: *const GstDiscovererInfo) -> *const c_char; gst_discoverer_info_get_video_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList489 pub fn gst_discoverer_info_get_video_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList; 490 #[cfg(any(feature = "v1_6", feature = "dox"))] gst_discoverer_info_to_variant( info: *mut GstDiscovererInfo, flags: GstDiscovererSerializeFlags, ) -> *mut glib::GVariant491 pub fn gst_discoverer_info_to_variant( 492 info: *mut GstDiscovererInfo, 493 flags: GstDiscovererSerializeFlags, 494 ) -> *mut glib::GVariant; 495 496 //========================================================================= 497 // GstDiscovererStreamInfo 498 //========================================================================= gst_discoverer_stream_info_get_type() -> GType499 pub fn gst_discoverer_stream_info_get_type() -> GType; gst_discoverer_stream_info_list_free(infos: *mut glib::GList)500 pub fn gst_discoverer_stream_info_list_free(infos: *mut glib::GList); gst_discoverer_stream_info_get_caps( info: *mut GstDiscovererStreamInfo, ) -> *mut gst::GstCaps501 pub fn gst_discoverer_stream_info_get_caps( 502 info: *mut GstDiscovererStreamInfo, 503 ) -> *mut gst::GstCaps; gst_discoverer_stream_info_get_misc( info: *mut GstDiscovererStreamInfo, ) -> *const gst::GstStructure504 pub fn gst_discoverer_stream_info_get_misc( 505 info: *mut GstDiscovererStreamInfo, 506 ) -> *const gst::GstStructure; gst_discoverer_stream_info_get_next( info: *mut GstDiscovererStreamInfo, ) -> *mut GstDiscovererStreamInfo507 pub fn gst_discoverer_stream_info_get_next( 508 info: *mut GstDiscovererStreamInfo, 509 ) -> *mut GstDiscovererStreamInfo; gst_discoverer_stream_info_get_previous( info: *mut GstDiscovererStreamInfo, ) -> *mut GstDiscovererStreamInfo510 pub fn gst_discoverer_stream_info_get_previous( 511 info: *mut GstDiscovererStreamInfo, 512 ) -> *mut GstDiscovererStreamInfo; gst_discoverer_stream_info_get_stream_id( info: *mut GstDiscovererStreamInfo, ) -> *const c_char513 pub fn gst_discoverer_stream_info_get_stream_id( 514 info: *mut GstDiscovererStreamInfo, 515 ) -> *const c_char; gst_discoverer_stream_info_get_stream_type_nick( info: *mut GstDiscovererStreamInfo, ) -> *const c_char516 pub fn gst_discoverer_stream_info_get_stream_type_nick( 517 info: *mut GstDiscovererStreamInfo, 518 ) -> *const c_char; gst_discoverer_stream_info_get_tags( info: *mut GstDiscovererStreamInfo, ) -> *const gst::GstTagList519 pub fn gst_discoverer_stream_info_get_tags( 520 info: *mut GstDiscovererStreamInfo, 521 ) -> *const gst::GstTagList; gst_discoverer_stream_info_get_toc( info: *mut GstDiscovererStreamInfo, ) -> *const gst::GstToc522 pub fn gst_discoverer_stream_info_get_toc( 523 info: *mut GstDiscovererStreamInfo, 524 ) -> *const gst::GstToc; 525 526 //========================================================================= 527 // GstDiscovererSubtitleInfo 528 //========================================================================= gst_discoverer_subtitle_info_get_type() -> GType529 pub fn gst_discoverer_subtitle_info_get_type() -> GType; gst_discoverer_subtitle_info_get_language( info: *const GstDiscovererSubtitleInfo, ) -> *const c_char530 pub fn gst_discoverer_subtitle_info_get_language( 531 info: *const GstDiscovererSubtitleInfo, 532 ) -> *const c_char; 533 534 //========================================================================= 535 // GstDiscovererVideoInfo 536 //========================================================================= gst_discoverer_video_info_get_type() -> GType537 pub fn gst_discoverer_video_info_get_type() -> GType; gst_discoverer_video_info_get_bitrate(info: *const GstDiscovererVideoInfo) -> c_uint538 pub fn gst_discoverer_video_info_get_bitrate(info: *const GstDiscovererVideoInfo) -> c_uint; gst_discoverer_video_info_get_depth(info: *const GstDiscovererVideoInfo) -> c_uint539 pub fn gst_discoverer_video_info_get_depth(info: *const GstDiscovererVideoInfo) -> c_uint; gst_discoverer_video_info_get_framerate_denom( info: *const GstDiscovererVideoInfo, ) -> c_uint540 pub fn gst_discoverer_video_info_get_framerate_denom( 541 info: *const GstDiscovererVideoInfo, 542 ) -> c_uint; gst_discoverer_video_info_get_framerate_num( info: *const GstDiscovererVideoInfo, ) -> c_uint543 pub fn gst_discoverer_video_info_get_framerate_num( 544 info: *const GstDiscovererVideoInfo, 545 ) -> c_uint; gst_discoverer_video_info_get_height(info: *const GstDiscovererVideoInfo) -> c_uint546 pub fn gst_discoverer_video_info_get_height(info: *const GstDiscovererVideoInfo) -> c_uint; gst_discoverer_video_info_get_max_bitrate(info: *const GstDiscovererVideoInfo) -> c_uint547 pub fn gst_discoverer_video_info_get_max_bitrate(info: *const GstDiscovererVideoInfo) 548 -> c_uint; gst_discoverer_video_info_get_par_denom(info: *const GstDiscovererVideoInfo) -> c_uint549 pub fn gst_discoverer_video_info_get_par_denom(info: *const GstDiscovererVideoInfo) -> c_uint; gst_discoverer_video_info_get_par_num(info: *const GstDiscovererVideoInfo) -> c_uint550 pub fn gst_discoverer_video_info_get_par_num(info: *const GstDiscovererVideoInfo) -> c_uint; gst_discoverer_video_info_get_width(info: *const GstDiscovererVideoInfo) -> c_uint551 pub fn gst_discoverer_video_info_get_width(info: *const GstDiscovererVideoInfo) -> c_uint; gst_discoverer_video_info_is_image(info: *const GstDiscovererVideoInfo) -> gboolean552 pub fn gst_discoverer_video_info_is_image(info: *const GstDiscovererVideoInfo) -> gboolean; gst_discoverer_video_info_is_interlaced(info: *const GstDiscovererVideoInfo) -> gboolean553 pub fn gst_discoverer_video_info_is_interlaced(info: *const GstDiscovererVideoInfo) 554 -> gboolean; 555 556 //========================================================================= 557 // GstEncodingAudioProfile 558 //========================================================================= gst_encoding_audio_profile_get_type() -> GType559 pub fn gst_encoding_audio_profile_get_type() -> GType; gst_encoding_audio_profile_new( format: *mut gst::GstCaps, preset: *const c_char, restriction: *mut gst::GstCaps, presence: c_uint, ) -> *mut GstEncodingAudioProfile560 pub fn gst_encoding_audio_profile_new( 561 format: *mut gst::GstCaps, 562 preset: *const c_char, 563 restriction: *mut gst::GstCaps, 564 presence: c_uint, 565 ) -> *mut GstEncodingAudioProfile; 566 567 //========================================================================= 568 // GstEncodingContainerProfile 569 //========================================================================= gst_encoding_container_profile_get_type() -> GType570 pub fn gst_encoding_container_profile_get_type() -> GType; gst_encoding_container_profile_new( name: *const c_char, description: *const c_char, format: *mut gst::GstCaps, preset: *const c_char, ) -> *mut GstEncodingContainerProfile571 pub fn gst_encoding_container_profile_new( 572 name: *const c_char, 573 description: *const c_char, 574 format: *mut gst::GstCaps, 575 preset: *const c_char, 576 ) -> *mut GstEncodingContainerProfile; gst_encoding_container_profile_add_profile( container: *mut GstEncodingContainerProfile, profile: *mut GstEncodingProfile, ) -> gboolean577 pub fn gst_encoding_container_profile_add_profile( 578 container: *mut GstEncodingContainerProfile, 579 profile: *mut GstEncodingProfile, 580 ) -> gboolean; gst_encoding_container_profile_contains_profile( container: *mut GstEncodingContainerProfile, profile: *mut GstEncodingProfile, ) -> gboolean581 pub fn gst_encoding_container_profile_contains_profile( 582 container: *mut GstEncodingContainerProfile, 583 profile: *mut GstEncodingProfile, 584 ) -> gboolean; gst_encoding_container_profile_get_profiles( profile: *mut GstEncodingContainerProfile, ) -> *const glib::GList585 pub fn gst_encoding_container_profile_get_profiles( 586 profile: *mut GstEncodingContainerProfile, 587 ) -> *const glib::GList; 588 589 //========================================================================= 590 // GstEncodingProfile 591 //========================================================================= gst_encoding_profile_get_type() -> GType592 pub fn gst_encoding_profile_get_type() -> GType; gst_encoding_profile_find( targetname: *const c_char, profilename: *const c_char, category: *const c_char, ) -> *mut GstEncodingProfile593 pub fn gst_encoding_profile_find( 594 targetname: *const c_char, 595 profilename: *const c_char, 596 category: *const c_char, 597 ) -> *mut GstEncodingProfile; gst_encoding_profile_from_discoverer( info: *mut GstDiscovererInfo, ) -> *mut GstEncodingProfile598 pub fn gst_encoding_profile_from_discoverer( 599 info: *mut GstDiscovererInfo, 600 ) -> *mut GstEncodingProfile; 601 #[cfg(any(feature = "v1_12", feature = "dox"))] gst_encoding_profile_copy(self_: *mut GstEncodingProfile) -> *mut GstEncodingProfile602 pub fn gst_encoding_profile_copy(self_: *mut GstEncodingProfile) -> *mut GstEncodingProfile; gst_encoding_profile_get_allow_dynamic_output( profile: *mut GstEncodingProfile, ) -> gboolean603 pub fn gst_encoding_profile_get_allow_dynamic_output( 604 profile: *mut GstEncodingProfile, 605 ) -> gboolean; gst_encoding_profile_get_description(profile: *mut GstEncodingProfile) -> *const c_char606 pub fn gst_encoding_profile_get_description(profile: *mut GstEncodingProfile) -> *const c_char; gst_encoding_profile_get_file_extension( profile: *mut GstEncodingProfile, ) -> *const c_char607 pub fn gst_encoding_profile_get_file_extension( 608 profile: *mut GstEncodingProfile, 609 ) -> *const c_char; gst_encoding_profile_get_format(profile: *mut GstEncodingProfile) -> *mut gst::GstCaps610 pub fn gst_encoding_profile_get_format(profile: *mut GstEncodingProfile) -> *mut gst::GstCaps; gst_encoding_profile_get_input_caps( profile: *mut GstEncodingProfile, ) -> *mut gst::GstCaps611 pub fn gst_encoding_profile_get_input_caps( 612 profile: *mut GstEncodingProfile, 613 ) -> *mut gst::GstCaps; gst_encoding_profile_get_name(profile: *mut GstEncodingProfile) -> *const c_char614 pub fn gst_encoding_profile_get_name(profile: *mut GstEncodingProfile) -> *const c_char; gst_encoding_profile_get_presence(profile: *mut GstEncodingProfile) -> c_uint615 pub fn gst_encoding_profile_get_presence(profile: *mut GstEncodingProfile) -> c_uint; gst_encoding_profile_get_preset(profile: *mut GstEncodingProfile) -> *const c_char616 pub fn gst_encoding_profile_get_preset(profile: *mut GstEncodingProfile) -> *const c_char; gst_encoding_profile_get_preset_name(profile: *mut GstEncodingProfile) -> *const c_char617 pub fn gst_encoding_profile_get_preset_name(profile: *mut GstEncodingProfile) -> *const c_char; gst_encoding_profile_get_restriction( profile: *mut GstEncodingProfile, ) -> *mut gst::GstCaps618 pub fn gst_encoding_profile_get_restriction( 619 profile: *mut GstEncodingProfile, 620 ) -> *mut gst::GstCaps; gst_encoding_profile_get_type_nick(profile: *mut GstEncodingProfile) -> *const c_char621 pub fn gst_encoding_profile_get_type_nick(profile: *mut GstEncodingProfile) -> *const c_char; gst_encoding_profile_is_enabled(profile: *mut GstEncodingProfile) -> gboolean622 pub fn gst_encoding_profile_is_enabled(profile: *mut GstEncodingProfile) -> gboolean; gst_encoding_profile_is_equal( a: *mut GstEncodingProfile, b: *mut GstEncodingProfile, ) -> gboolean623 pub fn gst_encoding_profile_is_equal( 624 a: *mut GstEncodingProfile, 625 b: *mut GstEncodingProfile, 626 ) -> gboolean; gst_encoding_profile_set_allow_dynamic_output( profile: *mut GstEncodingProfile, allow_dynamic_output: gboolean, )627 pub fn gst_encoding_profile_set_allow_dynamic_output( 628 profile: *mut GstEncodingProfile, 629 allow_dynamic_output: gboolean, 630 ); gst_encoding_profile_set_description( profile: *mut GstEncodingProfile, description: *const c_char, )631 pub fn gst_encoding_profile_set_description( 632 profile: *mut GstEncodingProfile, 633 description: *const c_char, 634 ); 635 #[cfg(any(feature = "v1_6", feature = "dox"))] gst_encoding_profile_set_enabled(profile: *mut GstEncodingProfile, enabled: gboolean)636 pub fn gst_encoding_profile_set_enabled(profile: *mut GstEncodingProfile, enabled: gboolean); gst_encoding_profile_set_format( profile: *mut GstEncodingProfile, format: *mut gst::GstCaps, )637 pub fn gst_encoding_profile_set_format( 638 profile: *mut GstEncodingProfile, 639 format: *mut gst::GstCaps, 640 ); gst_encoding_profile_set_name(profile: *mut GstEncodingProfile, name: *const c_char)641 pub fn gst_encoding_profile_set_name(profile: *mut GstEncodingProfile, name: *const c_char); gst_encoding_profile_set_presence(profile: *mut GstEncodingProfile, presence: c_uint)642 pub fn gst_encoding_profile_set_presence(profile: *mut GstEncodingProfile, presence: c_uint); gst_encoding_profile_set_preset(profile: *mut GstEncodingProfile, preset: *const c_char)643 pub fn gst_encoding_profile_set_preset(profile: *mut GstEncodingProfile, preset: *const c_char); gst_encoding_profile_set_preset_name( profile: *mut GstEncodingProfile, preset_name: *const c_char, )644 pub fn gst_encoding_profile_set_preset_name( 645 profile: *mut GstEncodingProfile, 646 preset_name: *const c_char, 647 ); gst_encoding_profile_set_restriction( profile: *mut GstEncodingProfile, restriction: *mut gst::GstCaps, )648 pub fn gst_encoding_profile_set_restriction( 649 profile: *mut GstEncodingProfile, 650 restriction: *mut gst::GstCaps, 651 ); 652 653 //========================================================================= 654 // GstEncodingTarget 655 //========================================================================= gst_encoding_target_get_type() -> GType656 pub fn gst_encoding_target_get_type() -> GType; gst_encoding_target_new( name: *const c_char, category: *const c_char, description: *const c_char, profiles: *const glib::GList, ) -> *mut GstEncodingTarget657 pub fn gst_encoding_target_new( 658 name: *const c_char, 659 category: *const c_char, 660 description: *const c_char, 661 profiles: *const glib::GList, 662 ) -> *mut GstEncodingTarget; gst_encoding_target_load( name: *const c_char, category: *const c_char, error: *mut *mut glib::GError, ) -> *mut GstEncodingTarget663 pub fn gst_encoding_target_load( 664 name: *const c_char, 665 category: *const c_char, 666 error: *mut *mut glib::GError, 667 ) -> *mut GstEncodingTarget; gst_encoding_target_load_from_file( filepath: *const c_char, error: *mut *mut glib::GError, ) -> *mut GstEncodingTarget668 pub fn gst_encoding_target_load_from_file( 669 filepath: *const c_char, 670 error: *mut *mut glib::GError, 671 ) -> *mut GstEncodingTarget; gst_encoding_target_add_profile( target: *mut GstEncodingTarget, profile: *mut GstEncodingProfile, ) -> gboolean672 pub fn gst_encoding_target_add_profile( 673 target: *mut GstEncodingTarget, 674 profile: *mut GstEncodingProfile, 675 ) -> gboolean; gst_encoding_target_get_category(target: *mut GstEncodingTarget) -> *const c_char676 pub fn gst_encoding_target_get_category(target: *mut GstEncodingTarget) -> *const c_char; gst_encoding_target_get_description(target: *mut GstEncodingTarget) -> *const c_char677 pub fn gst_encoding_target_get_description(target: *mut GstEncodingTarget) -> *const c_char; gst_encoding_target_get_name(target: *mut GstEncodingTarget) -> *const c_char678 pub fn gst_encoding_target_get_name(target: *mut GstEncodingTarget) -> *const c_char; gst_encoding_target_get_profile( target: *mut GstEncodingTarget, name: *const c_char, ) -> *mut GstEncodingProfile679 pub fn gst_encoding_target_get_profile( 680 target: *mut GstEncodingTarget, 681 name: *const c_char, 682 ) -> *mut GstEncodingProfile; gst_encoding_target_get_profiles(target: *mut GstEncodingTarget) -> *const glib::GList683 pub fn gst_encoding_target_get_profiles(target: *mut GstEncodingTarget) -> *const glib::GList; gst_encoding_target_save( target: *mut GstEncodingTarget, error: *mut *mut glib::GError, ) -> gboolean684 pub fn gst_encoding_target_save( 685 target: *mut GstEncodingTarget, 686 error: *mut *mut glib::GError, 687 ) -> gboolean; gst_encoding_target_save_to_file( target: *mut GstEncodingTarget, filepath: *const c_char, error: *mut *mut glib::GError, ) -> gboolean688 pub fn gst_encoding_target_save_to_file( 689 target: *mut GstEncodingTarget, 690 filepath: *const c_char, 691 error: *mut *mut glib::GError, 692 ) -> gboolean; 693 694 //========================================================================= 695 // GstEncodingVideoProfile 696 //========================================================================= gst_encoding_video_profile_get_type() -> GType697 pub fn gst_encoding_video_profile_get_type() -> GType; gst_encoding_video_profile_new( format: *mut gst::GstCaps, preset: *const c_char, restriction: *mut gst::GstCaps, presence: c_uint, ) -> *mut GstEncodingVideoProfile698 pub fn gst_encoding_video_profile_new( 699 format: *mut gst::GstCaps, 700 preset: *const c_char, 701 restriction: *mut gst::GstCaps, 702 presence: c_uint, 703 ) -> *mut GstEncodingVideoProfile; gst_encoding_video_profile_get_pass(prof: *mut GstEncodingVideoProfile) -> c_uint704 pub fn gst_encoding_video_profile_get_pass(prof: *mut GstEncodingVideoProfile) -> c_uint; gst_encoding_video_profile_get_variableframerate( prof: *mut GstEncodingVideoProfile, ) -> gboolean705 pub fn gst_encoding_video_profile_get_variableframerate( 706 prof: *mut GstEncodingVideoProfile, 707 ) -> gboolean; gst_encoding_video_profile_set_pass(prof: *mut GstEncodingVideoProfile, pass: c_uint)708 pub fn gst_encoding_video_profile_set_pass(prof: *mut GstEncodingVideoProfile, pass: c_uint); gst_encoding_video_profile_set_variableframerate( prof: *mut GstEncodingVideoProfile, variableframerate: gboolean, )709 pub fn gst_encoding_video_profile_set_variableframerate( 710 prof: *mut GstEncodingVideoProfile, 711 variableframerate: gboolean, 712 ); 713 714 //========================================================================= 715 // Other functions 716 //========================================================================= gst_codec_utils_aac_caps_set_level_and_profile( caps: *mut gst::GstCaps, audio_config: *const u8, len: c_uint, ) -> gboolean717 pub fn gst_codec_utils_aac_caps_set_level_and_profile( 718 caps: *mut gst::GstCaps, 719 audio_config: *const u8, 720 len: c_uint, 721 ) -> gboolean; 722 #[cfg(any(feature = "v1_10", feature = "dox"))] gst_codec_utils_aac_get_channels(audio_config: *const u8, len: c_uint) -> c_uint723 pub fn gst_codec_utils_aac_get_channels(audio_config: *const u8, len: c_uint) -> c_uint; gst_codec_utils_aac_get_index_from_sample_rate(rate: c_uint) -> c_int724 pub fn gst_codec_utils_aac_get_index_from_sample_rate(rate: c_uint) -> c_int; gst_codec_utils_aac_get_level(audio_config: *const u8, len: c_uint) -> *const c_char725 pub fn gst_codec_utils_aac_get_level(audio_config: *const u8, len: c_uint) -> *const c_char; gst_codec_utils_aac_get_profile(audio_config: *const u8, len: c_uint) -> *const c_char726 pub fn gst_codec_utils_aac_get_profile(audio_config: *const u8, len: c_uint) -> *const c_char; 727 #[cfg(any(feature = "v1_10", feature = "dox"))] gst_codec_utils_aac_get_sample_rate(audio_config: *const u8, len: c_uint) -> c_uint728 pub fn gst_codec_utils_aac_get_sample_rate(audio_config: *const u8, len: c_uint) -> c_uint; gst_codec_utils_aac_get_sample_rate_from_index(sr_idx: c_uint) -> c_uint729 pub fn gst_codec_utils_aac_get_sample_rate_from_index(sr_idx: c_uint) -> c_uint; gst_codec_utils_h264_caps_set_level_and_profile( caps: *mut gst::GstCaps, sps: *const u8, len: c_uint, ) -> gboolean730 pub fn gst_codec_utils_h264_caps_set_level_and_profile( 731 caps: *mut gst::GstCaps, 732 sps: *const u8, 733 len: c_uint, 734 ) -> gboolean; gst_codec_utils_h264_get_level(sps: *const u8, len: c_uint) -> *const c_char735 pub fn gst_codec_utils_h264_get_level(sps: *const u8, len: c_uint) -> *const c_char; gst_codec_utils_h264_get_level_idc(level: *const c_char) -> u8736 pub fn gst_codec_utils_h264_get_level_idc(level: *const c_char) -> u8; gst_codec_utils_h264_get_profile(sps: *const u8, len: c_uint) -> *const c_char737 pub fn gst_codec_utils_h264_get_profile(sps: *const u8, len: c_uint) -> *const c_char; 738 #[cfg(any(feature = "v1_4", feature = "dox"))] gst_codec_utils_h265_caps_set_level_tier_and_profile( caps: *mut gst::GstCaps, profile_tier_level: *const u8, len: c_uint, ) -> gboolean739 pub fn gst_codec_utils_h265_caps_set_level_tier_and_profile( 740 caps: *mut gst::GstCaps, 741 profile_tier_level: *const u8, 742 len: c_uint, 743 ) -> gboolean; 744 #[cfg(any(feature = "v1_4", feature = "dox"))] gst_codec_utils_h265_get_level( profile_tier_level: *const u8, len: c_uint, ) -> *const c_char745 pub fn gst_codec_utils_h265_get_level( 746 profile_tier_level: *const u8, 747 len: c_uint, 748 ) -> *const c_char; 749 #[cfg(any(feature = "v1_4", feature = "dox"))] gst_codec_utils_h265_get_level_idc(level: *const c_char) -> u8750 pub fn gst_codec_utils_h265_get_level_idc(level: *const c_char) -> u8; 751 #[cfg(any(feature = "v1_4", feature = "dox"))] gst_codec_utils_h265_get_profile( profile_tier_level: *const u8, len: c_uint, ) -> *const c_char752 pub fn gst_codec_utils_h265_get_profile( 753 profile_tier_level: *const u8, 754 len: c_uint, 755 ) -> *const c_char; 756 #[cfg(any(feature = "v1_4", feature = "dox"))] gst_codec_utils_h265_get_tier( profile_tier_level: *const u8, len: c_uint, ) -> *const c_char757 pub fn gst_codec_utils_h265_get_tier( 758 profile_tier_level: *const u8, 759 len: c_uint, 760 ) -> *const c_char; gst_codec_utils_mpeg4video_caps_set_level_and_profile( caps: *mut gst::GstCaps, vis_obj_seq: *const u8, len: c_uint, ) -> gboolean761 pub fn gst_codec_utils_mpeg4video_caps_set_level_and_profile( 762 caps: *mut gst::GstCaps, 763 vis_obj_seq: *const u8, 764 len: c_uint, 765 ) -> gboolean; gst_codec_utils_mpeg4video_get_level( vis_obj_seq: *const u8, len: c_uint, ) -> *const c_char766 pub fn gst_codec_utils_mpeg4video_get_level( 767 vis_obj_seq: *const u8, 768 len: c_uint, 769 ) -> *const c_char; gst_codec_utils_mpeg4video_get_profile( vis_obj_seq: *const u8, len: c_uint, ) -> *const c_char770 pub fn gst_codec_utils_mpeg4video_get_profile( 771 vis_obj_seq: *const u8, 772 len: c_uint, 773 ) -> *const c_char; 774 #[cfg(any(feature = "v1_8", feature = "dox"))] gst_codec_utils_opus_create_caps( rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const u8, ) -> *mut gst::GstCaps775 pub fn gst_codec_utils_opus_create_caps( 776 rate: u32, 777 channels: u8, 778 channel_mapping_family: u8, 779 stream_count: u8, 780 coupled_count: u8, 781 channel_mapping: *const u8, 782 ) -> *mut gst::GstCaps; 783 #[cfg(any(feature = "v1_8", feature = "dox"))] gst_codec_utils_opus_create_caps_from_header( header: *mut gst::GstBuffer, comments: *mut gst::GstBuffer, ) -> *mut gst::GstCaps784 pub fn gst_codec_utils_opus_create_caps_from_header( 785 header: *mut gst::GstBuffer, 786 comments: *mut gst::GstBuffer, 787 ) -> *mut gst::GstCaps; 788 #[cfg(any(feature = "v1_8", feature = "dox"))] gst_codec_utils_opus_create_header( rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const u8, pre_skip: u16, output_gain: i16, ) -> *mut gst::GstBuffer789 pub fn gst_codec_utils_opus_create_header( 790 rate: u32, 791 channels: u8, 792 channel_mapping_family: u8, 793 stream_count: u8, 794 coupled_count: u8, 795 channel_mapping: *const u8, 796 pre_skip: u16, 797 output_gain: i16, 798 ) -> *mut gst::GstBuffer; 799 #[cfg(any(feature = "v1_8", feature = "dox"))] gst_codec_utils_opus_parse_caps( caps: *mut gst::GstCaps, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: *mut [u8; 256], ) -> gboolean800 pub fn gst_codec_utils_opus_parse_caps( 801 caps: *mut gst::GstCaps, 802 rate: *mut u32, 803 channels: *mut u8, 804 channel_mapping_family: *mut u8, 805 stream_count: *mut u8, 806 coupled_count: *mut u8, 807 channel_mapping: *mut [u8; 256], 808 ) -> gboolean; 809 #[cfg(any(feature = "v1_8", feature = "dox"))] gst_codec_utils_opus_parse_header( header: *mut gst::GstBuffer, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: *mut [u8; 256], pre_skip: *mut u16, output_gain: *mut i16, ) -> gboolean810 pub fn gst_codec_utils_opus_parse_header( 811 header: *mut gst::GstBuffer, 812 rate: *mut u32, 813 channels: *mut u8, 814 channel_mapping_family: *mut u8, 815 stream_count: *mut u8, 816 coupled_count: *mut u8, 817 channel_mapping: *mut [u8; 256], 818 pre_skip: *mut u16, 819 output_gain: *mut i16, 820 ) -> gboolean; gst_encoding_list_all_targets(categoryname: *const c_char) -> *mut glib::GList821 pub fn gst_encoding_list_all_targets(categoryname: *const c_char) -> *mut glib::GList; gst_encoding_list_available_categories() -> *mut glib::GList822 pub fn gst_encoding_list_available_categories() -> *mut glib::GList; gst_install_plugins_async( details: *const *const c_char, ctx: *mut GstInstallPluginsContext, func: GstInstallPluginsResultFunc, user_data: gpointer, ) -> GstInstallPluginsReturn823 pub fn gst_install_plugins_async( 824 details: *const *const c_char, 825 ctx: *mut GstInstallPluginsContext, 826 func: GstInstallPluginsResultFunc, 827 user_data: gpointer, 828 ) -> GstInstallPluginsReturn; gst_install_plugins_installation_in_progress() -> gboolean829 pub fn gst_install_plugins_installation_in_progress() -> gboolean; gst_install_plugins_supported() -> gboolean830 pub fn gst_install_plugins_supported() -> gboolean; gst_install_plugins_sync( details: *const *const c_char, ctx: *mut GstInstallPluginsContext, ) -> GstInstallPluginsReturn831 pub fn gst_install_plugins_sync( 832 details: *const *const c_char, 833 ctx: *mut GstInstallPluginsContext, 834 ) -> GstInstallPluginsReturn; gst_is_missing_plugin_message(msg: *mut gst::GstMessage) -> gboolean835 pub fn gst_is_missing_plugin_message(msg: *mut gst::GstMessage) -> gboolean; gst_missing_decoder_installer_detail_new( decode_caps: *const gst::GstCaps, ) -> *mut c_char836 pub fn gst_missing_decoder_installer_detail_new( 837 decode_caps: *const gst::GstCaps, 838 ) -> *mut c_char; gst_missing_decoder_message_new( element: *mut gst::GstElement, decode_caps: *const gst::GstCaps, ) -> *mut gst::GstMessage839 pub fn gst_missing_decoder_message_new( 840 element: *mut gst::GstElement, 841 decode_caps: *const gst::GstCaps, 842 ) -> *mut gst::GstMessage; gst_missing_element_installer_detail_new(factory_name: *const c_char) -> *mut c_char843 pub fn gst_missing_element_installer_detail_new(factory_name: *const c_char) -> *mut c_char; gst_missing_element_message_new( element: *mut gst::GstElement, factory_name: *const c_char, ) -> *mut gst::GstMessage844 pub fn gst_missing_element_message_new( 845 element: *mut gst::GstElement, 846 factory_name: *const c_char, 847 ) -> *mut gst::GstMessage; gst_missing_encoder_installer_detail_new( encode_caps: *const gst::GstCaps, ) -> *mut c_char848 pub fn gst_missing_encoder_installer_detail_new( 849 encode_caps: *const gst::GstCaps, 850 ) -> *mut c_char; gst_missing_encoder_message_new( element: *mut gst::GstElement, encode_caps: *const gst::GstCaps, ) -> *mut gst::GstMessage851 pub fn gst_missing_encoder_message_new( 852 element: *mut gst::GstElement, 853 encode_caps: *const gst::GstCaps, 854 ) -> *mut gst::GstMessage; gst_missing_plugin_message_get_description(msg: *mut gst::GstMessage) -> *mut c_char855 pub fn gst_missing_plugin_message_get_description(msg: *mut gst::GstMessage) -> *mut c_char; gst_missing_plugin_message_get_installer_detail( msg: *mut gst::GstMessage, ) -> *mut c_char856 pub fn gst_missing_plugin_message_get_installer_detail( 857 msg: *mut gst::GstMessage, 858 ) -> *mut c_char; gst_missing_uri_sink_installer_detail_new(protocol: *const c_char) -> *mut c_char859 pub fn gst_missing_uri_sink_installer_detail_new(protocol: *const c_char) -> *mut c_char; gst_missing_uri_sink_message_new( element: *mut gst::GstElement, protocol: *const c_char, ) -> *mut gst::GstMessage860 pub fn gst_missing_uri_sink_message_new( 861 element: *mut gst::GstElement, 862 protocol: *const c_char, 863 ) -> *mut gst::GstMessage; gst_missing_uri_source_installer_detail_new(protocol: *const c_char) -> *mut c_char864 pub fn gst_missing_uri_source_installer_detail_new(protocol: *const c_char) -> *mut c_char; gst_missing_uri_source_message_new( element: *mut gst::GstElement, protocol: *const c_char, ) -> *mut gst::GstMessage865 pub fn gst_missing_uri_source_message_new( 866 element: *mut gst::GstElement, 867 protocol: *const c_char, 868 ) -> *mut gst::GstMessage; gst_pb_utils_add_codec_description_to_tag_list( taglist: *mut gst::GstTagList, codec_tag: *const c_char, caps: *const gst::GstCaps, ) -> gboolean869 pub fn gst_pb_utils_add_codec_description_to_tag_list( 870 taglist: *mut gst::GstTagList, 871 codec_tag: *const c_char, 872 caps: *const gst::GstCaps, 873 ) -> gboolean; gst_pb_utils_get_codec_description(caps: *const gst::GstCaps) -> *mut c_char874 pub fn gst_pb_utils_get_codec_description(caps: *const gst::GstCaps) -> *mut c_char; gst_pb_utils_get_decoder_description(caps: *const gst::GstCaps) -> *mut c_char875 pub fn gst_pb_utils_get_decoder_description(caps: *const gst::GstCaps) -> *mut c_char; gst_pb_utils_get_element_description(factory_name: *const c_char) -> *mut c_char876 pub fn gst_pb_utils_get_element_description(factory_name: *const c_char) -> *mut c_char; gst_pb_utils_get_encoder_description(caps: *const gst::GstCaps) -> *mut c_char877 pub fn gst_pb_utils_get_encoder_description(caps: *const gst::GstCaps) -> *mut c_char; gst_pb_utils_get_sink_description(protocol: *const c_char) -> *mut c_char878 pub fn gst_pb_utils_get_sink_description(protocol: *const c_char) -> *mut c_char; gst_pb_utils_get_source_description(protocol: *const c_char) -> *mut c_char879 pub fn gst_pb_utils_get_source_description(protocol: *const c_char) -> *mut c_char; gst_pb_utils_init()880 pub fn gst_pb_utils_init(); gst_plugins_base_version( major: *mut c_uint, minor: *mut c_uint, micro: *mut c_uint, nano: *mut c_uint, )881 pub fn gst_plugins_base_version( 882 major: *mut c_uint, 883 minor: *mut c_uint, 884 micro: *mut c_uint, 885 nano: *mut c_uint, 886 ); gst_plugins_base_version_string() -> *mut c_char887 pub fn gst_plugins_base_version_string() -> *mut c_char; 888 889 } 890