2020-11-27 13:37:24 +00:00
|
|
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ e941700)
|
|
|
|
// from gir-files (https://github.com/gtk-rs/gir-files @ d2591d00)
|
2018-03-20 09:46:03 +00:00
|
|
|
// DO NOT EDIT
|
|
|
|
|
2019-06-18 10:04:39 +00:00
|
|
|
use gstreamer_video_sys::*;
|
2018-03-20 09:46:03 +00:00
|
|
|
use std::env;
|
|
|
|
use std::error::Error;
|
|
|
|
use std::mem::{align_of, size_of};
|
2019-06-18 10:04:39 +00:00
|
|
|
use std::path::Path;
|
2018-03-20 09:46:03 +00:00
|
|
|
use std::process::Command;
|
|
|
|
use std::str;
|
2019-11-19 09:49:46 +00:00
|
|
|
use tempfile::Builder;
|
2018-03-20 09:46:03 +00:00
|
|
|
|
|
|
|
static PACKAGES: &[&str] = &["gstreamer-video-1.0"];
|
|
|
|
|
|
|
|
#[derive(Clone, Debug)]
|
|
|
|
struct Compiler {
|
|
|
|
pub args: Vec<String>,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Compiler {
|
2019-11-19 09:49:46 +00:00
|
|
|
pub fn new() -> Result<Compiler, Box<dyn Error>> {
|
2018-03-20 09:46:03 +00:00
|
|
|
let mut args = get_var("CC", "cc")?;
|
|
|
|
args.push("-Wno-deprecated-declarations".to_owned());
|
|
|
|
// For %z support in printf when using MinGW.
|
|
|
|
args.push("-D__USE_MINGW_ANSI_STDIO".to_owned());
|
|
|
|
args.extend(get_var("CFLAGS", "")?);
|
|
|
|
args.extend(get_var("CPPFLAGS", "")?);
|
|
|
|
args.extend(pkg_config_cflags(PACKAGES)?);
|
|
|
|
Ok(Compiler { args })
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn define<'a, V: Into<Option<&'a str>>>(&mut self, var: &str, val: V) {
|
|
|
|
let arg = match val.into() {
|
2018-05-21 08:28:08 +00:00
|
|
|
None => format!("-D{}", var),
|
2018-03-20 09:46:03 +00:00
|
|
|
Some(val) => format!("-D{}={}", var, val),
|
|
|
|
};
|
|
|
|
self.args.push(arg);
|
|
|
|
}
|
|
|
|
|
2019-11-19 09:49:46 +00:00
|
|
|
pub fn compile(&self, src: &Path, out: &Path) -> Result<(), Box<dyn Error>> {
|
2018-03-20 09:46:03 +00:00
|
|
|
let mut cmd = self.to_command();
|
|
|
|
cmd.arg(src);
|
|
|
|
cmd.arg("-o");
|
|
|
|
cmd.arg(out);
|
|
|
|
let status = cmd.spawn()?.wait()?;
|
|
|
|
if !status.success() {
|
2019-06-18 10:04:39 +00:00
|
|
|
return Err(format!("compilation command {:?} failed, {}", &cmd, status).into());
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
Ok(())
|
|
|
|
}
|
|
|
|
|
|
|
|
fn to_command(&self) -> Command {
|
|
|
|
let mut cmd = Command::new(&self.args[0]);
|
|
|
|
cmd.args(&self.args[1..]);
|
|
|
|
cmd
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-19 09:49:46 +00:00
|
|
|
fn get_var(name: &str, default: &str) -> Result<Vec<String>, Box<dyn Error>> {
|
2018-03-20 09:46:03 +00:00
|
|
|
match env::var(name) {
|
|
|
|
Ok(value) => Ok(shell_words::split(&value)?),
|
|
|
|
Err(env::VarError::NotPresent) => Ok(shell_words::split(default)?),
|
|
|
|
Err(err) => Err(format!("{} {}", name, err).into()),
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-19 09:49:46 +00:00
|
|
|
fn pkg_config_cflags(packages: &[&str]) -> Result<Vec<String>, Box<dyn Error>> {
|
2018-03-20 09:46:03 +00:00
|
|
|
if packages.is_empty() {
|
|
|
|
return Ok(Vec::new());
|
|
|
|
}
|
|
|
|
let mut cmd = Command::new("pkg-config");
|
|
|
|
cmd.arg("--cflags");
|
|
|
|
cmd.args(packages);
|
|
|
|
let out = cmd.output()?;
|
|
|
|
if !out.status.success() {
|
2019-06-18 10:04:39 +00:00
|
|
|
return Err(format!("command {:?} returned {}", &cmd, out.status).into());
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
let stdout = str::from_utf8(&out.stdout)?;
|
|
|
|
Ok(shell_words::split(stdout.trim())?)
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
|
|
|
|
struct Layout {
|
|
|
|
size: usize,
|
|
|
|
alignment: usize,
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Copy, Clone, Debug, Default, Eq, PartialEq)]
|
|
|
|
struct Results {
|
|
|
|
/// Number of successfully completed tests.
|
|
|
|
passed: usize,
|
|
|
|
/// Total number of failed tests (including those that failed to compile).
|
|
|
|
failed: usize,
|
|
|
|
/// Number of tests that failed to compile.
|
|
|
|
failed_to_compile: usize,
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Results {
|
|
|
|
fn record_passed(&mut self) {
|
|
|
|
self.passed += 1;
|
|
|
|
}
|
|
|
|
fn record_failed(&mut self) {
|
|
|
|
self.failed += 1;
|
|
|
|
}
|
|
|
|
fn record_failed_to_compile(&mut self) {
|
|
|
|
self.failed += 1;
|
|
|
|
self.failed_to_compile += 1;
|
|
|
|
}
|
|
|
|
fn summary(&self) -> String {
|
|
|
|
format!(
|
|
|
|
"{} passed; {} failed (compilation errors: {})",
|
2019-06-18 10:04:39 +00:00
|
|
|
self.passed, self.failed, self.failed_to_compile
|
|
|
|
)
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
fn expect_total_success(&self) {
|
|
|
|
if self.failed == 0 {
|
|
|
|
println!("OK: {}", self.summary());
|
|
|
|
} else {
|
|
|
|
panic!("FAILED: {}", self.summary());
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn cross_validate_constants_with_c() {
|
2019-11-19 09:49:46 +00:00
|
|
|
let tmpdir = Builder::new()
|
|
|
|
.prefix("abi")
|
|
|
|
.tempdir()
|
|
|
|
.expect("temporary directory");
|
2018-03-20 09:46:03 +00:00
|
|
|
let cc = Compiler::new().expect("configured compiler");
|
|
|
|
|
2019-06-18 10:04:39 +00:00
|
|
|
assert_eq!(
|
|
|
|
"1",
|
|
|
|
get_c_value(tmpdir.path(), &cc, "1").expect("C constant"),
|
|
|
|
"failed to obtain correct constant value for 1"
|
|
|
|
);
|
2018-03-20 09:46:03 +00:00
|
|
|
|
2019-06-18 10:04:39 +00:00
|
|
|
let mut results: Results = Default::default();
|
2018-03-20 09:46:03 +00:00
|
|
|
for (i, &(name, rust_value)) in RUST_CONSTANTS.iter().enumerate() {
|
|
|
|
match get_c_value(tmpdir.path(), &cc, name) {
|
|
|
|
Err(e) => {
|
|
|
|
results.record_failed_to_compile();
|
|
|
|
eprintln!("{}", e);
|
2019-06-18 10:04:39 +00:00
|
|
|
}
|
2018-03-20 09:46:03 +00:00
|
|
|
Ok(ref c_value) => {
|
|
|
|
if rust_value == c_value {
|
|
|
|
results.record_passed();
|
|
|
|
} else {
|
|
|
|
results.record_failed();
|
2019-06-18 10:04:39 +00:00
|
|
|
eprintln!(
|
|
|
|
"Constant value mismatch for {}\nRust: {:?}\nC: {:?}",
|
|
|
|
name, rust_value, c_value
|
|
|
|
);
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
if (i + 1) % 25 == 0 {
|
|
|
|
println!("constants ... {}", results.summary());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
results.expect_total_success();
|
|
|
|
}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn cross_validate_layout_with_c() {
|
2019-11-19 09:49:46 +00:00
|
|
|
let tmpdir = Builder::new()
|
|
|
|
.prefix("abi")
|
|
|
|
.tempdir()
|
|
|
|
.expect("temporary directory");
|
2018-03-20 09:46:03 +00:00
|
|
|
let cc = Compiler::new().expect("configured compiler");
|
|
|
|
|
2019-06-18 10:04:39 +00:00
|
|
|
assert_eq!(
|
|
|
|
Layout {
|
|
|
|
size: 1,
|
|
|
|
alignment: 1
|
|
|
|
},
|
|
|
|
get_c_layout(tmpdir.path(), &cc, "char").expect("C layout"),
|
|
|
|
"failed to obtain correct layout for char type"
|
|
|
|
);
|
2018-03-20 09:46:03 +00:00
|
|
|
|
2019-06-18 10:04:39 +00:00
|
|
|
let mut results: Results = Default::default();
|
2018-03-20 09:46:03 +00:00
|
|
|
for (i, &(name, rust_layout)) in RUST_LAYOUTS.iter().enumerate() {
|
|
|
|
match get_c_layout(tmpdir.path(), &cc, name) {
|
|
|
|
Err(e) => {
|
|
|
|
results.record_failed_to_compile();
|
|
|
|
eprintln!("{}", e);
|
2019-06-18 10:04:39 +00:00
|
|
|
}
|
2018-03-20 09:46:03 +00:00
|
|
|
Ok(c_layout) => {
|
|
|
|
if rust_layout == c_layout {
|
|
|
|
results.record_passed();
|
|
|
|
} else {
|
|
|
|
results.record_failed();
|
2019-06-18 10:04:39 +00:00
|
|
|
eprintln!(
|
|
|
|
"Layout mismatch for {}\nRust: {:?}\nC: {:?}",
|
|
|
|
name, rust_layout, &c_layout
|
|
|
|
);
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
if (i + 1) % 25 == 0 {
|
|
|
|
println!("layout ... {}", results.summary());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
results.expect_total_success();
|
|
|
|
}
|
|
|
|
|
2019-11-19 09:49:46 +00:00
|
|
|
fn get_c_layout(dir: &Path, cc: &Compiler, name: &str) -> Result<Layout, Box<dyn Error>> {
|
2018-03-20 09:46:03 +00:00
|
|
|
let exe = dir.join("layout");
|
|
|
|
let mut cc = cc.clone();
|
|
|
|
cc.define("ABI_TYPE_NAME", name);
|
|
|
|
cc.compile(Path::new("tests/layout.c"), &exe)?;
|
|
|
|
|
|
|
|
let mut abi_cmd = Command::new(exe);
|
|
|
|
let output = abi_cmd.output()?;
|
|
|
|
if !output.status.success() {
|
2019-06-18 10:04:39 +00:00
|
|
|
return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into());
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
let stdout = str::from_utf8(&output.stdout)?;
|
|
|
|
let mut words = stdout.trim().split_whitespace();
|
|
|
|
let size = words.next().unwrap().parse().unwrap();
|
|
|
|
let alignment = words.next().unwrap().parse().unwrap();
|
2019-06-18 10:04:39 +00:00
|
|
|
Ok(Layout { size, alignment })
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
|
2019-11-19 09:49:46 +00:00
|
|
|
fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<dyn Error>> {
|
2018-03-20 09:46:03 +00:00
|
|
|
let exe = dir.join("constant");
|
|
|
|
let mut cc = cc.clone();
|
|
|
|
cc.define("ABI_CONSTANT_NAME", name);
|
|
|
|
cc.compile(Path::new("tests/constant.c"), &exe)?;
|
|
|
|
|
|
|
|
let mut abi_cmd = Command::new(exe);
|
|
|
|
let output = abi_cmd.output()?;
|
|
|
|
if !output.status.success() {
|
2019-06-18 10:04:39 +00:00
|
|
|
return Err(format!("command {:?} failed, {:?}", &abi_cmd, &output).into());
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
|
2018-11-11 06:59:36 +00:00
|
|
|
let output = str::from_utf8(&output.stdout)?.trim();
|
2019-06-18 10:04:39 +00:00
|
|
|
if !output.starts_with("###gir test###") || !output.ends_with("###gir test###") {
|
|
|
|
return Err(format!(
|
|
|
|
"command {:?} return invalid output, {:?}",
|
|
|
|
&abi_cmd, &output
|
|
|
|
)
|
|
|
|
.into());
|
2018-11-11 06:59:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
2018-03-20 09:46:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
2019-06-18 10:04:39 +00:00
|
|
|
(
|
|
|
|
"GstColorBalanceChannel",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstColorBalanceChannel>(),
|
|
|
|
alignment: align_of::<GstColorBalanceChannel>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstColorBalanceChannelClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstColorBalanceChannelClass>(),
|
|
|
|
alignment: align_of::<GstColorBalanceChannelClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstColorBalanceInterface",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstColorBalanceInterface>(),
|
|
|
|
alignment: align_of::<GstColorBalanceInterface>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstColorBalanceType",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstColorBalanceType>(),
|
|
|
|
alignment: align_of::<GstColorBalanceType>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstNavigationCommand",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstNavigationCommand>(),
|
|
|
|
alignment: align_of::<GstNavigationCommand>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstNavigationEventType",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstNavigationEventType>(),
|
|
|
|
alignment: align_of::<GstNavigationEventType>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstNavigationInterface",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstNavigationInterface>(),
|
|
|
|
alignment: align_of::<GstNavigationInterface>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstNavigationMessageType",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstNavigationMessageType>(),
|
|
|
|
alignment: align_of::<GstNavigationMessageType>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstNavigationQueryType",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstNavigationQueryType>(),
|
|
|
|
alignment: align_of::<GstNavigationQueryType>(),
|
|
|
|
},
|
|
|
|
),
|
2020-04-30 15:05:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoAFDMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAFDMeta>(),
|
|
|
|
alignment: align_of::<GstVideoAFDMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAFDSpec",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAFDSpec>(),
|
|
|
|
alignment: align_of::<GstVideoAFDSpec>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAFDValue",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAFDValue>(),
|
|
|
|
alignment: align_of::<GstVideoAFDValue>(),
|
|
|
|
},
|
|
|
|
),
|
2019-06-18 10:04:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoAffineTransformationMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAffineTransformationMeta>(),
|
|
|
|
alignment: align_of::<GstVideoAffineTransformationMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAggregator",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAggregator>(),
|
|
|
|
alignment: align_of::<GstVideoAggregator>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAggregatorClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAggregatorClass>(),
|
|
|
|
alignment: align_of::<GstVideoAggregatorClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAggregatorConvertPad",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAggregatorConvertPad>(),
|
|
|
|
alignment: align_of::<GstVideoAggregatorConvertPad>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAggregatorConvertPadClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAggregatorConvertPadClass>(),
|
|
|
|
alignment: align_of::<GstVideoAggregatorConvertPadClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAggregatorPad",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAggregatorPad>(),
|
|
|
|
alignment: align_of::<GstVideoAggregatorPad>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAggregatorPadClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAggregatorPadClass>(),
|
|
|
|
alignment: align_of::<GstVideoAggregatorPadClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAlignment",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAlignment>(),
|
|
|
|
alignment: align_of::<GstVideoAlignment>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAlphaMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAlphaMode>(),
|
|
|
|
alignment: align_of::<GstVideoAlphaMode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAncillary",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAncillary>(),
|
|
|
|
alignment: align_of::<GstVideoAncillary>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAncillaryDID",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAncillaryDID>(),
|
|
|
|
alignment: align_of::<GstVideoAncillaryDID>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoAncillaryDID16",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoAncillaryDID16>(),
|
|
|
|
alignment: align_of::<GstVideoAncillaryDID16>(),
|
|
|
|
},
|
|
|
|
),
|
2020-04-30 15:05:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoBarMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoBarMeta>(),
|
|
|
|
alignment: align_of::<GstVideoBarMeta>(),
|
|
|
|
},
|
|
|
|
),
|
2019-06-18 10:04:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoBufferFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoBufferFlags>(),
|
|
|
|
alignment: align_of::<GstVideoBufferFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoBufferPool",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoBufferPool>(),
|
|
|
|
alignment: align_of::<GstVideoBufferPool>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoBufferPoolClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoBufferPoolClass>(),
|
|
|
|
alignment: align_of::<GstVideoBufferPoolClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoCaptionMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoCaptionMeta>(),
|
|
|
|
alignment: align_of::<GstVideoCaptionMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoCaptionType",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoCaptionType>(),
|
|
|
|
alignment: align_of::<GstVideoCaptionType>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoChromaFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoChromaFlags>(),
|
|
|
|
alignment: align_of::<GstVideoChromaFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoChromaMethod",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoChromaMethod>(),
|
|
|
|
alignment: align_of::<GstVideoChromaMethod>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoChromaMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoChromaMode>(),
|
|
|
|
alignment: align_of::<GstVideoChromaMode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoChromaSite",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoChromaSite>(),
|
|
|
|
alignment: align_of::<GstVideoChromaSite>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoCodecFrame",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoCodecFrame>(),
|
|
|
|
alignment: align_of::<GstVideoCodecFrame>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoCodecFrameFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoCodecFrameFlags>(),
|
|
|
|
alignment: align_of::<GstVideoCodecFrameFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoCodecState",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoCodecState>(),
|
|
|
|
alignment: align_of::<GstVideoCodecState>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoColorMatrix",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoColorMatrix>(),
|
|
|
|
alignment: align_of::<GstVideoColorMatrix>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoColorPrimaries",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoColorPrimaries>(),
|
|
|
|
alignment: align_of::<GstVideoColorPrimaries>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoColorPrimariesInfo",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoColorPrimariesInfo>(),
|
|
|
|
alignment: align_of::<GstVideoColorPrimariesInfo>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoColorRange",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoColorRange>(),
|
|
|
|
alignment: align_of::<GstVideoColorRange>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoColorimetry",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoColorimetry>(),
|
|
|
|
alignment: align_of::<GstVideoColorimetry>(),
|
|
|
|
},
|
|
|
|
),
|
2020-04-30 15:05:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoContentLightLevel",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoContentLightLevel>(),
|
|
|
|
alignment: align_of::<GstVideoContentLightLevel>(),
|
|
|
|
},
|
|
|
|
),
|
2019-06-18 10:04:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoCropMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoCropMeta>(),
|
|
|
|
alignment: align_of::<GstVideoCropMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoDecoder",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoDecoder>(),
|
|
|
|
alignment: align_of::<GstVideoDecoder>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoDecoderClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoDecoderClass>(),
|
|
|
|
alignment: align_of::<GstVideoDecoderClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoDirectionInterface",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoDirectionInterface>(),
|
|
|
|
alignment: align_of::<GstVideoDirectionInterface>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoDitherFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoDitherFlags>(),
|
|
|
|
alignment: align_of::<GstVideoDitherFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoDitherMethod",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoDitherMethod>(),
|
|
|
|
alignment: align_of::<GstVideoDitherMethod>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoEncoder",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoEncoder>(),
|
|
|
|
alignment: align_of::<GstVideoEncoder>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoEncoderClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoEncoderClass>(),
|
|
|
|
alignment: align_of::<GstVideoEncoderClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFieldOrder",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFieldOrder>(),
|
|
|
|
alignment: align_of::<GstVideoFieldOrder>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFilter",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFilter>(),
|
|
|
|
alignment: align_of::<GstVideoFilter>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFilterClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFilterClass>(),
|
|
|
|
alignment: align_of::<GstVideoFilterClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFlags>(),
|
|
|
|
alignment: align_of::<GstVideoFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFormat",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFormat>(),
|
|
|
|
alignment: align_of::<GstVideoFormat>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFormatFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFormatFlags>(),
|
|
|
|
alignment: align_of::<GstVideoFormatFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFormatInfo",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFormatInfo>(),
|
|
|
|
alignment: align_of::<GstVideoFormatInfo>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFrame",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFrame>(),
|
|
|
|
alignment: align_of::<GstVideoFrame>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFrameFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFrameFlags>(),
|
|
|
|
alignment: align_of::<GstVideoFrameFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoFrameMapFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoFrameMapFlags>(),
|
|
|
|
alignment: align_of::<GstVideoFrameMapFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoGLTextureOrientation",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoGLTextureOrientation>(),
|
|
|
|
alignment: align_of::<GstVideoGLTextureOrientation>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoGLTextureType",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoGLTextureType>(),
|
|
|
|
alignment: align_of::<GstVideoGLTextureType>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoGLTextureUploadMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoGLTextureUploadMeta>(),
|
|
|
|
alignment: align_of::<GstVideoGLTextureUploadMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoGammaMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoGammaMode>(),
|
|
|
|
alignment: align_of::<GstVideoGammaMode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoInfo",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoInfo>(),
|
|
|
|
alignment: align_of::<GstVideoInfo>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoInterlaceMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoInterlaceMode>(),
|
|
|
|
alignment: align_of::<GstVideoInterlaceMode>(),
|
|
|
|
},
|
|
|
|
),
|
2020-04-30 15:05:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoMasteringDisplayInfo",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMasteringDisplayInfo>(),
|
|
|
|
alignment: align_of::<GstVideoMasteringDisplayInfo>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoMasteringDisplayInfoCoordinates",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMasteringDisplayInfoCoordinates>(),
|
|
|
|
alignment: align_of::<GstVideoMasteringDisplayInfoCoordinates>(),
|
|
|
|
},
|
|
|
|
),
|
2019-06-18 10:04:39 +00:00
|
|
|
(
|
|
|
|
"GstVideoMatrixMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMatrixMode>(),
|
|
|
|
alignment: align_of::<GstVideoMatrixMode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMeta>(),
|
|
|
|
alignment: align_of::<GstVideoMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoMetaTransform",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMetaTransform>(),
|
|
|
|
alignment: align_of::<GstVideoMetaTransform>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoMultiviewFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMultiviewFlags>(),
|
|
|
|
alignment: align_of::<GstVideoMultiviewFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoMultiviewFramePacking",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMultiviewFramePacking>(),
|
|
|
|
alignment: align_of::<GstVideoMultiviewFramePacking>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoMultiviewMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoMultiviewMode>(),
|
|
|
|
alignment: align_of::<GstVideoMultiviewMode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoOrientationInterface",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoOrientationInterface>(),
|
|
|
|
alignment: align_of::<GstVideoOrientationInterface>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoOrientationMethod",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoOrientationMethod>(),
|
|
|
|
alignment: align_of::<GstVideoOrientationMethod>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoOverlayCompositionMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoOverlayCompositionMeta>(),
|
|
|
|
alignment: align_of::<GstVideoOverlayCompositionMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoOverlayFormatFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoOverlayFormatFlags>(),
|
|
|
|
alignment: align_of::<GstVideoOverlayFormatFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoOverlayInterface",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoOverlayInterface>(),
|
|
|
|
alignment: align_of::<GstVideoOverlayInterface>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoPackFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoPackFlags>(),
|
|
|
|
alignment: align_of::<GstVideoPackFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoPrimariesMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoPrimariesMode>(),
|
|
|
|
alignment: align_of::<GstVideoPrimariesMode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoRectangle",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoRectangle>(),
|
|
|
|
alignment: align_of::<GstVideoRectangle>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoRegionOfInterestMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoRegionOfInterestMeta>(),
|
|
|
|
alignment: align_of::<GstVideoRegionOfInterestMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoResampler",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoResampler>(),
|
|
|
|
alignment: align_of::<GstVideoResampler>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoResamplerFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoResamplerFlags>(),
|
|
|
|
alignment: align_of::<GstVideoResamplerFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoResamplerMethod",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoResamplerMethod>(),
|
|
|
|
alignment: align_of::<GstVideoResamplerMethod>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoScalerFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoScalerFlags>(),
|
|
|
|
alignment: align_of::<GstVideoScalerFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoSink",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoSink>(),
|
|
|
|
alignment: align_of::<GstVideoSink>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoSinkClass",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoSinkClass>(),
|
|
|
|
alignment: align_of::<GstVideoSinkClass>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTileMode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTileMode>(),
|
|
|
|
alignment: align_of::<GstVideoTileMode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTileType",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTileType>(),
|
|
|
|
alignment: align_of::<GstVideoTileType>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTimeCode",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTimeCode>(),
|
|
|
|
alignment: align_of::<GstVideoTimeCode>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTimeCodeConfig",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTimeCodeConfig>(),
|
|
|
|
alignment: align_of::<GstVideoTimeCodeConfig>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTimeCodeFlags",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTimeCodeFlags>(),
|
|
|
|
alignment: align_of::<GstVideoTimeCodeFlags>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTimeCodeInterval",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTimeCodeInterval>(),
|
|
|
|
alignment: align_of::<GstVideoTimeCodeInterval>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTimeCodeMeta",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTimeCodeMeta>(),
|
|
|
|
alignment: align_of::<GstVideoTimeCodeMeta>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoTransferFunction",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoTransferFunction>(),
|
|
|
|
alignment: align_of::<GstVideoTransferFunction>(),
|
|
|
|
},
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GstVideoVBIParserResult",
|
|
|
|
Layout {
|
|
|
|
size: size_of::<GstVideoVBIParserResult>(),
|
|
|
|
alignment: align_of::<GstVideoVBIParserResult>(),
|
|
|
|
},
|
|
|
|
),
|
2018-03-20 09:46:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META",
|
|
|
|
"GstBufferPoolOptionVideoAffineTransformation",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT",
|
|
|
|
"GstBufferPoolOptionVideoAlignment",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META",
|
|
|
|
"GstBufferPoolOptionVideoGLTextureUploadMeta",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_BUFFER_POOL_OPTION_VIDEO_META",
|
|
|
|
"GstBufferPoolOptionVideoMeta",
|
|
|
|
),
|
2019-04-23 12:32:33 +00:00
|
|
|
("GST_CAPS_FEATURE_FORMAT_INTERLACED", "format:Interlaced"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META",
|
|
|
|
"meta:GstVideoAffineTransformation",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META",
|
|
|
|
"meta:GstVideoGLTextureUploadMeta",
|
|
|
|
),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_CAPS_FEATURE_META_GST_VIDEO_META", "meta:GstVideoMeta"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION",
|
|
|
|
"meta:GstVideoOverlayComposition",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_COLOR_BALANCE_HARDWARE", "0"),
|
|
|
|
("(gint) GST_COLOR_BALANCE_SOFTWARE", "1"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_META_TAG_VIDEO_COLORSPACE_STR", "colorspace"),
|
|
|
|
("GST_META_TAG_VIDEO_ORIENTATION_STR", "orientation"),
|
|
|
|
("GST_META_TAG_VIDEO_SIZE_STR", "size"),
|
|
|
|
("GST_META_TAG_VIDEO_STR", "video"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_NAVIGATION_COMMAND_ACTIVATE", "24"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_DOWN", "23"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_INVALID", "0"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_LEFT", "20"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_MENU1", "1"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_MENU2", "2"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_MENU3", "3"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_MENU4", "4"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_MENU5", "5"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_MENU6", "6"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_MENU7", "7"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_NEXT_ANGLE", "31"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_PREV_ANGLE", "30"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_RIGHT", "21"),
|
|
|
|
("(gint) GST_NAVIGATION_COMMAND_UP", "22"),
|
|
|
|
("(gint) GST_NAVIGATION_EVENT_COMMAND", "6"),
|
|
|
|
("(gint) GST_NAVIGATION_EVENT_INVALID", "0"),
|
|
|
|
("(gint) GST_NAVIGATION_EVENT_KEY_PRESS", "1"),
|
|
|
|
("(gint) GST_NAVIGATION_EVENT_KEY_RELEASE", "2"),
|
|
|
|
("(gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS", "3"),
|
|
|
|
("(gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE", "4"),
|
|
|
|
("(gint) GST_NAVIGATION_EVENT_MOUSE_MOVE", "5"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_NAVIGATION_EVENT_MOUSE_SCROLL", "7"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_NAVIGATION_MESSAGE_ANGLES_CHANGED", "3"),
|
|
|
|
("(gint) GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED", "2"),
|
|
|
|
("(gint) GST_NAVIGATION_MESSAGE_EVENT", "4"),
|
|
|
|
("(gint) GST_NAVIGATION_MESSAGE_INVALID", "0"),
|
|
|
|
("(gint) GST_NAVIGATION_MESSAGE_MOUSE_OVER", "1"),
|
|
|
|
("(gint) GST_NAVIGATION_QUERY_ANGLES", "2"),
|
|
|
|
("(gint) GST_NAVIGATION_QUERY_COMMANDS", "1"),
|
|
|
|
("(gint) GST_NAVIGATION_QUERY_INVALID", "0"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_AFD_14_9_LETTER_14_9_PILLAR", "11"),
|
|
|
|
("(gint) GST_VIDEO_AFD_14_9_TOP_ALIGNED", "3"),
|
|
|
|
("(gint) GST_VIDEO_AFD_16_9_LETTER_14_9_CENTER", "14"),
|
|
|
|
("(gint) GST_VIDEO_AFD_16_9_LETTER_16_9_FULL", "10"),
|
|
|
|
("(gint) GST_VIDEO_AFD_16_9_LETTER_4_3_CENTER", "15"),
|
|
|
|
("(gint) GST_VIDEO_AFD_16_9_TOP_ALIGNED", "2"),
|
|
|
|
("(gint) GST_VIDEO_AFD_4_3_FULL_14_9_CENTER", "13"),
|
|
|
|
("(gint) GST_VIDEO_AFD_4_3_FULL_16_9_FULL", "8"),
|
|
|
|
("(gint) GST_VIDEO_AFD_4_3_FULL_4_3_PILLAR", "9"),
|
|
|
|
("(gint) GST_VIDEO_AFD_GREATER_THAN_16_9", "4"),
|
|
|
|
("(gint) GST_VIDEO_AFD_SPEC_ATSC_A53", "1"),
|
|
|
|
("(gint) GST_VIDEO_AFD_SPEC_DVB_ETSI", "0"),
|
|
|
|
("(gint) GST_VIDEO_AFD_SPEC_SMPTE_ST2016_1", "2"),
|
|
|
|
("(gint) GST_VIDEO_AFD_UNAVAILABLE", "0"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_ALPHA_MODE_COPY", "0"),
|
|
|
|
("(gint) GST_VIDEO_ALPHA_MODE_MULT", "2"),
|
|
|
|
("(gint) GST_VIDEO_ALPHA_MODE_SET", "1"),
|
2019-10-04 16:21:53 +00:00
|
|
|
("(gint) GST_VIDEO_ANCILLARY_DID16_S2016_3_AFD_BAR", "16645"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_ANCILLARY_DID16_S334_EIA_608", "24834"),
|
|
|
|
("(gint) GST_VIDEO_ANCILLARY_DID16_S334_EIA_708", "24833"),
|
|
|
|
("(gint) GST_VIDEO_ANCILLARY_DID_CAMERA_POSITION", "240"),
|
|
|
|
("(gint) GST_VIDEO_ANCILLARY_DID_DELETION", "128"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_FIRST",
|
|
|
|
"160",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_3G_AUDIO_DATA_LAST",
|
|
|
|
"167",
|
|
|
|
),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_ANCILLARY_DID_HANC_ERROR_DETECTION", "244"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_FIRST",
|
|
|
|
"224",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_HDTV_AUDIO_DATA_LAST",
|
|
|
|
"231",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_FIRST",
|
|
|
|
"236",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_1_LAST",
|
|
|
|
"239",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_FIRST",
|
|
|
|
"248",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_ANCILLARY_DID_HANC_SDTV_AUDIO_DATA_2_LAST",
|
|
|
|
"255",
|
|
|
|
),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_ANCILLARY_DID_UNDEFINED", "0"),
|
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_BOTTOM_FIELD", "8388608"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE", "33554432"),
|
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_INTERLACED", "1048576"),
|
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_LAST", "268435456"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_MARKER", "512"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW", "16777216"),
|
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_ONEFIELD", "8388608"),
|
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_RFF", "4194304"),
|
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_TFF", "2097152"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(guint) GST_VIDEO_BUFFER_FLAG_TOP_FIELD", "10485760"),
|
|
|
|
("(gint) GST_VIDEO_CAPTION_TYPE_CEA608_RAW", "1"),
|
|
|
|
("(gint) GST_VIDEO_CAPTION_TYPE_CEA608_S334_1A", "2"),
|
|
|
|
("(gint) GST_VIDEO_CAPTION_TYPE_CEA708_CDP", "4"),
|
|
|
|
("(gint) GST_VIDEO_CAPTION_TYPE_CEA708_RAW", "3"),
|
|
|
|
("(gint) GST_VIDEO_CAPTION_TYPE_UNKNOWN", "0"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_CHROMA_FLAG_INTERLACED", "1"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_FLAG_NONE", "0"),
|
|
|
|
("(gint) GST_VIDEO_CHROMA_METHOD_LINEAR", "1"),
|
|
|
|
("(gint) GST_VIDEO_CHROMA_METHOD_NEAREST", "0"),
|
|
|
|
("(gint) GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY", "2"),
|
|
|
|
("(gint) GST_VIDEO_CHROMA_MODE_FULL", "0"),
|
|
|
|
("(gint) GST_VIDEO_CHROMA_MODE_NONE", "3"),
|
|
|
|
("(gint) GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY", "1"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_ALT_LINE", "8"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_COSITED", "6"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_DV", "14"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_H_COSITED", "2"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_JPEG", "1"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_MPEG2", "2"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_NONE", "1"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_UNKNOWN", "0"),
|
|
|
|
("(guint) GST_VIDEO_CHROMA_SITE_V_COSITED", "4"),
|
|
|
|
("(guint) GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY", "1"),
|
|
|
|
("(guint) GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME", "4"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(guint) GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS",
|
|
|
|
"8",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT", "2"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_COLORIMETRY_BT2020", "bt2020"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("GST_VIDEO_COLORIMETRY_BT2020_10", "bt2020-10"),
|
|
|
|
("GST_VIDEO_COLORIMETRY_BT2100_HLG", "bt2100-hlg"),
|
|
|
|
("GST_VIDEO_COLORIMETRY_BT2100_PQ", "bt2100-pq"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_COLORIMETRY_BT601", "bt601"),
|
|
|
|
("GST_VIDEO_COLORIMETRY_BT709", "bt709"),
|
|
|
|
("GST_VIDEO_COLORIMETRY_SMPTE240M", "smpte240m"),
|
|
|
|
("GST_VIDEO_COLORIMETRY_SRGB", "sRGB"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_COLOR_MATRIX_BT2020", "6"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_MATRIX_BT601", "4"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_MATRIX_BT709", "3"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_MATRIX_FCC", "2"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_MATRIX_RGB", "1"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_MATRIX_SMPTE240M", "5"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_MATRIX_UNKNOWN", "0"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_ADOBERGB", "8"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT2020", "7"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT470BG", "3"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT470M", "2"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT709", "1"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_EBU3213", "12"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_FILM", "6"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_SMPTE170M", "4"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_SMPTE240M", "5"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432", "11"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_SMPTERP431", "10"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_SMPTEST428", "9"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_UNKNOWN", "0"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_RANGE_0_255", "1"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_RANGE_16_235", "2"),
|
|
|
|
("(gint) GST_VIDEO_COLOR_RANGE_UNKNOWN", "0"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_COMP_A", "3"),
|
|
|
|
("GST_VIDEO_COMP_B", "2"),
|
|
|
|
("GST_VIDEO_COMP_G", "1"),
|
|
|
|
("GST_VIDEO_COMP_INDEX", "0"),
|
|
|
|
("GST_VIDEO_COMP_PALETTE", "1"),
|
|
|
|
("GST_VIDEO_COMP_R", "0"),
|
|
|
|
("GST_VIDEO_COMP_U", "1"),
|
|
|
|
("GST_VIDEO_COMP_V", "2"),
|
|
|
|
("GST_VIDEO_COMP_Y", "0"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_ALPHA_MODE",
|
|
|
|
"GstVideoConverter.alpha-mode",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE",
|
|
|
|
"GstVideoConverter.alpha-value",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_BORDER_ARGB",
|
|
|
|
"GstVideoConverter.border-argb",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_CHROMA_MODE",
|
|
|
|
"GstVideoConverter.chroma-mode",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD",
|
|
|
|
"GstVideoConverter.chroma-resampler-method",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT",
|
|
|
|
"GstVideoConverter.dest-height",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_DEST_WIDTH",
|
|
|
|
"GstVideoConverter.dest-width",
|
|
|
|
),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_CONVERTER_OPT_DEST_X", "GstVideoConverter.dest-x"),
|
|
|
|
("GST_VIDEO_CONVERTER_OPT_DEST_Y", "GstVideoConverter.dest-y"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_DITHER_METHOD",
|
|
|
|
"GstVideoConverter.dither-method",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION",
|
|
|
|
"GstVideoConverter.dither-quantization",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_FILL_BORDER",
|
|
|
|
"GstVideoConverter.fill-border",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_GAMMA_MODE",
|
|
|
|
"GstVideoConverter.gamma-mode",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_MATRIX_MODE",
|
|
|
|
"GstVideoConverter.matrix-mode",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE",
|
|
|
|
"GstVideoConverter.primaries-mode",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD",
|
|
|
|
"GstVideoConverter.resampler-method",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS",
|
|
|
|
"GstVideoConverter.resampler-taps",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT",
|
|
|
|
"GstVideoConverter.src-height",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_SRC_WIDTH",
|
|
|
|
"GstVideoConverter.src-width",
|
|
|
|
),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_CONVERTER_OPT_SRC_X", "GstVideoConverter.src-x"),
|
|
|
|
("GST_VIDEO_CONVERTER_OPT_SRC_Y", "GstVideoConverter.src-y"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_VIDEO_CONVERTER_OPT_THREADS",
|
|
|
|
"GstVideoConverter.threads",
|
|
|
|
),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_DECODER_MAX_ERRORS", "10"),
|
|
|
|
("GST_VIDEO_DECODER_SINK_NAME", "sink"),
|
|
|
|
("GST_VIDEO_DECODER_SRC_NAME", "src"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_DITHER_BAYER", "4"),
|
|
|
|
("(guint) GST_VIDEO_DITHER_FLAG_INTERLACED", "1"),
|
|
|
|
("(guint) GST_VIDEO_DITHER_FLAG_NONE", "0"),
|
|
|
|
("(guint) GST_VIDEO_DITHER_FLAG_QUANTIZE", "2"),
|
|
|
|
("(gint) GST_VIDEO_DITHER_FLOYD_STEINBERG", "2"),
|
|
|
|
("(gint) GST_VIDEO_DITHER_NONE", "0"),
|
|
|
|
("(gint) GST_VIDEO_DITHER_SIERRA_LITE", "3"),
|
|
|
|
("(gint) GST_VIDEO_DITHER_VERTERR", "1"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_ENCODER_SINK_NAME", "sink"),
|
|
|
|
("GST_VIDEO_ENCODER_SRC_NAME", "src"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST", "2"),
|
|
|
|
("(gint) GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST", "1"),
|
|
|
|
("(gint) GST_VIDEO_FIELD_ORDER_UNKNOWN", "0"),
|
|
|
|
("(guint) GST_VIDEO_FLAG_NONE", "0"),
|
|
|
|
("(guint) GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA", "2"),
|
|
|
|
("(guint) GST_VIDEO_FLAG_VARIABLE_FPS", "1"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_A420", "34"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_A420_10BE", "54"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_A420_10LE", "55"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_A422_10BE", "56"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_A422_10LE", "57"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_A444_10BE", "58"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_A444_10LE", "59"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_ABGR", "14"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_ARGB", "13"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_ARGB64", "39"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_AYUV", "6"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_AYUV64", "40"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_BGR", "16"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_BGR10A2_LE", "85"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_BGR15", "32"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_BGR16", "30"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_BGRA", "12"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_BGRx", "8"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_ENCODED", "1"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_ALPHA", "8"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_COMPLEX", "64"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_GRAY", "4"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_LE", "16"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_PALETTE", "32"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_RGB", "2"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_TILED", "256"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_UNPACK", "128"),
|
|
|
|
("(guint) GST_VIDEO_FORMAT_FLAG_YUV", "1"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBR", "48"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBRA", "65"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBRA_10BE", "66"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBRA_10LE", "67"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBRA_12BE", "70"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBRA_12LE", "71"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBR_10BE", "49"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBR_10LE", "50"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBR_12BE", "68"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GBR_12LE", "69"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GRAY10_LE32", "78"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GRAY16_BE", "26"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GRAY16_LE", "27"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_GRAY8", "25"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I420", "2"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I420_10BE", "42"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I420_10LE", "43"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I420_12BE", "72"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I420_12LE", "73"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I422_10BE", "44"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I422_10LE", "45"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I422_12BE", "74"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_I422_12LE", "75"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_IYU1", "38"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_IYU2", "63"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV12", "23"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV12_10LE32", "79"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_NV12_10LE40", "81"),
|
2020-08-11 07:43:02 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_NV12_32L32", "98"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV12_4L4", "97"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_NV12_64Z32", "53"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV16", "51"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV16_10LE32", "80"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV21", "24"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV24", "52"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_NV61", "60"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_P010_10BE", "61"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_P010_10LE", "62"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_P012_BE", "91"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_P012_LE", "92"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_P016_BE", "89"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_P016_LE", "90"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_RGB", "15"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_RGB10A2_LE", "86"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_RGB15", "31"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_RGB16", "29"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_RGB8P", "35"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_RGBA", "11"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_RGBx", "7"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_UNKNOWN", "0"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_UYVP", "33"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_UYVY", "5"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_VUYA", "84"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_VYUY", "64"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_Y210", "82"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_Y212_BE", "93"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y212_LE", "94"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_Y410", "83"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_Y412_BE", "95"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y412_LE", "96"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_Y41B", "17"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y42B", "18"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y444", "20"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y444_10BE", "46"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y444_10LE", "47"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y444_12BE", "76"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y444_12LE", "77"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_Y444_16BE", "87"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_Y444_16LE", "88"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_FORMAT_YUV9", "36"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_YUY2", "4"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_YV12", "3"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_YVU9", "37"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_YVYU", "19"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_r210", "41"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_v210", "21"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_v216", "22"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_v308", "28"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_xBGR", "10"),
|
|
|
|
("(gint) GST_VIDEO_FORMAT_xRGB", "9"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_FPS_RANGE", "(fraction) [ 0, max ]"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_BOTTOM_FIELD", "8"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE", "32"),
|
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_INTERLACED", "1"),
|
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW", "16"),
|
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_NONE", "0"),
|
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_ONEFIELD", "8"),
|
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_RFF", "4"),
|
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_TFF", "2"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(guint) GST_VIDEO_FRAME_FLAG_TOP_FIELD", "10"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_FRAME_MAP_FLAG_LAST", "16777216"),
|
|
|
|
("(guint) GST_VIDEO_FRAME_MAP_FLAG_NO_REF", "65536"),
|
|
|
|
("(gint) GST_VIDEO_GAMMA_MODE_NONE", "0"),
|
|
|
|
("(gint) GST_VIDEO_GAMMA_MODE_REMAP", "1"),
|
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP", "3"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL",
|
|
|
|
"2",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP",
|
|
|
|
"1",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL",
|
|
|
|
"0",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE", "0"),
|
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA", "1"),
|
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_R", "5"),
|
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RG", "6"),
|
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RGB", "3"),
|
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RGB16", "2"),
|
|
|
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RGBA", "4"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_INTERLACE_MODE_ALTERNATE", "4"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_INTERLACE_MODE_FIELDS", "3"),
|
|
|
|
("(gint) GST_VIDEO_INTERLACE_MODE_INTERLEAVED", "1"),
|
|
|
|
("(gint) GST_VIDEO_INTERLACE_MODE_MIXED", "2"),
|
|
|
|
("(gint) GST_VIDEO_INTERLACE_MODE_PROGRESSIVE", "0"),
|
|
|
|
("(gint) GST_VIDEO_MATRIX_MODE_FULL", "0"),
|
|
|
|
("(gint) GST_VIDEO_MATRIX_MODE_INPUT_ONLY", "1"),
|
|
|
|
("(gint) GST_VIDEO_MATRIX_MODE_NONE", "3"),
|
|
|
|
("(gint) GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY", "2"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_MAX_COMPONENTS", "4"),
|
|
|
|
("GST_VIDEO_MAX_PLANES", "4"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT", "16384"),
|
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED", "2"),
|
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED", "4"),
|
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO", "32768"),
|
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_NONE", "0"),
|
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED", "8"),
|
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED", "16"),
|
|
|
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST", "1"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD", "8"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_COLUMN_INTERLEAVED",
|
|
|
|
"5",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_LEFT", "1"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO", "0"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE", "-1"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_RIGHT", "2"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED",
|
|
|
|
"6",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE", "3"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE_QUINCUNX",
|
|
|
|
"4",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM", "7"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_CHECKERBOARD", "8"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED", "5"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME", "32"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_LEFT", "1"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_MONO", "0"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(gint) GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME",
|
|
|
|
"33",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_NONE", "-1"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_RIGHT", "2"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED", "6"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_SEPARATED", "34"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE", "3"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX", "4"),
|
|
|
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM", "7"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_180", "2"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_90L", "3"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_90R", "1"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_AUTO", "8"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_CUSTOM", "9"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_HORIZ", "4"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_IDENTITY", "0"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_UL_LR", "6"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_UR_LL", "7"),
|
|
|
|
("(gint) GST_VIDEO_ORIENTATION_VERT", "5"),
|
|
|
|
("(guint) GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA", "2"),
|
|
|
|
("(guint) GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE", "0"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"(guint) GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA",
|
|
|
|
"1",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_PACK_FLAG_INTERLACED", "2"),
|
|
|
|
("(guint) GST_VIDEO_PACK_FLAG_NONE", "0"),
|
|
|
|
("(guint) GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE", "1"),
|
|
|
|
("(gint) GST_VIDEO_PRIMARIES_MODE_FAST", "2"),
|
|
|
|
("(gint) GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY", "1"),
|
|
|
|
("(gint) GST_VIDEO_PRIMARIES_MODE_NONE", "0"),
|
|
|
|
("(guint) GST_VIDEO_RESAMPLER_FLAG_HALF_TAPS", "1"),
|
|
|
|
("(guint) GST_VIDEO_RESAMPLER_FLAG_NONE", "0"),
|
|
|
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_CUBIC", "2"),
|
|
|
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_LANCZOS", "4"),
|
|
|
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_LINEAR", "1"),
|
|
|
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_NEAREST", "0"),
|
|
|
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_SINC", "3"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_VIDEO_RESAMPLER_OPT_CUBIC_B",
|
|
|
|
"GstVideoResampler.cubic-b",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_RESAMPLER_OPT_CUBIC_C",
|
|
|
|
"GstVideoResampler.cubic-c",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_RESAMPLER_OPT_ENVELOPE",
|
|
|
|
"GstVideoResampler.envelope",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_RESAMPLER_OPT_MAX_TAPS",
|
|
|
|
"GstVideoResampler.max-taps",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_RESAMPLER_OPT_SHARPEN",
|
|
|
|
"GstVideoResampler.sharpen",
|
|
|
|
),
|
|
|
|
(
|
|
|
|
"GST_VIDEO_RESAMPLER_OPT_SHARPNESS",
|
|
|
|
"GstVideoResampler.sharpness",
|
|
|
|
),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_SCALER_FLAG_INTERLACED", "1"),
|
|
|
|
("(guint) GST_VIDEO_SCALER_FLAG_NONE", "0"),
|
2020-06-10 08:31:49 +00:00
|
|
|
(
|
|
|
|
"GST_VIDEO_SCALER_OPT_DITHER_METHOD",
|
|
|
|
"GstVideoScaler.dither-method",
|
|
|
|
),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_SIZE_RANGE", "(int) [ 1, max ]"),
|
2020-08-11 07:43:02 +00:00
|
|
|
("(gint) GST_VIDEO_TILE_MODE_LINEAR", "131072"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_TILE_MODE_UNKNOWN", "0"),
|
|
|
|
("(gint) GST_VIDEO_TILE_MODE_ZFLIPZ_2X2", "65536"),
|
|
|
|
("(gint) GST_VIDEO_TILE_TYPE_INDEXED", "0"),
|
2018-03-20 09:46:03 +00:00
|
|
|
("GST_VIDEO_TILE_TYPE_MASK", "65535"),
|
|
|
|
("GST_VIDEO_TILE_TYPE_SHIFT", "16"),
|
|
|
|
("GST_VIDEO_TILE_X_TILES_MASK", "65535"),
|
|
|
|
("GST_VIDEO_TILE_Y_TILES_SHIFT", "16"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(guint) GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME", "1"),
|
|
|
|
("(guint) GST_VIDEO_TIME_CODE_FLAGS_INTERLACED", "2"),
|
|
|
|
("(guint) GST_VIDEO_TIME_CODE_FLAGS_NONE", "0"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_ADOBERGB", "12"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_TRANSFER_ARIB_STD_B67", "15"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_BT2020_10", "13"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_TRANSFER_BT2020_12", "11"),
|
2020-08-11 07:43:02 +00:00
|
|
|
("(gint) GST_VIDEO_TRANSFER_BT601", "16"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_TRANSFER_BT709", "5"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_GAMMA10", "1"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_GAMMA18", "2"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_GAMMA20", "3"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_GAMMA22", "4"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_GAMMA28", "8"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_LOG100", "9"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_LOG316", "10"),
|
2020-04-30 15:05:39 +00:00
|
|
|
("(gint) GST_VIDEO_TRANSFER_SMPTE2084", "14"),
|
2018-11-11 06:59:36 +00:00
|
|
|
("(gint) GST_VIDEO_TRANSFER_SMPTE240M", "6"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_SRGB", "7"),
|
|
|
|
("(gint) GST_VIDEO_TRANSFER_UNKNOWN", "0"),
|
2019-04-23 12:32:33 +00:00
|
|
|
("(gint) GST_VIDEO_VBI_PARSER_RESULT_DONE", "0"),
|
|
|
|
("(gint) GST_VIDEO_VBI_PARSER_RESULT_ERROR", "2"),
|
|
|
|
("(gint) GST_VIDEO_VBI_PARSER_RESULT_OK", "1"),
|
2018-03-20 09:46:03 +00:00
|
|
|
];
|