Commit fa326c86 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Regenerate with latest gir

parent fbadb070
// This file was generated by gir (d121f7e+) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -19,6 +19,10 @@ 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 {
......
// This file was generated by gir (d121f7e+) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -20,6 +20,10 @@ 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 {
......@@ -37,6 +41,10 @@ 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 {
......@@ -50,6 +58,10 @@ 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 {
......@@ -63,6 +75,10 @@ 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 {
......@@ -72,6 +88,10 @@ 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 {
......@@ -139,6 +159,10 @@ 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 {
......@@ -152,6 +176,10 @@ 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 {
......@@ -235,6 +263,10 @@ 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 {
......@@ -244,6 +276,10 @@ 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 {
......@@ -259,6 +295,10 @@ 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 {
......@@ -270,6 +310,10 @@ 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 {
......@@ -281,6 +325,10 @@ 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 {
......@@ -296,6 +344,10 @@ 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 {
......@@ -331,6 +383,10 @@ 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 {
......@@ -390,6 +446,10 @@ 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 {
......@@ -401,6 +461,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_converter_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioConverterFlags: c_uint {
......@@ -410,6 +474,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioFlags: c_uint {
......@@ -418,6 +486,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_format_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioFormatFlags: c_uint {
......@@ -429,6 +501,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_pack_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioPackFlags: c_uint {
......@@ -437,6 +513,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_quantize_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioQuantizeFlags: c_uint {
......@@ -445,6 +525,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_audio_resampler_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstAudioResamplerFlags: c_uint {
......@@ -897,7 +981,9 @@ extern "C" {
pub fn gst_audio_resampler_resample(resampler: *mut GstAudioResampler, in_: gpointer, in_frames: size_t, out: gpointer, out_frames: size_t);
pub fn gst_audio_resampler_reset(resampler: *mut GstAudioResampler);
pub fn gst_audio_resampler_update(resampler: *mut GstAudioResampler, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure) -> gboolean;
#[cfg(feature = "v1_6")]
pub fn gst_audio_resampler_new(method: GstAudioResamplerMethod, flags: GstAudioResamplerFlags, format: GstAudioFormat, channels: c_int, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure) -> *mut GstAudioResampler;
#[cfg(feature = "v1_6")]
pub fn gst_audio_resampler_options_set_quality(method: GstAudioResamplerMethod, quality: c_uint, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure);
//=========================================================================
......
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -550,11 +550,13 @@ extern "C" {
pub fn gst_flow_combiner_clear(combiner: *mut GstFlowCombiner);
#[cfg(feature = "v1_4")]
pub fn gst_flow_combiner_free(combiner: *mut GstFlowCombiner);
#[cfg(feature = "v1_4")]
pub fn gst_flow_combiner_ref(combiner: *mut GstFlowCombiner) -> *mut GstFlowCombiner;
#[cfg(feature = "v1_4")]
pub fn gst_flow_combiner_remove_pad(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad);
#[cfg(feature = "v1_6")]
pub fn gst_flow_combiner_reset(combiner: *mut GstFlowCombiner);
#[cfg(feature = "v1_4")]
pub fn gst_flow_combiner_unref(combiner: *mut GstFlowCombiner);
#[cfg(feature = "v1_4")]
pub fn gst_flow_combiner_update_flow(combiner: *mut GstFlowCombiner, fret: gst::GstFlowReturn) -> gst::GstFlowReturn;
......
// This file was generated by gir (531f8d9) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -30,6 +30,10 @@ 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 {
......@@ -55,6 +59,10 @@ 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 {
......@@ -72,6 +80,10 @@ 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 {
......@@ -111,6 +123,10 @@ 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 {
......
This diff is collapsed.
// This file was generated by gir (d121f7e+) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -19,6 +19,10 @@ 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 {
......@@ -30,6 +34,10 @@ 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 {
......@@ -113,6 +121,10 @@ 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 {
......
// This file was generated by gir (d121f7e+) from gir-files (???)
// This file was generated by gir (a4dcfea) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -19,6 +19,10 @@ 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 {
......@@ -28,6 +32,10 @@ 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 {
......@@ -63,6 +71,10 @@ 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 {
......@@ -82,6 +94,10 @@ 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 {
......@@ -97,6 +113,10 @@ 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 {
......@@ -108,6 +128,10 @@ 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 {
......@@ -119,6 +143,10 @@ 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 {
......@@ -128,6 +156,10 @@ 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 {
......@@ -141,6 +173,10 @@ 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 {
......@@ -160,6 +196,10 @@ 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 {
......@@ -183,6 +223,10 @@ 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 {
......@@ -194,6 +238,10 @@ 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 {
......@@ -209,6 +257,10 @@ 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 {
......@@ -220,6 +272,10 @@ 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 {
......@@ -413,6 +469,10 @@ 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 {
......@@ -422,6 +482,10 @@ 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 {
......@@ -435,6 +499,10 @@ 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 {
......@@ -448,6 +516,10 @@ 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 {
......@@ -473,6 +545,10 @@ 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 {
......@@ -504,6 +580,10 @@ 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 {
......@@ -540,6 +620,10 @@ 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 {
......@@ -551,6 +635,10 @@ 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 {
......@@ -566,6 +654,10 @@ 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 {
......@@ -575,10 +667,18 @@ 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 {
......@@ -683,6 +783,10 @@ 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 {
......@@ -696,6 +800,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_chroma_flags_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoChromaFlags: c_uint {
......@@ -704,6 +812,10 @@ bitflags! {
}
}
extern "C" {
pub fn gst_video_chroma_site_get_type() -> GType;
}
bitflags! {
#[repr(C)]
pub struct GstVideoChromaSite: c_uint {
......@@ -729,6 +841,10 @@ bitflags! {
}
}