Regenerate with latest gir

This commit is contained in:
Sebastian Dröge 2017-07-21 15:13:47 +03:00
parent fa326c86cb
commit d51c5d24b9
7 changed files with 646 additions and 595 deletions

View file

@ -1,4 +1,4 @@
// This file was generated by gir (a4dcfea) from gir-files (???)
// This file was generated by gir (5c71144) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
@ -19,10 +19,6 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
// Enums
extern "C" {
pub fn gst_app_stream_type_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAppStreamType {
@ -99,6 +95,11 @@ pub struct GstAppSrc {
extern "C" {
//=========================================================================
// GstAppStreamType
//=========================================================================
pub fn gst_app_stream_type_get_type() -> GType;
//=========================================================================
// GstAppSink
//=========================================================================

View file

@ -1,4 +1,4 @@
// This file was generated by gir (a4dcfea) from gir-files (???)
// This file was generated by gir (5c71144) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
@ -20,10 +20,6 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
// Enums
extern "C" {
pub fn gst_audio_base_sink_discont_reason_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioBaseSinkDiscontReason {
@ -41,10 +37,6 @@ pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY: GstAudioBaseSinkDisco
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_ALIGNMENT: GstAudioBaseSinkDiscontReason = GstAudioBaseSinkDiscontReason::Alignment;
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_DEVICE_FAILURE: GstAudioBaseSinkDiscontReason = GstAudioBaseSinkDiscontReason::DeviceFailure;
extern "C" {
pub fn gst_audio_base_sink_slave_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioBaseSinkSlaveMethod {
@ -58,10 +50,6 @@ pub const GST_AUDIO_BASE_SINK_SLAVE_SKEW: GstAudioBaseSinkSlaveMethod = GstAudio
pub const GST_AUDIO_BASE_SINK_SLAVE_NONE: GstAudioBaseSinkSlaveMethod = GstAudioBaseSinkSlaveMethod::None;
pub const GST_AUDIO_BASE_SINK_SLAVE_CUSTOM: GstAudioBaseSinkSlaveMethod = GstAudioBaseSinkSlaveMethod::Custom;
extern "C" {
pub fn gst_audio_base_src_slave_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioBaseSrcSlaveMethod {
@ -75,10 +63,6 @@ pub const GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP: GstAudioBaseSrcSlaveMethod = Gs
pub const GST_AUDIO_BASE_SRC_SLAVE_SKEW: GstAudioBaseSrcSlaveMethod = GstAudioBaseSrcSlaveMethod::Skew;
pub const GST_AUDIO_BASE_SRC_SLAVE_NONE: GstAudioBaseSrcSlaveMethod = GstAudioBaseSrcSlaveMethod::None;
extern "C" {
pub fn gst_audio_cd_src_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioCdSrcMode {
@ -88,10 +72,6 @@ pub enum GstAudioCdSrcMode {
pub const GST_AUDIO_CD_SRC_MODE_NORMAL: GstAudioCdSrcMode = GstAudioCdSrcMode::Normal;
pub const GST_AUDIO_CD_SRC_MODE_CONTINUOUS: GstAudioCdSrcMode = GstAudioCdSrcMode::Continuous;
extern "C" {
pub fn gst_audio_channel_position_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioChannelPosition {
@ -159,10 +139,6 @@ pub const GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT: GstAudioChannelPosition = GstAu
pub const GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::SurroundLeft;
pub const GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::SurroundRight;
extern "C" {
pub fn gst_audio_dither_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioDitherMethod {
@ -176,10 +152,6 @@ pub const GST_AUDIO_DITHER_RPDF: GstAudioDitherMethod = GstAudioDitherMethod::Rp
pub const GST_AUDIO_DITHER_TPDF: GstAudioDitherMethod = GstAudioDitherMethod::Tpdf;
pub const GST_AUDIO_DITHER_TPDF_HF: GstAudioDitherMethod = GstAudioDitherMethod::TpdfHf;
extern "C" {
pub fn gst_audio_format_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioFormat {
@ -263,10 +235,6 @@ pub const GST_AUDIO_FORMAT_U18: GstAudioFormat = GstAudioFormat::U18le;
pub const GST_AUDIO_FORMAT_F32: GstAudioFormat = GstAudioFormat::F32le;
pub const GST_AUDIO_FORMAT_F64: GstAudioFormat = GstAudioFormat::F64le;
extern "C" {
pub fn gst_audio_layout_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioLayout {
@ -276,10 +244,6 @@ pub enum GstAudioLayout {
pub const GST_AUDIO_LAYOUT_INTERLEAVED: GstAudioLayout = GstAudioLayout::Interleaved;
pub const GST_AUDIO_LAYOUT_NON_INTERLEAVED: GstAudioLayout = GstAudioLayout::NonInterleaved;
extern "C" {
pub fn gst_audio_noise_shaping_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioNoiseShapingMethod {
@ -295,10 +259,6 @@ pub const GST_AUDIO_NOISE_SHAPING_SIMPLE: GstAudioNoiseShapingMethod = GstAudioN
pub const GST_AUDIO_NOISE_SHAPING_MEDIUM: GstAudioNoiseShapingMethod = GstAudioNoiseShapingMethod::Medium;
pub const GST_AUDIO_NOISE_SHAPING_HIGH: GstAudioNoiseShapingMethod = GstAudioNoiseShapingMethod::High;
extern "C" {
pub fn gst_audio_resampler_filter_interpolation_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioResamplerFilterInterpolation {
@ -310,10 +270,6 @@ pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE: GstAudioResamplerFilter
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR: GstAudioResamplerFilterInterpolation = GstAudioResamplerFilterInterpolation::Linear;
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC: GstAudioResamplerFilterInterpolation = GstAudioResamplerFilterInterpolation::Cubic;
extern "C" {
pub fn gst_audio_resampler_filter_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioResamplerFilterMode {
@ -325,10 +281,6 @@ pub const GST_AUDIO_RESAMPLER_FILTER_MODE_INTERPOLATED: GstAudioResamplerFilterM
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_FULL: GstAudioResamplerFilterMode = GstAudioResamplerFilterMode::Full;
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO: GstAudioResamplerFilterMode = GstAudioResamplerFilterMode::Auto;
extern "C" {
pub fn gst_audio_resampler_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioResamplerMethod {
@ -344,10 +296,6 @@ pub const GST_AUDIO_RESAMPLER_METHOD_CUBIC: GstAudioResamplerMethod = GstAudioRe
pub const GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL: GstAudioResamplerMethod = GstAudioResamplerMethod::BlackmanNuttall;
pub const GST_AUDIO_RESAMPLER_METHOD_KAISER: GstAudioResamplerMethod = GstAudioResamplerMethod::Kaiser;
extern "C" {
pub fn gst_audio_ring_buffer_format_type_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioRingBufferFormatType {
@ -383,10 +331,6 @@ pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW: GstAudioRingBufferFor
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Mpeg4AacRaw;
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Flac;
extern "C" {
pub fn gst_audio_ring_buffer_state_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioRingBufferState {
@ -446,10 +390,6 @@ pub const GST_META_TAG_AUDIO_RATE_STR: *const c_char = b"rate\0" as *const u8 as
pub const GST_META_TAG_AUDIO_STR: *const c_char = b"audio\0" as *const u8 as *const c_char;
// Flags
extern "C" {
pub fn gst_audio_channel_mixer_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioChannelMixerFlags: c_uint {
@ -461,10 +401,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_converter_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioConverterFlags: c_uint {
@ -474,10 +410,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioFlags: c_uint {
@ -486,10 +418,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_format_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioFormatFlags: c_uint {
@ -501,10 +429,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_pack_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioPackFlags: c_uint {
@ -513,10 +437,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_quantize_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioQuantizeFlags: c_uint {
@ -525,10 +445,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_resampler_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioResamplerFlags: c_uint {
@ -901,15 +817,116 @@ pub struct GstStreamVolume(c_void);
extern "C" {
//=========================================================================
// GstAudioBaseSinkDiscontReason
//=========================================================================
pub fn gst_audio_base_sink_discont_reason_get_type() -> GType;
//=========================================================================
// GstAudioBaseSinkSlaveMethod
//=========================================================================
pub fn gst_audio_base_sink_slave_method_get_type() -> GType;
//=========================================================================
// GstAudioBaseSrcSlaveMethod
//=========================================================================
pub fn gst_audio_base_src_slave_method_get_type() -> GType;
//=========================================================================
// GstAudioCdSrcMode
//=========================================================================
pub fn gst_audio_cd_src_mode_get_type() -> GType;
//=========================================================================
// GstAudioChannelPosition
//=========================================================================
pub fn gst_audio_channel_position_get_type() -> GType;
//=========================================================================
// GstAudioDitherMethod
//=========================================================================
pub fn gst_audio_dither_method_get_type() -> GType;
//=========================================================================
// GstAudioFormat
//=========================================================================
pub fn gst_audio_format_get_type() -> GType;
pub fn gst_audio_format_build_integer(sign: gboolean, endianness: c_int, width: c_int, depth: c_int) -> GstAudioFormat;
pub fn gst_audio_format_fill_silence(info: *const GstAudioFormatInfo, dest: gpointer, length: size_t);
pub fn gst_audio_format_from_string(format: *const c_char) -> GstAudioFormat;
pub fn gst_audio_format_get_info(format: GstAudioFormat) -> *const GstAudioFormatInfo;
pub fn gst_audio_format_to_string(format: GstAudioFormat) -> *const c_char;
//=========================================================================
// GstAudioLayout
//=========================================================================
pub fn gst_audio_layout_get_type() -> GType;
//=========================================================================
// GstAudioNoiseShapingMethod
//=========================================================================
pub fn gst_audio_noise_shaping_method_get_type() -> GType;
//=========================================================================
// GstAudioResamplerFilterInterpolation
//=========================================================================
pub fn gst_audio_resampler_filter_interpolation_get_type() -> GType;
//=========================================================================
// GstAudioResamplerFilterMode
//=========================================================================
pub fn gst_audio_resampler_filter_mode_get_type() -> GType;
//=========================================================================
// GstAudioResamplerMethod
//=========================================================================
pub fn gst_audio_resampler_method_get_type() -> GType;
//=========================================================================
// GstAudioRingBufferFormatType
//=========================================================================
pub fn gst_audio_ring_buffer_format_type_get_type() -> GType;
//=========================================================================
// GstAudioRingBufferState
//=========================================================================
pub fn gst_audio_ring_buffer_state_get_type() -> GType;
//=========================================================================
// GstAudioChannelMixerFlags
//=========================================================================
pub fn gst_audio_channel_mixer_flags_get_type() -> GType;
//=========================================================================
// GstAudioConverterFlags
//=========================================================================
pub fn gst_audio_converter_flags_get_type() -> GType;
//=========================================================================
// GstAudioFlags
//=========================================================================
pub fn gst_audio_flags_get_type() -> GType;
//=========================================================================
// GstAudioFormatFlags
//=========================================================================
pub fn gst_audio_format_flags_get_type() -> GType;
//=========================================================================
// GstAudioPackFlags
//=========================================================================
pub fn gst_audio_pack_flags_get_type() -> GType;
//=========================================================================
// GstAudioQuantizeFlags
//=========================================================================
pub fn gst_audio_quantize_flags_get_type() -> GType;
//=========================================================================
// GstAudioResamplerFlags
//=========================================================================
pub fn gst_audio_resampler_flags_get_type() -> GType;
//=========================================================================
// GstAudioChannelMixer
//=========================================================================

View file

@ -1,4 +1,4 @@
// This file was generated by gir (a4dcfea) from gir-files (???)
// This file was generated by gir (5c71144) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]

View file

@ -1,4 +1,4 @@
// This file was generated by gir (a4dcfea) from gir-files (???)
// This file was generated by gir (5c71144) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
@ -30,10 +30,6 @@ pub type GstDiscovererVideoInfoClass = gobject::GObjectClass;
pub type GstEncodingTargetClass = gobject::GObjectClass;
// Enums
extern "C" {
pub fn gst_audio_visualizer_shader_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstAudioVisualizerShader {
@ -59,10 +55,6 @@ pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN: GstAudioVisualizer
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_OUT: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveVertOut;
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_IN: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveVertIn;
extern "C" {
pub fn gst_discoverer_result_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstDiscovererResult {
@ -80,10 +72,6 @@ pub const GST_DISCOVERER_TIMEOUT: GstDiscovererResult = GstDiscovererResult::Tim
pub const GST_DISCOVERER_BUSY: GstDiscovererResult = GstDiscovererResult::Busy;
pub const GST_DISCOVERER_MISSING_PLUGINS: GstDiscovererResult = GstDiscovererResult::MissingPlugins;
extern "C" {
pub fn gst_install_plugins_return_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstInstallPluginsReturn {
@ -123,10 +111,6 @@ pub const GST_PLUGINS_BASE_VERSION_MINOR: c_int = 12;
pub const GST_PLUGINS_BASE_VERSION_NANO: c_int = 0;
// Flags
extern "C" {
pub fn gst_discoverer_serialize_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstDiscovererSerializeFlags: c_uint {
@ -234,11 +218,27 @@ pub struct GstEncodingVideoProfile(c_void);
extern "C" {
//=========================================================================
// GstAudioVisualizerShader
//=========================================================================
pub fn gst_audio_visualizer_shader_get_type() -> GType;
//=========================================================================
// GstDiscovererResult
//=========================================================================
pub fn gst_discoverer_result_get_type() -> GType;
//=========================================================================
// GstInstallPluginsReturn
//=========================================================================
pub fn gst_install_plugins_return_get_type() -> GType;
pub fn gst_install_plugins_return_get_name(ret: GstInstallPluginsReturn) -> *const c_char;
//=========================================================================
// GstDiscovererSerializeFlags
//=========================================================================
pub fn gst_discoverer_serialize_flags_get_type() -> GType;
//=========================================================================
// GstInstallPluginsContext
//=========================================================================

File diff suppressed because it is too large Load diff

View file

@ -1,4 +1,4 @@
// This file was generated by gir (a4dcfea) from gir-files (???)
// This file was generated by gir (5c71144) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
@ -19,10 +19,6 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
// Enums
extern "C" {
pub fn gst_tag_demux_result_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstTagDemuxResult {
@ -34,10 +30,6 @@ pub const GST_TAG_DEMUX_RESULT_BROKEN_TAG: GstTagDemuxResult = GstTagDemuxResult
pub const GST_TAG_DEMUX_RESULT_AGAIN: GstTagDemuxResult = GstTagDemuxResult::Again;
pub const GST_TAG_DEMUX_RESULT_OK: GstTagDemuxResult = GstTagDemuxResult::Ok;
extern "C" {
pub fn gst_tag_image_type_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstTagImageType {
@ -121,10 +113,6 @@ pub const GST_TAG_MUSICBRAINZ_TRACKID: *const c_char = b"musicbrainz-trackid\0"
pub const GST_TAG_MUSICBRAINZ_TRMID: *const c_char = b"musicbrainz-trmid\0" as *const u8 as *const c_char;
// Flags
extern "C" {
pub fn gst_tag_license_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstTagLicenseFlags: c_uint {
@ -197,6 +185,21 @@ pub struct GstTagXmpWriter(c_void);
extern "C" {
//=========================================================================
// GstTagDemuxResult
//=========================================================================
pub fn gst_tag_demux_result_get_type() -> GType;
//=========================================================================
// GstTagImageType
//=========================================================================
pub fn gst_tag_image_type_get_type() -> GType;
//=========================================================================
// GstTagLicenseFlags
//=========================================================================
pub fn gst_tag_license_flags_get_type() -> GType;
//=========================================================================
// GstTagDemux
//=========================================================================

View file

@ -1,4 +1,4 @@
// This file was generated by gir (a4dcfea) from gir-files (???)
// This file was generated by gir (5c71144) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
@ -19,10 +19,6 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
// Enums
extern "C" {
pub fn gst_color_balance_type_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstColorBalanceType {
@ -32,10 +28,6 @@ pub enum GstColorBalanceType {
pub const GST_COLOR_BALANCE_HARDWARE: GstColorBalanceType = GstColorBalanceType::Hardware;
pub const GST_COLOR_BALANCE_SOFTWARE: GstColorBalanceType = GstColorBalanceType::Software;
extern "C" {
pub fn gst_navigation_command_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstNavigationCommand {
@ -71,10 +63,6 @@ pub const GST_NAVIGATION_COMMAND_ACTIVATE: GstNavigationCommand = GstNavigationC
pub const GST_NAVIGATION_COMMAND_PREV_ANGLE: GstNavigationCommand = GstNavigationCommand::PrevAngle;
pub const GST_NAVIGATION_COMMAND_NEXT_ANGLE: GstNavigationCommand = GstNavigationCommand::NextAngle;
extern "C" {
pub fn gst_navigation_event_type_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstNavigationEventType {
@ -94,10 +82,6 @@ pub const GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE: GstNavigationEventType = Gs
pub const GST_NAVIGATION_EVENT_MOUSE_MOVE: GstNavigationEventType = GstNavigationEventType::MouseMove;
pub const GST_NAVIGATION_EVENT_COMMAND: GstNavigationEventType = GstNavigationEventType::Command;
extern "C" {
pub fn gst_navigation_message_type_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstNavigationMessageType {
@ -113,10 +97,6 @@ pub const GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED: GstNavigationMessageType = Gs
pub const GST_NAVIGATION_MESSAGE_ANGLES_CHANGED: GstNavigationMessageType = GstNavigationMessageType::AnglesChanged;
pub const GST_NAVIGATION_MESSAGE_EVENT: GstNavigationMessageType = GstNavigationMessageType::Event;
extern "C" {
pub fn gst_navigation_query_type_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstNavigationQueryType {
@ -128,10 +108,6 @@ pub const GST_NAVIGATION_QUERY_INVALID: GstNavigationQueryType = GstNavigationQu
pub const GST_NAVIGATION_QUERY_COMMANDS: GstNavigationQueryType = GstNavigationQueryType::Commands;
pub const GST_NAVIGATION_QUERY_ANGLES: GstNavigationQueryType = GstNavigationQueryType::Angles;
extern "C" {
pub fn gst_video_alpha_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoAlphaMode {
@ -143,10 +119,6 @@ pub const GST_VIDEO_ALPHA_MODE_COPY: GstVideoAlphaMode = GstVideoAlphaMode::Copy
pub const GST_VIDEO_ALPHA_MODE_SET: GstVideoAlphaMode = GstVideoAlphaMode::Set;
pub const GST_VIDEO_ALPHA_MODE_MULT: GstVideoAlphaMode = GstVideoAlphaMode::Mult;
extern "C" {
pub fn gst_video_chroma_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoChromaMethod {
@ -156,10 +128,6 @@ pub enum GstVideoChromaMethod {
pub const GST_VIDEO_CHROMA_METHOD_NEAREST: GstVideoChromaMethod = GstVideoChromaMethod::Nearest;
pub const GST_VIDEO_CHROMA_METHOD_LINEAR: GstVideoChromaMethod = GstVideoChromaMethod::Linear;
extern "C" {
pub fn gst_video_chroma_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoChromaMode {
@ -173,10 +141,6 @@ pub const GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY: GstVideoChromaMode = GstVideoChro
pub const GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY: GstVideoChromaMode = GstVideoChromaMode::DownsampleOnly;
pub const GST_VIDEO_CHROMA_MODE_NONE: GstVideoChromaMode = GstVideoChromaMode::None;
extern "C" {
pub fn gst_video_color_matrix_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoColorMatrix {
@ -196,10 +160,6 @@ pub const GST_VIDEO_COLOR_MATRIX_BT601: GstVideoColorMatrix = GstVideoColorMatri
pub const GST_VIDEO_COLOR_MATRIX_SMPTE240M: GstVideoColorMatrix = GstVideoColorMatrix::Smpte240m;
pub const GST_VIDEO_COLOR_MATRIX_BT2020: GstVideoColorMatrix = GstVideoColorMatrix::Bt2020;
extern "C" {
pub fn gst_video_color_primaries_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoColorPrimaries {
@ -223,10 +183,6 @@ pub const GST_VIDEO_COLOR_PRIMARIES_FILM: GstVideoColorPrimaries = GstVideoColor
pub const GST_VIDEO_COLOR_PRIMARIES_BT2020: GstVideoColorPrimaries = GstVideoColorPrimaries::Bt2020;
pub const GST_VIDEO_COLOR_PRIMARIES_ADOBERGB: GstVideoColorPrimaries = GstVideoColorPrimaries::Adobergb;
extern "C" {
pub fn gst_video_color_range_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoColorRange {
@ -238,10 +194,6 @@ pub const GST_VIDEO_COLOR_RANGE_UNKNOWN: GstVideoColorRange = GstVideoColorRange
pub const GST_VIDEO_COLOR_RANGE_0_255: GstVideoColorRange = GstVideoColorRange::_0255;
pub const GST_VIDEO_COLOR_RANGE_16_235: GstVideoColorRange = GstVideoColorRange::_16235;
extern "C" {
pub fn gst_video_dither_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoDitherMethod {
@ -257,10 +209,6 @@ pub const GST_VIDEO_DITHER_FLOYD_STEINBERG: GstVideoDitherMethod = GstVideoDithe
pub const GST_VIDEO_DITHER_SIERRA_LITE: GstVideoDitherMethod = GstVideoDitherMethod::SierraLite;
pub const GST_VIDEO_DITHER_BAYER: GstVideoDitherMethod = GstVideoDitherMethod::Bayer;
extern "C" {
pub fn gst_video_field_order_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoFieldOrder {
@ -272,10 +220,6 @@ pub const GST_VIDEO_FIELD_ORDER_UNKNOWN: GstVideoFieldOrder = GstVideoFieldOrder
pub const GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST: GstVideoFieldOrder = GstVideoFieldOrder::TopFieldFirst;
pub const GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST: GstVideoFieldOrder = GstVideoFieldOrder::BottomFieldFirst;
extern "C" {
pub fn gst_video_format_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoFormat {
@ -469,10 +413,6 @@ pub const GST_VIDEO_GL_TEXTURE_TYPE_RGBA: GstVideoGLTextureType = GstVideoGLText
pub const GST_VIDEO_GL_TEXTURE_TYPE_R: GstVideoGLTextureType = GstVideoGLTextureType::R;
pub const GST_VIDEO_GL_TEXTURE_TYPE_RG: GstVideoGLTextureType = GstVideoGLTextureType::Rg;
extern "C" {
pub fn gst_video_gamma_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoGammaMode {
@ -482,10 +422,6 @@ pub enum GstVideoGammaMode {
pub const GST_VIDEO_GAMMA_MODE_NONE: GstVideoGammaMode = GstVideoGammaMode::None;
pub const GST_VIDEO_GAMMA_MODE_REMAP: GstVideoGammaMode = GstVideoGammaMode::Remap;
extern "C" {
pub fn gst_video_interlace_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoInterlaceMode {
@ -499,10 +435,6 @@ pub const GST_VIDEO_INTERLACE_MODE_INTERLEAVED: GstVideoInterlaceMode = GstVideo
pub const GST_VIDEO_INTERLACE_MODE_MIXED: GstVideoInterlaceMode = GstVideoInterlaceMode::Mixed;
pub const GST_VIDEO_INTERLACE_MODE_FIELDS: GstVideoInterlaceMode = GstVideoInterlaceMode::Fields;
extern "C" {
pub fn gst_video_matrix_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoMatrixMode {
@ -516,10 +448,6 @@ pub const GST_VIDEO_MATRIX_MODE_INPUT_ONLY: GstVideoMatrixMode = GstVideoMatrixM
pub const GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY: GstVideoMatrixMode = GstVideoMatrixMode::OutputOnly;
pub const GST_VIDEO_MATRIX_MODE_NONE: GstVideoMatrixMode = GstVideoMatrixMode::None;
extern "C" {
pub fn gst_video_multiview_frame_packing_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoMultiviewFramePacking {
@ -545,10 +473,6 @@ pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED: GstVideoMultiviewFr
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::TopBottom;
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::Checkerboard;
extern "C" {
pub fn gst_video_multiview_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoMultiviewMode {
@ -580,10 +504,6 @@ pub const GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME: GstVideoMultiviewMode = GstVi
pub const GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME: GstVideoMultiviewMode = GstVideoMultiviewMode::MultiviewFrameByFrame;
pub const GST_VIDEO_MULTIVIEW_MODE_SEPARATED: GstVideoMultiviewMode = GstVideoMultiviewMode::Separated;
extern "C" {
pub fn gst_video_orientation_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoOrientationMethod {
@ -620,10 +540,6 @@ pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE: GstVideoOverlayFormatFlags = GstVi
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA: GstVideoOverlayFormatFlags = GstVideoOverlayFormatFlags::PremultipliedAlpha;
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA: GstVideoOverlayFormatFlags = GstVideoOverlayFormatFlags::GlobalAlpha;
extern "C" {
pub fn gst_video_primaries_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoPrimariesMode {
@ -635,10 +551,6 @@ pub const GST_VIDEO_PRIMARIES_MODE_NONE: GstVideoPrimariesMode = GstVideoPrimari
pub const GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY: GstVideoPrimariesMode = GstVideoPrimariesMode::MergeOnly;
pub const GST_VIDEO_PRIMARIES_MODE_FAST: GstVideoPrimariesMode = GstVideoPrimariesMode::Fast;
extern "C" {
pub fn gst_video_resampler_method_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoResamplerMethod {
@ -654,10 +566,6 @@ pub const GST_VIDEO_RESAMPLER_METHOD_CUBIC: GstVideoResamplerMethod = GstVideoRe
pub const GST_VIDEO_RESAMPLER_METHOD_SINC: GstVideoResamplerMethod = GstVideoResamplerMethod::Sinc;
pub const GST_VIDEO_RESAMPLER_METHOD_LANCZOS: GstVideoResamplerMethod = GstVideoResamplerMethod::Lanczos;
extern "C" {
pub fn gst_video_tile_mode_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoTileMode {
@ -667,18 +575,10 @@ pub enum GstVideoTileMode {
pub const GST_VIDEO_TILE_MODE_UNKNOWN: GstVideoTileMode = GstVideoTileMode::Unknown;
pub const GST_VIDEO_TILE_MODE_ZFLIPZ_2X2: GstVideoTileMode = GstVideoTileMode::Zflipz2x2;
extern "C" {
pub fn gst_video_tile_type_get_type() -> GType;
}
pub type VideoTileType = c_int;
pub const GST_VIDEO_TILE_TYPE_INDEXED: VideoTileType = 0;
pub type GstVideoTileType = VideoTileType;
extern "C" {
pub fn gst_video_transfer_function_get_type() -> GType;
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
#[repr(C)]
pub enum GstVideoTransferFunction {
@ -783,10 +683,6 @@ pub const GST_VIDEO_TILE_X_TILES_MASK: c_int = 0;
pub const GST_VIDEO_TILE_Y_TILES_SHIFT: c_int = 16;
// Flags
extern "C" {
pub fn gst_video_buffer_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoBufferFlags: c_uint {
@ -800,10 +696,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_chroma_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoChromaFlags: c_uint {
@ -812,10 +704,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_chroma_site_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoChromaSite: c_uint {
@ -841,10 +729,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_dither_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoDitherFlags: c_uint {
@ -854,10 +738,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoFlags: c_uint {
@ -867,10 +747,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_format_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoFormatFlags: c_uint {
@ -886,10 +762,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_frame_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoFrameFlags: c_uint {
@ -903,10 +775,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_frame_map_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoFrameMapFlags: c_uint {
@ -915,10 +783,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_multiview_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoMultiviewFlags: c_uint {
@ -933,10 +797,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_pack_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoPackFlags: c_uint {
@ -946,10 +806,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_resampler_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoResamplerFlags: c_uint {
@ -958,10 +814,6 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_scaler_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoScalerFlags: c_uint {
@ -1454,26 +1306,75 @@ pub struct GstVideoOverlay(c_void);
extern "C" {
//=========================================================================
// GstColorBalanceType
//=========================================================================
pub fn gst_color_balance_type_get_type() -> GType;
//=========================================================================
// GstNavigationCommand
//=========================================================================
pub fn gst_navigation_command_get_type() -> GType;
//=========================================================================
// GstNavigationEventType
//=========================================================================
pub fn gst_navigation_event_type_get_type() -> GType;
//=========================================================================
// GstNavigationMessageType
//=========================================================================
pub fn gst_navigation_message_type_get_type() -> GType;
//=========================================================================
// GstNavigationQueryType
//=========================================================================
pub fn gst_navigation_query_type_get_type() -> GType;
//=========================================================================
// GstVideoAlphaMode
//=========================================================================
pub fn gst_video_alpha_mode_get_type() -> GType;
//=========================================================================
// GstVideoChromaMethod
//=========================================================================
pub fn gst_video_chroma_method_get_type() -> GType;
//=========================================================================
// GstVideoChromaMode
//=========================================================================
pub fn gst_video_chroma_mode_get_type() -> GType;
//=========================================================================
// GstVideoColorMatrix
//=========================================================================
pub fn gst_video_color_matrix_get_type() -> GType;
#[cfg(feature = "v1_6")]
pub fn gst_video_color_matrix_get_Kr_Kb(matrix: GstVideoColorMatrix, Kr: *mut c_double, Kb: *mut c_double) -> gboolean;
//=========================================================================
// GstVideoColorPrimaries
//=========================================================================
pub fn gst_video_color_primaries_get_type() -> GType;
#[cfg(feature = "v1_6")]
pub fn gst_video_color_primaries_get_info(primaries: GstVideoColorPrimaries) -> *const GstVideoColorPrimariesInfo;
//=========================================================================
// GstVideoColorRange
//=========================================================================
pub fn gst_video_color_range_get_type() -> GType;
pub fn gst_video_color_range_offsets(range: GstVideoColorRange, info: *const GstVideoFormatInfo, offset: c_int, scale: c_int);
//=========================================================================
// GstVideoDitherMethod
//=========================================================================
pub fn gst_video_dither_method_get_type() -> GType;
//=========================================================================
// GstVideoFieldOrder
//=========================================================================
pub fn gst_video_field_order_get_type() -> GType;
#[cfg(feature = "v1_12")]
pub fn gst_video_field_order_from_string(order: *const c_char) -> GstVideoFieldOrder;
#[cfg(feature = "v1_12")]
@ -1482,6 +1383,7 @@ extern "C" {
//=========================================================================
// GstVideoFormat
//=========================================================================
pub fn gst_video_format_get_type() -> GType;
pub fn gst_video_format_from_fourcc(fourcc: u32) -> GstVideoFormat;
pub fn gst_video_format_from_masks(depth: c_int, bpp: c_int, endianness: c_int, red_mask: c_uint, green_mask: c_uint, blue_mask: c_uint, alpha_mask: c_uint) -> GstVideoFormat;
pub fn gst_video_format_from_string(format: *const c_char) -> GstVideoFormat;
@ -1491,22 +1393,129 @@ extern "C" {
pub fn gst_video_format_to_fourcc(format: GstVideoFormat) -> u32;
pub fn gst_video_format_to_string(format: GstVideoFormat) -> *const c_char;
//=========================================================================
// GstVideoGammaMode
//=========================================================================
pub fn gst_video_gamma_mode_get_type() -> GType;
//=========================================================================
// GstVideoInterlaceMode
//=========================================================================
pub fn gst_video_interlace_mode_get_type() -> GType;
#[cfg(feature = "v1_6")]
pub fn gst_video_interlace_mode_from_string(mode: *const c_char) -> GstVideoInterlaceMode;
#[cfg(feature = "v1_6")]
pub fn gst_video_interlace_mode_to_string(mode: GstVideoInterlaceMode) -> *const c_char;
//=========================================================================
// GstVideoMatrixMode
//=========================================================================
pub fn gst_video_matrix_mode_get_type() -> GType;
//=========================================================================
// GstVideoMultiviewFramePacking
//=========================================================================
pub fn gst_video_multiview_frame_packing_get_type() -> GType;
//=========================================================================
// GstVideoMultiviewMode
//=========================================================================
pub fn gst_video_multiview_mode_get_type() -> GType;
#[cfg(feature = "v1_6")]
pub fn gst_video_multiview_mode_from_caps_string(caps_mview_mode: *const c_char) -> GstVideoMultiviewMode;
#[cfg(feature = "v1_6")]
pub fn gst_video_multiview_mode_to_caps_string(mview_mode: GstVideoMultiviewMode) -> *const c_char;
//=========================================================================
// GstVideoOrientationMethod
//=========================================================================
pub fn gst_video_orientation_method_get_type() -> GType;
//=========================================================================
// GstVideoPrimariesMode
//=========================================================================
pub fn gst_video_primaries_mode_get_type() -> GType;
//=========================================================================
// GstVideoResamplerMethod
//=========================================================================
pub fn gst_video_resampler_method_get_type() -> GType;
//=========================================================================
// GstVideoTileMode
//=========================================================================
pub fn gst_video_tile_mode_get_type() -> GType;
//=========================================================================
// GstVideoTileType
//=========================================================================
pub fn gst_video_tile_type_get_type() -> GType;
//=========================================================================
// GstVideoTransferFunction
//=========================================================================
pub fn gst_video_transfer_function_get_type() -> GType;
//=========================================================================
// GstVideoBufferFlags
//=========================================================================
pub fn gst_video_buffer_flags_get_type() -> GType;
//=========================================================================
// GstVideoChromaFlags
//=========================================================================
pub fn gst_video_chroma_flags_get_type() -> GType;
//=========================================================================
// GstVideoChromaSite
//=========================================================================
pub fn gst_video_chroma_site_get_type() -> GType;
//=========================================================================
// GstVideoDitherFlags
//=========================================================================
pub fn gst_video_dither_flags_get_type() -> GType;
//=========================================================================
// GstVideoFlags
//=========================================================================
pub fn gst_video_flags_get_type() -> GType;
//=========================================================================
// GstVideoFormatFlags
//=========================================================================
pub fn gst_video_format_flags_get_type() -> GType;
//=========================================================================
// GstVideoFrameFlags
//=========================================================================
pub fn gst_video_frame_flags_get_type() -> GType;
//=========================================================================
// GstVideoFrameMapFlags
//=========================================================================
pub fn gst_video_frame_map_flags_get_type() -> GType;
//=========================================================================
// GstVideoMultiviewFlags
//=========================================================================
pub fn gst_video_multiview_flags_get_type() -> GType;
//=========================================================================
// GstVideoPackFlags
//=========================================================================
pub fn gst_video_pack_flags_get_type() -> GType;
//=========================================================================
// GstVideoResamplerFlags
//=========================================================================
pub fn gst_video_resampler_flags_get_type() -> GType;
//=========================================================================
// GstVideoScalerFlags
//=========================================================================
pub fn gst_video_scaler_flags_get_type() -> GType;
//=========================================================================
// GstVideoAffineTransformationMeta
//=========================================================================