mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-05 17:19:42 +00:00
Regenerate everything with latest GIR
This commit is contained in:
parent
0726597615
commit
8e91ceb6e1
9 changed files with 1327 additions and 2915 deletions
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||
// This file was generated by gir (94e079d) from gir-files (???)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||
|
@ -17,16 +17,10 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
|||
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
|
||||
|
||||
// Enums
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAppStreamType {
|
||||
Stream = 0,
|
||||
Seekable = 1,
|
||||
RandomAccess = 2,
|
||||
}
|
||||
pub const GST_APP_STREAM_TYPE_STREAM: GstAppStreamType = GstAppStreamType::Stream;
|
||||
pub const GST_APP_STREAM_TYPE_SEEKABLE: GstAppStreamType = GstAppStreamType::Seekable;
|
||||
pub const GST_APP_STREAM_TYPE_RANDOM_ACCESS: GstAppStreamType = GstAppStreamType::RandomAccess;
|
||||
pub type GstAppStreamType = c_int;
|
||||
pub const GST_APP_STREAM_TYPE_STREAM: GstAppStreamType = 0;
|
||||
pub const GST_APP_STREAM_TYPE_SEEKABLE: GstAppStreamType = 1;
|
||||
pub const GST_APP_STREAM_TYPE_RANDOM_ACCESS: GstAppStreamType = 2;
|
||||
|
||||
// Records
|
||||
#[repr(C)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||
// This file was generated by gir (94e079d) from gir-files (???)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||
|
@ -19,340 +19,158 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
|||
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
|
||||
|
||||
// Enums
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioBaseSinkDiscontReason {
|
||||
NoDiscont = 0,
|
||||
NewCaps = 1,
|
||||
Flush = 2,
|
||||
SyncLatency = 3,
|
||||
Alignment = 4,
|
||||
DeviceFailure = 5,
|
||||
}
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_NO_DISCONT: GstAudioBaseSinkDiscontReason = GstAudioBaseSinkDiscontReason::NoDiscont;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_NEW_CAPS: GstAudioBaseSinkDiscontReason = GstAudioBaseSinkDiscontReason::NewCaps;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_FLUSH: GstAudioBaseSinkDiscontReason = GstAudioBaseSinkDiscontReason::Flush;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY: GstAudioBaseSinkDiscontReason = GstAudioBaseSinkDiscontReason::SyncLatency;
|
||||
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;
|
||||
pub type GstAudioBaseSinkDiscontReason = c_int;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_NO_DISCONT: GstAudioBaseSinkDiscontReason = 0;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_NEW_CAPS: GstAudioBaseSinkDiscontReason = 1;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_FLUSH: GstAudioBaseSinkDiscontReason = 2;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY: GstAudioBaseSinkDiscontReason = 3;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_ALIGNMENT: GstAudioBaseSinkDiscontReason = 4;
|
||||
pub const GST_AUDIO_BASE_SINK_DISCONT_REASON_DEVICE_FAILURE: GstAudioBaseSinkDiscontReason = 5;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioBaseSinkSlaveMethod {
|
||||
Resample = 0,
|
||||
Skew = 1,
|
||||
None = 2,
|
||||
Custom = 3,
|
||||
}
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_RESAMPLE: GstAudioBaseSinkSlaveMethod = GstAudioBaseSinkSlaveMethod::Resample;
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_SKEW: GstAudioBaseSinkSlaveMethod = GstAudioBaseSinkSlaveMethod::Skew;
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_NONE: GstAudioBaseSinkSlaveMethod = GstAudioBaseSinkSlaveMethod::None;
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_CUSTOM: GstAudioBaseSinkSlaveMethod = GstAudioBaseSinkSlaveMethod::Custom;
|
||||
pub type GstAudioBaseSinkSlaveMethod = c_int;
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_RESAMPLE: GstAudioBaseSinkSlaveMethod = 0;
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_SKEW: GstAudioBaseSinkSlaveMethod = 1;
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_NONE: GstAudioBaseSinkSlaveMethod = 2;
|
||||
pub const GST_AUDIO_BASE_SINK_SLAVE_CUSTOM: GstAudioBaseSinkSlaveMethod = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioBaseSrcSlaveMethod {
|
||||
Resample = 0,
|
||||
ReTimestamp = 1,
|
||||
Skew = 2,
|
||||
None = 3,
|
||||
}
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_RESAMPLE: GstAudioBaseSrcSlaveMethod = GstAudioBaseSrcSlaveMethod::Resample;
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP: GstAudioBaseSrcSlaveMethod = GstAudioBaseSrcSlaveMethod::ReTimestamp;
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_SKEW: GstAudioBaseSrcSlaveMethod = GstAudioBaseSrcSlaveMethod::Skew;
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_NONE: GstAudioBaseSrcSlaveMethod = GstAudioBaseSrcSlaveMethod::None;
|
||||
pub type GstAudioBaseSrcSlaveMethod = c_int;
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_RESAMPLE: GstAudioBaseSrcSlaveMethod = 0;
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP: GstAudioBaseSrcSlaveMethod = 1;
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_SKEW: GstAudioBaseSrcSlaveMethod = 2;
|
||||
pub const GST_AUDIO_BASE_SRC_SLAVE_NONE: GstAudioBaseSrcSlaveMethod = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioCdSrcMode {
|
||||
Normal = 0,
|
||||
Continuous = 1,
|
||||
}
|
||||
pub const GST_AUDIO_CD_SRC_MODE_NORMAL: GstAudioCdSrcMode = GstAudioCdSrcMode::Normal;
|
||||
pub const GST_AUDIO_CD_SRC_MODE_CONTINUOUS: GstAudioCdSrcMode = GstAudioCdSrcMode::Continuous;
|
||||
pub type GstAudioCdSrcMode = c_int;
|
||||
pub const GST_AUDIO_CD_SRC_MODE_NORMAL: GstAudioCdSrcMode = 0;
|
||||
pub const GST_AUDIO_CD_SRC_MODE_CONTINUOUS: GstAudioCdSrcMode = 1;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioChannelPosition {
|
||||
None = -3,
|
||||
Mono = -2,
|
||||
Invalid = -1,
|
||||
FrontLeft = 0,
|
||||
FrontRight = 1,
|
||||
FrontCenter = 2,
|
||||
Lfe1 = 3,
|
||||
RearLeft = 4,
|
||||
RearRight = 5,
|
||||
FrontLeftOfCenter = 6,
|
||||
FrontRightOfCenter = 7,
|
||||
RearCenter = 8,
|
||||
Lfe2 = 9,
|
||||
SideLeft = 10,
|
||||
SideRight = 11,
|
||||
TopFrontLeft = 12,
|
||||
TopFrontRight = 13,
|
||||
TopFrontCenter = 14,
|
||||
TopCenter = 15,
|
||||
TopRearLeft = 16,
|
||||
TopRearRight = 17,
|
||||
TopSideLeft = 18,
|
||||
TopSideRight = 19,
|
||||
TopRearCenter = 20,
|
||||
BottomFrontCenter = 21,
|
||||
BottomFrontLeft = 22,
|
||||
BottomFrontRight = 23,
|
||||
WideLeft = 24,
|
||||
WideRight = 25,
|
||||
SurroundLeft = 26,
|
||||
SurroundRight = 27,
|
||||
}
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_NONE: GstAudioChannelPosition = GstAudioChannelPosition::None;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_MONO: GstAudioChannelPosition = GstAudioChannelPosition::Mono;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_INVALID: GstAudioChannelPosition = GstAudioChannelPosition::Invalid;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::FrontLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::FrontRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::FrontCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_LFE1: GstAudioChannelPosition = GstAudioChannelPosition::Lfe1;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_REAR_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::RearLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::RearRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::FrontLeftOfCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::FrontRightOfCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_REAR_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::RearCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_LFE2: GstAudioChannelPosition = GstAudioChannelPosition::Lfe2;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::SideLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::SideRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::TopFrontLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::TopFrontRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::TopFrontCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::TopCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::TopRearLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::TopRearRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::TopSideLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::TopSideRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::TopRearCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER: GstAudioChannelPosition = GstAudioChannelPosition::BottomFrontCenter;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::BottomFrontLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::BottomFrontRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::WideLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::WideRight;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT: GstAudioChannelPosition = GstAudioChannelPosition::SurroundLeft;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT: GstAudioChannelPosition = GstAudioChannelPosition::SurroundRight;
|
||||
pub type GstAudioChannelPosition = c_int;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_NONE: GstAudioChannelPosition = -3;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_MONO: GstAudioChannelPosition = -2;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_INVALID: GstAudioChannelPosition = -1;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT: GstAudioChannelPosition = 0;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT: GstAudioChannelPosition = 1;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER: GstAudioChannelPosition = 2;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_LFE1: GstAudioChannelPosition = 3;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_REAR_LEFT: GstAudioChannelPosition = 4;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT: GstAudioChannelPosition = 5;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER: GstAudioChannelPosition = 6;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER: GstAudioChannelPosition = 7;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_REAR_CENTER: GstAudioChannelPosition = 8;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_LFE2: GstAudioChannelPosition = 9;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT: GstAudioChannelPosition = 10;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT: GstAudioChannelPosition = 11;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT: GstAudioChannelPosition = 12;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT: GstAudioChannelPosition = 13;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER: GstAudioChannelPosition = 14;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_CENTER: GstAudioChannelPosition = 15;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT: GstAudioChannelPosition = 16;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT: GstAudioChannelPosition = 17;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT: GstAudioChannelPosition = 18;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT: GstAudioChannelPosition = 19;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER: GstAudioChannelPosition = 20;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER: GstAudioChannelPosition = 21;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT: GstAudioChannelPosition = 22;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT: GstAudioChannelPosition = 23;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT: GstAudioChannelPosition = 24;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT: GstAudioChannelPosition = 25;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT: GstAudioChannelPosition = 26;
|
||||
pub const GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT: GstAudioChannelPosition = 27;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioDitherMethod {
|
||||
None = 0,
|
||||
Rpdf = 1,
|
||||
Tpdf = 2,
|
||||
TpdfHf = 3,
|
||||
}
|
||||
pub const GST_AUDIO_DITHER_NONE: GstAudioDitherMethod = GstAudioDitherMethod::None;
|
||||
pub const GST_AUDIO_DITHER_RPDF: GstAudioDitherMethod = GstAudioDitherMethod::Rpdf;
|
||||
pub const GST_AUDIO_DITHER_TPDF: GstAudioDitherMethod = GstAudioDitherMethod::Tpdf;
|
||||
pub const GST_AUDIO_DITHER_TPDF_HF: GstAudioDitherMethod = GstAudioDitherMethod::TpdfHf;
|
||||
pub type GstAudioDitherMethod = c_int;
|
||||
pub const GST_AUDIO_DITHER_NONE: GstAudioDitherMethod = 0;
|
||||
pub const GST_AUDIO_DITHER_RPDF: GstAudioDitherMethod = 1;
|
||||
pub const GST_AUDIO_DITHER_TPDF: GstAudioDitherMethod = 2;
|
||||
pub const GST_AUDIO_DITHER_TPDF_HF: GstAudioDitherMethod = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioFormat {
|
||||
Unknown = 0,
|
||||
Encoded = 1,
|
||||
S8 = 2,
|
||||
U8 = 3,
|
||||
S16le = 4,
|
||||
S16be = 5,
|
||||
U16le = 6,
|
||||
U16be = 7,
|
||||
S2432le = 8,
|
||||
S2432be = 9,
|
||||
U2432le = 10,
|
||||
U2432be = 11,
|
||||
S32le = 12,
|
||||
S32be = 13,
|
||||
U32le = 14,
|
||||
U32be = 15,
|
||||
S24le = 16,
|
||||
S24be = 17,
|
||||
U24le = 18,
|
||||
U24be = 19,
|
||||
S20le = 20,
|
||||
S20be = 21,
|
||||
U20le = 22,
|
||||
U20be = 23,
|
||||
S18le = 24,
|
||||
S18be = 25,
|
||||
U18le = 26,
|
||||
U18be = 27,
|
||||
F32le = 28,
|
||||
F32be = 29,
|
||||
F64le = 30,
|
||||
F64be = 31,
|
||||
}
|
||||
pub const GST_AUDIO_FORMAT_UNKNOWN: GstAudioFormat = GstAudioFormat::Unknown;
|
||||
pub const GST_AUDIO_FORMAT_ENCODED: GstAudioFormat = GstAudioFormat::Encoded;
|
||||
pub const GST_AUDIO_FORMAT_S8: GstAudioFormat = GstAudioFormat::S8;
|
||||
pub const GST_AUDIO_FORMAT_U8: GstAudioFormat = GstAudioFormat::U8;
|
||||
pub const GST_AUDIO_FORMAT_S16LE: GstAudioFormat = GstAudioFormat::S16le;
|
||||
pub const GST_AUDIO_FORMAT_S16BE: GstAudioFormat = GstAudioFormat::S16be;
|
||||
pub const GST_AUDIO_FORMAT_U16LE: GstAudioFormat = GstAudioFormat::U16le;
|
||||
pub const GST_AUDIO_FORMAT_U16BE: GstAudioFormat = GstAudioFormat::U16be;
|
||||
pub const GST_AUDIO_FORMAT_S24_32LE: GstAudioFormat = GstAudioFormat::S2432le;
|
||||
pub const GST_AUDIO_FORMAT_S24_32BE: GstAudioFormat = GstAudioFormat::S2432be;
|
||||
pub const GST_AUDIO_FORMAT_U24_32LE: GstAudioFormat = GstAudioFormat::U2432le;
|
||||
pub const GST_AUDIO_FORMAT_U24_32BE: GstAudioFormat = GstAudioFormat::U2432be;
|
||||
pub const GST_AUDIO_FORMAT_S32LE: GstAudioFormat = GstAudioFormat::S32le;
|
||||
pub const GST_AUDIO_FORMAT_S32BE: GstAudioFormat = GstAudioFormat::S32be;
|
||||
pub const GST_AUDIO_FORMAT_U32LE: GstAudioFormat = GstAudioFormat::U32le;
|
||||
pub const GST_AUDIO_FORMAT_U32BE: GstAudioFormat = GstAudioFormat::U32be;
|
||||
pub const GST_AUDIO_FORMAT_S24LE: GstAudioFormat = GstAudioFormat::S24le;
|
||||
pub const GST_AUDIO_FORMAT_S24BE: GstAudioFormat = GstAudioFormat::S24be;
|
||||
pub const GST_AUDIO_FORMAT_U24LE: GstAudioFormat = GstAudioFormat::U24le;
|
||||
pub const GST_AUDIO_FORMAT_U24BE: GstAudioFormat = GstAudioFormat::U24be;
|
||||
pub const GST_AUDIO_FORMAT_S20LE: GstAudioFormat = GstAudioFormat::S20le;
|
||||
pub const GST_AUDIO_FORMAT_S20BE: GstAudioFormat = GstAudioFormat::S20be;
|
||||
pub const GST_AUDIO_FORMAT_U20LE: GstAudioFormat = GstAudioFormat::U20le;
|
||||
pub const GST_AUDIO_FORMAT_U20BE: GstAudioFormat = GstAudioFormat::U20be;
|
||||
pub const GST_AUDIO_FORMAT_S18LE: GstAudioFormat = GstAudioFormat::S18le;
|
||||
pub const GST_AUDIO_FORMAT_S18BE: GstAudioFormat = GstAudioFormat::S18be;
|
||||
pub const GST_AUDIO_FORMAT_U18LE: GstAudioFormat = GstAudioFormat::U18le;
|
||||
pub const GST_AUDIO_FORMAT_U18BE: GstAudioFormat = GstAudioFormat::U18be;
|
||||
pub const GST_AUDIO_FORMAT_F32LE: GstAudioFormat = GstAudioFormat::F32le;
|
||||
pub const GST_AUDIO_FORMAT_F32BE: GstAudioFormat = GstAudioFormat::F32be;
|
||||
pub const GST_AUDIO_FORMAT_F64LE: GstAudioFormat = GstAudioFormat::F64le;
|
||||
pub const GST_AUDIO_FORMAT_F64BE: GstAudioFormat = GstAudioFormat::F64be;
|
||||
pub const GST_AUDIO_FORMAT_S16: GstAudioFormat = GstAudioFormat::S16le;
|
||||
pub const GST_AUDIO_FORMAT_U16: GstAudioFormat = GstAudioFormat::U16le;
|
||||
pub const GST_AUDIO_FORMAT_S24_32: GstAudioFormat = GstAudioFormat::S2432le;
|
||||
pub const GST_AUDIO_FORMAT_U24_32: GstAudioFormat = GstAudioFormat::U2432le;
|
||||
pub const GST_AUDIO_FORMAT_S32: GstAudioFormat = GstAudioFormat::S32le;
|
||||
pub const GST_AUDIO_FORMAT_U32: GstAudioFormat = GstAudioFormat::U32le;
|
||||
pub const GST_AUDIO_FORMAT_S24: GstAudioFormat = GstAudioFormat::S24le;
|
||||
pub const GST_AUDIO_FORMAT_U24: GstAudioFormat = GstAudioFormat::U24le;
|
||||
pub const GST_AUDIO_FORMAT_S20: GstAudioFormat = GstAudioFormat::S20le;
|
||||
pub const GST_AUDIO_FORMAT_U20: GstAudioFormat = GstAudioFormat::U20le;
|
||||
pub const GST_AUDIO_FORMAT_S18: GstAudioFormat = GstAudioFormat::S18le;
|
||||
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;
|
||||
pub type GstAudioFormat = c_int;
|
||||
pub const GST_AUDIO_FORMAT_UNKNOWN: GstAudioFormat = 0;
|
||||
pub const GST_AUDIO_FORMAT_ENCODED: GstAudioFormat = 1;
|
||||
pub const GST_AUDIO_FORMAT_S8: GstAudioFormat = 2;
|
||||
pub const GST_AUDIO_FORMAT_U8: GstAudioFormat = 3;
|
||||
pub const GST_AUDIO_FORMAT_S16LE: GstAudioFormat = 4;
|
||||
pub const GST_AUDIO_FORMAT_S16BE: GstAudioFormat = 5;
|
||||
pub const GST_AUDIO_FORMAT_U16LE: GstAudioFormat = 6;
|
||||
pub const GST_AUDIO_FORMAT_U16BE: GstAudioFormat = 7;
|
||||
pub const GST_AUDIO_FORMAT_S24_32LE: GstAudioFormat = 8;
|
||||
pub const GST_AUDIO_FORMAT_S24_32BE: GstAudioFormat = 9;
|
||||
pub const GST_AUDIO_FORMAT_U24_32LE: GstAudioFormat = 10;
|
||||
pub const GST_AUDIO_FORMAT_U24_32BE: GstAudioFormat = 11;
|
||||
pub const GST_AUDIO_FORMAT_S32LE: GstAudioFormat = 12;
|
||||
pub const GST_AUDIO_FORMAT_S32BE: GstAudioFormat = 13;
|
||||
pub const GST_AUDIO_FORMAT_U32LE: GstAudioFormat = 14;
|
||||
pub const GST_AUDIO_FORMAT_U32BE: GstAudioFormat = 15;
|
||||
pub const GST_AUDIO_FORMAT_S24LE: GstAudioFormat = 16;
|
||||
pub const GST_AUDIO_FORMAT_S24BE: GstAudioFormat = 17;
|
||||
pub const GST_AUDIO_FORMAT_U24LE: GstAudioFormat = 18;
|
||||
pub const GST_AUDIO_FORMAT_U24BE: GstAudioFormat = 19;
|
||||
pub const GST_AUDIO_FORMAT_S20LE: GstAudioFormat = 20;
|
||||
pub const GST_AUDIO_FORMAT_S20BE: GstAudioFormat = 21;
|
||||
pub const GST_AUDIO_FORMAT_U20LE: GstAudioFormat = 22;
|
||||
pub const GST_AUDIO_FORMAT_U20BE: GstAudioFormat = 23;
|
||||
pub const GST_AUDIO_FORMAT_S18LE: GstAudioFormat = 24;
|
||||
pub const GST_AUDIO_FORMAT_S18BE: GstAudioFormat = 25;
|
||||
pub const GST_AUDIO_FORMAT_U18LE: GstAudioFormat = 26;
|
||||
pub const GST_AUDIO_FORMAT_U18BE: GstAudioFormat = 27;
|
||||
pub const GST_AUDIO_FORMAT_F32LE: GstAudioFormat = 28;
|
||||
pub const GST_AUDIO_FORMAT_F32BE: GstAudioFormat = 29;
|
||||
pub const GST_AUDIO_FORMAT_F64LE: GstAudioFormat = 30;
|
||||
pub const GST_AUDIO_FORMAT_F64BE: GstAudioFormat = 31;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioLayout {
|
||||
Interleaved = 0,
|
||||
NonInterleaved = 1,
|
||||
}
|
||||
pub const GST_AUDIO_LAYOUT_INTERLEAVED: GstAudioLayout = GstAudioLayout::Interleaved;
|
||||
pub const GST_AUDIO_LAYOUT_NON_INTERLEAVED: GstAudioLayout = GstAudioLayout::NonInterleaved;
|
||||
pub type GstAudioLayout = c_int;
|
||||
pub const GST_AUDIO_LAYOUT_INTERLEAVED: GstAudioLayout = 0;
|
||||
pub const GST_AUDIO_LAYOUT_NON_INTERLEAVED: GstAudioLayout = 1;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioNoiseShapingMethod {
|
||||
None = 0,
|
||||
ErrorFeedback = 1,
|
||||
Simple = 2,
|
||||
Medium = 3,
|
||||
High = 4,
|
||||
}
|
||||
pub const GST_AUDIO_NOISE_SHAPING_NONE: GstAudioNoiseShapingMethod = GstAudioNoiseShapingMethod::None;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK: GstAudioNoiseShapingMethod = GstAudioNoiseShapingMethod::ErrorFeedback;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_SIMPLE: GstAudioNoiseShapingMethod = GstAudioNoiseShapingMethod::Simple;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_MEDIUM: GstAudioNoiseShapingMethod = GstAudioNoiseShapingMethod::Medium;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_HIGH: GstAudioNoiseShapingMethod = GstAudioNoiseShapingMethod::High;
|
||||
pub type GstAudioNoiseShapingMethod = c_int;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_NONE: GstAudioNoiseShapingMethod = 0;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK: GstAudioNoiseShapingMethod = 1;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_SIMPLE: GstAudioNoiseShapingMethod = 2;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_MEDIUM: GstAudioNoiseShapingMethod = 3;
|
||||
pub const GST_AUDIO_NOISE_SHAPING_HIGH: GstAudioNoiseShapingMethod = 4;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioResamplerFilterInterpolation {
|
||||
None = 0,
|
||||
Linear = 1,
|
||||
Cubic = 2,
|
||||
}
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE: GstAudioResamplerFilterInterpolation = GstAudioResamplerFilterInterpolation::None;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR: GstAudioResamplerFilterInterpolation = GstAudioResamplerFilterInterpolation::Linear;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC: GstAudioResamplerFilterInterpolation = GstAudioResamplerFilterInterpolation::Cubic;
|
||||
pub type GstAudioResamplerFilterInterpolation = c_int;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE: GstAudioResamplerFilterInterpolation = 0;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR: GstAudioResamplerFilterInterpolation = 1;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC: GstAudioResamplerFilterInterpolation = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioResamplerFilterMode {
|
||||
Interpolated = 0,
|
||||
Full = 1,
|
||||
Auto = 2,
|
||||
}
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_INTERPOLATED: GstAudioResamplerFilterMode = GstAudioResamplerFilterMode::Interpolated;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_FULL: GstAudioResamplerFilterMode = GstAudioResamplerFilterMode::Full;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO: GstAudioResamplerFilterMode = GstAudioResamplerFilterMode::Auto;
|
||||
pub type GstAudioResamplerFilterMode = c_int;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_INTERPOLATED: GstAudioResamplerFilterMode = 0;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_FULL: GstAudioResamplerFilterMode = 1;
|
||||
pub const GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO: GstAudioResamplerFilterMode = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioResamplerMethod {
|
||||
Nearest = 0,
|
||||
Linear = 1,
|
||||
Cubic = 2,
|
||||
BlackmanNuttall = 3,
|
||||
Kaiser = 4,
|
||||
}
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_NEAREST: GstAudioResamplerMethod = GstAudioResamplerMethod::Nearest;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_LINEAR: GstAudioResamplerMethod = GstAudioResamplerMethod::Linear;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_CUBIC: GstAudioResamplerMethod = GstAudioResamplerMethod::Cubic;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL: GstAudioResamplerMethod = GstAudioResamplerMethod::BlackmanNuttall;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_KAISER: GstAudioResamplerMethod = GstAudioResamplerMethod::Kaiser;
|
||||
pub type GstAudioResamplerMethod = c_int;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_NEAREST: GstAudioResamplerMethod = 0;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_LINEAR: GstAudioResamplerMethod = 1;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_CUBIC: GstAudioResamplerMethod = 2;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL: GstAudioResamplerMethod = 3;
|
||||
pub const GST_AUDIO_RESAMPLER_METHOD_KAISER: GstAudioResamplerMethod = 4;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioRingBufferFormatType {
|
||||
Raw = 0,
|
||||
MuLaw = 1,
|
||||
ALaw = 2,
|
||||
ImaAdpcm = 3,
|
||||
Mpeg = 4,
|
||||
Gsm = 5,
|
||||
Iec958 = 6,
|
||||
Ac3 = 7,
|
||||
Eac3 = 8,
|
||||
Dts = 9,
|
||||
Mpeg2Aac = 10,
|
||||
Mpeg4Aac = 11,
|
||||
Mpeg2AacRaw = 12,
|
||||
Mpeg4AacRaw = 13,
|
||||
Flac = 14,
|
||||
}
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Raw;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::MuLaw;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::ALaw;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::ImaAdpcm;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Mpeg;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Gsm;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Iec958;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Ac3;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Eac3;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Dts;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Mpeg2Aac;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Mpeg4Aac;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW: GstAudioRingBufferFormatType = GstAudioRingBufferFormatType::Mpeg2AacRaw;
|
||||
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;
|
||||
pub type GstAudioRingBufferFormatType = c_int;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW: GstAudioRingBufferFormatType = 0;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW: GstAudioRingBufferFormatType = 1;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW: GstAudioRingBufferFormatType = 2;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM: GstAudioRingBufferFormatType = 3;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG: GstAudioRingBufferFormatType = 4;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM: GstAudioRingBufferFormatType = 5;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958: GstAudioRingBufferFormatType = 6;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3: GstAudioRingBufferFormatType = 7;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3: GstAudioRingBufferFormatType = 8;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS: GstAudioRingBufferFormatType = 9;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC: GstAudioRingBufferFormatType = 10;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC: GstAudioRingBufferFormatType = 11;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW: GstAudioRingBufferFormatType = 12;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW: GstAudioRingBufferFormatType = 13;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC: GstAudioRingBufferFormatType = 14;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioRingBufferState {
|
||||
Stopped = 0,
|
||||
Paused = 1,
|
||||
Started = 2,
|
||||
Error = 3,
|
||||
}
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_STOPPED: GstAudioRingBufferState = GstAudioRingBufferState::Stopped;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_PAUSED: GstAudioRingBufferState = GstAudioRingBufferState::Paused;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_STARTED: GstAudioRingBufferState = GstAudioRingBufferState::Started;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_ERROR: GstAudioRingBufferState = GstAudioRingBufferState::Error;
|
||||
pub type GstAudioRingBufferState = c_int;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_STOPPED: GstAudioRingBufferState = 0;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_PAUSED: GstAudioRingBufferState = 1;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_STARTED: GstAudioRingBufferState = 2;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_ERROR: GstAudioRingBufferState = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstStreamVolumeFormat {
|
||||
Linear = 0,
|
||||
Cubic = 1,
|
||||
Db = 2,
|
||||
}
|
||||
pub const GST_STREAM_VOLUME_FORMAT_LINEAR: GstStreamVolumeFormat = GstStreamVolumeFormat::Linear;
|
||||
pub const GST_STREAM_VOLUME_FORMAT_CUBIC: GstStreamVolumeFormat = GstStreamVolumeFormat::Cubic;
|
||||
pub const GST_STREAM_VOLUME_FORMAT_DB: GstStreamVolumeFormat = GstStreamVolumeFormat::Db;
|
||||
pub type GstStreamVolumeFormat = c_int;
|
||||
pub const GST_STREAM_VOLUME_FORMAT_LINEAR: GstStreamVolumeFormat = 0;
|
||||
pub const GST_STREAM_VOLUME_FORMAT_CUBIC: GstStreamVolumeFormat = 1;
|
||||
pub const GST_STREAM_VOLUME_FORMAT_DB: GstStreamVolumeFormat = 2;
|
||||
|
||||
// Constants
|
||||
pub const GST_AUDIO_CHANNELS_RANGE: *const c_char = b"(int) [ 1, max ]\0" as *const u8 as *const c_char;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||
// This file was generated by gir (94e079d) from gir-files (???)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||
// This file was generated by gir (94e079d) from gir-files (???)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||
|
@ -29,74 +29,38 @@ pub type GstDiscovererVideoInfoClass = gobject::GObjectClass;
|
|||
pub type GstEncodingTargetClass = gobject::GObjectClass;
|
||||
|
||||
// Enums
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstAudioVisualizerShader {
|
||||
None = 0,
|
||||
Fade = 1,
|
||||
FadeAndMoveUp = 2,
|
||||
FadeAndMoveDown = 3,
|
||||
FadeAndMoveLeft = 4,
|
||||
FadeAndMoveRight = 5,
|
||||
FadeAndMoveHorizOut = 6,
|
||||
FadeAndMoveHorizIn = 7,
|
||||
FadeAndMoveVertOut = 8,
|
||||
FadeAndMoveVertIn = 9,
|
||||
}
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_NONE: GstAudioVisualizerShader = GstAudioVisualizerShader::None;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE: GstAudioVisualizerShader = GstAudioVisualizerShader::Fade;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_UP: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveUp;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_DOWN: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveDown;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_LEFT: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveLeft;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_RIGHT: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveRight;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_OUT: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveHorizOut;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN: GstAudioVisualizerShader = GstAudioVisualizerShader::FadeAndMoveHorizIn;
|
||||
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;
|
||||
pub type GstAudioVisualizerShader = c_int;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_NONE: GstAudioVisualizerShader = 0;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE: GstAudioVisualizerShader = 1;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_UP: GstAudioVisualizerShader = 2;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_DOWN: GstAudioVisualizerShader = 3;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_LEFT: GstAudioVisualizerShader = 4;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_RIGHT: GstAudioVisualizerShader = 5;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_OUT: GstAudioVisualizerShader = 6;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN: GstAudioVisualizerShader = 7;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_OUT: GstAudioVisualizerShader = 8;
|
||||
pub const GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_IN: GstAudioVisualizerShader = 9;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstDiscovererResult {
|
||||
Ok = 0,
|
||||
UriInvalid = 1,
|
||||
Error = 2,
|
||||
Timeout = 3,
|
||||
Busy = 4,
|
||||
MissingPlugins = 5,
|
||||
}
|
||||
pub const GST_DISCOVERER_OK: GstDiscovererResult = GstDiscovererResult::Ok;
|
||||
pub const GST_DISCOVERER_URI_INVALID: GstDiscovererResult = GstDiscovererResult::UriInvalid;
|
||||
pub const GST_DISCOVERER_ERROR: GstDiscovererResult = GstDiscovererResult::Error;
|
||||
pub const GST_DISCOVERER_TIMEOUT: GstDiscovererResult = GstDiscovererResult::Timeout;
|
||||
pub const GST_DISCOVERER_BUSY: GstDiscovererResult = GstDiscovererResult::Busy;
|
||||
pub const GST_DISCOVERER_MISSING_PLUGINS: GstDiscovererResult = GstDiscovererResult::MissingPlugins;
|
||||
pub type GstDiscovererResult = c_int;
|
||||
pub const GST_DISCOVERER_OK: GstDiscovererResult = 0;
|
||||
pub const GST_DISCOVERER_URI_INVALID: GstDiscovererResult = 1;
|
||||
pub const GST_DISCOVERER_ERROR: GstDiscovererResult = 2;
|
||||
pub const GST_DISCOVERER_TIMEOUT: GstDiscovererResult = 3;
|
||||
pub const GST_DISCOVERER_BUSY: GstDiscovererResult = 4;
|
||||
pub const GST_DISCOVERER_MISSING_PLUGINS: GstDiscovererResult = 5;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstInstallPluginsReturn {
|
||||
Success = 0,
|
||||
NotFound = 1,
|
||||
Error = 2,
|
||||
PartialSuccess = 3,
|
||||
UserAbort = 4,
|
||||
Crashed = 100,
|
||||
Invalid = 101,
|
||||
StartedOk = 200,
|
||||
InternalFailure = 201,
|
||||
HelperMissing = 202,
|
||||
InstallInProgress = 203,
|
||||
}
|
||||
pub const GST_INSTALL_PLUGINS_SUCCESS: GstInstallPluginsReturn = GstInstallPluginsReturn::Success;
|
||||
pub const GST_INSTALL_PLUGINS_NOT_FOUND: GstInstallPluginsReturn = GstInstallPluginsReturn::NotFound;
|
||||
pub const GST_INSTALL_PLUGINS_ERROR: GstInstallPluginsReturn = GstInstallPluginsReturn::Error;
|
||||
pub const GST_INSTALL_PLUGINS_PARTIAL_SUCCESS: GstInstallPluginsReturn = GstInstallPluginsReturn::PartialSuccess;
|
||||
pub const GST_INSTALL_PLUGINS_USER_ABORT: GstInstallPluginsReturn = GstInstallPluginsReturn::UserAbort;
|
||||
pub const GST_INSTALL_PLUGINS_CRASHED: GstInstallPluginsReturn = GstInstallPluginsReturn::Crashed;
|
||||
pub const GST_INSTALL_PLUGINS_INVALID: GstInstallPluginsReturn = GstInstallPluginsReturn::Invalid;
|
||||
pub const GST_INSTALL_PLUGINS_STARTED_OK: GstInstallPluginsReturn = GstInstallPluginsReturn::StartedOk;
|
||||
pub const GST_INSTALL_PLUGINS_INTERNAL_FAILURE: GstInstallPluginsReturn = GstInstallPluginsReturn::InternalFailure;
|
||||
pub const GST_INSTALL_PLUGINS_HELPER_MISSING: GstInstallPluginsReturn = GstInstallPluginsReturn::HelperMissing;
|
||||
pub const GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS: GstInstallPluginsReturn = GstInstallPluginsReturn::InstallInProgress;
|
||||
pub type GstInstallPluginsReturn = c_int;
|
||||
pub const GST_INSTALL_PLUGINS_SUCCESS: GstInstallPluginsReturn = 0;
|
||||
pub const GST_INSTALL_PLUGINS_NOT_FOUND: GstInstallPluginsReturn = 1;
|
||||
pub const GST_INSTALL_PLUGINS_ERROR: GstInstallPluginsReturn = 2;
|
||||
pub const GST_INSTALL_PLUGINS_PARTIAL_SUCCESS: GstInstallPluginsReturn = 3;
|
||||
pub const GST_INSTALL_PLUGINS_USER_ABORT: GstInstallPluginsReturn = 4;
|
||||
pub const GST_INSTALL_PLUGINS_CRASHED: GstInstallPluginsReturn = 100;
|
||||
pub const GST_INSTALL_PLUGINS_INVALID: GstInstallPluginsReturn = 101;
|
||||
pub const GST_INSTALL_PLUGINS_STARTED_OK: GstInstallPluginsReturn = 200;
|
||||
pub const GST_INSTALL_PLUGINS_INTERNAL_FAILURE: GstInstallPluginsReturn = 201;
|
||||
pub const GST_INSTALL_PLUGINS_HELPER_MISSING: GstInstallPluginsReturn = 202;
|
||||
pub const GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS: GstInstallPluginsReturn = 203;
|
||||
|
||||
// Constants
|
||||
pub const GST_ENCODING_CATEGORY_CAPTURE: *const c_char = b"capture\0" as *const u8 as *const c_char;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||
// This file was generated by gir (94e079d) from gir-files (???)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||
|
@ -18,50 +18,28 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
|||
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
|
||||
|
||||
// Enums
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstPlayerColorBalanceType {
|
||||
Hue = 3,
|
||||
Brightness = 0,
|
||||
Saturation = 2,
|
||||
Contrast = 1,
|
||||
}
|
||||
pub const GST_PLAYER_COLOR_BALANCE_HUE: GstPlayerColorBalanceType = GstPlayerColorBalanceType::Hue;
|
||||
pub const GST_PLAYER_COLOR_BALANCE_BRIGHTNESS: GstPlayerColorBalanceType = GstPlayerColorBalanceType::Brightness;
|
||||
pub const GST_PLAYER_COLOR_BALANCE_SATURATION: GstPlayerColorBalanceType = GstPlayerColorBalanceType::Saturation;
|
||||
pub const GST_PLAYER_COLOR_BALANCE_CONTRAST: GstPlayerColorBalanceType = GstPlayerColorBalanceType::Contrast;
|
||||
pub type GstPlayerColorBalanceType = c_int;
|
||||
pub const GST_PLAYER_COLOR_BALANCE_HUE: GstPlayerColorBalanceType = 3;
|
||||
pub const GST_PLAYER_COLOR_BALANCE_BRIGHTNESS: GstPlayerColorBalanceType = 0;
|
||||
pub const GST_PLAYER_COLOR_BALANCE_SATURATION: GstPlayerColorBalanceType = 2;
|
||||
pub const GST_PLAYER_COLOR_BALANCE_CONTRAST: GstPlayerColorBalanceType = 1;
|
||||
|
||||
pub type PlayerError = c_int;
|
||||
pub const GST_PLAYER_ERROR_FAILED: PlayerError = 0;
|
||||
pub type GstPlayerError = PlayerError;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstPlayerSnapshotFormat {
|
||||
RawNative = 0,
|
||||
RawXrgb = 1,
|
||||
RawBgrx = 2,
|
||||
Jpg = 3,
|
||||
Png = 4,
|
||||
}
|
||||
pub const GST_PLAYER_THUMBNAIL_RAW_NATIVE: GstPlayerSnapshotFormat = GstPlayerSnapshotFormat::RawNative;
|
||||
pub const GST_PLAYER_THUMBNAIL_RAW_xRGB: GstPlayerSnapshotFormat = GstPlayerSnapshotFormat::RawXrgb;
|
||||
pub const GST_PLAYER_THUMBNAIL_RAW_BGRx: GstPlayerSnapshotFormat = GstPlayerSnapshotFormat::RawBgrx;
|
||||
pub const GST_PLAYER_THUMBNAIL_JPG: GstPlayerSnapshotFormat = GstPlayerSnapshotFormat::Jpg;
|
||||
pub const GST_PLAYER_THUMBNAIL_PNG: GstPlayerSnapshotFormat = GstPlayerSnapshotFormat::Png;
|
||||
pub type GstPlayerSnapshotFormat = c_int;
|
||||
pub const GST_PLAYER_THUMBNAIL_RAW_NATIVE: GstPlayerSnapshotFormat = 0;
|
||||
pub const GST_PLAYER_THUMBNAIL_RAW_xRGB: GstPlayerSnapshotFormat = 1;
|
||||
pub const GST_PLAYER_THUMBNAIL_RAW_BGRx: GstPlayerSnapshotFormat = 2;
|
||||
pub const GST_PLAYER_THUMBNAIL_JPG: GstPlayerSnapshotFormat = 3;
|
||||
pub const GST_PLAYER_THUMBNAIL_PNG: GstPlayerSnapshotFormat = 4;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstPlayerState {
|
||||
Stopped = 0,
|
||||
Buffering = 1,
|
||||
Paused = 2,
|
||||
Playing = 3,
|
||||
}
|
||||
pub const GST_PLAYER_STATE_STOPPED: GstPlayerState = GstPlayerState::Stopped;
|
||||
pub const GST_PLAYER_STATE_BUFFERING: GstPlayerState = GstPlayerState::Buffering;
|
||||
pub const GST_PLAYER_STATE_PAUSED: GstPlayerState = GstPlayerState::Paused;
|
||||
pub const GST_PLAYER_STATE_PLAYING: GstPlayerState = GstPlayerState::Playing;
|
||||
pub type GstPlayerState = c_int;
|
||||
pub const GST_PLAYER_STATE_STOPPED: GstPlayerState = 0;
|
||||
pub const GST_PLAYER_STATE_BUFFERING: GstPlayerState = 1;
|
||||
pub const GST_PLAYER_STATE_PAUSED: GstPlayerState = 2;
|
||||
pub const GST_PLAYER_STATE_PLAYING: GstPlayerState = 3;
|
||||
|
||||
// Callbacks
|
||||
pub type GstPlayerSignalDispatcherFunc = Option<unsafe extern "C" fn(gpointer)>;
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||
// This file was generated by gir (94e079d) from gir-files (???)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||
|
@ -18,61 +18,32 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
|||
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
|
||||
|
||||
// Enums
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstTagDemuxResult {
|
||||
BrokenTag = 0,
|
||||
Again = 1,
|
||||
Ok = 2,
|
||||
}
|
||||
pub const GST_TAG_DEMUX_RESULT_BROKEN_TAG: GstTagDemuxResult = GstTagDemuxResult::BrokenTag;
|
||||
pub const GST_TAG_DEMUX_RESULT_AGAIN: GstTagDemuxResult = GstTagDemuxResult::Again;
|
||||
pub const GST_TAG_DEMUX_RESULT_OK: GstTagDemuxResult = GstTagDemuxResult::Ok;
|
||||
pub type GstTagDemuxResult = c_int;
|
||||
pub const GST_TAG_DEMUX_RESULT_BROKEN_TAG: GstTagDemuxResult = 0;
|
||||
pub const GST_TAG_DEMUX_RESULT_AGAIN: GstTagDemuxResult = 1;
|
||||
pub const GST_TAG_DEMUX_RESULT_OK: GstTagDemuxResult = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstTagImageType {
|
||||
None = -1,
|
||||
Undefined = 0,
|
||||
FrontCover = 1,
|
||||
BackCover = 2,
|
||||
LeafletPage = 3,
|
||||
Medium = 4,
|
||||
LeadArtist = 5,
|
||||
Artist = 6,
|
||||
Conductor = 7,
|
||||
BandOrchestra = 8,
|
||||
Composer = 9,
|
||||
Lyricist = 10,
|
||||
RecordingLocation = 11,
|
||||
DuringRecording = 12,
|
||||
DuringPerformance = 13,
|
||||
VideoCapture = 14,
|
||||
Fish = 15,
|
||||
Illustration = 16,
|
||||
BandArtistLogo = 17,
|
||||
PublisherStudioLogo = 18,
|
||||
}
|
||||
pub const GST_TAG_IMAGE_TYPE_NONE: GstTagImageType = GstTagImageType::None;
|
||||
pub const GST_TAG_IMAGE_TYPE_UNDEFINED: GstTagImageType = GstTagImageType::Undefined;
|
||||
pub const GST_TAG_IMAGE_TYPE_FRONT_COVER: GstTagImageType = GstTagImageType::FrontCover;
|
||||
pub const GST_TAG_IMAGE_TYPE_BACK_COVER: GstTagImageType = GstTagImageType::BackCover;
|
||||
pub const GST_TAG_IMAGE_TYPE_LEAFLET_PAGE: GstTagImageType = GstTagImageType::LeafletPage;
|
||||
pub const GST_TAG_IMAGE_TYPE_MEDIUM: GstTagImageType = GstTagImageType::Medium;
|
||||
pub const GST_TAG_IMAGE_TYPE_LEAD_ARTIST: GstTagImageType = GstTagImageType::LeadArtist;
|
||||
pub const GST_TAG_IMAGE_TYPE_ARTIST: GstTagImageType = GstTagImageType::Artist;
|
||||
pub const GST_TAG_IMAGE_TYPE_CONDUCTOR: GstTagImageType = GstTagImageType::Conductor;
|
||||
pub const GST_TAG_IMAGE_TYPE_BAND_ORCHESTRA: GstTagImageType = GstTagImageType::BandOrchestra;
|
||||
pub const GST_TAG_IMAGE_TYPE_COMPOSER: GstTagImageType = GstTagImageType::Composer;
|
||||
pub const GST_TAG_IMAGE_TYPE_LYRICIST: GstTagImageType = GstTagImageType::Lyricist;
|
||||
pub const GST_TAG_IMAGE_TYPE_RECORDING_LOCATION: GstTagImageType = GstTagImageType::RecordingLocation;
|
||||
pub const GST_TAG_IMAGE_TYPE_DURING_RECORDING: GstTagImageType = GstTagImageType::DuringRecording;
|
||||
pub const GST_TAG_IMAGE_TYPE_DURING_PERFORMANCE: GstTagImageType = GstTagImageType::DuringPerformance;
|
||||
pub const GST_TAG_IMAGE_TYPE_VIDEO_CAPTURE: GstTagImageType = GstTagImageType::VideoCapture;
|
||||
pub const GST_TAG_IMAGE_TYPE_FISH: GstTagImageType = GstTagImageType::Fish;
|
||||
pub const GST_TAG_IMAGE_TYPE_ILLUSTRATION: GstTagImageType = GstTagImageType::Illustration;
|
||||
pub const GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO: GstTagImageType = GstTagImageType::BandArtistLogo;
|
||||
pub const GST_TAG_IMAGE_TYPE_PUBLISHER_STUDIO_LOGO: GstTagImageType = GstTagImageType::PublisherStudioLogo;
|
||||
pub type GstTagImageType = c_int;
|
||||
pub const GST_TAG_IMAGE_TYPE_NONE: GstTagImageType = -1;
|
||||
pub const GST_TAG_IMAGE_TYPE_UNDEFINED: GstTagImageType = 0;
|
||||
pub const GST_TAG_IMAGE_TYPE_FRONT_COVER: GstTagImageType = 1;
|
||||
pub const GST_TAG_IMAGE_TYPE_BACK_COVER: GstTagImageType = 2;
|
||||
pub const GST_TAG_IMAGE_TYPE_LEAFLET_PAGE: GstTagImageType = 3;
|
||||
pub const GST_TAG_IMAGE_TYPE_MEDIUM: GstTagImageType = 4;
|
||||
pub const GST_TAG_IMAGE_TYPE_LEAD_ARTIST: GstTagImageType = 5;
|
||||
pub const GST_TAG_IMAGE_TYPE_ARTIST: GstTagImageType = 6;
|
||||
pub const GST_TAG_IMAGE_TYPE_CONDUCTOR: GstTagImageType = 7;
|
||||
pub const GST_TAG_IMAGE_TYPE_BAND_ORCHESTRA: GstTagImageType = 8;
|
||||
pub const GST_TAG_IMAGE_TYPE_COMPOSER: GstTagImageType = 9;
|
||||
pub const GST_TAG_IMAGE_TYPE_LYRICIST: GstTagImageType = 10;
|
||||
pub const GST_TAG_IMAGE_TYPE_RECORDING_LOCATION: GstTagImageType = 11;
|
||||
pub const GST_TAG_IMAGE_TYPE_DURING_RECORDING: GstTagImageType = 12;
|
||||
pub const GST_TAG_IMAGE_TYPE_DURING_PERFORMANCE: GstTagImageType = 13;
|
||||
pub const GST_TAG_IMAGE_TYPE_VIDEO_CAPTURE: GstTagImageType = 14;
|
||||
pub const GST_TAG_IMAGE_TYPE_FISH: GstTagImageType = 15;
|
||||
pub const GST_TAG_IMAGE_TYPE_ILLUSTRATION: GstTagImageType = 16;
|
||||
pub const GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO: GstTagImageType = 17;
|
||||
pub const GST_TAG_IMAGE_TYPE_PUBLISHER_STUDIO_LOGO: GstTagImageType = 18;
|
||||
|
||||
// Constants
|
||||
pub const GST_TAG_CAPTURING_CONTRAST: *const c_char = b"capturing-contrast\0" as *const u8 as *const c_char;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||
// This file was generated by gir (94e079d) from gir-files (???)
|
||||
// DO NOT EDIT
|
||||
|
||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||
|
@ -19,596 +19,289 @@ use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
|||
use glib::{gboolean, gconstpointer, gpointer, GType, Volatile};
|
||||
|
||||
// Enums
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstColorBalanceType {
|
||||
Hardware = 0,
|
||||
Software = 1,
|
||||
}
|
||||
pub const GST_COLOR_BALANCE_HARDWARE: GstColorBalanceType = GstColorBalanceType::Hardware;
|
||||
pub const GST_COLOR_BALANCE_SOFTWARE: GstColorBalanceType = GstColorBalanceType::Software;
|
||||
pub type GstColorBalanceType = c_int;
|
||||
pub const GST_COLOR_BALANCE_HARDWARE: GstColorBalanceType = 0;
|
||||
pub const GST_COLOR_BALANCE_SOFTWARE: GstColorBalanceType = 1;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstNavigationCommand {
|
||||
Invalid = 0,
|
||||
Menu1 = 1,
|
||||
Menu2 = 2,
|
||||
Menu3 = 3,
|
||||
Menu4 = 4,
|
||||
Menu5 = 5,
|
||||
Menu6 = 6,
|
||||
Menu7 = 7,
|
||||
Left = 20,
|
||||
Right = 21,
|
||||
Up = 22,
|
||||
Down = 23,
|
||||
Activate = 24,
|
||||
PrevAngle = 30,
|
||||
NextAngle = 31,
|
||||
}
|
||||
pub const GST_NAVIGATION_COMMAND_INVALID: GstNavigationCommand = GstNavigationCommand::Invalid;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU1: GstNavigationCommand = GstNavigationCommand::Menu1;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU2: GstNavigationCommand = GstNavigationCommand::Menu2;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU3: GstNavigationCommand = GstNavigationCommand::Menu3;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU4: GstNavigationCommand = GstNavigationCommand::Menu4;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU5: GstNavigationCommand = GstNavigationCommand::Menu5;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU6: GstNavigationCommand = GstNavigationCommand::Menu6;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU7: GstNavigationCommand = GstNavigationCommand::Menu7;
|
||||
pub const GST_NAVIGATION_COMMAND_LEFT: GstNavigationCommand = GstNavigationCommand::Left;
|
||||
pub const GST_NAVIGATION_COMMAND_RIGHT: GstNavigationCommand = GstNavigationCommand::Right;
|
||||
pub const GST_NAVIGATION_COMMAND_UP: GstNavigationCommand = GstNavigationCommand::Up;
|
||||
pub const GST_NAVIGATION_COMMAND_DOWN: GstNavigationCommand = GstNavigationCommand::Down;
|
||||
pub const GST_NAVIGATION_COMMAND_ACTIVATE: GstNavigationCommand = GstNavigationCommand::Activate;
|
||||
pub const GST_NAVIGATION_COMMAND_PREV_ANGLE: GstNavigationCommand = GstNavigationCommand::PrevAngle;
|
||||
pub const GST_NAVIGATION_COMMAND_NEXT_ANGLE: GstNavigationCommand = GstNavigationCommand::NextAngle;
|
||||
pub type GstNavigationCommand = c_int;
|
||||
pub const GST_NAVIGATION_COMMAND_INVALID: GstNavigationCommand = 0;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU1: GstNavigationCommand = 1;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU2: GstNavigationCommand = 2;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU3: GstNavigationCommand = 3;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU4: GstNavigationCommand = 4;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU5: GstNavigationCommand = 5;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU6: GstNavigationCommand = 6;
|
||||
pub const GST_NAVIGATION_COMMAND_MENU7: GstNavigationCommand = 7;
|
||||
pub const GST_NAVIGATION_COMMAND_LEFT: GstNavigationCommand = 20;
|
||||
pub const GST_NAVIGATION_COMMAND_RIGHT: GstNavigationCommand = 21;
|
||||
pub const GST_NAVIGATION_COMMAND_UP: GstNavigationCommand = 22;
|
||||
pub const GST_NAVIGATION_COMMAND_DOWN: GstNavigationCommand = 23;
|
||||
pub const GST_NAVIGATION_COMMAND_ACTIVATE: GstNavigationCommand = 24;
|
||||
pub const GST_NAVIGATION_COMMAND_PREV_ANGLE: GstNavigationCommand = 30;
|
||||
pub const GST_NAVIGATION_COMMAND_NEXT_ANGLE: GstNavigationCommand = 31;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstNavigationEventType {
|
||||
Invalid = 0,
|
||||
KeyPress = 1,
|
||||
KeyRelease = 2,
|
||||
MouseButtonPress = 3,
|
||||
MouseButtonRelease = 4,
|
||||
MouseMove = 5,
|
||||
Command = 6,
|
||||
}
|
||||
pub const GST_NAVIGATION_EVENT_INVALID: GstNavigationEventType = GstNavigationEventType::Invalid;
|
||||
pub const GST_NAVIGATION_EVENT_KEY_PRESS: GstNavigationEventType = GstNavigationEventType::KeyPress;
|
||||
pub const GST_NAVIGATION_EVENT_KEY_RELEASE: GstNavigationEventType = GstNavigationEventType::KeyRelease;
|
||||
pub const GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS: GstNavigationEventType = GstNavigationEventType::MouseButtonPress;
|
||||
pub const GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE: GstNavigationEventType = GstNavigationEventType::MouseButtonRelease;
|
||||
pub const GST_NAVIGATION_EVENT_MOUSE_MOVE: GstNavigationEventType = GstNavigationEventType::MouseMove;
|
||||
pub const GST_NAVIGATION_EVENT_COMMAND: GstNavigationEventType = GstNavigationEventType::Command;
|
||||
pub type GstNavigationEventType = c_int;
|
||||
pub const GST_NAVIGATION_EVENT_INVALID: GstNavigationEventType = 0;
|
||||
pub const GST_NAVIGATION_EVENT_KEY_PRESS: GstNavigationEventType = 1;
|
||||
pub const GST_NAVIGATION_EVENT_KEY_RELEASE: GstNavigationEventType = 2;
|
||||
pub const GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS: GstNavigationEventType = 3;
|
||||
pub const GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE: GstNavigationEventType = 4;
|
||||
pub const GST_NAVIGATION_EVENT_MOUSE_MOVE: GstNavigationEventType = 5;
|
||||
pub const GST_NAVIGATION_EVENT_COMMAND: GstNavigationEventType = 6;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstNavigationMessageType {
|
||||
Invalid = 0,
|
||||
MouseOver = 1,
|
||||
CommandsChanged = 2,
|
||||
AnglesChanged = 3,
|
||||
Event = 4,
|
||||
}
|
||||
pub const GST_NAVIGATION_MESSAGE_INVALID: GstNavigationMessageType = GstNavigationMessageType::Invalid;
|
||||
pub const GST_NAVIGATION_MESSAGE_MOUSE_OVER: GstNavigationMessageType = GstNavigationMessageType::MouseOver;
|
||||
pub const GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED: GstNavigationMessageType = GstNavigationMessageType::CommandsChanged;
|
||||
pub const GST_NAVIGATION_MESSAGE_ANGLES_CHANGED: GstNavigationMessageType = GstNavigationMessageType::AnglesChanged;
|
||||
pub const GST_NAVIGATION_MESSAGE_EVENT: GstNavigationMessageType = GstNavigationMessageType::Event;
|
||||
pub type GstNavigationMessageType = c_int;
|
||||
pub const GST_NAVIGATION_MESSAGE_INVALID: GstNavigationMessageType = 0;
|
||||
pub const GST_NAVIGATION_MESSAGE_MOUSE_OVER: GstNavigationMessageType = 1;
|
||||
pub const GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED: GstNavigationMessageType = 2;
|
||||
pub const GST_NAVIGATION_MESSAGE_ANGLES_CHANGED: GstNavigationMessageType = 3;
|
||||
pub const GST_NAVIGATION_MESSAGE_EVENT: GstNavigationMessageType = 4;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstNavigationQueryType {
|
||||
Invalid = 0,
|
||||
Commands = 1,
|
||||
Angles = 2,
|
||||
}
|
||||
pub const GST_NAVIGATION_QUERY_INVALID: GstNavigationQueryType = GstNavigationQueryType::Invalid;
|
||||
pub const GST_NAVIGATION_QUERY_COMMANDS: GstNavigationQueryType = GstNavigationQueryType::Commands;
|
||||
pub const GST_NAVIGATION_QUERY_ANGLES: GstNavigationQueryType = GstNavigationQueryType::Angles;
|
||||
pub type GstNavigationQueryType = c_int;
|
||||
pub const GST_NAVIGATION_QUERY_INVALID: GstNavigationQueryType = 0;
|
||||
pub const GST_NAVIGATION_QUERY_COMMANDS: GstNavigationQueryType = 1;
|
||||
pub const GST_NAVIGATION_QUERY_ANGLES: GstNavigationQueryType = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoAlphaMode {
|
||||
Copy = 0,
|
||||
Set = 1,
|
||||
Mult = 2,
|
||||
}
|
||||
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;
|
||||
pub type GstVideoAlphaMode = c_int;
|
||||
pub const GST_VIDEO_ALPHA_MODE_COPY: GstVideoAlphaMode = 0;
|
||||
pub const GST_VIDEO_ALPHA_MODE_SET: GstVideoAlphaMode = 1;
|
||||
pub const GST_VIDEO_ALPHA_MODE_MULT: GstVideoAlphaMode = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoChromaMethod {
|
||||
Nearest = 0,
|
||||
Linear = 1,
|
||||
}
|
||||
pub const GST_VIDEO_CHROMA_METHOD_NEAREST: GstVideoChromaMethod = GstVideoChromaMethod::Nearest;
|
||||
pub const GST_VIDEO_CHROMA_METHOD_LINEAR: GstVideoChromaMethod = GstVideoChromaMethod::Linear;
|
||||
pub type GstVideoChromaMethod = c_int;
|
||||
pub const GST_VIDEO_CHROMA_METHOD_NEAREST: GstVideoChromaMethod = 0;
|
||||
pub const GST_VIDEO_CHROMA_METHOD_LINEAR: GstVideoChromaMethod = 1;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoChromaMode {
|
||||
Full = 0,
|
||||
UpsampleOnly = 1,
|
||||
DownsampleOnly = 2,
|
||||
None = 3,
|
||||
}
|
||||
pub const GST_VIDEO_CHROMA_MODE_FULL: GstVideoChromaMode = GstVideoChromaMode::Full;
|
||||
pub const GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY: GstVideoChromaMode = GstVideoChromaMode::UpsampleOnly;
|
||||
pub const GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY: GstVideoChromaMode = GstVideoChromaMode::DownsampleOnly;
|
||||
pub const GST_VIDEO_CHROMA_MODE_NONE: GstVideoChromaMode = GstVideoChromaMode::None;
|
||||
pub type GstVideoChromaMode = c_int;
|
||||
pub const GST_VIDEO_CHROMA_MODE_FULL: GstVideoChromaMode = 0;
|
||||
pub const GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY: GstVideoChromaMode = 1;
|
||||
pub const GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY: GstVideoChromaMode = 2;
|
||||
pub const GST_VIDEO_CHROMA_MODE_NONE: GstVideoChromaMode = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoColorMatrix {
|
||||
Unknown = 0,
|
||||
Rgb = 1,
|
||||
Fcc = 2,
|
||||
Bt709 = 3,
|
||||
Bt601 = 4,
|
||||
Smpte240m = 5,
|
||||
Bt2020 = 6,
|
||||
}
|
||||
pub const GST_VIDEO_COLOR_MATRIX_UNKNOWN: GstVideoColorMatrix = GstVideoColorMatrix::Unknown;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_RGB: GstVideoColorMatrix = GstVideoColorMatrix::Rgb;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_FCC: GstVideoColorMatrix = GstVideoColorMatrix::Fcc;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_BT709: GstVideoColorMatrix = GstVideoColorMatrix::Bt709;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_BT601: GstVideoColorMatrix = GstVideoColorMatrix::Bt601;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_SMPTE240M: GstVideoColorMatrix = GstVideoColorMatrix::Smpte240m;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_BT2020: GstVideoColorMatrix = GstVideoColorMatrix::Bt2020;
|
||||
pub type GstVideoColorMatrix = c_int;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_UNKNOWN: GstVideoColorMatrix = 0;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_RGB: GstVideoColorMatrix = 1;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_FCC: GstVideoColorMatrix = 2;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_BT709: GstVideoColorMatrix = 3;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_BT601: GstVideoColorMatrix = 4;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_SMPTE240M: GstVideoColorMatrix = 5;
|
||||
pub const GST_VIDEO_COLOR_MATRIX_BT2020: GstVideoColorMatrix = 6;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoColorPrimaries {
|
||||
Unknown = 0,
|
||||
Bt709 = 1,
|
||||
Bt470m = 2,
|
||||
Bt470bg = 3,
|
||||
Smpte170m = 4,
|
||||
Smpte240m = 5,
|
||||
Film = 6,
|
||||
Bt2020 = 7,
|
||||
Adobergb = 8,
|
||||
}
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_UNKNOWN: GstVideoColorPrimaries = GstVideoColorPrimaries::Unknown;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT709: GstVideoColorPrimaries = GstVideoColorPrimaries::Bt709;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT470M: GstVideoColorPrimaries = GstVideoColorPrimaries::Bt470m;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT470BG: GstVideoColorPrimaries = GstVideoColorPrimaries::Bt470bg;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_SMPTE170M: GstVideoColorPrimaries = GstVideoColorPrimaries::Smpte170m;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_SMPTE240M: GstVideoColorPrimaries = GstVideoColorPrimaries::Smpte240m;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_FILM: GstVideoColorPrimaries = GstVideoColorPrimaries::Film;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT2020: GstVideoColorPrimaries = GstVideoColorPrimaries::Bt2020;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_ADOBERGB: GstVideoColorPrimaries = GstVideoColorPrimaries::Adobergb;
|
||||
pub type GstVideoColorPrimaries = c_int;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_UNKNOWN: GstVideoColorPrimaries = 0;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT709: GstVideoColorPrimaries = 1;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT470M: GstVideoColorPrimaries = 2;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT470BG: GstVideoColorPrimaries = 3;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_SMPTE170M: GstVideoColorPrimaries = 4;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_SMPTE240M: GstVideoColorPrimaries = 5;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_FILM: GstVideoColorPrimaries = 6;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_BT2020: GstVideoColorPrimaries = 7;
|
||||
pub const GST_VIDEO_COLOR_PRIMARIES_ADOBERGB: GstVideoColorPrimaries = 8;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoColorRange {
|
||||
Unknown = 0,
|
||||
_0255 = 1,
|
||||
_16235 = 2,
|
||||
}
|
||||
pub const GST_VIDEO_COLOR_RANGE_UNKNOWN: GstVideoColorRange = GstVideoColorRange::Unknown;
|
||||
pub const GST_VIDEO_COLOR_RANGE_0_255: GstVideoColorRange = GstVideoColorRange::_0255;
|
||||
pub const GST_VIDEO_COLOR_RANGE_16_235: GstVideoColorRange = GstVideoColorRange::_16235;
|
||||
pub type GstVideoColorRange = c_int;
|
||||
pub const GST_VIDEO_COLOR_RANGE_UNKNOWN: GstVideoColorRange = 0;
|
||||
pub const GST_VIDEO_COLOR_RANGE_0_255: GstVideoColorRange = 1;
|
||||
pub const GST_VIDEO_COLOR_RANGE_16_235: GstVideoColorRange = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoDitherMethod {
|
||||
None = 0,
|
||||
Verterr = 1,
|
||||
FloydSteinberg = 2,
|
||||
SierraLite = 3,
|
||||
Bayer = 4,
|
||||
}
|
||||
pub const GST_VIDEO_DITHER_NONE: GstVideoDitherMethod = GstVideoDitherMethod::None;
|
||||
pub const GST_VIDEO_DITHER_VERTERR: GstVideoDitherMethod = GstVideoDitherMethod::Verterr;
|
||||
pub const GST_VIDEO_DITHER_FLOYD_STEINBERG: GstVideoDitherMethod = GstVideoDitherMethod::FloydSteinberg;
|
||||
pub const GST_VIDEO_DITHER_SIERRA_LITE: GstVideoDitherMethod = GstVideoDitherMethod::SierraLite;
|
||||
pub const GST_VIDEO_DITHER_BAYER: GstVideoDitherMethod = GstVideoDitherMethod::Bayer;
|
||||
pub type GstVideoDitherMethod = c_int;
|
||||
pub const GST_VIDEO_DITHER_NONE: GstVideoDitherMethod = 0;
|
||||
pub const GST_VIDEO_DITHER_VERTERR: GstVideoDitherMethod = 1;
|
||||
pub const GST_VIDEO_DITHER_FLOYD_STEINBERG: GstVideoDitherMethod = 2;
|
||||
pub const GST_VIDEO_DITHER_SIERRA_LITE: GstVideoDitherMethod = 3;
|
||||
pub const GST_VIDEO_DITHER_BAYER: GstVideoDitherMethod = 4;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoFieldOrder {
|
||||
Unknown = 0,
|
||||
TopFieldFirst = 1,
|
||||
BottomFieldFirst = 2,
|
||||
}
|
||||
pub const GST_VIDEO_FIELD_ORDER_UNKNOWN: GstVideoFieldOrder = GstVideoFieldOrder::Unknown;
|
||||
pub const GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST: GstVideoFieldOrder = GstVideoFieldOrder::TopFieldFirst;
|
||||
pub const GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST: GstVideoFieldOrder = GstVideoFieldOrder::BottomFieldFirst;
|
||||
pub type GstVideoFieldOrder = c_int;
|
||||
pub const GST_VIDEO_FIELD_ORDER_UNKNOWN: GstVideoFieldOrder = 0;
|
||||
pub const GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST: GstVideoFieldOrder = 1;
|
||||
pub const GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST: GstVideoFieldOrder = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoFormat {
|
||||
Unknown = 0,
|
||||
Encoded = 1,
|
||||
I420 = 2,
|
||||
Yv12 = 3,
|
||||
Yuy2 = 4,
|
||||
Uyvy = 5,
|
||||
Ayuv = 6,
|
||||
Rgbx = 7,
|
||||
Bgrx = 8,
|
||||
Xrgb = 9,
|
||||
Xbgr = 10,
|
||||
Rgba = 11,
|
||||
Bgra = 12,
|
||||
Argb = 13,
|
||||
Abgr = 14,
|
||||
Rgb = 15,
|
||||
Bgr = 16,
|
||||
Y41b = 17,
|
||||
Y42b = 18,
|
||||
Yvyu = 19,
|
||||
Y444 = 20,
|
||||
V210 = 21,
|
||||
V216 = 22,
|
||||
Nv12 = 23,
|
||||
Nv21 = 24,
|
||||
Gray8 = 25,
|
||||
Gray16Be = 26,
|
||||
Gray16Le = 27,
|
||||
V308 = 28,
|
||||
Rgb16 = 29,
|
||||
Bgr16 = 30,
|
||||
Rgb15 = 31,
|
||||
Bgr15 = 32,
|
||||
Uyvp = 33,
|
||||
A420 = 34,
|
||||
Rgb8p = 35,
|
||||
Yuv9 = 36,
|
||||
Yvu9 = 37,
|
||||
Iyu1 = 38,
|
||||
Argb64 = 39,
|
||||
Ayuv64 = 40,
|
||||
R210 = 41,
|
||||
I42010be = 42,
|
||||
I42010le = 43,
|
||||
I42210be = 44,
|
||||
I42210le = 45,
|
||||
Y44410be = 46,
|
||||
Y44410le = 47,
|
||||
Gbr = 48,
|
||||
Gbr10be = 49,
|
||||
Gbr10le = 50,
|
||||
Nv16 = 51,
|
||||
Nv24 = 52,
|
||||
Nv1264z32 = 53,
|
||||
A42010be = 54,
|
||||
A42010le = 55,
|
||||
A42210be = 56,
|
||||
A42210le = 57,
|
||||
A44410be = 58,
|
||||
A44410le = 59,
|
||||
Nv61 = 60,
|
||||
P01010be = 61,
|
||||
P01010le = 62,
|
||||
Iyu2 = 63,
|
||||
Vyuy = 64,
|
||||
Gbra = 65,
|
||||
Gbra10be = 66,
|
||||
Gbra10le = 67,
|
||||
Gbr12be = 68,
|
||||
Gbr12le = 69,
|
||||
Gbra12be = 70,
|
||||
Gbra12le = 71,
|
||||
I42012be = 72,
|
||||
I42012le = 73,
|
||||
I42212be = 74,
|
||||
I42212le = 75,
|
||||
Y44412be = 76,
|
||||
Y44412le = 77,
|
||||
}
|
||||
pub const GST_VIDEO_FORMAT_UNKNOWN: GstVideoFormat = GstVideoFormat::Unknown;
|
||||
pub const GST_VIDEO_FORMAT_ENCODED: GstVideoFormat = GstVideoFormat::Encoded;
|
||||
pub const GST_VIDEO_FORMAT_I420: GstVideoFormat = GstVideoFormat::I420;
|
||||
pub const GST_VIDEO_FORMAT_YV12: GstVideoFormat = GstVideoFormat::Yv12;
|
||||
pub const GST_VIDEO_FORMAT_YUY2: GstVideoFormat = GstVideoFormat::Yuy2;
|
||||
pub const GST_VIDEO_FORMAT_UYVY: GstVideoFormat = GstVideoFormat::Uyvy;
|
||||
pub const GST_VIDEO_FORMAT_AYUV: GstVideoFormat = GstVideoFormat::Ayuv;
|
||||
pub const GST_VIDEO_FORMAT_RGBx: GstVideoFormat = GstVideoFormat::Rgbx;
|
||||
pub const GST_VIDEO_FORMAT_BGRx: GstVideoFormat = GstVideoFormat::Bgrx;
|
||||
pub const GST_VIDEO_FORMAT_xRGB: GstVideoFormat = GstVideoFormat::Xrgb;
|
||||
pub const GST_VIDEO_FORMAT_xBGR: GstVideoFormat = GstVideoFormat::Xbgr;
|
||||
pub const GST_VIDEO_FORMAT_RGBA: GstVideoFormat = GstVideoFormat::Rgba;
|
||||
pub const GST_VIDEO_FORMAT_BGRA: GstVideoFormat = GstVideoFormat::Bgra;
|
||||
pub const GST_VIDEO_FORMAT_ARGB: GstVideoFormat = GstVideoFormat::Argb;
|
||||
pub const GST_VIDEO_FORMAT_ABGR: GstVideoFormat = GstVideoFormat::Abgr;
|
||||
pub const GST_VIDEO_FORMAT_RGB: GstVideoFormat = GstVideoFormat::Rgb;
|
||||
pub const GST_VIDEO_FORMAT_BGR: GstVideoFormat = GstVideoFormat::Bgr;
|
||||
pub const GST_VIDEO_FORMAT_Y41B: GstVideoFormat = GstVideoFormat::Y41b;
|
||||
pub const GST_VIDEO_FORMAT_Y42B: GstVideoFormat = GstVideoFormat::Y42b;
|
||||
pub const GST_VIDEO_FORMAT_YVYU: GstVideoFormat = GstVideoFormat::Yvyu;
|
||||
pub const GST_VIDEO_FORMAT_Y444: GstVideoFormat = GstVideoFormat::Y444;
|
||||
pub const GST_VIDEO_FORMAT_v210: GstVideoFormat = GstVideoFormat::V210;
|
||||
pub const GST_VIDEO_FORMAT_v216: GstVideoFormat = GstVideoFormat::V216;
|
||||
pub const GST_VIDEO_FORMAT_NV12: GstVideoFormat = GstVideoFormat::Nv12;
|
||||
pub const GST_VIDEO_FORMAT_NV21: GstVideoFormat = GstVideoFormat::Nv21;
|
||||
pub const GST_VIDEO_FORMAT_GRAY8: GstVideoFormat = GstVideoFormat::Gray8;
|
||||
pub const GST_VIDEO_FORMAT_GRAY16_BE: GstVideoFormat = GstVideoFormat::Gray16Be;
|
||||
pub const GST_VIDEO_FORMAT_GRAY16_LE: GstVideoFormat = GstVideoFormat::Gray16Le;
|
||||
pub const GST_VIDEO_FORMAT_v308: GstVideoFormat = GstVideoFormat::V308;
|
||||
pub const GST_VIDEO_FORMAT_RGB16: GstVideoFormat = GstVideoFormat::Rgb16;
|
||||
pub const GST_VIDEO_FORMAT_BGR16: GstVideoFormat = GstVideoFormat::Bgr16;
|
||||
pub const GST_VIDEO_FORMAT_RGB15: GstVideoFormat = GstVideoFormat::Rgb15;
|
||||
pub const GST_VIDEO_FORMAT_BGR15: GstVideoFormat = GstVideoFormat::Bgr15;
|
||||
pub const GST_VIDEO_FORMAT_UYVP: GstVideoFormat = GstVideoFormat::Uyvp;
|
||||
pub const GST_VIDEO_FORMAT_A420: GstVideoFormat = GstVideoFormat::A420;
|
||||
pub const GST_VIDEO_FORMAT_RGB8P: GstVideoFormat = GstVideoFormat::Rgb8p;
|
||||
pub const GST_VIDEO_FORMAT_YUV9: GstVideoFormat = GstVideoFormat::Yuv9;
|
||||
pub const GST_VIDEO_FORMAT_YVU9: GstVideoFormat = GstVideoFormat::Yvu9;
|
||||
pub const GST_VIDEO_FORMAT_IYU1: GstVideoFormat = GstVideoFormat::Iyu1;
|
||||
pub const GST_VIDEO_FORMAT_ARGB64: GstVideoFormat = GstVideoFormat::Argb64;
|
||||
pub const GST_VIDEO_FORMAT_AYUV64: GstVideoFormat = GstVideoFormat::Ayuv64;
|
||||
pub const GST_VIDEO_FORMAT_r210: GstVideoFormat = GstVideoFormat::R210;
|
||||
pub const GST_VIDEO_FORMAT_I420_10BE: GstVideoFormat = GstVideoFormat::I42010be;
|
||||
pub const GST_VIDEO_FORMAT_I420_10LE: GstVideoFormat = GstVideoFormat::I42010le;
|
||||
pub const GST_VIDEO_FORMAT_I422_10BE: GstVideoFormat = GstVideoFormat::I42210be;
|
||||
pub const GST_VIDEO_FORMAT_I422_10LE: GstVideoFormat = GstVideoFormat::I42210le;
|
||||
pub const GST_VIDEO_FORMAT_Y444_10BE: GstVideoFormat = GstVideoFormat::Y44410be;
|
||||
pub const GST_VIDEO_FORMAT_Y444_10LE: GstVideoFormat = GstVideoFormat::Y44410le;
|
||||
pub const GST_VIDEO_FORMAT_GBR: GstVideoFormat = GstVideoFormat::Gbr;
|
||||
pub const GST_VIDEO_FORMAT_GBR_10BE: GstVideoFormat = GstVideoFormat::Gbr10be;
|
||||
pub const GST_VIDEO_FORMAT_GBR_10LE: GstVideoFormat = GstVideoFormat::Gbr10le;
|
||||
pub const GST_VIDEO_FORMAT_NV16: GstVideoFormat = GstVideoFormat::Nv16;
|
||||
pub const GST_VIDEO_FORMAT_NV24: GstVideoFormat = GstVideoFormat::Nv24;
|
||||
pub const GST_VIDEO_FORMAT_NV12_64Z32: GstVideoFormat = GstVideoFormat::Nv1264z32;
|
||||
pub const GST_VIDEO_FORMAT_A420_10BE: GstVideoFormat = GstVideoFormat::A42010be;
|
||||
pub const GST_VIDEO_FORMAT_A420_10LE: GstVideoFormat = GstVideoFormat::A42010le;
|
||||
pub const GST_VIDEO_FORMAT_A422_10BE: GstVideoFormat = GstVideoFormat::A42210be;
|
||||
pub const GST_VIDEO_FORMAT_A422_10LE: GstVideoFormat = GstVideoFormat::A42210le;
|
||||
pub const GST_VIDEO_FORMAT_A444_10BE: GstVideoFormat = GstVideoFormat::A44410be;
|
||||
pub const GST_VIDEO_FORMAT_A444_10LE: GstVideoFormat = GstVideoFormat::A44410le;
|
||||
pub const GST_VIDEO_FORMAT_NV61: GstVideoFormat = GstVideoFormat::Nv61;
|
||||
pub const GST_VIDEO_FORMAT_P010_10BE: GstVideoFormat = GstVideoFormat::P01010be;
|
||||
pub const GST_VIDEO_FORMAT_P010_10LE: GstVideoFormat = GstVideoFormat::P01010le;
|
||||
pub const GST_VIDEO_FORMAT_IYU2: GstVideoFormat = GstVideoFormat::Iyu2;
|
||||
pub const GST_VIDEO_FORMAT_VYUY: GstVideoFormat = GstVideoFormat::Vyuy;
|
||||
pub const GST_VIDEO_FORMAT_GBRA: GstVideoFormat = GstVideoFormat::Gbra;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_10BE: GstVideoFormat = GstVideoFormat::Gbra10be;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_10LE: GstVideoFormat = GstVideoFormat::Gbra10le;
|
||||
pub const GST_VIDEO_FORMAT_GBR_12BE: GstVideoFormat = GstVideoFormat::Gbr12be;
|
||||
pub const GST_VIDEO_FORMAT_GBR_12LE: GstVideoFormat = GstVideoFormat::Gbr12le;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_12BE: GstVideoFormat = GstVideoFormat::Gbra12be;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_12LE: GstVideoFormat = GstVideoFormat::Gbra12le;
|
||||
pub const GST_VIDEO_FORMAT_I420_12BE: GstVideoFormat = GstVideoFormat::I42012be;
|
||||
pub const GST_VIDEO_FORMAT_I420_12LE: GstVideoFormat = GstVideoFormat::I42012le;
|
||||
pub const GST_VIDEO_FORMAT_I422_12BE: GstVideoFormat = GstVideoFormat::I42212be;
|
||||
pub const GST_VIDEO_FORMAT_I422_12LE: GstVideoFormat = GstVideoFormat::I42212le;
|
||||
pub const GST_VIDEO_FORMAT_Y444_12BE: GstVideoFormat = GstVideoFormat::Y44412be;
|
||||
pub const GST_VIDEO_FORMAT_Y444_12LE: GstVideoFormat = GstVideoFormat::Y44412le;
|
||||
pub type GstVideoFormat = c_int;
|
||||
pub const GST_VIDEO_FORMAT_UNKNOWN: GstVideoFormat = 0;
|
||||
pub const GST_VIDEO_FORMAT_ENCODED: GstVideoFormat = 1;
|
||||
pub const GST_VIDEO_FORMAT_I420: GstVideoFormat = 2;
|
||||
pub const GST_VIDEO_FORMAT_YV12: GstVideoFormat = 3;
|
||||
pub const GST_VIDEO_FORMAT_YUY2: GstVideoFormat = 4;
|
||||
pub const GST_VIDEO_FORMAT_UYVY: GstVideoFormat = 5;
|
||||
pub const GST_VIDEO_FORMAT_AYUV: GstVideoFormat = 6;
|
||||
pub const GST_VIDEO_FORMAT_RGBx: GstVideoFormat = 7;
|
||||
pub const GST_VIDEO_FORMAT_BGRx: GstVideoFormat = 8;
|
||||
pub const GST_VIDEO_FORMAT_xRGB: GstVideoFormat = 9;
|
||||
pub const GST_VIDEO_FORMAT_xBGR: GstVideoFormat = 10;
|
||||
pub const GST_VIDEO_FORMAT_RGBA: GstVideoFormat = 11;
|
||||
pub const GST_VIDEO_FORMAT_BGRA: GstVideoFormat = 12;
|
||||
pub const GST_VIDEO_FORMAT_ARGB: GstVideoFormat = 13;
|
||||
pub const GST_VIDEO_FORMAT_ABGR: GstVideoFormat = 14;
|
||||
pub const GST_VIDEO_FORMAT_RGB: GstVideoFormat = 15;
|
||||
pub const GST_VIDEO_FORMAT_BGR: GstVideoFormat = 16;
|
||||
pub const GST_VIDEO_FORMAT_Y41B: GstVideoFormat = 17;
|
||||
pub const GST_VIDEO_FORMAT_Y42B: GstVideoFormat = 18;
|
||||
pub const GST_VIDEO_FORMAT_YVYU: GstVideoFormat = 19;
|
||||
pub const GST_VIDEO_FORMAT_Y444: GstVideoFormat = 20;
|
||||
pub const GST_VIDEO_FORMAT_v210: GstVideoFormat = 21;
|
||||
pub const GST_VIDEO_FORMAT_v216: GstVideoFormat = 22;
|
||||
pub const GST_VIDEO_FORMAT_NV12: GstVideoFormat = 23;
|
||||
pub const GST_VIDEO_FORMAT_NV21: GstVideoFormat = 24;
|
||||
pub const GST_VIDEO_FORMAT_GRAY8: GstVideoFormat = 25;
|
||||
pub const GST_VIDEO_FORMAT_GRAY16_BE: GstVideoFormat = 26;
|
||||
pub const GST_VIDEO_FORMAT_GRAY16_LE: GstVideoFormat = 27;
|
||||
pub const GST_VIDEO_FORMAT_v308: GstVideoFormat = 28;
|
||||
pub const GST_VIDEO_FORMAT_RGB16: GstVideoFormat = 29;
|
||||
pub const GST_VIDEO_FORMAT_BGR16: GstVideoFormat = 30;
|
||||
pub const GST_VIDEO_FORMAT_RGB15: GstVideoFormat = 31;
|
||||
pub const GST_VIDEO_FORMAT_BGR15: GstVideoFormat = 32;
|
||||
pub const GST_VIDEO_FORMAT_UYVP: GstVideoFormat = 33;
|
||||
pub const GST_VIDEO_FORMAT_A420: GstVideoFormat = 34;
|
||||
pub const GST_VIDEO_FORMAT_RGB8P: GstVideoFormat = 35;
|
||||
pub const GST_VIDEO_FORMAT_YUV9: GstVideoFormat = 36;
|
||||
pub const GST_VIDEO_FORMAT_YVU9: GstVideoFormat = 37;
|
||||
pub const GST_VIDEO_FORMAT_IYU1: GstVideoFormat = 38;
|
||||
pub const GST_VIDEO_FORMAT_ARGB64: GstVideoFormat = 39;
|
||||
pub const GST_VIDEO_FORMAT_AYUV64: GstVideoFormat = 40;
|
||||
pub const GST_VIDEO_FORMAT_r210: GstVideoFormat = 41;
|
||||
pub const GST_VIDEO_FORMAT_I420_10BE: GstVideoFormat = 42;
|
||||
pub const GST_VIDEO_FORMAT_I420_10LE: GstVideoFormat = 43;
|
||||
pub const GST_VIDEO_FORMAT_I422_10BE: GstVideoFormat = 44;
|
||||
pub const GST_VIDEO_FORMAT_I422_10LE: GstVideoFormat = 45;
|
||||
pub const GST_VIDEO_FORMAT_Y444_10BE: GstVideoFormat = 46;
|
||||
pub const GST_VIDEO_FORMAT_Y444_10LE: GstVideoFormat = 47;
|
||||
pub const GST_VIDEO_FORMAT_GBR: GstVideoFormat = 48;
|
||||
pub const GST_VIDEO_FORMAT_GBR_10BE: GstVideoFormat = 49;
|
||||
pub const GST_VIDEO_FORMAT_GBR_10LE: GstVideoFormat = 50;
|
||||
pub const GST_VIDEO_FORMAT_NV16: GstVideoFormat = 51;
|
||||
pub const GST_VIDEO_FORMAT_NV24: GstVideoFormat = 52;
|
||||
pub const GST_VIDEO_FORMAT_NV12_64Z32: GstVideoFormat = 53;
|
||||
pub const GST_VIDEO_FORMAT_A420_10BE: GstVideoFormat = 54;
|
||||
pub const GST_VIDEO_FORMAT_A420_10LE: GstVideoFormat = 55;
|
||||
pub const GST_VIDEO_FORMAT_A422_10BE: GstVideoFormat = 56;
|
||||
pub const GST_VIDEO_FORMAT_A422_10LE: GstVideoFormat = 57;
|
||||
pub const GST_VIDEO_FORMAT_A444_10BE: GstVideoFormat = 58;
|
||||
pub const GST_VIDEO_FORMAT_A444_10LE: GstVideoFormat = 59;
|
||||
pub const GST_VIDEO_FORMAT_NV61: GstVideoFormat = 60;
|
||||
pub const GST_VIDEO_FORMAT_P010_10BE: GstVideoFormat = 61;
|
||||
pub const GST_VIDEO_FORMAT_P010_10LE: GstVideoFormat = 62;
|
||||
pub const GST_VIDEO_FORMAT_IYU2: GstVideoFormat = 63;
|
||||
pub const GST_VIDEO_FORMAT_VYUY: GstVideoFormat = 64;
|
||||
pub const GST_VIDEO_FORMAT_GBRA: GstVideoFormat = 65;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_10BE: GstVideoFormat = 66;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_10LE: GstVideoFormat = 67;
|
||||
pub const GST_VIDEO_FORMAT_GBR_12BE: GstVideoFormat = 68;
|
||||
pub const GST_VIDEO_FORMAT_GBR_12LE: GstVideoFormat = 69;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_12BE: GstVideoFormat = 70;
|
||||
pub const GST_VIDEO_FORMAT_GBRA_12LE: GstVideoFormat = 71;
|
||||
pub const GST_VIDEO_FORMAT_I420_12BE: GstVideoFormat = 72;
|
||||
pub const GST_VIDEO_FORMAT_I420_12LE: GstVideoFormat = 73;
|
||||
pub const GST_VIDEO_FORMAT_I422_12BE: GstVideoFormat = 74;
|
||||
pub const GST_VIDEO_FORMAT_I422_12LE: GstVideoFormat = 75;
|
||||
pub const GST_VIDEO_FORMAT_Y444_12BE: GstVideoFormat = 76;
|
||||
pub const GST_VIDEO_FORMAT_Y444_12LE: GstVideoFormat = 77;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoGLTextureOrientation {
|
||||
NormalYNormal = 0,
|
||||
NormalYFlip = 1,
|
||||
FlipYNormal = 2,
|
||||
FlipYFlip = 3,
|
||||
}
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = GstVideoGLTextureOrientation::NormalYNormal;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP: GstVideoGLTextureOrientation = GstVideoGLTextureOrientation::NormalYFlip;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL: GstVideoGLTextureOrientation = GstVideoGLTextureOrientation::FlipYNormal;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP: GstVideoGLTextureOrientation = GstVideoGLTextureOrientation::FlipYFlip;
|
||||
pub type GstVideoGLTextureOrientation = c_int;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP: GstVideoGLTextureOrientation = 1;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL: GstVideoGLTextureOrientation = 2;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP: GstVideoGLTextureOrientation = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoGLTextureType {
|
||||
Luminance = 0,
|
||||
LuminanceAlpha = 1,
|
||||
Rgb16 = 2,
|
||||
Rgb = 3,
|
||||
Rgba = 4,
|
||||
R = 5,
|
||||
Rg = 6,
|
||||
}
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE: GstVideoGLTextureType = GstVideoGLTextureType::Luminance;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA: GstVideoGLTextureType = GstVideoGLTextureType::LuminanceAlpha;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RGB16: GstVideoGLTextureType = GstVideoGLTextureType::Rgb16;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RGB: GstVideoGLTextureType = GstVideoGLTextureType::Rgb;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RGBA: GstVideoGLTextureType = GstVideoGLTextureType::Rgba;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_R: GstVideoGLTextureType = GstVideoGLTextureType::R;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RG: GstVideoGLTextureType = GstVideoGLTextureType::Rg;
|
||||
pub type GstVideoGLTextureType = c_int;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE: GstVideoGLTextureType = 0;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA: GstVideoGLTextureType = 1;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RGB16: GstVideoGLTextureType = 2;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RGB: GstVideoGLTextureType = 3;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RGBA: GstVideoGLTextureType = 4;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_R: GstVideoGLTextureType = 5;
|
||||
pub const GST_VIDEO_GL_TEXTURE_TYPE_RG: GstVideoGLTextureType = 6;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoGammaMode {
|
||||
None = 0,
|
||||
Remap = 1,
|
||||
}
|
||||
pub const GST_VIDEO_GAMMA_MODE_NONE: GstVideoGammaMode = GstVideoGammaMode::None;
|
||||
pub const GST_VIDEO_GAMMA_MODE_REMAP: GstVideoGammaMode = GstVideoGammaMode::Remap;
|
||||
pub type GstVideoGammaMode = c_int;
|
||||
pub const GST_VIDEO_GAMMA_MODE_NONE: GstVideoGammaMode = 0;
|
||||
pub const GST_VIDEO_GAMMA_MODE_REMAP: GstVideoGammaMode = 1;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoInterlaceMode {
|
||||
Progressive = 0,
|
||||
Interleaved = 1,
|
||||
Mixed = 2,
|
||||
Fields = 3,
|
||||
}
|
||||
pub const GST_VIDEO_INTERLACE_MODE_PROGRESSIVE: GstVideoInterlaceMode = GstVideoInterlaceMode::Progressive;
|
||||
pub const GST_VIDEO_INTERLACE_MODE_INTERLEAVED: GstVideoInterlaceMode = GstVideoInterlaceMode::Interleaved;
|
||||
pub const GST_VIDEO_INTERLACE_MODE_MIXED: GstVideoInterlaceMode = GstVideoInterlaceMode::Mixed;
|
||||
pub const GST_VIDEO_INTERLACE_MODE_FIELDS: GstVideoInterlaceMode = GstVideoInterlaceMode::Fields;
|
||||
pub type GstVideoInterlaceMode = c_int;
|
||||
pub const GST_VIDEO_INTERLACE_MODE_PROGRESSIVE: GstVideoInterlaceMode = 0;
|
||||
pub const GST_VIDEO_INTERLACE_MODE_INTERLEAVED: GstVideoInterlaceMode = 1;
|
||||
pub const GST_VIDEO_INTERLACE_MODE_MIXED: GstVideoInterlaceMode = 2;
|
||||
pub const GST_VIDEO_INTERLACE_MODE_FIELDS: GstVideoInterlaceMode = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoMatrixMode {
|
||||
Full = 0,
|
||||
InputOnly = 1,
|
||||
OutputOnly = 2,
|
||||
None = 3,
|
||||
}
|
||||
pub const GST_VIDEO_MATRIX_MODE_FULL: GstVideoMatrixMode = GstVideoMatrixMode::Full;
|
||||
pub const GST_VIDEO_MATRIX_MODE_INPUT_ONLY: GstVideoMatrixMode = GstVideoMatrixMode::InputOnly;
|
||||
pub const GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY: GstVideoMatrixMode = GstVideoMatrixMode::OutputOnly;
|
||||
pub const GST_VIDEO_MATRIX_MODE_NONE: GstVideoMatrixMode = GstVideoMatrixMode::None;
|
||||
pub type GstVideoMatrixMode = c_int;
|
||||
pub const GST_VIDEO_MATRIX_MODE_FULL: GstVideoMatrixMode = 0;
|
||||
pub const GST_VIDEO_MATRIX_MODE_INPUT_ONLY: GstVideoMatrixMode = 1;
|
||||
pub const GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY: GstVideoMatrixMode = 2;
|
||||
pub const GST_VIDEO_MATRIX_MODE_NONE: GstVideoMatrixMode = 3;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoMultiviewFramePacking {
|
||||
None = -1,
|
||||
Mono = 0,
|
||||
Left = 1,
|
||||
Right = 2,
|
||||
SideBySide = 3,
|
||||
SideBySideQuincunx = 4,
|
||||
ColumnInterleaved = 5,
|
||||
RowInterleaved = 6,
|
||||
TopBottom = 7,
|
||||
Checkerboard = 8,
|
||||
}
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::None;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::Mono;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_LEFT: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::Left;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_RIGHT: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::Right;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::SideBySide;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE_QUINCUNX: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::SideBySideQuincunx;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_COLUMN_INTERLEAVED: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::ColumnInterleaved;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::RowInterleaved;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::TopBottom;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD: GstVideoMultiviewFramePacking = GstVideoMultiviewFramePacking::Checkerboard;
|
||||
pub type GstVideoMultiviewFramePacking = c_int;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE: GstVideoMultiviewFramePacking = -1;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO: GstVideoMultiviewFramePacking = 0;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_LEFT: GstVideoMultiviewFramePacking = 1;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_RIGHT: GstVideoMultiviewFramePacking = 2;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE: GstVideoMultiviewFramePacking = 3;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE_QUINCUNX: GstVideoMultiviewFramePacking = 4;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_COLUMN_INTERLEAVED: GstVideoMultiviewFramePacking = 5;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED: GstVideoMultiviewFramePacking = 6;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM: GstVideoMultiviewFramePacking = 7;
|
||||
pub const GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD: GstVideoMultiviewFramePacking = 8;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoMultiviewMode {
|
||||
None = -1,
|
||||
Mono = 0,
|
||||
Left = 1,
|
||||
Right = 2,
|
||||
SideBySide = 3,
|
||||
SideBySideQuincunx = 4,
|
||||
ColumnInterleaved = 5,
|
||||
RowInterleaved = 6,
|
||||
TopBottom = 7,
|
||||
Checkerboard = 8,
|
||||
FrameByFrame = 32,
|
||||
MultiviewFrameByFrame = 33,
|
||||
Separated = 34,
|
||||
}
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_NONE: GstVideoMultiviewMode = GstVideoMultiviewMode::None;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_MONO: GstVideoMultiviewMode = GstVideoMultiviewMode::Mono;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_LEFT: GstVideoMultiviewMode = GstVideoMultiviewMode::Left;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_RIGHT: GstVideoMultiviewMode = GstVideoMultiviewMode::Right;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE: GstVideoMultiviewMode = GstVideoMultiviewMode::SideBySide;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX: GstVideoMultiviewMode = GstVideoMultiviewMode::SideBySideQuincunx;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED: GstVideoMultiviewMode = GstVideoMultiviewMode::ColumnInterleaved;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED: GstVideoMultiviewMode = GstVideoMultiviewMode::RowInterleaved;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM: GstVideoMultiviewMode = GstVideoMultiviewMode::TopBottom;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_CHECKERBOARD: GstVideoMultiviewMode = GstVideoMultiviewMode::Checkerboard;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME: GstVideoMultiviewMode = GstVideoMultiviewMode::FrameByFrame;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME: GstVideoMultiviewMode = GstVideoMultiviewMode::MultiviewFrameByFrame;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_SEPARATED: GstVideoMultiviewMode = GstVideoMultiviewMode::Separated;
|
||||
pub type GstVideoMultiviewMode = c_int;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_NONE: GstVideoMultiviewMode = -1;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_MONO: GstVideoMultiviewMode = 0;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_LEFT: GstVideoMultiviewMode = 1;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_RIGHT: GstVideoMultiviewMode = 2;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE: GstVideoMultiviewMode = 3;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX: GstVideoMultiviewMode = 4;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED: GstVideoMultiviewMode = 5;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED: GstVideoMultiviewMode = 6;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM: GstVideoMultiviewMode = 7;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_CHECKERBOARD: GstVideoMultiviewMode = 8;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME: GstVideoMultiviewMode = 32;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME: GstVideoMultiviewMode = 33;
|
||||
pub const GST_VIDEO_MULTIVIEW_MODE_SEPARATED: GstVideoMultiviewMode = 34;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoOrientationMethod {
|
||||
Identity = 0,
|
||||
_90r = 1,
|
||||
_180 = 2,
|
||||
_90l = 3,
|
||||
Horiz = 4,
|
||||
Vert = 5,
|
||||
UlLr = 6,
|
||||
UrLl = 7,
|
||||
Auto = 8,
|
||||
Custom = 9,
|
||||
}
|
||||
pub const GST_VIDEO_ORIENTATION_IDENTITY: GstVideoOrientationMethod = GstVideoOrientationMethod::Identity;
|
||||
pub const GST_VIDEO_ORIENTATION_90R: GstVideoOrientationMethod = GstVideoOrientationMethod::_90r;
|
||||
pub const GST_VIDEO_ORIENTATION_180: GstVideoOrientationMethod = GstVideoOrientationMethod::_180;
|
||||
pub const GST_VIDEO_ORIENTATION_90L: GstVideoOrientationMethod = GstVideoOrientationMethod::_90l;
|
||||
pub const GST_VIDEO_ORIENTATION_HORIZ: GstVideoOrientationMethod = GstVideoOrientationMethod::Horiz;
|
||||
pub const GST_VIDEO_ORIENTATION_VERT: GstVideoOrientationMethod = GstVideoOrientationMethod::Vert;
|
||||
pub const GST_VIDEO_ORIENTATION_UL_LR: GstVideoOrientationMethod = GstVideoOrientationMethod::UlLr;
|
||||
pub const GST_VIDEO_ORIENTATION_UR_LL: GstVideoOrientationMethod = GstVideoOrientationMethod::UrLl;
|
||||
pub const GST_VIDEO_ORIENTATION_AUTO: GstVideoOrientationMethod = GstVideoOrientationMethod::Auto;
|
||||
pub const GST_VIDEO_ORIENTATION_CUSTOM: GstVideoOrientationMethod = GstVideoOrientationMethod::Custom;
|
||||
pub type GstVideoOrientationMethod = c_int;
|
||||
pub const GST_VIDEO_ORIENTATION_IDENTITY: GstVideoOrientationMethod = 0;
|
||||
pub const GST_VIDEO_ORIENTATION_90R: GstVideoOrientationMethod = 1;
|
||||
pub const GST_VIDEO_ORIENTATION_180: GstVideoOrientationMethod = 2;
|
||||
pub const GST_VIDEO_ORIENTATION_90L: GstVideoOrientationMethod = 3;
|
||||
pub const GST_VIDEO_ORIENTATION_HORIZ: GstVideoOrientationMethod = 4;
|
||||
pub const GST_VIDEO_ORIENTATION_VERT: GstVideoOrientationMethod = 5;
|
||||
pub const GST_VIDEO_ORIENTATION_UL_LR: GstVideoOrientationMethod = 6;
|
||||
pub const GST_VIDEO_ORIENTATION_UR_LL: GstVideoOrientationMethod = 7;
|
||||
pub const GST_VIDEO_ORIENTATION_AUTO: GstVideoOrientationMethod = 8;
|
||||
pub const GST_VIDEO_ORIENTATION_CUSTOM: GstVideoOrientationMethod = 9;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoOverlayFormatFlags {
|
||||
None = 0,
|
||||
PremultipliedAlpha = 1,
|
||||
GlobalAlpha = 2,
|
||||
}
|
||||
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE: GstVideoOverlayFormatFlags = GstVideoOverlayFormatFlags::None;
|
||||
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA: GstVideoOverlayFormatFlags = GstVideoOverlayFormatFlags::PremultipliedAlpha;
|
||||
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA: GstVideoOverlayFormatFlags = GstVideoOverlayFormatFlags::GlobalAlpha;
|
||||
pub type GstVideoOverlayFormatFlags = c_int;
|
||||
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE: GstVideoOverlayFormatFlags = 0;
|
||||
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA: GstVideoOverlayFormatFlags = 1;
|
||||
pub const GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA: GstVideoOverlayFormatFlags = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoPrimariesMode {
|
||||
None = 0,
|
||||
MergeOnly = 1,
|
||||
Fast = 2,
|
||||
}
|
||||
pub const GST_VIDEO_PRIMARIES_MODE_NONE: GstVideoPrimariesMode = GstVideoPrimariesMode::None;
|
||||
pub const GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY: GstVideoPrimariesMode = GstVideoPrimariesMode::MergeOnly;
|
||||
pub const GST_VIDEO_PRIMARIES_MODE_FAST: GstVideoPrimariesMode = GstVideoPrimariesMode::Fast;
|
||||
pub type GstVideoPrimariesMode = c_int;
|
||||
pub const GST_VIDEO_PRIMARIES_MODE_NONE: GstVideoPrimariesMode = 0;
|
||||
pub const GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY: GstVideoPrimariesMode = 1;
|
||||
pub const GST_VIDEO_PRIMARIES_MODE_FAST: GstVideoPrimariesMode = 2;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoResamplerMethod {
|
||||
Nearest = 0,
|
||||
Linear = 1,
|
||||
Cubic = 2,
|
||||
Sinc = 3,
|
||||
Lanczos = 4,
|
||||
}
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_NEAREST: GstVideoResamplerMethod = GstVideoResamplerMethod::Nearest;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_LINEAR: GstVideoResamplerMethod = GstVideoResamplerMethod::Linear;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_CUBIC: GstVideoResamplerMethod = GstVideoResamplerMethod::Cubic;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_SINC: GstVideoResamplerMethod = GstVideoResamplerMethod::Sinc;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_LANCZOS: GstVideoResamplerMethod = GstVideoResamplerMethod::Lanczos;
|
||||
pub type GstVideoResamplerMethod = c_int;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_NEAREST: GstVideoResamplerMethod = 0;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_LINEAR: GstVideoResamplerMethod = 1;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_CUBIC: GstVideoResamplerMethod = 2;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_SINC: GstVideoResamplerMethod = 3;
|
||||
pub const GST_VIDEO_RESAMPLER_METHOD_LANCZOS: GstVideoResamplerMethod = 4;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoTileMode {
|
||||
Unknown = 0,
|
||||
Zflipz2x2 = 65536,
|
||||
}
|
||||
pub const GST_VIDEO_TILE_MODE_UNKNOWN: GstVideoTileMode = GstVideoTileMode::Unknown;
|
||||
pub const GST_VIDEO_TILE_MODE_ZFLIPZ_2X2: GstVideoTileMode = GstVideoTileMode::Zflipz2x2;
|
||||
pub type GstVideoTileMode = c_int;
|
||||
pub const GST_VIDEO_TILE_MODE_UNKNOWN: GstVideoTileMode = 0;
|
||||
pub const GST_VIDEO_TILE_MODE_ZFLIPZ_2X2: GstVideoTileMode = 65536;
|
||||
|
||||
pub type VideoTileType = c_int;
|
||||
pub const GST_VIDEO_TILE_TYPE_INDEXED: VideoTileType = 0;
|
||||
pub type GstVideoTileType = VideoTileType;
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[repr(C)]
|
||||
pub enum GstVideoTransferFunction {
|
||||
Unknown = 0,
|
||||
Gamma10 = 1,
|
||||
Gamma18 = 2,
|
||||
Gamma20 = 3,
|
||||
Gamma22 = 4,
|
||||
Bt709 = 5,
|
||||
Smpte240m = 6,
|
||||
Srgb = 7,
|
||||
Gamma28 = 8,
|
||||
Log100 = 9,
|
||||
Log316 = 10,
|
||||
Bt202012 = 11,
|
||||
Adobergb = 12,
|
||||
}
|
||||
pub const GST_VIDEO_TRANSFER_UNKNOWN: GstVideoTransferFunction = GstVideoTransferFunction::Unknown;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA10: GstVideoTransferFunction = GstVideoTransferFunction::Gamma10;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA18: GstVideoTransferFunction = GstVideoTransferFunction::Gamma18;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA20: GstVideoTransferFunction = GstVideoTransferFunction::Gamma20;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA22: GstVideoTransferFunction = GstVideoTransferFunction::Gamma22;
|
||||
pub const GST_VIDEO_TRANSFER_BT709: GstVideoTransferFunction = GstVideoTransferFunction::Bt709;
|
||||
pub const GST_VIDEO_TRANSFER_SMPTE240M: GstVideoTransferFunction = GstVideoTransferFunction::Smpte240m;
|
||||
pub const GST_VIDEO_TRANSFER_SRGB: GstVideoTransferFunction = GstVideoTransferFunction::Srgb;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA28: GstVideoTransferFunction = GstVideoTransferFunction::Gamma28;
|
||||
pub const GST_VIDEO_TRANSFER_LOG100: GstVideoTransferFunction = GstVideoTransferFunction::Log100;
|
||||
pub const GST_VIDEO_TRANSFER_LOG316: GstVideoTransferFunction = GstVideoTransferFunction::Log316;
|
||||
pub const GST_VIDEO_TRANSFER_BT2020_12: GstVideoTransferFunction = GstVideoTransferFunction::Bt202012;
|
||||
pub const GST_VIDEO_TRANSFER_ADOBERGB: GstVideoTransferFunction = GstVideoTransferFunction::Adobergb;
|
||||
pub type GstVideoTransferFunction = c_int;
|
||||
pub const GST_VIDEO_TRANSFER_UNKNOWN: GstVideoTransferFunction = 0;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA10: GstVideoTransferFunction = 1;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA18: GstVideoTransferFunction = 2;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA20: GstVideoTransferFunction = 3;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA22: GstVideoTransferFunction = 4;
|
||||
pub const GST_VIDEO_TRANSFER_BT709: GstVideoTransferFunction = 5;
|
||||
pub const GST_VIDEO_TRANSFER_SMPTE240M: GstVideoTransferFunction = 6;
|
||||
pub const GST_VIDEO_TRANSFER_SRGB: GstVideoTransferFunction = 7;
|
||||
pub const GST_VIDEO_TRANSFER_GAMMA28: GstVideoTransferFunction = 8;
|
||||
pub const GST_VIDEO_TRANSFER_LOG100: GstVideoTransferFunction = 9;
|
||||
pub const GST_VIDEO_TRANSFER_LOG316: GstVideoTransferFunction = 10;
|
||||
pub const GST_VIDEO_TRANSFER_BT2020_12: GstVideoTransferFunction = 11;
|
||||
pub const GST_VIDEO_TRANSFER_ADOBERGB: GstVideoTransferFunction = 12;
|
||||
|
||||
// Constants
|
||||
pub const GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META: *const c_char = b"GstBufferPoolOptionVideoAffineTransformation\0" as *const u8 as *const c_char;
|
||||
|
|
Loading…
Reference in a new issue