Commit 01d79cc5 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

Update to bitflags 0.9

parent 706bf668
......@@ -2,7 +2,7 @@
pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
bitflags = "0.9"
libc = "0.2"
glib-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
gobject-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
......
......@@ -34,7 +34,7 @@ fn find() -> Result<(), Error> {
return Ok(())
}
let target = env::var("TARGET").unwrap();
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
......@@ -49,7 +49,8 @@ fn find() -> Result<(), Error> {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}", path.to_str().unwrap());
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
......
// This file was generated by gir (f493ea3) from gir-files (???)
// This file was generated by gir (d121f7e+) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......
......@@ -2,7 +2,7 @@
pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
bitflags = "0.9"
libc = "0.2"
glib-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
gobject-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
......
......@@ -36,7 +36,7 @@ fn find() -> Result<(), Error> {
return Ok(())
}
let target = env::var("TARGET").unwrap();
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
......@@ -51,7 +51,8 @@ fn find() -> Result<(), Error> {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}", path.to_str().unwrap());
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
......
// This file was generated by gir (f493ea3) from gir-files (???)
// This file was generated by gir (d121f7e+) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -392,66 +392,66 @@ pub const GST_META_TAG_AUDIO_STR: *const c_char = b"audio\0" as *const u8 as *co
// Flags
bitflags! {
#[repr(C)]
pub flags GstAudioChannelMixerFlags: c_uint {
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE = 0,
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN = 1,
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT = 2,
const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN = 4,
const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT = 8,
pub struct GstAudioChannelMixerFlags: c_uint {
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE = 0;
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN = 1;
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT = 2;
const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN = 4;
const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT = 8;
}
}
bitflags! {
#[repr(C)]
pub flags GstAudioConverterFlags: c_uint {
const GST_AUDIO_CONVERTER_FLAG_NONE = 0,
const GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE = 1,
const GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE = 2,
pub struct GstAudioConverterFlags: c_uint {
const GST_AUDIO_CONVERTER_FLAG_NONE = 0;
const GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE = 1;
const GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE = 2;
}
}
bitflags! {
#[repr(C)]
pub flags GstAudioFlags: c_uint {
const GST_AUDIO_FLAG_NONE = 0,
const GST_AUDIO_FLAG_UNPOSITIONED = 1,
pub struct GstAudioFlags: c_uint {
const GST_AUDIO_FLAG_NONE = 0;
const GST_AUDIO_FLAG_UNPOSITIONED = 1;
}
}
bitflags! {
#[repr(C)]
pub flags GstAudioFormatFlags: c_uint {
const GST_AUDIO_FORMAT_FLAG_INTEGER = 1,
const GST_AUDIO_FORMAT_FLAG_FLOAT = 2,
const GST_AUDIO_FORMAT_FLAG_SIGNED = 4,
const GST_AUDIO_FORMAT_FLAG_COMPLEX = 16,
const GST_AUDIO_FORMAT_FLAG_UNPACK = 32,
pub struct GstAudioFormatFlags: c_uint {
const GST_AUDIO_FORMAT_FLAG_INTEGER = 1;
const GST_AUDIO_FORMAT_FLAG_FLOAT = 2;
const GST_AUDIO_FORMAT_FLAG_SIGNED = 4;
const GST_AUDIO_FORMAT_FLAG_COMPLEX = 16;
const GST_AUDIO_FORMAT_FLAG_UNPACK = 32;
}
}
bitflags! {
#[repr(C)]
pub flags GstAudioPackFlags: c_uint {
const GST_AUDIO_PACK_FLAG_NONE = 0,
const GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE = 1,
pub struct GstAudioPackFlags: c_uint {
const GST_AUDIO_PACK_FLAG_NONE = 0;
const GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE = 1;
}
}
bitflags! {
#[repr(C)]
pub flags GstAudioQuantizeFlags: c_uint {
const GST_AUDIO_QUANTIZE_FLAG_NONE = 0,
const GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED = 1,
pub struct GstAudioQuantizeFlags: c_uint {
const GST_AUDIO_QUANTIZE_FLAG_NONE = 0;
const GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED = 1;
}
}
bitflags! {
#[repr(C)]
pub flags GstAudioResamplerFlags: c_uint {
const GST_AUDIO_RESAMPLER_FLAG_NONE = 0,
const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN = 1,
const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT = 2,
const GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE = 4,
pub struct GstAudioResamplerFlags: c_uint {
const GST_AUDIO_RESAMPLER_FLAG_NONE = 0;
const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN = 1;
const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT = 2;
const GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE = 4;
}
}
......
......@@ -2,7 +2,7 @@
pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
bitflags = "0.9"
libc = "0.2"
glib-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
gobject-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
......
......@@ -38,7 +38,7 @@ fn find() -> Result<(), Error> {
return Ok(())
}
let target = env::var("TARGET").unwrap();
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
......@@ -53,7 +53,8 @@ fn find() -> Result<(), Error> {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}", path.to_str().unwrap());
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
......
// This file was generated by gir (f493ea3) from gir-files (???)
// This file was generated by gir (d121f7e+) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -26,33 +26,33 @@ pub const GST_BASE_TRANSFORM_SRC_NAME: *const c_char = b"src\0" as *const u8 as
// Flags
bitflags! {
#[repr(C)]
pub flags GstBaseParseFrameFlags: c_uint {
const GST_BASE_PARSE_FRAME_FLAG_NONE = 0,
const GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME = 1,
const GST_BASE_PARSE_FRAME_FLAG_NO_FRAME = 2,
const GST_BASE_PARSE_FRAME_FLAG_CLIP = 4,
const GST_BASE_PARSE_FRAME_FLAG_DROP = 8,
const GST_BASE_PARSE_FRAME_FLAG_QUEUE = 16,
pub struct GstBaseParseFrameFlags: c_uint {
const GST_BASE_PARSE_FRAME_FLAG_NONE = 0;
const GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME = 1;
const GST_BASE_PARSE_FRAME_FLAG_NO_FRAME = 2;
const GST_BASE_PARSE_FRAME_FLAG_CLIP = 4;
const GST_BASE_PARSE_FRAME_FLAG_DROP = 8;
const GST_BASE_PARSE_FRAME_FLAG_QUEUE = 16;
}
}
bitflags! {
#[repr(C)]
pub flags GstBaseSrcFlags: c_uint {
const GST_BASE_SRC_FLAG_STARTING = 16384,
const GST_BASE_SRC_FLAG_STARTED = 32768,
const GST_BASE_SRC_FLAG_LAST = 1048576,
pub struct GstBaseSrcFlags: c_uint {
const GST_BASE_SRC_FLAG_STARTING = 16384;
const GST_BASE_SRC_FLAG_STARTED = 32768;
const GST_BASE_SRC_FLAG_LAST = 1048576;
}
}
bitflags! {
#[repr(C)]
pub flags GstCollectPadsStateFlags: c_uint {
const GST_COLLECT_PADS_STATE_EOS = 1,
const GST_COLLECT_PADS_STATE_FLUSHING = 2,
const GST_COLLECT_PADS_STATE_NEW_SEGMENT = 4,
const GST_COLLECT_PADS_STATE_WAITING = 8,
const GST_COLLECT_PADS_STATE_LOCKED = 16,
pub struct GstCollectPadsStateFlags: c_uint {
const GST_COLLECT_PADS_STATE_EOS = 1;
const GST_COLLECT_PADS_STATE_FLUSHING = 2;
const GST_COLLECT_PADS_STATE_NEW_SEGMENT = 4;
const GST_COLLECT_PADS_STATE_WAITING = 8;
const GST_COLLECT_PADS_STATE_LOCKED = 16;
}
}
......
......@@ -2,7 +2,7 @@
pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
bitflags = "0.9"
libc = "0.2"
glib-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
gobject-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
......
......@@ -32,7 +32,7 @@ fn find() -> Result<(), Error> {
return Ok(())
}
let target = env::var("TARGET").unwrap();
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
......@@ -47,7 +47,8 @@ fn find() -> Result<(), Error> {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}", path.to_str().unwrap());
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
......
// This file was generated by gir (f493ea3) from gir-files (???)
// This file was generated by gir (d121f7e+) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -113,12 +113,12 @@ pub const GST_PLUGINS_BASE_VERSION_NANO: c_int = 0;
// Flags
bitflags! {
#[repr(C)]
pub flags GstDiscovererSerializeFlags: c_uint {
const GST_DISCOVERER_SERIALIZE_BASIC = 0,
const GST_DISCOVERER_SERIALIZE_CAPS = 1,
const GST_DISCOVERER_SERIALIZE_TAGS = 2,
const GST_DISCOVERER_SERIALIZE_MISC = 4,
const GST_DISCOVERER_SERIALIZE_ALL = 7,
pub struct GstDiscovererSerializeFlags: c_uint {
const GST_DISCOVERER_SERIALIZE_BASIC = 0;
const GST_DISCOVERER_SERIALIZE_CAPS = 1;
const GST_DISCOVERER_SERIALIZE_TAGS = 2;
const GST_DISCOVERER_SERIALIZE_MISC = 4;
const GST_DISCOVERER_SERIALIZE_ALL = 7;
}
}
......
......@@ -2,7 +2,7 @@
pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
bitflags = "0.9"
libc = "0.2"
glib-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
gobject-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
......
......@@ -42,7 +42,7 @@ fn find() -> Result<(), Error> {
return Ok(())
}
let target = env::var("TARGET").unwrap();
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
......@@ -57,7 +57,8 @@ fn find() -> Result<(), Error> {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}", path.to_str().unwrap());
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
......
This diff is collapsed.
......@@ -2,7 +2,7 @@
pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
bitflags = "0.9"
libc = "0.2"
glib-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
gobject-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
......
......@@ -30,7 +30,7 @@ fn find() -> Result<(), Error> {
return Ok(())
}
let target = env::var("TARGET").unwrap();
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
......@@ -45,7 +45,8 @@ fn find() -> Result<(), Error> {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}", path.to_str().unwrap());
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
......
// This file was generated by gir (f493ea3) from gir-files (???)
// This file was generated by gir (d121f7e+) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -115,21 +115,21 @@ pub const GST_TAG_MUSICBRAINZ_TRMID: *const c_char = b"musicbrainz-trmid\0" as *
// Flags
bitflags! {
#[repr(C)]
pub flags GstTagLicenseFlags: c_uint {
const GST_TAG_LICENSE_PERMITS_REPRODUCTION = 1,
const GST_TAG_LICENSE_PERMITS_DISTRIBUTION = 2,
const GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS = 4,
const GST_TAG_LICENSE_PERMITS_SHARING = 8,
const GST_TAG_LICENSE_REQUIRES_NOTICE = 256,
const GST_TAG_LICENSE_REQUIRES_ATTRIBUTION = 512,
const GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE = 1024,
const GST_TAG_LICENSE_REQUIRES_SOURCE_CODE = 2048,
const GST_TAG_LICENSE_REQUIRES_COPYLEFT = 4096,
const GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT = 8192,
const GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE = 65536,
const GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE = 131072,
const GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE = 16777216,
const GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE = 33554432,
pub struct GstTagLicenseFlags: c_uint {
const GST_TAG_LICENSE_PERMITS_REPRODUCTION = 1;
const GST_TAG_LICENSE_PERMITS_DISTRIBUTION = 2;
const GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS = 4;
const GST_TAG_LICENSE_PERMITS_SHARING = 8;
const GST_TAG_LICENSE_REQUIRES_NOTICE = 256;
const GST_TAG_LICENSE_REQUIRES_ATTRIBUTION = 512;
const GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE = 1024;
const GST_TAG_LICENSE_REQUIRES_SOURCE_CODE = 2048;
const GST_TAG_LICENSE_REQUIRES_COPYLEFT = 4096;
const GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT = 8192;
const GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE = 65536;
const GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE = 131072;
const GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE = 16777216;
const GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE = 33554432;
}
}
......
......@@ -2,7 +2,7 @@
pkg-config = "0.3.7"
[dependencies]
bitflags = "0.8"
bitflags = "0.9"
libc = "0.2"
glib-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
gobject-sys = { version = "0.3.4", git = "https://github.com/gtk-rs/sys" }
......
......@@ -42,7 +42,7 @@ fn find() -> Result<(), Error> {
return Ok(())
}
let target = env::var("TARGET").unwrap();
let target = env::var("TARGET").expect("TARGET environment variable doesn't exist");
let hardcode_shared_libs = target.contains("windows");
let mut config = Config::new();
......@@ -57,7 +57,8 @@ fn find() -> Result<(), Error> {
println!("cargo:rustc-link-lib=dylib={}", lib_);
}
for path in library.link_paths.iter() {
println!("cargo:rustc-link-search=native={}", path.to_str().unwrap());
println!("cargo:rustc-link-search=native={}",
path.to_str().expect("library path doesn't exist"));
}
}
Ok(())
......
// This file was generated by gir (f493ea3) from gir-files (???)
// This file was generated by gir (d121f7e+) from gir-files (???)
// DO NOT EDIT
#![allow(non_camel_case_types, non_upper_case_globals)]
......@@ -685,149 +685,149 @@ pub const GST_VIDEO_TILE_Y_TILES_SHIFT: c_int = 16;
// Flags
bitflags! {
#[repr(C)]
pub flags GstVideoBufferFlags: c_uint {
const GST_VIDEO_BUFFER_FLAG_INTERLACED = 1048576,
const GST_VIDEO_BUFFER_FLAG_TFF = 2097152,
const GST_VIDEO_BUFFER_FLAG_RFF = 4194304,
const GST_VIDEO_BUFFER_FLAG_ONEFIELD = 8388608,
const GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW = 16777216,
const GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE = 33554432,
const GST_VIDEO_BUFFER_FLAG_LAST = 268435456,
pub struct GstVideoBufferFlags: c_uint {
const GST_VIDEO_BUFFER_FLAG_INTERLACED = 1048576;
const GST_VIDEO_BUFFER_FLAG_TFF = 2097152;
const GST_VIDEO_BUFFER_FLAG_RFF = 4194304;
const GST_VIDEO_BUFFER_FLAG_ONEFIELD = 8388608;
const GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW = 16777216;
const GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE = 33554432;
const GST_VIDEO_BUFFER_FLAG_LAST = 268435456;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoChromaFlags: c_uint {
const GST_VIDEO_CHROMA_FLAG_NONE = 0,
const GST_VIDEO_CHROMA_FLAG_INTERLACED = 1,
pub struct GstVideoChromaFlags: c_uint {
const GST_VIDEO_CHROMA_FLAG_NONE = 0;
const GST_VIDEO_CHROMA_FLAG_INTERLACED = 1;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoChromaSite: c_uint {
const GST_VIDEO_CHROMA_SITE_UNKNOWN = 0,
const GST_VIDEO_CHROMA_SITE_NONE = 1,
const GST_VIDEO_CHROMA_SITE_H_COSITED = 2,
const GST_VIDEO_CHROMA_SITE_V_COSITED = 4,
const GST_VIDEO_CHROMA_SITE_ALT_LINE = 8,
const GST_VIDEO_CHROMA_SITE_COSITED = 6,
const GST_VIDEO_CHROMA_SITE_JPEG = 1,
const GST_VIDEO_CHROMA_SITE_MPEG2 = 2,
const GST_VIDEO_CHROMA_SITE_DV = 14,
pub struct GstVideoChromaSite: c_uint {
const GST_VIDEO_CHROMA_SITE_UNKNOWN = 0;
const GST_VIDEO_CHROMA_SITE_NONE = 1;
const GST_VIDEO_CHROMA_SITE_H_COSITED = 2;
const GST_VIDEO_CHROMA_SITE_V_COSITED = 4;
const GST_VIDEO_CHROMA_SITE_ALT_LINE = 8;
const GST_VIDEO_CHROMA_SITE_COSITED = 6;
const GST_VIDEO_CHROMA_SITE_JPEG = 1;
const GST_VIDEO_CHROMA_SITE_MPEG2 = 2;
const GST_VIDEO_CHROMA_SITE_DV = 14;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoCodecFrameFlags: c_uint {
const GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY = 1,
const GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT = 2,
const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME = 4,
const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS = 8,
pub struct GstVideoCodecFrameFlags: c_uint {
const GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY = 1;
const GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT = 2;
const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME = 4;
const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS = 8;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoDitherFlags: c_uint {
const GST_VIDEO_DITHER_FLAG_NONE = 0,
const GST_VIDEO_DITHER_FLAG_INTERLACED = 1,
const GST_VIDEO_DITHER_FLAG_QUANTIZE = 2,
pub struct GstVideoDitherFlags: c_uint {
const GST_VIDEO_DITHER_FLAG_NONE = 0;
const GST_VIDEO_DITHER_FLAG_INTERLACED = 1;
const GST_VIDEO_DITHER_FLAG_QUANTIZE = 2;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoFlags: c_uint {
const GST_VIDEO_FLAG_NONE = 0,
const GST_VIDEO_FLAG_VARIABLE_FPS = 1,
const GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA = 2,
pub struct GstVideoFlags: c_uint {
const GST_VIDEO_FLAG_NONE = 0;
const GST_VIDEO_FLAG_VARIABLE_FPS = 1;
const GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA = 2;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoFormatFlags: c_uint {
const GST_VIDEO_FORMAT_FLAG_YUV = 1,
const GST_VIDEO_FORMAT_FLAG_RGB = 2,
const GST_VIDEO_FORMAT_FLAG_GRAY = 4,
const GST_VIDEO_FORMAT_FLAG_ALPHA = 8,
const GST_VIDEO_FORMAT_FLAG_LE = 16,
const GST_VIDEO_FORMAT_FLAG_PALETTE = 32,
const GST_VIDEO_FORMAT_FLAG_COMPLEX = 64,
const GST_VIDEO_FORMAT_FLAG_UNPACK = 128,
const GST_VIDEO_FORMAT_FLAG_TILED = 256,
pub struct GstVideoFormatFlags: c_uint {
const GST_VIDEO_FORMAT_FLAG_YUV = 1;
const GST_VIDEO_FORMAT_FLAG_RGB = 2;
const GST_VIDEO_FORMAT_FLAG_GRAY = 4;
const GST_VIDEO_FORMAT_FLAG_ALPHA = 8;
const GST_VIDEO_FORMAT_FLAG_LE = 16;
const GST_VIDEO_FORMAT_FLAG_PALETTE = 32;
const GST_VIDEO_FORMAT_FLAG_COMPLEX = 64;
const GST_VIDEO_FORMAT_FLAG_UNPACK = 128;
const GST_VIDEO_FORMAT_FLAG_TILED = 256;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoFrameFlags: c_uint {
const GST_VIDEO_FRAME_FLAG_NONE = 0,
const GST_VIDEO_FRAME_FLAG_INTERLACED = 1,
const GST_VIDEO_FRAME_FLAG_TFF = 2,
const GST_VIDEO_FRAME_FLAG_RFF = 4,
const GST_VIDEO_FRAME_FLAG_ONEFIELD = 8,
const GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW = 16,
const GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE = 32,
pub struct GstVideoFrameFlags: c_uint {
const GST_VIDEO_FRAME_FLAG_NONE = 0;
const GST_VIDEO_FRAME_FLAG_INTERLACED = 1;
const GST_VIDEO_FRAME_FLAG_TFF = 2;
const GST_VIDEO_FRAME_FLAG_RFF = 4;
const GST_VIDEO_FRAME_FLAG_ONEFIELD = 8;
const GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW = 16;
const GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE = 32;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoFrameMapFlags: c_uint {
const GST_VIDEO_FRAME_MAP_FLAG_NO_REF = 65536,
const GST_VIDEO_FRAME_MAP_FLAG_LAST = 16777216,
pub struct GstVideoFrameMapFlags: c_uint {
const GST_VIDEO_FRAME_MAP_FLAG_NO_REF = 65536;
const GST_VIDEO_FRAME_MAP_FLAG_LAST = 16777216;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoMultiviewFlags: c_uint {
const GST_VIDEO_MULTIVIEW_FLAGS_NONE = 0,
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST = 1,
const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED = 2,
const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED = 4,
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED = 8,
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED = 16,
const GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT = 16384,
const GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO = 32768,
pub struct GstVideoMultiviewFlags: c_uint {
const GST_VIDEO_MULTIVIEW_FLAGS_NONE = 0;
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST = 1;
const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED = 2;
const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED = 4;
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED = 8;
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED = 16;
const GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT = 16384;
const GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO = 32768;
}
}
bitflags! {
#[repr(C)]
pub flags GstVideoPackFlags: c_uint {
const GST_VIDEO_PACK_FLAG_NONE = 0,
const GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE = 1,
const GST_VIDEO_PACK_FLAG_INTERLACED = 2,
pub struct GstVideoPackFlags: c_uint {
const GST_VIDEO_PACK_FLAG_NONE = 0;