mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-29 21:11:14 +00:00
Fix tests and enable them on CI
gstreamer-rtsp-server and gstreamer-editing-services are disabled for now until there's a new release of them, or once we start building against git master of them. Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/issues/16
This commit is contained in:
parent
c9c16c9a25
commit
29d17faf09
74 changed files with 2680 additions and 2526 deletions
|
@ -40,6 +40,9 @@ stages:
|
||||||
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
|
- export GST_PLUGIN_SYSTEM_PATH=$PWD/gstreamer/lib/x86_64-linux-gnu/gstreamer-1.0
|
||||||
- export PATH=$PATH:$PWD/gstreamer/bin
|
- export PATH=$PATH:$PWD/gstreamer/bin
|
||||||
|
|
||||||
|
# go back to the root build directory
|
||||||
|
- cd ..
|
||||||
|
|
||||||
- rustc --version
|
- rustc --version
|
||||||
- cargo --version
|
- cargo --version
|
||||||
script:
|
script:
|
||||||
|
@ -52,6 +55,28 @@ stages:
|
||||||
# https://github.com/sdroege/gstreamer-sys/issues/16
|
# https://github.com/sdroege/gstreamer-sys/issues/16
|
||||||
# - cargo test --all --all-features --color=always
|
# - cargo test --all --all-features --color=always
|
||||||
|
|
||||||
|
# Run tests for crates we can currently run. The others
|
||||||
|
# need a new release of the C library first
|
||||||
|
- |
|
||||||
|
for crate in gstreamer-app-sys \
|
||||||
|
gstreamer-audio-sys \
|
||||||
|
gstreamer-base-sys \
|
||||||
|
gstreamer-check-sys \
|
||||||
|
gstreamer-gl-sys \
|
||||||
|
gstreamer-mpegts-sys \
|
||||||
|
gstreamer-net-sys \
|
||||||
|
gstreamer-pbutils-sys \
|
||||||
|
gstreamer-player-sys \
|
||||||
|
gstreamer-rtsp-sys \
|
||||||
|
gstreamer-sdp-sys \
|
||||||
|
gstreamer-sys \
|
||||||
|
gstreamer-tag-sys \
|
||||||
|
gstreamer-video-sys \
|
||||||
|
gstreamer-webrtc-sys; \
|
||||||
|
do \
|
||||||
|
cargo test -p $crate; \
|
||||||
|
done
|
||||||
|
|
||||||
test 1.28:
|
test 1.28:
|
||||||
# 1.28 img
|
# 1.28 img
|
||||||
# https://hub.docker.com/_/rust/
|
# https://hub.docker.com/_/rust/
|
||||||
|
|
|
@ -11,6 +11,12 @@ ignore = [
|
||||||
"Gst.VERSION_MINOR",
|
"Gst.VERSION_MINOR",
|
||||||
"Gst.VERSION_MICRO",
|
"Gst.VERSION_MICRO",
|
||||||
"Gst.VERSION_NANO",
|
"Gst.VERSION_NANO",
|
||||||
|
"Gst.ERROR_SYSTEM",
|
||||||
|
"Gst.TIME_FORMAT",
|
||||||
|
"Gst.STIME_FORMAT",
|
||||||
|
"Gst.PTR_FORMAT",
|
||||||
|
"Gst.SEGMENT_FORMAT",
|
||||||
|
"Gst.FOURCC_FORMAT",
|
||||||
]
|
]
|
||||||
|
|
||||||
external_libraries = [
|
external_libraries = [
|
||||||
|
|
|
@ -6,6 +6,11 @@ min_cfg_version = "1.14"
|
||||||
target_path = "gstreamer-gl-sys"
|
target_path = "gstreamer-gl-sys"
|
||||||
work_mode = "sys"
|
work_mode = "sys"
|
||||||
|
|
||||||
|
ignore = [
|
||||||
|
"GstGL.GL_DISPLAY_EGL_NAME",
|
||||||
|
"GstGL.GL_COLOR_CONVERT_VIDEO_CAPS",
|
||||||
|
]
|
||||||
|
|
||||||
external_libraries = [
|
external_libraries = [
|
||||||
"GLib",
|
"GLib",
|
||||||
"GObject",
|
"GObject",
|
||||||
|
@ -29,10 +34,14 @@ name = "GstGL.GLDisplayEGLClass"
|
||||||
status = "generate"
|
status = "generate"
|
||||||
cfg_condition = "feature = \"egl\""
|
cfg_condition = "feature = \"egl\""
|
||||||
|
|
||||||
[[object]]
|
#[[object]]
|
||||||
name = "GstGL.GL_DISPLAY_EGL_NAME"
|
#name = "GstGL.GL_DISPLAY_EGL_NAME"
|
||||||
status = "generate"
|
#status = "manual"
|
||||||
cfg_condition = "feature = \"egl\""
|
#cfg_condition = "feature = \"egl\""
|
||||||
[[object.constant]]
|
# [[object.constant]]
|
||||||
pattern = ".*"
|
# pattern = ".*"
|
||||||
cfg_condition = "feature = \"egl\""
|
# cfg_condition = "feature = \"egl\""
|
||||||
|
|
||||||
|
#[[object]]
|
||||||
|
#name = "GstGL.GL_COLOR_CONVERT_VIDEO_CAPS"
|
||||||
|
#status = "manual"
|
||||||
|
|
|
@ -10582,7 +10582,7 @@ and GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS().</doc>
|
||||||
<doc xml:space="preserve">show all the typical details that one might want</doc>
|
<doc xml:space="preserve">show all the typical details that one might want</doc>
|
||||||
</member>
|
</member>
|
||||||
<member name="verbose"
|
<member name="verbose"
|
||||||
value="-1"
|
value="4294967295"
|
||||||
c:identifier="GST_DEBUG_GRAPH_SHOW_VERBOSE"
|
c:identifier="GST_DEBUG_GRAPH_SHOW_VERBOSE"
|
||||||
glib:nick="verbose">
|
glib:nick="verbose">
|
||||||
<doc xml:space="preserve">show all details regardless of how large or
|
<doc xml:space="preserve">show all details regardless of how large or
|
||||||
|
|
|
@ -4268,7 +4268,7 @@ multiple times. This must be called before any other GstGLRenderbuffer operatio
|
||||||
<member name="compatibility" value="4" c:identifier="GST_GLSL_PROFILE_COMPATIBILITY">
|
<member name="compatibility" value="4" c:identifier="GST_GLSL_PROFILE_COMPATIBILITY">
|
||||||
<doc xml:space="preserve">OpenGL compatibility profile</doc>
|
<doc xml:space="preserve">OpenGL compatibility profile</doc>
|
||||||
</member>
|
</member>
|
||||||
<member name="any" value="-1" c:identifier="GST_GLSL_PROFILE_ANY">
|
<member name="any" value="4294967295" c:identifier="GST_GLSL_PROFILE_ANY">
|
||||||
<doc xml:space="preserve">any OpenGL/OpenGL|ES profile</doc>
|
<doc xml:space="preserve">any OpenGL/OpenGL|ES profile</doc>
|
||||||
</member>
|
</member>
|
||||||
</bitfield>
|
</bitfield>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -241,9 +248,9 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_APP_STREAM_TYPE_RANDOM_ACCESS", "2"),
|
("(gint) GST_APP_STREAM_TYPE_RANDOM_ACCESS", "2"),
|
||||||
("GST_APP_STREAM_TYPE_SEEKABLE", "1"),
|
("(gint) GST_APP_STREAM_TYPE_SEEKABLE", "1"),
|
||||||
("GST_APP_STREAM_TYPE_STREAM", "0"),
|
("(gint) GST_APP_STREAM_TYPE_STREAM", "0"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -289,62 +296,62 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_AUDIO_BASE_SINK_DISCONT_REASON_ALIGNMENT", "4"),
|
("(gint) GST_AUDIO_BASE_SINK_DISCONT_REASON_ALIGNMENT", "4"),
|
||||||
("GST_AUDIO_BASE_SINK_DISCONT_REASON_DEVICE_FAILURE", "5"),
|
("(gint) GST_AUDIO_BASE_SINK_DISCONT_REASON_DEVICE_FAILURE", "5"),
|
||||||
("GST_AUDIO_BASE_SINK_DISCONT_REASON_FLUSH", "2"),
|
("(gint) GST_AUDIO_BASE_SINK_DISCONT_REASON_FLUSH", "2"),
|
||||||
("GST_AUDIO_BASE_SINK_DISCONT_REASON_NEW_CAPS", "1"),
|
("(gint) GST_AUDIO_BASE_SINK_DISCONT_REASON_NEW_CAPS", "1"),
|
||||||
("GST_AUDIO_BASE_SINK_DISCONT_REASON_NO_DISCONT", "0"),
|
("(gint) GST_AUDIO_BASE_SINK_DISCONT_REASON_NO_DISCONT", "0"),
|
||||||
("GST_AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY", "3"),
|
("(gint) GST_AUDIO_BASE_SINK_DISCONT_REASON_SYNC_LATENCY", "3"),
|
||||||
("GST_AUDIO_BASE_SINK_SLAVE_CUSTOM", "3"),
|
("(gint) GST_AUDIO_BASE_SINK_SLAVE_CUSTOM", "3"),
|
||||||
("GST_AUDIO_BASE_SINK_SLAVE_NONE", "2"),
|
("(gint) GST_AUDIO_BASE_SINK_SLAVE_NONE", "2"),
|
||||||
("GST_AUDIO_BASE_SINK_SLAVE_RESAMPLE", "0"),
|
("(gint) GST_AUDIO_BASE_SINK_SLAVE_RESAMPLE", "0"),
|
||||||
("GST_AUDIO_BASE_SINK_SLAVE_SKEW", "1"),
|
("(gint) GST_AUDIO_BASE_SINK_SLAVE_SKEW", "1"),
|
||||||
("GST_AUDIO_BASE_SRC_SLAVE_NONE", "3"),
|
("(gint) GST_AUDIO_BASE_SRC_SLAVE_NONE", "3"),
|
||||||
("GST_AUDIO_BASE_SRC_SLAVE_RESAMPLE", "0"),
|
("(gint) GST_AUDIO_BASE_SRC_SLAVE_RESAMPLE", "0"),
|
||||||
("GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP", "1"),
|
("(gint) GST_AUDIO_BASE_SRC_SLAVE_RE_TIMESTAMP", "1"),
|
||||||
("GST_AUDIO_BASE_SRC_SLAVE_SKEW", "2"),
|
("(gint) GST_AUDIO_BASE_SRC_SLAVE_SKEW", "2"),
|
||||||
("GST_AUDIO_CD_SRC_MODE_CONTINUOUS", "1"),
|
("(gint) GST_AUDIO_CD_SRC_MODE_CONTINUOUS", "1"),
|
||||||
("GST_AUDIO_CD_SRC_MODE_NORMAL", "0"),
|
("(gint) GST_AUDIO_CD_SRC_MODE_NORMAL", "0"),
|
||||||
("GST_AUDIO_CHANNELS_RANGE", "(int) [ 1, max ]"),
|
("GST_AUDIO_CHANNELS_RANGE", "(int) [ 1, max ]"),
|
||||||
("GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE", "0"),
|
("(guint) GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE", "0"),
|
||||||
("GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN", "1"),
|
("(guint) GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN", "1"),
|
||||||
("GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT", "2"),
|
("(guint) GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT", "2"),
|
||||||
("GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN", "4"),
|
("(guint) GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN", "4"),
|
||||||
("GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT", "8"),
|
("(guint) GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT", "8"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER", "21"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER", "21"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT", "22"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT", "22"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT", "23"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT", "23"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER", "2"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER", "2"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT", "0"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT", "0"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER", "6"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER", "6"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT", "1"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT", "1"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER", "7"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER", "7"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_INVALID", "-1"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_INVALID", "-1"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_LFE1", "3"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_LFE1", "3"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_LFE2", "9"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_LFE2", "9"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_MONO", "-2"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_MONO", "-2"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_NONE", "-3"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_NONE", "-3"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_REAR_CENTER", "8"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_REAR_CENTER", "8"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_REAR_LEFT", "4"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_REAR_LEFT", "4"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT", "5"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT", "5"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT", "10"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT", "10"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT", "11"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT", "11"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT", "26"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT", "26"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT", "27"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT", "27"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_CENTER", "15"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_CENTER", "15"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER", "14"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER", "14"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT", "12"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT", "12"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT", "13"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT", "13"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER", "20"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER", "20"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT", "16"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT", "16"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT", "17"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT", "17"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT", "18"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT", "18"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT", "19"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT", "19"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT", "24"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT", "24"),
|
||||||
("GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT", "25"),
|
("(gint) GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT", "25"),
|
||||||
("GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE", "1"),
|
("(guint) GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE", "1"),
|
||||||
("GST_AUDIO_CONVERTER_FLAG_NONE", "0"),
|
("(guint) GST_AUDIO_CONVERTER_FLAG_NONE", "0"),
|
||||||
("GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE", "2"),
|
("(guint) GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE", "2"),
|
||||||
("GST_AUDIO_CONVERTER_OPT_DITHER_METHOD", "GstAudioConverter.dither-method"),
|
("GST_AUDIO_CONVERTER_OPT_DITHER_METHOD", "GstAudioConverter.dither-method"),
|
||||||
("GST_AUDIO_CONVERTER_OPT_MIX_MATRIX", "GstAudioConverter.mix-matrix"),
|
("GST_AUDIO_CONVERTER_OPT_MIX_MATRIX", "GstAudioConverter.mix-matrix"),
|
||||||
("GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD", "GstAudioConverter.noise-shaping-method"),
|
("GST_AUDIO_CONVERTER_OPT_NOISE_SHAPING_METHOD", "GstAudioConverter.noise-shaping-method"),
|
||||||
|
@ -356,93 +363,93 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_AUDIO_DEF_CHANNELS", "2"),
|
("GST_AUDIO_DEF_CHANNELS", "2"),
|
||||||
("GST_AUDIO_DEF_FORMAT", "S16LE"),
|
("GST_AUDIO_DEF_FORMAT", "S16LE"),
|
||||||
("GST_AUDIO_DEF_RATE", "44100"),
|
("GST_AUDIO_DEF_RATE", "44100"),
|
||||||
("GST_AUDIO_DITHER_NONE", "0"),
|
("(gint) GST_AUDIO_DITHER_NONE", "0"),
|
||||||
("GST_AUDIO_DITHER_RPDF", "1"),
|
("(gint) GST_AUDIO_DITHER_RPDF", "1"),
|
||||||
("GST_AUDIO_DITHER_TPDF", "2"),
|
("(gint) GST_AUDIO_DITHER_TPDF", "2"),
|
||||||
("GST_AUDIO_DITHER_TPDF_HF", "3"),
|
("(gint) GST_AUDIO_DITHER_TPDF_HF", "3"),
|
||||||
("GST_AUDIO_ENCODER_SINK_NAME", "sink"),
|
("GST_AUDIO_ENCODER_SINK_NAME", "sink"),
|
||||||
("GST_AUDIO_ENCODER_SRC_NAME", "src"),
|
("GST_AUDIO_ENCODER_SRC_NAME", "src"),
|
||||||
("GST_AUDIO_FLAG_NONE", "0"),
|
("(guint) GST_AUDIO_FLAG_NONE", "0"),
|
||||||
("GST_AUDIO_FLAG_UNPOSITIONED", "1"),
|
("(guint) GST_AUDIO_FLAG_UNPOSITIONED", "1"),
|
||||||
("GST_AUDIO_FORMATS_ALL", " { S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }"),
|
("GST_AUDIO_FORMATS_ALL", " { S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }"),
|
||||||
("GST_AUDIO_FORMAT_ENCODED", "1"),
|
("(gint) GST_AUDIO_FORMAT_ENCODED", "1"),
|
||||||
("GST_AUDIO_FORMAT_F32", "28"),
|
("(gint) GST_AUDIO_FORMAT_F32", "28"),
|
||||||
("GST_AUDIO_FORMAT_F32BE", "29"),
|
("(gint) GST_AUDIO_FORMAT_F32BE", "29"),
|
||||||
("GST_AUDIO_FORMAT_F32LE", "28"),
|
("(gint) GST_AUDIO_FORMAT_F32LE", "28"),
|
||||||
("GST_AUDIO_FORMAT_F64", "30"),
|
("(gint) GST_AUDIO_FORMAT_F64", "30"),
|
||||||
("GST_AUDIO_FORMAT_F64BE", "31"),
|
("(gint) GST_AUDIO_FORMAT_F64BE", "31"),
|
||||||
("GST_AUDIO_FORMAT_F64LE", "30"),
|
("(gint) GST_AUDIO_FORMAT_F64LE", "30"),
|
||||||
("GST_AUDIO_FORMAT_FLAG_COMPLEX", "16"),
|
("(guint) GST_AUDIO_FORMAT_FLAG_COMPLEX", "16"),
|
||||||
("GST_AUDIO_FORMAT_FLAG_FLOAT", "2"),
|
("(guint) GST_AUDIO_FORMAT_FLAG_FLOAT", "2"),
|
||||||
("GST_AUDIO_FORMAT_FLAG_INTEGER", "1"),
|
("(guint) GST_AUDIO_FORMAT_FLAG_INTEGER", "1"),
|
||||||
("GST_AUDIO_FORMAT_FLAG_SIGNED", "4"),
|
("(guint) GST_AUDIO_FORMAT_FLAG_SIGNED", "4"),
|
||||||
("GST_AUDIO_FORMAT_FLAG_UNPACK", "32"),
|
("(guint) GST_AUDIO_FORMAT_FLAG_UNPACK", "32"),
|
||||||
("GST_AUDIO_FORMAT_S16", "4"),
|
("(gint) GST_AUDIO_FORMAT_S16", "4"),
|
||||||
("GST_AUDIO_FORMAT_S16BE", "5"),
|
("(gint) GST_AUDIO_FORMAT_S16BE", "5"),
|
||||||
("GST_AUDIO_FORMAT_S16LE", "4"),
|
("(gint) GST_AUDIO_FORMAT_S16LE", "4"),
|
||||||
("GST_AUDIO_FORMAT_S18", "24"),
|
("(gint) GST_AUDIO_FORMAT_S18", "24"),
|
||||||
("GST_AUDIO_FORMAT_S18BE", "25"),
|
("(gint) GST_AUDIO_FORMAT_S18BE", "25"),
|
||||||
("GST_AUDIO_FORMAT_S18LE", "24"),
|
("(gint) GST_AUDIO_FORMAT_S18LE", "24"),
|
||||||
("GST_AUDIO_FORMAT_S20", "20"),
|
("(gint) GST_AUDIO_FORMAT_S20", "20"),
|
||||||
("GST_AUDIO_FORMAT_S20BE", "21"),
|
("(gint) GST_AUDIO_FORMAT_S20BE", "21"),
|
||||||
("GST_AUDIO_FORMAT_S20LE", "20"),
|
("(gint) GST_AUDIO_FORMAT_S20LE", "20"),
|
||||||
("GST_AUDIO_FORMAT_S24", "16"),
|
("(gint) GST_AUDIO_FORMAT_S24", "16"),
|
||||||
("GST_AUDIO_FORMAT_S24BE", "17"),
|
("(gint) GST_AUDIO_FORMAT_S24BE", "17"),
|
||||||
("GST_AUDIO_FORMAT_S24LE", "16"),
|
("(gint) GST_AUDIO_FORMAT_S24LE", "16"),
|
||||||
("GST_AUDIO_FORMAT_S24_32", "8"),
|
("(gint) GST_AUDIO_FORMAT_S24_32", "8"),
|
||||||
("GST_AUDIO_FORMAT_S24_32BE", "9"),
|
("(gint) GST_AUDIO_FORMAT_S24_32BE", "9"),
|
||||||
("GST_AUDIO_FORMAT_S24_32LE", "8"),
|
("(gint) GST_AUDIO_FORMAT_S24_32LE", "8"),
|
||||||
("GST_AUDIO_FORMAT_S32", "12"),
|
("(gint) GST_AUDIO_FORMAT_S32", "12"),
|
||||||
("GST_AUDIO_FORMAT_S32BE", "13"),
|
("(gint) GST_AUDIO_FORMAT_S32BE", "13"),
|
||||||
("GST_AUDIO_FORMAT_S32LE", "12"),
|
("(gint) GST_AUDIO_FORMAT_S32LE", "12"),
|
||||||
("GST_AUDIO_FORMAT_S8", "2"),
|
("(gint) GST_AUDIO_FORMAT_S8", "2"),
|
||||||
("GST_AUDIO_FORMAT_U16", "6"),
|
("(gint) GST_AUDIO_FORMAT_U16", "6"),
|
||||||
("GST_AUDIO_FORMAT_U16BE", "7"),
|
("(gint) GST_AUDIO_FORMAT_U16BE", "7"),
|
||||||
("GST_AUDIO_FORMAT_U16LE", "6"),
|
("(gint) GST_AUDIO_FORMAT_U16LE", "6"),
|
||||||
("GST_AUDIO_FORMAT_U18", "26"),
|
("(gint) GST_AUDIO_FORMAT_U18", "26"),
|
||||||
("GST_AUDIO_FORMAT_U18BE", "27"),
|
("(gint) GST_AUDIO_FORMAT_U18BE", "27"),
|
||||||
("GST_AUDIO_FORMAT_U18LE", "26"),
|
("(gint) GST_AUDIO_FORMAT_U18LE", "26"),
|
||||||
("GST_AUDIO_FORMAT_U20", "22"),
|
("(gint) GST_AUDIO_FORMAT_U20", "22"),
|
||||||
("GST_AUDIO_FORMAT_U20BE", "23"),
|
("(gint) GST_AUDIO_FORMAT_U20BE", "23"),
|
||||||
("GST_AUDIO_FORMAT_U20LE", "22"),
|
("(gint) GST_AUDIO_FORMAT_U20LE", "22"),
|
||||||
("GST_AUDIO_FORMAT_U24", "18"),
|
("(gint) GST_AUDIO_FORMAT_U24", "18"),
|
||||||
("GST_AUDIO_FORMAT_U24BE", "19"),
|
("(gint) GST_AUDIO_FORMAT_U24BE", "19"),
|
||||||
("GST_AUDIO_FORMAT_U24LE", "18"),
|
("(gint) GST_AUDIO_FORMAT_U24LE", "18"),
|
||||||
("GST_AUDIO_FORMAT_U24_32", "10"),
|
("(gint) GST_AUDIO_FORMAT_U24_32", "10"),
|
||||||
("GST_AUDIO_FORMAT_U24_32BE", "11"),
|
("(gint) GST_AUDIO_FORMAT_U24_32BE", "11"),
|
||||||
("GST_AUDIO_FORMAT_U24_32LE", "10"),
|
("(gint) GST_AUDIO_FORMAT_U24_32LE", "10"),
|
||||||
("GST_AUDIO_FORMAT_U32", "14"),
|
("(gint) GST_AUDIO_FORMAT_U32", "14"),
|
||||||
("GST_AUDIO_FORMAT_U32BE", "15"),
|
("(gint) GST_AUDIO_FORMAT_U32BE", "15"),
|
||||||
("GST_AUDIO_FORMAT_U32LE", "14"),
|
("(gint) GST_AUDIO_FORMAT_U32LE", "14"),
|
||||||
("GST_AUDIO_FORMAT_U8", "3"),
|
("(gint) GST_AUDIO_FORMAT_U8", "3"),
|
||||||
("GST_AUDIO_FORMAT_UNKNOWN", "0"),
|
("(gint) GST_AUDIO_FORMAT_UNKNOWN", "0"),
|
||||||
("GST_AUDIO_LAYOUT_INTERLEAVED", "0"),
|
("(gint) GST_AUDIO_LAYOUT_INTERLEAVED", "0"),
|
||||||
("GST_AUDIO_LAYOUT_NON_INTERLEAVED", "1"),
|
("(gint) GST_AUDIO_LAYOUT_NON_INTERLEAVED", "1"),
|
||||||
("GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK", "1"),
|
("(gint) GST_AUDIO_NOISE_SHAPING_ERROR_FEEDBACK", "1"),
|
||||||
("GST_AUDIO_NOISE_SHAPING_HIGH", "4"),
|
("(gint) GST_AUDIO_NOISE_SHAPING_HIGH", "4"),
|
||||||
("GST_AUDIO_NOISE_SHAPING_MEDIUM", "3"),
|
("(gint) GST_AUDIO_NOISE_SHAPING_MEDIUM", "3"),
|
||||||
("GST_AUDIO_NOISE_SHAPING_NONE", "0"),
|
("(gint) GST_AUDIO_NOISE_SHAPING_NONE", "0"),
|
||||||
("GST_AUDIO_NOISE_SHAPING_SIMPLE", "2"),
|
("(gint) GST_AUDIO_NOISE_SHAPING_SIMPLE", "2"),
|
||||||
("GST_AUDIO_PACK_FLAG_NONE", "0"),
|
("(guint) GST_AUDIO_PACK_FLAG_NONE", "0"),
|
||||||
("GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE", "1"),
|
("(guint) GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE", "1"),
|
||||||
("GST_AUDIO_QUANTIZE_FLAG_NONE", "0"),
|
("(guint) GST_AUDIO_QUANTIZE_FLAG_NONE", "0"),
|
||||||
("GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED", "1"),
|
("(guint) GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED", "1"),
|
||||||
("GST_AUDIO_RATE_RANGE", "(int) [ 1, max ]"),
|
("GST_AUDIO_RATE_RANGE", "(int) [ 1, max ]"),
|
||||||
("GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC", "2"),
|
("(gint) GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_CUBIC", "2"),
|
||||||
("GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR", "1"),
|
("(gint) GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_LINEAR", "1"),
|
||||||
("GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE", "0"),
|
("(gint) GST_AUDIO_RESAMPLER_FILTER_INTERPOLATION_NONE", "0"),
|
||||||
("GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO", "2"),
|
("(gint) GST_AUDIO_RESAMPLER_FILTER_MODE_AUTO", "2"),
|
||||||
("GST_AUDIO_RESAMPLER_FILTER_MODE_FULL", "1"),
|
("(gint) GST_AUDIO_RESAMPLER_FILTER_MODE_FULL", "1"),
|
||||||
("GST_AUDIO_RESAMPLER_FILTER_MODE_INTERPOLATED", "0"),
|
("(gint) GST_AUDIO_RESAMPLER_FILTER_MODE_INTERPOLATED", "0"),
|
||||||
("GST_AUDIO_RESAMPLER_FLAG_NONE", "0"),
|
("(guint) GST_AUDIO_RESAMPLER_FLAG_NONE", "0"),
|
||||||
("GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN", "1"),
|
("(guint) GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN", "1"),
|
||||||
("GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT", "2"),
|
("(guint) GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT", "2"),
|
||||||
("GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE", "4"),
|
("(guint) GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE", "4"),
|
||||||
("GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL", "3"),
|
("(gint) GST_AUDIO_RESAMPLER_METHOD_BLACKMAN_NUTTALL", "3"),
|
||||||
("GST_AUDIO_RESAMPLER_METHOD_CUBIC", "2"),
|
("(gint) GST_AUDIO_RESAMPLER_METHOD_CUBIC", "2"),
|
||||||
("GST_AUDIO_RESAMPLER_METHOD_KAISER", "4"),
|
("(gint) GST_AUDIO_RESAMPLER_METHOD_KAISER", "4"),
|
||||||
("GST_AUDIO_RESAMPLER_METHOD_LINEAR", "1"),
|
("(gint) GST_AUDIO_RESAMPLER_METHOD_LINEAR", "1"),
|
||||||
("GST_AUDIO_RESAMPLER_METHOD_NEAREST", "0"),
|
("(gint) GST_AUDIO_RESAMPLER_METHOD_NEAREST", "0"),
|
||||||
("GST_AUDIO_RESAMPLER_OPT_CUBIC_B", "GstAudioResampler.cubic-b"),
|
("GST_AUDIO_RESAMPLER_OPT_CUBIC_B", "GstAudioResampler.cubic-b"),
|
||||||
("GST_AUDIO_RESAMPLER_OPT_CUBIC_C", "GstAudioResampler.cubic-c"),
|
("GST_AUDIO_RESAMPLER_OPT_CUBIC_C", "GstAudioResampler.cubic-c"),
|
||||||
("GST_AUDIO_RESAMPLER_OPT_CUTOFF", "GstAudioResampler.cutoff"),
|
("GST_AUDIO_RESAMPLER_OPT_CUTOFF", "GstAudioResampler.cutoff"),
|
||||||
|
@ -457,31 +464,31 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_AUDIO_RESAMPLER_QUALITY_DEFAULT", "4"),
|
("GST_AUDIO_RESAMPLER_QUALITY_DEFAULT", "4"),
|
||||||
("GST_AUDIO_RESAMPLER_QUALITY_MAX", "10"),
|
("GST_AUDIO_RESAMPLER_QUALITY_MAX", "10"),
|
||||||
("GST_AUDIO_RESAMPLER_QUALITY_MIN", "0"),
|
("GST_AUDIO_RESAMPLER_QUALITY_MIN", "0"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3", "7"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3", "7"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW", "2"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW", "2"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS", "9"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS", "9"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3", "8"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3", "8"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC", "14"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC", "14"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM", "5"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_GSM", "5"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958", "6"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IEC958", "6"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM", "3"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_IMA_ADPCM", "3"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG", "4"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG", "4"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC", "10"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC", "10"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW", "12"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW", "12"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC", "11"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC", "11"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW", "13"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW", "13"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW", "1"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MU_LAW", "1"),
|
||||||
("GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW", "0"),
|
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_RAW", "0"),
|
||||||
("GST_AUDIO_RING_BUFFER_STATE_ERROR", "3"),
|
("(gint) GST_AUDIO_RING_BUFFER_STATE_ERROR", "3"),
|
||||||
("GST_AUDIO_RING_BUFFER_STATE_PAUSED", "1"),
|
("(gint) GST_AUDIO_RING_BUFFER_STATE_PAUSED", "1"),
|
||||||
("GST_AUDIO_RING_BUFFER_STATE_STARTED", "2"),
|
("(gint) GST_AUDIO_RING_BUFFER_STATE_STARTED", "2"),
|
||||||
("GST_AUDIO_RING_BUFFER_STATE_STOPPED", "0"),
|
("(gint) GST_AUDIO_RING_BUFFER_STATE_STOPPED", "0"),
|
||||||
("GST_META_TAG_AUDIO_CHANNELS_STR", "channels"),
|
("GST_META_TAG_AUDIO_CHANNELS_STR", "channels"),
|
||||||
("GST_META_TAG_AUDIO_RATE_STR", "rate"),
|
("GST_META_TAG_AUDIO_RATE_STR", "rate"),
|
||||||
("GST_META_TAG_AUDIO_STR", "audio"),
|
("GST_META_TAG_AUDIO_STR", "audio"),
|
||||||
("GST_STREAM_VOLUME_FORMAT_CUBIC", "1"),
|
("(gint) GST_STREAM_VOLUME_FORMAT_CUBIC", "1"),
|
||||||
("GST_STREAM_VOLUME_FORMAT_DB", "2"),
|
("(gint) GST_STREAM_VOLUME_FORMAT_DB", "2"),
|
||||||
("GST_STREAM_VOLUME_FORMAT_LINEAR", "0"),
|
("(gint) GST_STREAM_VOLUME_FORMAT_LINEAR", "0"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -264,22 +271,22 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_BASE_PARSE_FLAG_DRAINING", "2"),
|
("GST_BASE_PARSE_FLAG_DRAINING", "2"),
|
||||||
("GST_BASE_PARSE_FLAG_LOST_SYNC", "1"),
|
("GST_BASE_PARSE_FLAG_LOST_SYNC", "1"),
|
||||||
("GST_BASE_PARSE_FRAME_FLAG_CLIP", "4"),
|
("(guint) GST_BASE_PARSE_FRAME_FLAG_CLIP", "4"),
|
||||||
("GST_BASE_PARSE_FRAME_FLAG_DROP", "8"),
|
("(guint) GST_BASE_PARSE_FRAME_FLAG_DROP", "8"),
|
||||||
("GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME", "1"),
|
("(guint) GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME", "1"),
|
||||||
("GST_BASE_PARSE_FRAME_FLAG_NONE", "0"),
|
("(guint) GST_BASE_PARSE_FRAME_FLAG_NONE", "0"),
|
||||||
("GST_BASE_PARSE_FRAME_FLAG_NO_FRAME", "2"),
|
("(guint) GST_BASE_PARSE_FRAME_FLAG_NO_FRAME", "2"),
|
||||||
("GST_BASE_PARSE_FRAME_FLAG_QUEUE", "16"),
|
("(guint) GST_BASE_PARSE_FRAME_FLAG_QUEUE", "16"),
|
||||||
("GST_BASE_SRC_FLAG_LAST", "1048576"),
|
("(guint) GST_BASE_SRC_FLAG_LAST", "1048576"),
|
||||||
("GST_BASE_SRC_FLAG_STARTED", "32768"),
|
("(guint) GST_BASE_SRC_FLAG_STARTED", "32768"),
|
||||||
("GST_BASE_SRC_FLAG_STARTING", "16384"),
|
("(guint) GST_BASE_SRC_FLAG_STARTING", "16384"),
|
||||||
("GST_BASE_TRANSFORM_SINK_NAME", "sink"),
|
("GST_BASE_TRANSFORM_SINK_NAME", "sink"),
|
||||||
("GST_BASE_TRANSFORM_SRC_NAME", "src"),
|
("GST_BASE_TRANSFORM_SRC_NAME", "src"),
|
||||||
("GST_COLLECT_PADS_STATE_EOS", "1"),
|
("(guint) GST_COLLECT_PADS_STATE_EOS", "1"),
|
||||||
("GST_COLLECT_PADS_STATE_FLUSHING", "2"),
|
("(guint) GST_COLLECT_PADS_STATE_FLUSHING", "2"),
|
||||||
("GST_COLLECT_PADS_STATE_LOCKED", "16"),
|
("(guint) GST_COLLECT_PADS_STATE_LOCKED", "16"),
|
||||||
("GST_COLLECT_PADS_STATE_NEW_SEGMENT", "4"),
|
("(guint) GST_COLLECT_PADS_STATE_NEW_SEGMENT", "4"),
|
||||||
("GST_COLLECT_PADS_STATE_WAITING", "8"),
|
("(guint) GST_COLLECT_PADS_STATE_WAITING", "8"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -350,25 +357,25 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GES_ASSET_LOADING_ASYNC", "1"),
|
("(gint) GES_ASSET_LOADING_ASYNC", "1"),
|
||||||
("GES_ASSET_LOADING_ERROR", "0"),
|
("(gint) GES_ASSET_LOADING_ERROR", "0"),
|
||||||
("GES_ASSET_LOADING_OK", "2"),
|
("(gint) GES_ASSET_LOADING_OK", "2"),
|
||||||
("GES_CHILDREN_IGNORE_NOTIFIES", "1"),
|
("(gint) GES_CHILDREN_IGNORE_NOTIFIES", "1"),
|
||||||
("GES_CHILDREN_LAST", "4"),
|
("(gint) GES_CHILDREN_LAST", "4"),
|
||||||
("GES_CHILDREN_UPDATE", "0"),
|
("(gint) GES_CHILDREN_UPDATE", "0"),
|
||||||
("GES_CHILDREN_UPDATE_ALL_VALUES", "3"),
|
("(gint) GES_CHILDREN_UPDATE_ALL_VALUES", "3"),
|
||||||
("GES_CHILDREN_UPDATE_OFFSETS", "2"),
|
("(gint) GES_CHILDREN_UPDATE_OFFSETS", "2"),
|
||||||
("GES_EDGE_END", "1"),
|
("(gint) GES_EDGE_END", "1"),
|
||||||
("GES_EDGE_NONE", "2"),
|
("(gint) GES_EDGE_NONE", "2"),
|
||||||
("GES_EDGE_START", "0"),
|
("(gint) GES_EDGE_START", "0"),
|
||||||
("GES_EDIT_MODE_NORMAL", "0"),
|
("(gint) GES_EDIT_MODE_NORMAL", "0"),
|
||||||
("GES_EDIT_MODE_RIPPLE", "1"),
|
("(gint) GES_EDIT_MODE_RIPPLE", "1"),
|
||||||
("GES_EDIT_MODE_ROLL", "2"),
|
("(gint) GES_EDIT_MODE_ROLL", "2"),
|
||||||
("GES_EDIT_MODE_SLIDE", "4"),
|
("(gint) GES_EDIT_MODE_SLIDE", "4"),
|
||||||
("GES_EDIT_MODE_TRIM", "3"),
|
("(gint) GES_EDIT_MODE_TRIM", "3"),
|
||||||
("GES_ERROR_ASSET_LOADING", "1"),
|
("(gint) GES_ERROR_ASSET_LOADING", "1"),
|
||||||
("GES_ERROR_ASSET_WRONG_ID", "0"),
|
("(gint) GES_ERROR_ASSET_WRONG_ID", "0"),
|
||||||
("GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE", "2"),
|
("(gint) GES_ERROR_FORMATTER_MALFORMED_INPUT_FILE", "2"),
|
||||||
("GES_META_DESCRIPTION", "description"),
|
("GES_META_DESCRIPTION", "description"),
|
||||||
("GES_META_FORMATTER_EXTENSION", "extension"),
|
("GES_META_FORMATTER_EXTENSION", "extension"),
|
||||||
("GES_META_FORMATTER_MIMETYPE", "mimetype"),
|
("GES_META_FORMATTER_MIMETYPE", "mimetype"),
|
||||||
|
@ -376,125 +383,125 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GES_META_FORMATTER_RANK", "rank"),
|
("GES_META_FORMATTER_RANK", "rank"),
|
||||||
("GES_META_FORMATTER_VERSION", "version"),
|
("GES_META_FORMATTER_VERSION", "version"),
|
||||||
("GES_META_FORMAT_VERSION", "format-version"),
|
("GES_META_FORMAT_VERSION", "format-version"),
|
||||||
("GES_META_READABLE", "1"),
|
("(guint) GES_META_READABLE", "1"),
|
||||||
("GES_META_READ_WRITE", "3"),
|
("(guint) GES_META_READ_WRITE", "3"),
|
||||||
("GES_META_VOLUME", "volume"),
|
("GES_META_VOLUME", "volume"),
|
||||||
("GES_META_VOLUME_DEFAULT", "1.000000"),
|
("GES_META_VOLUME_DEFAULT", "1.000000"),
|
||||||
("GES_META_WRITABLE", "2"),
|
("(guint) GES_META_WRITABLE", "2"),
|
||||||
("GES_MULTI_FILE_URI_PREFIX", "multifile://"),
|
("GES_MULTI_FILE_URI_PREFIX", "multifile://"),
|
||||||
("GES_PADDING", "4"),
|
("GES_PADDING", "4"),
|
||||||
("GES_PADDING_LARGE", "20"),
|
("GES_PADDING_LARGE", "20"),
|
||||||
("GES_PIPELINE_MODE_PREVIEW", "3"),
|
("(guint) GES_PIPELINE_MODE_PREVIEW", "3"),
|
||||||
("GES_PIPELINE_MODE_PREVIEW_AUDIO", "1"),
|
("(guint) GES_PIPELINE_MODE_PREVIEW_AUDIO", "1"),
|
||||||
("GES_PIPELINE_MODE_PREVIEW_VIDEO", "2"),
|
("(guint) GES_PIPELINE_MODE_PREVIEW_VIDEO", "2"),
|
||||||
("GES_PIPELINE_MODE_RENDER", "4"),
|
("(guint) GES_PIPELINE_MODE_RENDER", "4"),
|
||||||
("GES_PIPELINE_MODE_SMART_RENDER", "8"),
|
("(guint) GES_PIPELINE_MODE_SMART_RENDER", "8"),
|
||||||
("GES_TEXT_HALIGN_ABSOLUTE", "5"),
|
("(gint) GES_TEXT_HALIGN_ABSOLUTE", "5"),
|
||||||
("GES_TEXT_HALIGN_CENTER", "1"),
|
("(gint) GES_TEXT_HALIGN_CENTER", "1"),
|
||||||
("GES_TEXT_HALIGN_LEFT", "0"),
|
("(gint) GES_TEXT_HALIGN_LEFT", "0"),
|
||||||
("GES_TEXT_HALIGN_POSITION", "4"),
|
("(gint) GES_TEXT_HALIGN_POSITION", "4"),
|
||||||
("GES_TEXT_HALIGN_RIGHT", "2"),
|
("(gint) GES_TEXT_HALIGN_RIGHT", "2"),
|
||||||
("GES_TEXT_VALIGN_ABSOLUTE", "5"),
|
("(gint) GES_TEXT_VALIGN_ABSOLUTE", "5"),
|
||||||
("GES_TEXT_VALIGN_BASELINE", "0"),
|
("(gint) GES_TEXT_VALIGN_BASELINE", "0"),
|
||||||
("GES_TEXT_VALIGN_BOTTOM", "1"),
|
("(gint) GES_TEXT_VALIGN_BOTTOM", "1"),
|
||||||
("GES_TEXT_VALIGN_CENTER", "4"),
|
("(gint) GES_TEXT_VALIGN_CENTER", "4"),
|
||||||
("GES_TEXT_VALIGN_POSITION", "3"),
|
("(gint) GES_TEXT_VALIGN_POSITION", "3"),
|
||||||
("GES_TEXT_VALIGN_TOP", "2"),
|
("(gint) GES_TEXT_VALIGN_TOP", "2"),
|
||||||
("GES_TRACK_TYPE_AUDIO", "2"),
|
("(guint) GES_TRACK_TYPE_AUDIO", "2"),
|
||||||
("GES_TRACK_TYPE_CUSTOM", "16"),
|
("(guint) GES_TRACK_TYPE_CUSTOM", "16"),
|
||||||
("GES_TRACK_TYPE_TEXT", "8"),
|
("(guint) GES_TRACK_TYPE_TEXT", "8"),
|
||||||
("GES_TRACK_TYPE_UNKNOWN", "1"),
|
("(guint) GES_TRACK_TYPE_UNKNOWN", "1"),
|
||||||
("GES_TRACK_TYPE_VIDEO", "4"),
|
("(guint) GES_TRACK_TYPE_VIDEO", "4"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL", "45"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DBL", "45"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL", "46"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_DTL", "46"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H", "22"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_H", "22"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V", "21"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNDOOR_V", "21"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D", "65"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_D", "65"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L", "66"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_L", "66"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R", "68"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_R", "68"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U", "67"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BARNVEE_U", "67"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR", "1"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_LR", "1"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB", "2"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BAR_WIPE_TB", "2"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H", "44"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_H", "44"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V", "43"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOWTIE_V", "43"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC", "25"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BC", "25"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL", "6"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BL", "6"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR", "5"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_BR", "5"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC", "26"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_LC", "26"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC", "24"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_RC", "24"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC", "23"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TC", "23"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL", "3"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TL", "3"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR", "4"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_BOX_WIPE_TR", "4"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12", "201"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW12", "201"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3", "202"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW3", "202"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6", "203"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW6", "203"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9", "204"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_CLOCK_CW9", "204"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE", "512"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_CROSSFADE", "512"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL", "41"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TL", "41"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR", "42"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DIAGONAL_TR", "42"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH", "236"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIH", "236"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV", "235"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FIV", "235"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH", "214"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOH", "214"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV", "213"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLEFAN_FOV", "213"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH", "228"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OH", "228"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV", "227"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_OV", "227"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD", "226"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PD", "226"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL", "246"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDBL", "246"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL", "245"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PDTL", "245"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV", "225"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_DOUBLESWEEP_PV", "225"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B", "233"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_B", "233"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR", "212"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CR", "212"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT", "211"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_CT", "211"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L", "234"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_L", "234"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R", "232"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_R", "232"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T", "231"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FAN_T", "231"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI", "7"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CI", "7"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO", "8"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_FOUR_BOX_WIPE_CO", "8"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT", "101"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_IRIS_RECT", "101"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD", "47"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DBD", "47"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD", "48"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_MISC_DIAGONAL_DD", "48"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE", "0"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_NONE", "0"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB", "207"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_FB", "207"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH", "206"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBH", "206"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV", "205"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_PINWHEEL_TBV", "205"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B", "253"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_B", "253"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L", "252"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_L", "252"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R", "254"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_R", "254"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T", "251"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SALOONDOOR_T", "251"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB", "223"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWB", "223"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL", "242"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBL", "242"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR", "243"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWBR", "243"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL", "224"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWL", "224"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR", "222"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWR", "222"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT", "221"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWT", "221"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL", "241"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTL", "241"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR", "244"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_SINGLESWEEP_CWTR", "244"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D", "61"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_D", "61"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L", "62"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_L", "62"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R", "64"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_R", "64"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U", "63"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_VEE_U", "63"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H", "264"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_H", "264"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R", "261"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_R", "261"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U", "262"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_U", "262"),
|
||||||
("GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V", "263"),
|
("(gint) GES_VIDEO_STANDARD_TRANSITION_TYPE_WINDSHIELD_V", "263"),
|
||||||
("GES_VIDEO_TEST_CHROMA_ZONE_PLATE", "16"),
|
("(gint) GES_VIDEO_TEST_CHROMA_ZONE_PLATE", "16"),
|
||||||
("GES_VIDEO_TEST_GAMUT", "15"),
|
("(gint) GES_VIDEO_TEST_GAMUT", "15"),
|
||||||
("GES_VIDEO_TEST_PATTERN_BLACK", "2"),
|
("(gint) GES_VIDEO_TEST_PATTERN_BLACK", "2"),
|
||||||
("GES_VIDEO_TEST_PATTERN_BLINK", "12"),
|
("(gint) GES_VIDEO_TEST_PATTERN_BLINK", "12"),
|
||||||
("GES_VIDEO_TEST_PATTERN_BLUE", "6"),
|
("(gint) GES_VIDEO_TEST_PATTERN_BLUE", "6"),
|
||||||
("GES_VIDEO_TEST_PATTERN_CHECKERS1", "7"),
|
("(gint) GES_VIDEO_TEST_PATTERN_CHECKERS1", "7"),
|
||||||
("GES_VIDEO_TEST_PATTERN_CHECKERS2", "8"),
|
("(gint) GES_VIDEO_TEST_PATTERN_CHECKERS2", "8"),
|
||||||
("GES_VIDEO_TEST_PATTERN_CHECKERS4", "9"),
|
("(gint) GES_VIDEO_TEST_PATTERN_CHECKERS4", "9"),
|
||||||
("GES_VIDEO_TEST_PATTERN_CHECKERS8", "10"),
|
("(gint) GES_VIDEO_TEST_PATTERN_CHECKERS8", "10"),
|
||||||
("GES_VIDEO_TEST_PATTERN_CIRCULAR", "11"),
|
("(gint) GES_VIDEO_TEST_PATTERN_CIRCULAR", "11"),
|
||||||
("GES_VIDEO_TEST_PATTERN_GREEN", "5"),
|
("(gint) GES_VIDEO_TEST_PATTERN_GREEN", "5"),
|
||||||
("GES_VIDEO_TEST_PATTERN_RED", "4"),
|
("(gint) GES_VIDEO_TEST_PATTERN_RED", "4"),
|
||||||
("GES_VIDEO_TEST_PATTERN_SMPTE", "0"),
|
("(gint) GES_VIDEO_TEST_PATTERN_SMPTE", "0"),
|
||||||
("GES_VIDEO_TEST_PATTERN_SMPTE75", "13"),
|
("(gint) GES_VIDEO_TEST_PATTERN_SMPTE75", "13"),
|
||||||
("GES_VIDEO_TEST_PATTERN_SNOW", "1"),
|
("(gint) GES_VIDEO_TEST_PATTERN_SNOW", "1"),
|
||||||
("GES_VIDEO_TEST_PATTERN_SOLID", "17"),
|
("(gint) GES_VIDEO_TEST_PATTERN_SOLID", "17"),
|
||||||
("GES_VIDEO_TEST_PATTERN_WHITE", "3"),
|
("(gint) GES_VIDEO_TEST_PATTERN_WHITE", "3"),
|
||||||
("GES_VIDEO_TEST_ZONE_PLATE", "14"),
|
("(gint) GES_VIDEO_TEST_ZONE_PLATE", "14"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -12,6 +12,10 @@ extern crate gstreamer_sys as gst;
|
||||||
extern crate gstreamer_base_sys as gst_base;
|
extern crate gstreamer_base_sys as gst_base;
|
||||||
extern crate gstreamer_video_sys as gst_video;
|
extern crate gstreamer_video_sys as gst_video;
|
||||||
|
|
||||||
|
mod manual;
|
||||||
|
|
||||||
|
pub use manual::*;
|
||||||
|
|
||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
use libc::{c_int, c_char, c_uchar, c_float, c_uint, c_double,
|
||||||
c_short, c_ushort, c_long, c_ulong,
|
c_short, c_ushort, c_long, c_ulong,
|
||||||
|
@ -121,15 +125,12 @@ pub const GST_GL_API_OPENGL_NAME: *const c_char = b"opengl\0" as *const u8 as *c
|
||||||
pub const GST_GL_BASE_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLBaseMemory\0" as *const u8 as *const c_char;
|
pub const GST_GL_BASE_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLBaseMemory\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_BUFFER_ALLOCATOR_NAME: *const c_char = b"GLBuffer\0" as *const u8 as *const c_char;
|
pub const GST_GL_BUFFER_ALLOCATOR_NAME: *const c_char = b"GLBuffer\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_COLOR_CONVERT_FORMATS: *const c_char = b"{ RGBA, RGB, RGBx, BGR, BGRx, BGRA, xRGB, xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, Y41B, NV12, NV21, YUY2, UYVY, AYUV, GRAY8, GRAY16_LE, GRAY16_BE, RGB16, BGR16 }\0" as *const u8 as *const c_char;
|
pub const GST_GL_COLOR_CONVERT_FORMATS: *const c_char = b"{ RGBA, RGB, RGBx, BGR, BGRx, BGRA, xRGB, xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, Y41B, NV12, NV21, YUY2, UYVY, AYUV, GRAY8, GRAY16_LE, GRAY16_BE, RGB16, BGR16 }\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_COLOR_CONVERT_VIDEO_CAPS: *const c_char = b"video/x-raw(\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_GL_CONTEXT_TYPE_CGL: *const c_char = b"gst.gl.context.CGL\0" as *const u8 as *const c_char;
|
pub const GST_GL_CONTEXT_TYPE_CGL: *const c_char = b"gst.gl.context.CGL\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_CONTEXT_TYPE_EAGL: *const c_char = b"gst.gl.context.EAGL\0" as *const u8 as *const c_char;
|
pub const GST_GL_CONTEXT_TYPE_EAGL: *const c_char = b"gst.gl.context.EAGL\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_CONTEXT_TYPE_EGL: *const c_char = b"gst.gl.context.EGL\0" as *const u8 as *const c_char;
|
pub const GST_GL_CONTEXT_TYPE_EGL: *const c_char = b"gst.gl.context.EGL\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_CONTEXT_TYPE_GLX: *const c_char = b"gst.gl.context.GLX\0" as *const u8 as *const c_char;
|
pub const GST_GL_CONTEXT_TYPE_GLX: *const c_char = b"gst.gl.context.GLX\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_CONTEXT_TYPE_WGL: *const c_char = b"gst.gl.context.WGL\0" as *const u8 as *const c_char;
|
pub const GST_GL_CONTEXT_TYPE_WGL: *const c_char = b"gst.gl.context.WGL\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_DISPLAY_CONTEXT_TYPE: *const c_char = b"gst.gl.GLDisplay\0" as *const u8 as *const c_char;
|
pub const GST_GL_DISPLAY_CONTEXT_TYPE: *const c_char = b"gst.gl.GLDisplay\0" as *const u8 as *const c_char;
|
||||||
#[cfg(any(feature = "egl", feature = "dox"))]
|
|
||||||
pub const GST_GL_DISPLAY_EGL_NAME: *const c_char = b"gst.gl.display.egl\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_GL_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLMemory\0" as *const u8 as *const c_char;
|
pub const GST_GL_MEMORY_ALLOCATOR_NAME: *const c_char = b"GLMemory\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_MEMORY_PBO_ALLOCATOR_NAME: *const c_char = b"GLMemoryPBO\0" as *const u8 as *const c_char;
|
pub const GST_GL_MEMORY_PBO_ALLOCATOR_NAME: *const c_char = b"GLMemoryPBO\0" as *const u8 as *const c_char;
|
||||||
pub const GST_GL_MEMORY_VIDEO_FORMATS_STR: *const c_char = b"{ RGBA, BGRA, RGBx, BGRx, ARGB, ABGR, xRGB, xBGR, RGB, BGR, RGB16, BGR16, AYUV, I420, YV12, NV12, NV21, YUY2, UYVY, Y41B, Y42B, Y444, GRAY8, GRAY16_LE, GRAY16_BE }\0" as *const u8 as *const c_char;
|
pub const GST_GL_MEMORY_VIDEO_FORMATS_STR: *const c_char = b"{ RGBA, BGRA, RGBx, BGRx, ARGB, ABGR, xRGB, xBGR, RGB, BGR, RGB16, BGR16, AYUV, I420, YV12, NV12, NV21, YUY2, UYVY, Y41B, Y42B, Y444, GRAY8, GRAY16_LE, GRAY16_BE }\0" as *const u8 as *const c_char;
|
||||||
|
|
8
gstreamer-gl-sys/src/manual.rs
Normal file
8
gstreamer-gl-sys/src/manual.rs
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
use libc::c_char;
|
||||||
|
|
||||||
|
// See https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/497
|
||||||
|
#[cfg(any(feature = "egl", feature = "dox"))]
|
||||||
|
pub const GST_GL_DISPLAY_EGL_NAME: *const c_char = b"gst.gl.display.egl\0" as *const u8 as *const c_char;
|
||||||
|
|
||||||
|
// See https://gitlab.gnome.org/GNOME/gobject-introspection/issues/238
|
||||||
|
pub const GST_GL_COLOR_CONVERT_VIDEO_CAPS: *const c_char = b"video/x-raw(memory:GLMemory), format = (string) { RGBA, RGB, RGBx, BGR, BGRx, BGRA, xRGB, xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, Y41B, NV12, NV21, YUY2, UYVY, AYUV, GRAY8, GRAY16_LE, GRAY16_BE, RGB16, BGR16 }, width = (int) [ 1, max ], height = (int) [ 1, max ], framerate = (fraction) [ 0, max ], texture-target = (string) { 2D, rectangle, external-oes } ; video/x-raw(memory:GLMemory,meta:GstVideoOverlayComposition), format = (string) { RGBA, RGB, RGBx, BGR, BGRx, BGRA, xRGB, xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, Y41B, NV12, NV21, YUY2, UYVY, AYUV, GRAY8, GRAY16_LE, GRAY16_BE, RGB16, BGR16 }, width = (int) [ 1, max ], height = (int) [ 1, max ], framerate = (fraction) [ 0, max ], texture-target = (string) { 2D, rectangle, external-oes }\0" as *const u8 as *const c_char;
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -307,124 +314,122 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE", "GstBufferPoolOptionGLTextureTargetRectangle"),
|
("GST_BUFFER_POOL_OPTION_GL_TEXTURE_TARGET_RECTANGLE", "GstBufferPoolOptionGLTextureTargetRectangle"),
|
||||||
("GST_CAPS_FEATURE_MEMORY_GL_BUFFER", "memory:GLBuffer"),
|
("GST_CAPS_FEATURE_MEMORY_GL_BUFFER", "memory:GLBuffer"),
|
||||||
("GST_CAPS_FEATURE_MEMORY_GL_MEMORY", "memory:GLMemory"),
|
("GST_CAPS_FEATURE_MEMORY_GL_MEMORY", "memory:GLMemory"),
|
||||||
("GST_GLSL_ERROR_COMPILE", "0"),
|
("(gint) GST_GLSL_ERROR_COMPILE", "0"),
|
||||||
("GST_GLSL_ERROR_LINK", "1"),
|
("(gint) GST_GLSL_ERROR_LINK", "1"),
|
||||||
("GST_GLSL_ERROR_PROGRAM", "2"),
|
("(gint) GST_GLSL_ERROR_PROGRAM", "2"),
|
||||||
("GST_GLSL_PROFILE_ANY", "-1"),
|
("(guint) GST_GLSL_PROFILE_ANY", "4294967295"),
|
||||||
("GST_GLSL_PROFILE_COMPATIBILITY", "4"),
|
("(guint) GST_GLSL_PROFILE_COMPATIBILITY", "4"),
|
||||||
("GST_GLSL_PROFILE_CORE", "2"),
|
("(guint) GST_GLSL_PROFILE_CORE", "2"),
|
||||||
("GST_GLSL_PROFILE_ES", "1"),
|
("(guint) GST_GLSL_PROFILE_ES", "1"),
|
||||||
("GST_GLSL_PROFILE_NONE", "0"),
|
("(guint) GST_GLSL_PROFILE_NONE", "0"),
|
||||||
("GST_GLSL_VERSION_100", "100"),
|
("(gint) GST_GLSL_VERSION_100", "100"),
|
||||||
("GST_GLSL_VERSION_110", "110"),
|
("(gint) GST_GLSL_VERSION_110", "110"),
|
||||||
("GST_GLSL_VERSION_120", "120"),
|
("(gint) GST_GLSL_VERSION_120", "120"),
|
||||||
("GST_GLSL_VERSION_130", "130"),
|
("(gint) GST_GLSL_VERSION_130", "130"),
|
||||||
("GST_GLSL_VERSION_140", "140"),
|
("(gint) GST_GLSL_VERSION_140", "140"),
|
||||||
("GST_GLSL_VERSION_150", "150"),
|
("(gint) GST_GLSL_VERSION_150", "150"),
|
||||||
("GST_GLSL_VERSION_300", "300"),
|
("(gint) GST_GLSL_VERSION_300", "300"),
|
||||||
("GST_GLSL_VERSION_310", "310"),
|
("(gint) GST_GLSL_VERSION_310", "310"),
|
||||||
("GST_GLSL_VERSION_320", "320"),
|
("(gint) GST_GLSL_VERSION_320", "320"),
|
||||||
("GST_GLSL_VERSION_330", "330"),
|
("(gint) GST_GLSL_VERSION_330", "330"),
|
||||||
("GST_GLSL_VERSION_400", "400"),
|
("(gint) GST_GLSL_VERSION_400", "400"),
|
||||||
("GST_GLSL_VERSION_410", "410"),
|
("(gint) GST_GLSL_VERSION_410", "410"),
|
||||||
("GST_GLSL_VERSION_420", "420"),
|
("(gint) GST_GLSL_VERSION_420", "420"),
|
||||||
("GST_GLSL_VERSION_430", "430"),
|
("(gint) GST_GLSL_VERSION_430", "430"),
|
||||||
("GST_GLSL_VERSION_440", "440"),
|
("(gint) GST_GLSL_VERSION_440", "440"),
|
||||||
("GST_GLSL_VERSION_450", "450"),
|
("(gint) GST_GLSL_VERSION_450", "450"),
|
||||||
("GST_GLSL_VERSION_NONE", "0"),
|
("(gint) GST_GLSL_VERSION_NONE", "0"),
|
||||||
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_ALLOC", "1"),
|
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_ALLOC", "1"),
|
||||||
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_BUFFER", "16"),
|
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_BUFFER", "16"),
|
||||||
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_USER", "65536"),
|
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_USER", "65536"),
|
||||||
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO", "8"),
|
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_VIDEO", "8"),
|
||||||
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE", "4"),
|
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_GPU_HANDLE", "4"),
|
||||||
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM", "2"),
|
("GST_GL_ALLOCATION_PARAMS_ALLOC_FLAG_WRAP_SYSMEM", "2"),
|
||||||
("GST_GL_ALPHA", "6406"),
|
("(gint) GST_GL_ALPHA", "6406"),
|
||||||
("GST_GL_API_ANY", "4294967295"),
|
("(guint) GST_GL_API_ANY", "4294967295"),
|
||||||
("GST_GL_API_GLES1", "32768"),
|
("(guint) GST_GL_API_GLES1", "32768"),
|
||||||
("GST_GL_API_GLES1_NAME", "gles1"),
|
("GST_GL_API_GLES1_NAME", "gles1"),
|
||||||
("GST_GL_API_GLES2", "65536"),
|
("(guint) GST_GL_API_GLES2", "65536"),
|
||||||
("GST_GL_API_GLES2_NAME", "gles2"),
|
("GST_GL_API_GLES2_NAME", "gles2"),
|
||||||
("GST_GL_API_NONE", "0"),
|
("(guint) GST_GL_API_NONE", "0"),
|
||||||
("GST_GL_API_OPENGL", "1"),
|
("(guint) GST_GL_API_OPENGL", "1"),
|
||||||
("GST_GL_API_OPENGL3", "2"),
|
("(guint) GST_GL_API_OPENGL3", "2"),
|
||||||
("GST_GL_API_OPENGL3_NAME", "opengl3"),
|
("GST_GL_API_OPENGL3_NAME", "opengl3"),
|
||||||
("GST_GL_API_OPENGL_NAME", "opengl"),
|
("GST_GL_API_OPENGL_NAME", "opengl"),
|
||||||
("GST_GL_BASE_MEMORY_ALLOCATOR_NAME", "GLBaseMemory"),
|
("GST_GL_BASE_MEMORY_ALLOCATOR_NAME", "GLBaseMemory"),
|
||||||
("GST_GL_BASE_MEMORY_ERROR_FAILED", "0"),
|
("(gint) GST_GL_BASE_MEMORY_ERROR_FAILED", "0"),
|
||||||
("GST_GL_BASE_MEMORY_ERROR_OLD_LIBS", "1"),
|
("(gint) GST_GL_BASE_MEMORY_ERROR_OLD_LIBS", "1"),
|
||||||
("GST_GL_BASE_MEMORY_ERROR_RESOURCE_UNAVAILABLE", "2"),
|
("(gint) GST_GL_BASE_MEMORY_ERROR_RESOURCE_UNAVAILABLE", "2"),
|
||||||
("GST_GL_BASE_MEMORY_TRANSFER_NEED_DOWNLOAD", "1048576"),
|
("(guint) GST_GL_BASE_MEMORY_TRANSFER_NEED_DOWNLOAD", "1048576"),
|
||||||
("GST_GL_BASE_MEMORY_TRANSFER_NEED_UPLOAD", "2097152"),
|
("(guint) GST_GL_BASE_MEMORY_TRANSFER_NEED_UPLOAD", "2097152"),
|
||||||
("GST_GL_BUFFER_ALLOCATOR_NAME", "GLBuffer"),
|
("GST_GL_BUFFER_ALLOCATOR_NAME", "GLBuffer"),
|
||||||
("GST_GL_COLOR_CONVERT_FORMATS", "{ RGBA, RGB, RGBx, BGR, BGRx, BGRA, xRGB, xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, Y41B, NV12, NV21, YUY2, UYVY, AYUV, GRAY8, GRAY16_LE, GRAY16_BE, RGB16, BGR16 }"),
|
("GST_GL_COLOR_CONVERT_FORMATS", "{ RGBA, RGB, RGBx, BGR, BGRx, BGRA, xRGB, xBGR, ARGB, ABGR, Y444, I420, YV12, Y42B, Y41B, NV12, NV21, YUY2, UYVY, AYUV, GRAY8, GRAY16_LE, GRAY16_BE, RGB16, BGR16 }"),
|
||||||
("GST_GL_COLOR_CONVERT_VIDEO_CAPS", "video/x-raw("),
|
("(gint) GST_GL_CONTEXT_ERROR_CREATE_CONTEXT", "4"),
|
||||||
("GST_GL_CONTEXT_ERROR_CREATE_CONTEXT", "4"),
|
("(gint) GST_GL_CONTEXT_ERROR_FAILED", "0"),
|
||||||
("GST_GL_CONTEXT_ERROR_FAILED", "0"),
|
("(gint) GST_GL_CONTEXT_ERROR_OLD_LIBS", "3"),
|
||||||
("GST_GL_CONTEXT_ERROR_OLD_LIBS", "3"),
|
("(gint) GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE", "5"),
|
||||||
("GST_GL_CONTEXT_ERROR_RESOURCE_UNAVAILABLE", "5"),
|
("(gint) GST_GL_CONTEXT_ERROR_WRONG_API", "2"),
|
||||||
("GST_GL_CONTEXT_ERROR_WRONG_API", "2"),
|
("(gint) GST_GL_CONTEXT_ERROR_WRONG_CONFIG", "1"),
|
||||||
("GST_GL_CONTEXT_ERROR_WRONG_CONFIG", "1"),
|
|
||||||
("GST_GL_CONTEXT_TYPE_CGL", "gst.gl.context.CGL"),
|
("GST_GL_CONTEXT_TYPE_CGL", "gst.gl.context.CGL"),
|
||||||
("GST_GL_CONTEXT_TYPE_EAGL", "gst.gl.context.EAGL"),
|
("GST_GL_CONTEXT_TYPE_EAGL", "gst.gl.context.EAGL"),
|
||||||
("GST_GL_CONTEXT_TYPE_EGL", "gst.gl.context.EGL"),
|
("GST_GL_CONTEXT_TYPE_EGL", "gst.gl.context.EGL"),
|
||||||
("GST_GL_CONTEXT_TYPE_GLX", "gst.gl.context.GLX"),
|
("GST_GL_CONTEXT_TYPE_GLX", "gst.gl.context.GLX"),
|
||||||
("GST_GL_CONTEXT_TYPE_WGL", "gst.gl.context.WGL"),
|
("GST_GL_CONTEXT_TYPE_WGL", "gst.gl.context.WGL"),
|
||||||
("GST_GL_DEPTH24_STENCIL8", "35056"),
|
("(gint) GST_GL_DEPTH24_STENCIL8", "35056"),
|
||||||
("GST_GL_DEPTH_COMPONENT16", "33189"),
|
("(gint) GST_GL_DEPTH_COMPONENT16", "33189"),
|
||||||
("GST_GL_DISPLAY_CONTEXT_TYPE", "gst.gl.GLDisplay"),
|
("GST_GL_DISPLAY_CONTEXT_TYPE", "gst.gl.GLDisplay"),
|
||||||
("GST_GL_DISPLAY_EGL_NAME", "gst.gl.display.egl"),
|
("(guint) GST_GL_DISPLAY_TYPE_ANY", "4294967295"),
|
||||||
("GST_GL_DISPLAY_TYPE_ANY", "4294967295"),
|
("(guint) GST_GL_DISPLAY_TYPE_COCOA", "4"),
|
||||||
("GST_GL_DISPLAY_TYPE_COCOA", "4"),
|
("(guint) GST_GL_DISPLAY_TYPE_DISPMANX", "16"),
|
||||||
("GST_GL_DISPLAY_TYPE_DISPMANX", "16"),
|
("(guint) GST_GL_DISPLAY_TYPE_EGL", "32"),
|
||||||
("GST_GL_DISPLAY_TYPE_EGL", "32"),
|
("(guint) GST_GL_DISPLAY_TYPE_GBM", "128"),
|
||||||
("GST_GL_DISPLAY_TYPE_GBM", "128"),
|
("(guint) GST_GL_DISPLAY_TYPE_NONE", "0"),
|
||||||
("GST_GL_DISPLAY_TYPE_NONE", "0"),
|
("(guint) GST_GL_DISPLAY_TYPE_VIV_FB", "64"),
|
||||||
("GST_GL_DISPLAY_TYPE_VIV_FB", "64"),
|
("(guint) GST_GL_DISPLAY_TYPE_WAYLAND", "2"),
|
||||||
("GST_GL_DISPLAY_TYPE_WAYLAND", "2"),
|
("(guint) GST_GL_DISPLAY_TYPE_WIN32", "8"),
|
||||||
("GST_GL_DISPLAY_TYPE_WIN32", "8"),
|
("(guint) GST_GL_DISPLAY_TYPE_X11", "1"),
|
||||||
("GST_GL_DISPLAY_TYPE_X11", "1"),
|
("(gint) GST_GL_LUMINANCE", "6409"),
|
||||||
("GST_GL_LUMINANCE", "6409"),
|
("(gint) GST_GL_LUMINANCE_ALPHA", "6410"),
|
||||||
("GST_GL_LUMINANCE_ALPHA", "6410"),
|
|
||||||
("GST_GL_MEMORY_ALLOCATOR_NAME", "GLMemory"),
|
("GST_GL_MEMORY_ALLOCATOR_NAME", "GLMemory"),
|
||||||
("GST_GL_MEMORY_PBO_ALLOCATOR_NAME", "GLMemoryPBO"),
|
("GST_GL_MEMORY_PBO_ALLOCATOR_NAME", "GLMemoryPBO"),
|
||||||
("GST_GL_MEMORY_VIDEO_FORMATS_STR", "{ RGBA, BGRA, RGBx, BGRx, ARGB, ABGR, xRGB, xBGR, RGB, BGR, RGB16, BGR16, AYUV, I420, YV12, NV12, NV21, YUY2, UYVY, Y41B, Y42B, Y444, GRAY8, GRAY16_LE, GRAY16_BE }"),
|
("GST_GL_MEMORY_VIDEO_FORMATS_STR", "{ RGBA, BGRA, RGBx, BGRx, ARGB, ABGR, xRGB, xBGR, RGB, BGR, RGB16, BGR16, AYUV, I420, YV12, NV12, NV21, YUY2, UYVY, Y41B, Y42B, Y444, GRAY8, GRAY16_LE, GRAY16_BE }"),
|
||||||
("GST_GL_PLATFORM_ANY", "4294967295"),
|
("(guint) GST_GL_PLATFORM_ANY", "4294967295"),
|
||||||
("GST_GL_PLATFORM_CGL", "8"),
|
("(guint) GST_GL_PLATFORM_CGL", "8"),
|
||||||
("GST_GL_PLATFORM_EAGL", "16"),
|
("(guint) GST_GL_PLATFORM_EAGL", "16"),
|
||||||
("GST_GL_PLATFORM_EGL", "1"),
|
("(guint) GST_GL_PLATFORM_EGL", "1"),
|
||||||
("GST_GL_PLATFORM_GLX", "2"),
|
("(guint) GST_GL_PLATFORM_GLX", "2"),
|
||||||
("GST_GL_PLATFORM_NONE", "0"),
|
("(guint) GST_GL_PLATFORM_NONE", "0"),
|
||||||
("GST_GL_PLATFORM_WGL", "4"),
|
("(guint) GST_GL_PLATFORM_WGL", "4"),
|
||||||
("GST_GL_QUERY_NONE", "0"),
|
("(gint) GST_GL_QUERY_NONE", "0"),
|
||||||
("GST_GL_QUERY_TIMESTAMP", "2"),
|
("(gint) GST_GL_QUERY_TIMESTAMP", "2"),
|
||||||
("GST_GL_QUERY_TIME_ELAPSED", "1"),
|
("(gint) GST_GL_QUERY_TIME_ELAPSED", "1"),
|
||||||
("GST_GL_R8", "33321"),
|
("(gint) GST_GL_R8", "33321"),
|
||||||
("GST_GL_RED", "6403"),
|
("(gint) GST_GL_RED", "6403"),
|
||||||
("GST_GL_RENDERBUFFER_ALLOCATOR_NAME", "GLRenderbuffer"),
|
("GST_GL_RENDERBUFFER_ALLOCATOR_NAME", "GLRenderbuffer"),
|
||||||
("GST_GL_RG", "33319"),
|
("(gint) GST_GL_RG", "33319"),
|
||||||
("GST_GL_RG8", "33323"),
|
("(gint) GST_GL_RG8", "33323"),
|
||||||
("GST_GL_RGB", "6407"),
|
("(gint) GST_GL_RGB", "6407"),
|
||||||
("GST_GL_RGB565", "36194"),
|
("(gint) GST_GL_RGB565", "36194"),
|
||||||
("GST_GL_RGB8", "32849"),
|
("(gint) GST_GL_RGB8", "32849"),
|
||||||
("GST_GL_RGBA", "6408"),
|
("(gint) GST_GL_RGBA", "6408"),
|
||||||
("GST_GL_RGBA8", "32856"),
|
("(gint) GST_GL_RGBA8", "32856"),
|
||||||
("GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS", "2"),
|
("(gint) GST_GL_STEREO_DOWNMIX_ANAGLYPH_AMBER_BLUE_DUBOIS", "2"),
|
||||||
("GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS", "0"),
|
("(gint) GST_GL_STEREO_DOWNMIX_ANAGLYPH_GREEN_MAGENTA_DUBOIS", "0"),
|
||||||
("GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS", "1"),
|
("(gint) GST_GL_STEREO_DOWNMIX_ANAGLYPH_RED_CYAN_DUBOIS", "1"),
|
||||||
("GST_GL_TEXTURE_TARGET_2D", "1"),
|
("(gint) GST_GL_TEXTURE_TARGET_2D", "1"),
|
||||||
("GST_GL_TEXTURE_TARGET_2D_STR", "2D"),
|
("GST_GL_TEXTURE_TARGET_2D_STR", "2D"),
|
||||||
("GST_GL_TEXTURE_TARGET_EXTERNAL_OES", "3"),
|
("(gint) GST_GL_TEXTURE_TARGET_EXTERNAL_OES", "3"),
|
||||||
("GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR", "external-oes"),
|
("GST_GL_TEXTURE_TARGET_EXTERNAL_OES_STR", "external-oes"),
|
||||||
("GST_GL_TEXTURE_TARGET_NONE", "0"),
|
("(gint) GST_GL_TEXTURE_TARGET_NONE", "0"),
|
||||||
("GST_GL_TEXTURE_TARGET_RECTANGLE", "2"),
|
("(gint) GST_GL_TEXTURE_TARGET_RECTANGLE", "2"),
|
||||||
("GST_GL_TEXTURE_TARGET_RECTANGLE_STR", "rectangle"),
|
("GST_GL_TEXTURE_TARGET_RECTANGLE_STR", "rectangle"),
|
||||||
("GST_GL_UPLOAD_DONE", "1"),
|
("(gint) GST_GL_UPLOAD_DONE", "1"),
|
||||||
("GST_GL_UPLOAD_ERROR", "-1"),
|
("(gint) GST_GL_UPLOAD_ERROR", "-1"),
|
||||||
("GST_GL_UPLOAD_RECONFIGURE", "-3"),
|
("(gint) GST_GL_UPLOAD_RECONFIGURE", "-3"),
|
||||||
("GST_GL_UPLOAD_UNSUPPORTED", "-2"),
|
("(gint) GST_GL_UPLOAD_UNSUPPORTED", "-2"),
|
||||||
("GST_GL_WINDOW_ERROR_FAILED", "0"),
|
("(gint) GST_GL_WINDOW_ERROR_FAILED", "0"),
|
||||||
("GST_GL_WINDOW_ERROR_OLD_LIBS", "1"),
|
("(gint) GST_GL_WINDOW_ERROR_OLD_LIBS", "1"),
|
||||||
("GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE", "2"),
|
("(gint) GST_GL_WINDOW_ERROR_RESOURCE_UNAVAILABLE", "2"),
|
||||||
("GST_MAP_GL", "131072"),
|
("GST_MAP_GL", "131072"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -249,43 +256,43 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE", "1"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE", "1"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_DOWN", "3"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_DOWN", "3"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN", "7"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_IN", "7"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_OUT", "6"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_HORIZ_OUT", "6"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_LEFT", "4"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_LEFT", "4"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_RIGHT", "5"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_RIGHT", "5"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_UP", "2"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_UP", "2"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_IN", "9"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_IN", "9"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_OUT", "8"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_FADE_AND_MOVE_VERT_OUT", "8"),
|
||||||
("GST_AUDIO_VISUALIZER_SHADER_NONE", "0"),
|
("(gint) GST_AUDIO_VISUALIZER_SHADER_NONE", "0"),
|
||||||
("GST_DISCOVERER_BUSY", "4"),
|
("(gint) GST_DISCOVERER_BUSY", "4"),
|
||||||
("GST_DISCOVERER_ERROR", "2"),
|
("(gint) GST_DISCOVERER_ERROR", "2"),
|
||||||
("GST_DISCOVERER_MISSING_PLUGINS", "5"),
|
("(gint) GST_DISCOVERER_MISSING_PLUGINS", "5"),
|
||||||
("GST_DISCOVERER_OK", "0"),
|
("(gint) GST_DISCOVERER_OK", "0"),
|
||||||
("GST_DISCOVERER_SERIALIZE_ALL", "7"),
|
("(guint) GST_DISCOVERER_SERIALIZE_ALL", "7"),
|
||||||
("GST_DISCOVERER_SERIALIZE_BASIC", "0"),
|
("(guint) GST_DISCOVERER_SERIALIZE_BASIC", "0"),
|
||||||
("GST_DISCOVERER_SERIALIZE_CAPS", "1"),
|
("(guint) GST_DISCOVERER_SERIALIZE_CAPS", "1"),
|
||||||
("GST_DISCOVERER_SERIALIZE_MISC", "4"),
|
("(guint) GST_DISCOVERER_SERIALIZE_MISC", "4"),
|
||||||
("GST_DISCOVERER_SERIALIZE_TAGS", "2"),
|
("(guint) GST_DISCOVERER_SERIALIZE_TAGS", "2"),
|
||||||
("GST_DISCOVERER_TIMEOUT", "3"),
|
("(gint) GST_DISCOVERER_TIMEOUT", "3"),
|
||||||
("GST_DISCOVERER_URI_INVALID", "1"),
|
("(gint) GST_DISCOVERER_URI_INVALID", "1"),
|
||||||
("GST_ENCODING_CATEGORY_CAPTURE", "capture"),
|
("GST_ENCODING_CATEGORY_CAPTURE", "capture"),
|
||||||
("GST_ENCODING_CATEGORY_DEVICE", "device"),
|
("GST_ENCODING_CATEGORY_DEVICE", "device"),
|
||||||
("GST_ENCODING_CATEGORY_FILE_EXTENSION", "file-extension"),
|
("GST_ENCODING_CATEGORY_FILE_EXTENSION", "file-extension"),
|
||||||
("GST_ENCODING_CATEGORY_ONLINE_SERVICE", "online-service"),
|
("GST_ENCODING_CATEGORY_ONLINE_SERVICE", "online-service"),
|
||||||
("GST_ENCODING_CATEGORY_STORAGE_EDITING", "storage-editing"),
|
("GST_ENCODING_CATEGORY_STORAGE_EDITING", "storage-editing"),
|
||||||
("GST_INSTALL_PLUGINS_CRASHED", "100"),
|
("(gint) GST_INSTALL_PLUGINS_CRASHED", "100"),
|
||||||
("GST_INSTALL_PLUGINS_ERROR", "2"),
|
("(gint) GST_INSTALL_PLUGINS_ERROR", "2"),
|
||||||
("GST_INSTALL_PLUGINS_HELPER_MISSING", "202"),
|
("(gint) GST_INSTALL_PLUGINS_HELPER_MISSING", "202"),
|
||||||
("GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS", "203"),
|
("(gint) GST_INSTALL_PLUGINS_INSTALL_IN_PROGRESS", "203"),
|
||||||
("GST_INSTALL_PLUGINS_INTERNAL_FAILURE", "201"),
|
("(gint) GST_INSTALL_PLUGINS_INTERNAL_FAILURE", "201"),
|
||||||
("GST_INSTALL_PLUGINS_INVALID", "101"),
|
("(gint) GST_INSTALL_PLUGINS_INVALID", "101"),
|
||||||
("GST_INSTALL_PLUGINS_NOT_FOUND", "1"),
|
("(gint) GST_INSTALL_PLUGINS_NOT_FOUND", "1"),
|
||||||
("GST_INSTALL_PLUGINS_PARTIAL_SUCCESS", "3"),
|
("(gint) GST_INSTALL_PLUGINS_PARTIAL_SUCCESS", "3"),
|
||||||
("GST_INSTALL_PLUGINS_STARTED_OK", "200"),
|
("(gint) GST_INSTALL_PLUGINS_STARTED_OK", "200"),
|
||||||
("GST_INSTALL_PLUGINS_SUCCESS", "0"),
|
("(gint) GST_INSTALL_PLUGINS_SUCCESS", "0"),
|
||||||
("GST_INSTALL_PLUGINS_USER_ABORT", "4"),
|
("(gint) GST_INSTALL_PLUGINS_USER_ABORT", "4"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -241,20 +248,20 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_PLAYER_COLOR_BALANCE_BRIGHTNESS", "0"),
|
("(gint) GST_PLAYER_COLOR_BALANCE_BRIGHTNESS", "0"),
|
||||||
("GST_PLAYER_COLOR_BALANCE_CONTRAST", "1"),
|
("(gint) GST_PLAYER_COLOR_BALANCE_CONTRAST", "1"),
|
||||||
("GST_PLAYER_COLOR_BALANCE_HUE", "3"),
|
("(gint) GST_PLAYER_COLOR_BALANCE_HUE", "3"),
|
||||||
("GST_PLAYER_COLOR_BALANCE_SATURATION", "2"),
|
("(gint) GST_PLAYER_COLOR_BALANCE_SATURATION", "2"),
|
||||||
("GST_PLAYER_ERROR_FAILED", "0"),
|
("(gint) GST_PLAYER_ERROR_FAILED", "0"),
|
||||||
("GST_PLAYER_STATE_BUFFERING", "1"),
|
("(gint) GST_PLAYER_STATE_BUFFERING", "1"),
|
||||||
("GST_PLAYER_STATE_PAUSED", "2"),
|
("(gint) GST_PLAYER_STATE_PAUSED", "2"),
|
||||||
("GST_PLAYER_STATE_PLAYING", "3"),
|
("(gint) GST_PLAYER_STATE_PLAYING", "3"),
|
||||||
("GST_PLAYER_STATE_STOPPED", "0"),
|
("(gint) GST_PLAYER_STATE_STOPPED", "0"),
|
||||||
("GST_PLAYER_THUMBNAIL_JPG", "3"),
|
("(gint) GST_PLAYER_THUMBNAIL_JPG", "3"),
|
||||||
("GST_PLAYER_THUMBNAIL_PNG", "4"),
|
("(gint) GST_PLAYER_THUMBNAIL_PNG", "4"),
|
||||||
("GST_PLAYER_THUMBNAIL_RAW_BGRx", "2"),
|
("(gint) GST_PLAYER_THUMBNAIL_RAW_BGRx", "2"),
|
||||||
("GST_PLAYER_THUMBNAIL_RAW_NATIVE", "0"),
|
("(gint) GST_PLAYER_THUMBNAIL_RAW_NATIVE", "0"),
|
||||||
("GST_PLAYER_THUMBNAIL_RAW_xRGB", "1"),
|
("(gint) GST_PLAYER_THUMBNAIL_RAW_xRGB", "1"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -284,48 +291,48 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_RTSP_ADDRESS_FLAG_EVEN_PORT", "4"),
|
("(guint) GST_RTSP_ADDRESS_FLAG_EVEN_PORT", "4"),
|
||||||
("GST_RTSP_ADDRESS_FLAG_IPV4", "1"),
|
("(guint) GST_RTSP_ADDRESS_FLAG_IPV4", "1"),
|
||||||
("GST_RTSP_ADDRESS_FLAG_IPV6", "2"),
|
("(guint) GST_RTSP_ADDRESS_FLAG_IPV6", "2"),
|
||||||
("GST_RTSP_ADDRESS_FLAG_MULTICAST", "8"),
|
("(guint) GST_RTSP_ADDRESS_FLAG_MULTICAST", "8"),
|
||||||
("GST_RTSP_ADDRESS_FLAG_NONE", "0"),
|
("(guint) GST_RTSP_ADDRESS_FLAG_NONE", "0"),
|
||||||
("GST_RTSP_ADDRESS_FLAG_UNICAST", "16"),
|
("(guint) GST_RTSP_ADDRESS_FLAG_UNICAST", "16"),
|
||||||
("GST_RTSP_ADDRESS_POOL_ANY_IPV4", "0.0.0.0"),
|
("GST_RTSP_ADDRESS_POOL_ANY_IPV4", "0.0.0.0"),
|
||||||
("GST_RTSP_ADDRESS_POOL_ANY_IPV6", "::"),
|
("GST_RTSP_ADDRESS_POOL_ANY_IPV6", "::"),
|
||||||
("GST_RTSP_ADDRESS_POOL_EINVAL", "-1"),
|
("(gint) GST_RTSP_ADDRESS_POOL_EINVAL", "-1"),
|
||||||
("GST_RTSP_ADDRESS_POOL_ELAST", "-4"),
|
("(gint) GST_RTSP_ADDRESS_POOL_ELAST", "-4"),
|
||||||
("GST_RTSP_ADDRESS_POOL_ERANGE", "-3"),
|
("(gint) GST_RTSP_ADDRESS_POOL_ERANGE", "-3"),
|
||||||
("GST_RTSP_ADDRESS_POOL_ERESERVED", "-2"),
|
("(gint) GST_RTSP_ADDRESS_POOL_ERESERVED", "-2"),
|
||||||
("GST_RTSP_ADDRESS_POOL_OK", "0"),
|
("(gint) GST_RTSP_ADDRESS_POOL_OK", "0"),
|
||||||
("GST_RTSP_AUTH_CHECK_CONNECT", "auth.check.connect"),
|
("GST_RTSP_AUTH_CHECK_CONNECT", "auth.check.connect"),
|
||||||
("GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS", "auth.check.media.factory.access"),
|
("GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_ACCESS", "auth.check.media.factory.access"),
|
||||||
("GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT", "auth.check.media.factory.construct"),
|
("GST_RTSP_AUTH_CHECK_MEDIA_FACTORY_CONSTRUCT", "auth.check.media.factory.construct"),
|
||||||
("GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS", "auth.check.transport.client-settings"),
|
("GST_RTSP_AUTH_CHECK_TRANSPORT_CLIENT_SETTINGS", "auth.check.transport.client-settings"),
|
||||||
("GST_RTSP_AUTH_CHECK_URL", "auth.check.url"),
|
("GST_RTSP_AUTH_CHECK_URL", "auth.check.url"),
|
||||||
("GST_RTSP_FILTER_KEEP", "1"),
|
("(gint) GST_RTSP_FILTER_KEEP", "1"),
|
||||||
("GST_RTSP_FILTER_REF", "2"),
|
("(gint) GST_RTSP_FILTER_REF", "2"),
|
||||||
("GST_RTSP_FILTER_REMOVE", "0"),
|
("(gint) GST_RTSP_FILTER_REMOVE", "0"),
|
||||||
("GST_RTSP_MEDIA_STATUS_ERROR", "5"),
|
("(gint) GST_RTSP_MEDIA_STATUS_ERROR", "5"),
|
||||||
("GST_RTSP_MEDIA_STATUS_PREPARED", "3"),
|
("(gint) GST_RTSP_MEDIA_STATUS_PREPARED", "3"),
|
||||||
("GST_RTSP_MEDIA_STATUS_PREPARING", "2"),
|
("(gint) GST_RTSP_MEDIA_STATUS_PREPARING", "2"),
|
||||||
("GST_RTSP_MEDIA_STATUS_SUSPENDED", "4"),
|
("(gint) GST_RTSP_MEDIA_STATUS_SUSPENDED", "4"),
|
||||||
("GST_RTSP_MEDIA_STATUS_UNPREPARED", "0"),
|
("(gint) GST_RTSP_MEDIA_STATUS_UNPREPARED", "0"),
|
||||||
("GST_RTSP_MEDIA_STATUS_UNPREPARING", "1"),
|
("(gint) GST_RTSP_MEDIA_STATUS_UNPREPARING", "1"),
|
||||||
("GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT", "www.onvif.org/ver20/backchannel"),
|
("GST_RTSP_ONVIF_BACKCHANNEL_REQUIREMENT", "www.onvif.org/ver20/backchannel"),
|
||||||
("GST_RTSP_PERM_MEDIA_FACTORY_ACCESS", "media.factory.access"),
|
("GST_RTSP_PERM_MEDIA_FACTORY_ACCESS", "media.factory.access"),
|
||||||
("GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT", "media.factory.construct"),
|
("GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT", "media.factory.construct"),
|
||||||
("GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK", "1"),
|
("(gint) GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK", "1"),
|
||||||
("GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK_AND_OFFSET", "2"),
|
("(gint) GST_RTSP_PUBLISH_CLOCK_MODE_CLOCK_AND_OFFSET", "2"),
|
||||||
("GST_RTSP_PUBLISH_CLOCK_MODE_NONE", "0"),
|
("(gint) GST_RTSP_PUBLISH_CLOCK_MODE_NONE", "0"),
|
||||||
("GST_RTSP_SUSPEND_MODE_NONE", "0"),
|
("(gint) GST_RTSP_SUSPEND_MODE_NONE", "0"),
|
||||||
("GST_RTSP_SUSPEND_MODE_PAUSE", "1"),
|
("(gint) GST_RTSP_SUSPEND_MODE_PAUSE", "1"),
|
||||||
("GST_RTSP_SUSPEND_MODE_RESET", "2"),
|
("(gint) GST_RTSP_SUSPEND_MODE_RESET", "2"),
|
||||||
("GST_RTSP_THREAD_TYPE_CLIENT", "0"),
|
("(gint) GST_RTSP_THREAD_TYPE_CLIENT", "0"),
|
||||||
("GST_RTSP_THREAD_TYPE_MEDIA", "1"),
|
("(gint) GST_RTSP_THREAD_TYPE_MEDIA", "1"),
|
||||||
("GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE", "media.factory.role"),
|
("GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE", "media.factory.role"),
|
||||||
("GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS", "transport.client-settings"),
|
("GST_RTSP_TOKEN_TRANSPORT_CLIENT_SETTINGS", "transport.client-settings"),
|
||||||
("GST_RTSP_TRANSPORT_MODE_PLAY", "1"),
|
("(guint) GST_RTSP_TRANSPORT_MODE_PLAY", "1"),
|
||||||
("GST_RTSP_TRANSPORT_MODE_RECORD", "2"),
|
("(guint) GST_RTSP_TRANSPORT_MODE_RECORD", "2"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -260,221 +267,221 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_RTSP_ANNOUNCE", "2"),
|
("(guint) GST_RTSP_ANNOUNCE", "2"),
|
||||||
("GST_RTSP_AUTH_BASIC", "1"),
|
("(gint) GST_RTSP_AUTH_BASIC", "1"),
|
||||||
("GST_RTSP_AUTH_DIGEST", "2"),
|
("(gint) GST_RTSP_AUTH_DIGEST", "2"),
|
||||||
("GST_RTSP_AUTH_NONE", "0"),
|
("(gint) GST_RTSP_AUTH_NONE", "0"),
|
||||||
("GST_RTSP_DEFAULT_PORT", "554"),
|
("GST_RTSP_DEFAULT_PORT", "554"),
|
||||||
("GST_RTSP_DESCRIBE", "1"),
|
("(guint) GST_RTSP_DESCRIBE", "1"),
|
||||||
("GST_RTSP_EEOF", "-11"),
|
("(gint) GST_RTSP_EEOF", "-11"),
|
||||||
("GST_RTSP_EINTR", "-3"),
|
("(gint) GST_RTSP_EINTR", "-3"),
|
||||||
("GST_RTSP_EINVAL", "-2"),
|
("(gint) GST_RTSP_EINVAL", "-2"),
|
||||||
("GST_RTSP_ELAST", "-17"),
|
("(gint) GST_RTSP_ELAST", "-17"),
|
||||||
("GST_RTSP_ENET", "-12"),
|
("(gint) GST_RTSP_ENET", "-12"),
|
||||||
("GST_RTSP_ENOMEM", "-4"),
|
("(gint) GST_RTSP_ENOMEM", "-4"),
|
||||||
("GST_RTSP_ENOTIMPL", "-6"),
|
("(gint) GST_RTSP_ENOTIMPL", "-6"),
|
||||||
("GST_RTSP_ENOTIP", "-13"),
|
("(gint) GST_RTSP_ENOTIP", "-13"),
|
||||||
("GST_RTSP_EPARSE", "-8"),
|
("(gint) GST_RTSP_EPARSE", "-8"),
|
||||||
("GST_RTSP_ERESOLV", "-5"),
|
("(gint) GST_RTSP_ERESOLV", "-5"),
|
||||||
("GST_RTSP_ERROR", "-1"),
|
("(gint) GST_RTSP_ERROR", "-1"),
|
||||||
("GST_RTSP_ESYS", "-7"),
|
("(gint) GST_RTSP_ESYS", "-7"),
|
||||||
("GST_RTSP_ETGET", "-15"),
|
("(gint) GST_RTSP_ETGET", "-15"),
|
||||||
("GST_RTSP_ETIMEOUT", "-14"),
|
("(gint) GST_RTSP_ETIMEOUT", "-14"),
|
||||||
("GST_RTSP_ETPOST", "-16"),
|
("(gint) GST_RTSP_ETPOST", "-16"),
|
||||||
("GST_RTSP_EV_READ", "1"),
|
("(guint) GST_RTSP_EV_READ", "1"),
|
||||||
("GST_RTSP_EV_WRITE", "2"),
|
("(guint) GST_RTSP_EV_WRITE", "2"),
|
||||||
("GST_RTSP_EWSASTART", "-9"),
|
("(gint) GST_RTSP_EWSASTART", "-9"),
|
||||||
("GST_RTSP_EWSAVERSION", "-10"),
|
("(gint) GST_RTSP_EWSAVERSION", "-10"),
|
||||||
("GST_RTSP_FAM_INET", "1"),
|
("(gint) GST_RTSP_FAM_INET", "1"),
|
||||||
("GST_RTSP_FAM_INET6", "2"),
|
("(gint) GST_RTSP_FAM_INET6", "2"),
|
||||||
("GST_RTSP_FAM_NONE", "0"),
|
("(gint) GST_RTSP_FAM_NONE", "0"),
|
||||||
("GST_RTSP_GET", "2048"),
|
("(guint) GST_RTSP_GET", "2048"),
|
||||||
("GST_RTSP_GET_PARAMETER", "4"),
|
("(guint) GST_RTSP_GET_PARAMETER", "4"),
|
||||||
("GST_RTSP_HDR_ACCEPT", "1"),
|
("(gint) GST_RTSP_HDR_ACCEPT", "1"),
|
||||||
("GST_RTSP_HDR_ACCEPT_CHARSET", "56"),
|
("(gint) GST_RTSP_HDR_ACCEPT_CHARSET", "56"),
|
||||||
("GST_RTSP_HDR_ACCEPT_ENCODING", "2"),
|
("(gint) GST_RTSP_HDR_ACCEPT_ENCODING", "2"),
|
||||||
("GST_RTSP_HDR_ACCEPT_LANGUAGE", "3"),
|
("(gint) GST_RTSP_HDR_ACCEPT_LANGUAGE", "3"),
|
||||||
("GST_RTSP_HDR_ACCEPT_RANGES", "86"),
|
("(gint) GST_RTSP_HDR_ACCEPT_RANGES", "86"),
|
||||||
("GST_RTSP_HDR_ALERT", "45"),
|
("(gint) GST_RTSP_HDR_ALERT", "45"),
|
||||||
("GST_RTSP_HDR_ALLOW", "4"),
|
("(gint) GST_RTSP_HDR_ALLOW", "4"),
|
||||||
("GST_RTSP_HDR_AUTHENTICATION_INFO", "76"),
|
("(gint) GST_RTSP_HDR_AUTHENTICATION_INFO", "76"),
|
||||||
("GST_RTSP_HDR_AUTHORIZATION", "5"),
|
("(gint) GST_RTSP_HDR_AUTHORIZATION", "5"),
|
||||||
("GST_RTSP_HDR_BANDWIDTH", "6"),
|
("(gint) GST_RTSP_HDR_BANDWIDTH", "6"),
|
||||||
("GST_RTSP_HDR_BLOCKSIZE", "7"),
|
("(gint) GST_RTSP_HDR_BLOCKSIZE", "7"),
|
||||||
("GST_RTSP_HDR_CACHE_CONTROL", "8"),
|
("(gint) GST_RTSP_HDR_CACHE_CONTROL", "8"),
|
||||||
("GST_RTSP_HDR_CLIENT_CHALLENGE", "40"),
|
("(gint) GST_RTSP_HDR_CLIENT_CHALLENGE", "40"),
|
||||||
("GST_RTSP_HDR_CLIENT_ID", "46"),
|
("(gint) GST_RTSP_HDR_CLIENT_ID", "46"),
|
||||||
("GST_RTSP_HDR_COMPANY_ID", "47"),
|
("(gint) GST_RTSP_HDR_COMPANY_ID", "47"),
|
||||||
("GST_RTSP_HDR_CONFERENCE", "9"),
|
("(gint) GST_RTSP_HDR_CONFERENCE", "9"),
|
||||||
("GST_RTSP_HDR_CONNECTION", "10"),
|
("(gint) GST_RTSP_HDR_CONNECTION", "10"),
|
||||||
("GST_RTSP_HDR_CONTENT_BASE", "11"),
|
("(gint) GST_RTSP_HDR_CONTENT_BASE", "11"),
|
||||||
("GST_RTSP_HDR_CONTENT_ENCODING", "12"),
|
("(gint) GST_RTSP_HDR_CONTENT_ENCODING", "12"),
|
||||||
("GST_RTSP_HDR_CONTENT_LANGUAGE", "13"),
|
("(gint) GST_RTSP_HDR_CONTENT_LANGUAGE", "13"),
|
||||||
("GST_RTSP_HDR_CONTENT_LENGTH", "14"),
|
("(gint) GST_RTSP_HDR_CONTENT_LENGTH", "14"),
|
||||||
("GST_RTSP_HDR_CONTENT_LOCATION", "15"),
|
("(gint) GST_RTSP_HDR_CONTENT_LOCATION", "15"),
|
||||||
("GST_RTSP_HDR_CONTENT_TYPE", "16"),
|
("(gint) GST_RTSP_HDR_CONTENT_TYPE", "16"),
|
||||||
("GST_RTSP_HDR_CSEQ", "17"),
|
("(gint) GST_RTSP_HDR_CSEQ", "17"),
|
||||||
("GST_RTSP_HDR_DATE", "18"),
|
("(gint) GST_RTSP_HDR_DATE", "18"),
|
||||||
("GST_RTSP_HDR_ETAG", "54"),
|
("(gint) GST_RTSP_HDR_ETAG", "54"),
|
||||||
("GST_RTSP_HDR_EXPIRES", "19"),
|
("(gint) GST_RTSP_HDR_EXPIRES", "19"),
|
||||||
("GST_RTSP_HDR_FROM", "20"),
|
("(gint) GST_RTSP_HDR_FROM", "20"),
|
||||||
("GST_RTSP_HDR_GUID", "48"),
|
("(gint) GST_RTSP_HDR_GUID", "48"),
|
||||||
("GST_RTSP_HDR_HOST", "77"),
|
("(gint) GST_RTSP_HDR_HOST", "77"),
|
||||||
("GST_RTSP_HDR_IF_MATCH", "55"),
|
("(gint) GST_RTSP_HDR_IF_MATCH", "55"),
|
||||||
("GST_RTSP_HDR_IF_MODIFIED_SINCE", "21"),
|
("(gint) GST_RTSP_HDR_IF_MODIFIED_SINCE", "21"),
|
||||||
("GST_RTSP_HDR_INVALID", "0"),
|
("(gint) GST_RTSP_HDR_INVALID", "0"),
|
||||||
("GST_RTSP_HDR_KEYMGMT", "82"),
|
("(gint) GST_RTSP_HDR_KEYMGMT", "82"),
|
||||||
("GST_RTSP_HDR_LANGUAGE", "51"),
|
("(gint) GST_RTSP_HDR_LANGUAGE", "51"),
|
||||||
("GST_RTSP_HDR_LAST", "87"),
|
("(gint) GST_RTSP_HDR_LAST", "87"),
|
||||||
("GST_RTSP_HDR_LAST_MODIFIED", "22"),
|
("(gint) GST_RTSP_HDR_LAST_MODIFIED", "22"),
|
||||||
("GST_RTSP_HDR_LOCATION", "53"),
|
("(gint) GST_RTSP_HDR_LOCATION", "53"),
|
||||||
("GST_RTSP_HDR_MAX_ASM_WIDTH", "50"),
|
("(gint) GST_RTSP_HDR_MAX_ASM_WIDTH", "50"),
|
||||||
("GST_RTSP_HDR_MEDIA_PROPERTIES", "84"),
|
("(gint) GST_RTSP_HDR_MEDIA_PROPERTIES", "84"),
|
||||||
("GST_RTSP_HDR_PIPELINED_REQUESTS", "83"),
|
("(gint) GST_RTSP_HDR_PIPELINED_REQUESTS", "83"),
|
||||||
("GST_RTSP_HDR_PLAYER_START_TIME", "52"),
|
("(gint) GST_RTSP_HDR_PLAYER_START_TIME", "52"),
|
||||||
("GST_RTSP_HDR_PRAGMA", "78"),
|
("(gint) GST_RTSP_HDR_PRAGMA", "78"),
|
||||||
("GST_RTSP_HDR_PROXY_AUTHENTICATE", "23"),
|
("(gint) GST_RTSP_HDR_PROXY_AUTHENTICATE", "23"),
|
||||||
("GST_RTSP_HDR_PROXY_REQUIRE", "24"),
|
("(gint) GST_RTSP_HDR_PROXY_REQUIRE", "24"),
|
||||||
("GST_RTSP_HDR_PUBLIC", "25"),
|
("(gint) GST_RTSP_HDR_PUBLIC", "25"),
|
||||||
("GST_RTSP_HDR_RANGE", "26"),
|
("(gint) GST_RTSP_HDR_RANGE", "26"),
|
||||||
("GST_RTSP_HDR_REAL_CHALLENGE1", "41"),
|
("(gint) GST_RTSP_HDR_REAL_CHALLENGE1", "41"),
|
||||||
("GST_RTSP_HDR_REAL_CHALLENGE2", "42"),
|
("(gint) GST_RTSP_HDR_REAL_CHALLENGE2", "42"),
|
||||||
("GST_RTSP_HDR_REAL_CHALLENGE3", "43"),
|
("(gint) GST_RTSP_HDR_REAL_CHALLENGE3", "43"),
|
||||||
("GST_RTSP_HDR_REFERER", "27"),
|
("(gint) GST_RTSP_HDR_REFERER", "27"),
|
||||||
("GST_RTSP_HDR_REGION_DATA", "49"),
|
("(gint) GST_RTSP_HDR_REGION_DATA", "49"),
|
||||||
("GST_RTSP_HDR_REQUIRE", "28"),
|
("(gint) GST_RTSP_HDR_REQUIRE", "28"),
|
||||||
("GST_RTSP_HDR_RETRY_AFTER", "29"),
|
("(gint) GST_RTSP_HDR_RETRY_AFTER", "29"),
|
||||||
("GST_RTSP_HDR_RTCP_INTERVAL", "81"),
|
("(gint) GST_RTSP_HDR_RTCP_INTERVAL", "81"),
|
||||||
("GST_RTSP_HDR_RTP_INFO", "30"),
|
("(gint) GST_RTSP_HDR_RTP_INFO", "30"),
|
||||||
("GST_RTSP_HDR_SCALE", "31"),
|
("(gint) GST_RTSP_HDR_SCALE", "31"),
|
||||||
("GST_RTSP_HDR_SEEK_STYLE", "85"),
|
("(gint) GST_RTSP_HDR_SEEK_STYLE", "85"),
|
||||||
("GST_RTSP_HDR_SERVER", "33"),
|
("(gint) GST_RTSP_HDR_SERVER", "33"),
|
||||||
("GST_RTSP_HDR_SESSION", "32"),
|
("(gint) GST_RTSP_HDR_SESSION", "32"),
|
||||||
("GST_RTSP_HDR_SPEED", "34"),
|
("(gint) GST_RTSP_HDR_SPEED", "34"),
|
||||||
("GST_RTSP_HDR_SUBSCRIBE", "44"),
|
("(gint) GST_RTSP_HDR_SUBSCRIBE", "44"),
|
||||||
("GST_RTSP_HDR_SUPPORTED", "57"),
|
("(gint) GST_RTSP_HDR_SUPPORTED", "57"),
|
||||||
("GST_RTSP_HDR_TIMESTAMP", "75"),
|
("(gint) GST_RTSP_HDR_TIMESTAMP", "75"),
|
||||||
("GST_RTSP_HDR_TRANSPORT", "35"),
|
("(gint) GST_RTSP_HDR_TRANSPORT", "35"),
|
||||||
("GST_RTSP_HDR_UNSUPPORTED", "36"),
|
("(gint) GST_RTSP_HDR_UNSUPPORTED", "36"),
|
||||||
("GST_RTSP_HDR_USER_AGENT", "37"),
|
("(gint) GST_RTSP_HDR_USER_AGENT", "37"),
|
||||||
("GST_RTSP_HDR_VARY", "58"),
|
("(gint) GST_RTSP_HDR_VARY", "58"),
|
||||||
("GST_RTSP_HDR_VIA", "38"),
|
("(gint) GST_RTSP_HDR_VIA", "38"),
|
||||||
("GST_RTSP_HDR_WWW_AUTHENTICATE", "39"),
|
("(gint) GST_RTSP_HDR_WWW_AUTHENTICATE", "39"),
|
||||||
("GST_RTSP_HDR_X_ACCELERATE_STREAMING", "59"),
|
("(gint) GST_RTSP_HDR_X_ACCELERATE_STREAMING", "59"),
|
||||||
("GST_RTSP_HDR_X_ACCEPT_AUTHENT", "60"),
|
("(gint) GST_RTSP_HDR_X_ACCEPT_AUTHENT", "60"),
|
||||||
("GST_RTSP_HDR_X_ACCEPT_PROXY_AUTHENT", "61"),
|
("(gint) GST_RTSP_HDR_X_ACCEPT_PROXY_AUTHENT", "61"),
|
||||||
("GST_RTSP_HDR_X_BROADCAST_ID", "62"),
|
("(gint) GST_RTSP_HDR_X_BROADCAST_ID", "62"),
|
||||||
("GST_RTSP_HDR_X_BURST_STREAMING", "63"),
|
("(gint) GST_RTSP_HDR_X_BURST_STREAMING", "63"),
|
||||||
("GST_RTSP_HDR_X_NOTICE", "64"),
|
("(gint) GST_RTSP_HDR_X_NOTICE", "64"),
|
||||||
("GST_RTSP_HDR_X_PLAYER_LAG_TIME", "65"),
|
("(gint) GST_RTSP_HDR_X_PLAYER_LAG_TIME", "65"),
|
||||||
("GST_RTSP_HDR_X_PLAYLIST", "66"),
|
("(gint) GST_RTSP_HDR_X_PLAYLIST", "66"),
|
||||||
("GST_RTSP_HDR_X_PLAYLIST_CHANGE_NOTICE", "67"),
|
("(gint) GST_RTSP_HDR_X_PLAYLIST_CHANGE_NOTICE", "67"),
|
||||||
("GST_RTSP_HDR_X_PLAYLIST_GEN_ID", "68"),
|
("(gint) GST_RTSP_HDR_X_PLAYLIST_GEN_ID", "68"),
|
||||||
("GST_RTSP_HDR_X_PLAYLIST_SEEK_ID", "69"),
|
("(gint) GST_RTSP_HDR_X_PLAYLIST_SEEK_ID", "69"),
|
||||||
("GST_RTSP_HDR_X_PROXY_CLIENT_AGENT", "70"),
|
("(gint) GST_RTSP_HDR_X_PROXY_CLIENT_AGENT", "70"),
|
||||||
("GST_RTSP_HDR_X_PROXY_CLIENT_VERB", "71"),
|
("(gint) GST_RTSP_HDR_X_PROXY_CLIENT_VERB", "71"),
|
||||||
("GST_RTSP_HDR_X_RECEDING_PLAYLISTCHANGE", "72"),
|
("(gint) GST_RTSP_HDR_X_RECEDING_PLAYLISTCHANGE", "72"),
|
||||||
("GST_RTSP_HDR_X_RTP_INFO", "73"),
|
("(gint) GST_RTSP_HDR_X_RTP_INFO", "73"),
|
||||||
("GST_RTSP_HDR_X_SERVER_IP_ADDRESS", "79"),
|
("(gint) GST_RTSP_HDR_X_SERVER_IP_ADDRESS", "79"),
|
||||||
("GST_RTSP_HDR_X_SESSIONCOOKIE", "80"),
|
("(gint) GST_RTSP_HDR_X_SESSIONCOOKIE", "80"),
|
||||||
("GST_RTSP_HDR_X_STARTUPPROFILE", "74"),
|
("(gint) GST_RTSP_HDR_X_STARTUPPROFILE", "74"),
|
||||||
("GST_RTSP_INVALID", "0"),
|
("(guint) GST_RTSP_INVALID", "0"),
|
||||||
("GST_RTSP_LOWER_TRANS_HTTP", "16"),
|
("(guint) GST_RTSP_LOWER_TRANS_HTTP", "16"),
|
||||||
("GST_RTSP_LOWER_TRANS_TCP", "4"),
|
("(guint) GST_RTSP_LOWER_TRANS_TCP", "4"),
|
||||||
("GST_RTSP_LOWER_TRANS_TLS", "32"),
|
("(guint) GST_RTSP_LOWER_TRANS_TLS", "32"),
|
||||||
("GST_RTSP_LOWER_TRANS_UDP", "1"),
|
("(guint) GST_RTSP_LOWER_TRANS_UDP", "1"),
|
||||||
("GST_RTSP_LOWER_TRANS_UDP_MCAST", "2"),
|
("(guint) GST_RTSP_LOWER_TRANS_UDP_MCAST", "2"),
|
||||||
("GST_RTSP_LOWER_TRANS_UNKNOWN", "0"),
|
("(guint) GST_RTSP_LOWER_TRANS_UNKNOWN", "0"),
|
||||||
("GST_RTSP_MESSAGE_DATA", "5"),
|
("(gint) GST_RTSP_MESSAGE_DATA", "5"),
|
||||||
("GST_RTSP_MESSAGE_HTTP_REQUEST", "3"),
|
("(gint) GST_RTSP_MESSAGE_HTTP_REQUEST", "3"),
|
||||||
("GST_RTSP_MESSAGE_HTTP_RESPONSE", "4"),
|
("(gint) GST_RTSP_MESSAGE_HTTP_RESPONSE", "4"),
|
||||||
("GST_RTSP_MESSAGE_INVALID", "0"),
|
("(gint) GST_RTSP_MESSAGE_INVALID", "0"),
|
||||||
("GST_RTSP_MESSAGE_REQUEST", "1"),
|
("(gint) GST_RTSP_MESSAGE_REQUEST", "1"),
|
||||||
("GST_RTSP_MESSAGE_RESPONSE", "2"),
|
("(gint) GST_RTSP_MESSAGE_RESPONSE", "2"),
|
||||||
("GST_RTSP_OK", "0"),
|
("(gint) GST_RTSP_OK", "0"),
|
||||||
("GST_RTSP_OPTIONS", "8"),
|
("(guint) GST_RTSP_OPTIONS", "8"),
|
||||||
("GST_RTSP_PAUSE", "16"),
|
("(guint) GST_RTSP_PAUSE", "16"),
|
||||||
("GST_RTSP_PLAY", "32"),
|
("(guint) GST_RTSP_PLAY", "32"),
|
||||||
("GST_RTSP_POST", "4096"),
|
("(guint) GST_RTSP_POST", "4096"),
|
||||||
("GST_RTSP_PROFILE_AVP", "1"),
|
("(guint) GST_RTSP_PROFILE_AVP", "1"),
|
||||||
("GST_RTSP_PROFILE_AVPF", "4"),
|
("(guint) GST_RTSP_PROFILE_AVPF", "4"),
|
||||||
("GST_RTSP_PROFILE_SAVP", "2"),
|
("(guint) GST_RTSP_PROFILE_SAVP", "2"),
|
||||||
("GST_RTSP_PROFILE_SAVPF", "8"),
|
("(guint) GST_RTSP_PROFILE_SAVPF", "8"),
|
||||||
("GST_RTSP_PROFILE_UNKNOWN", "0"),
|
("(guint) GST_RTSP_PROFILE_UNKNOWN", "0"),
|
||||||
("GST_RTSP_RANGE_CLOCK", "4"),
|
("(gint) GST_RTSP_RANGE_CLOCK", "4"),
|
||||||
("GST_RTSP_RANGE_NPT", "3"),
|
("(gint) GST_RTSP_RANGE_NPT", "3"),
|
||||||
("GST_RTSP_RANGE_SMPTE", "0"),
|
("(gint) GST_RTSP_RANGE_SMPTE", "0"),
|
||||||
("GST_RTSP_RANGE_SMPTE_25", "2"),
|
("(gint) GST_RTSP_RANGE_SMPTE_25", "2"),
|
||||||
("GST_RTSP_RANGE_SMPTE_30_DROP", "1"),
|
("(gint) GST_RTSP_RANGE_SMPTE_30_DROP", "1"),
|
||||||
("GST_RTSP_RECORD", "64"),
|
("(guint) GST_RTSP_RECORD", "64"),
|
||||||
("GST_RTSP_REDIRECT", "128"),
|
("(guint) GST_RTSP_REDIRECT", "128"),
|
||||||
("GST_RTSP_SETUP", "256"),
|
("(guint) GST_RTSP_SETUP", "256"),
|
||||||
("GST_RTSP_SET_PARAMETER", "512"),
|
("(guint) GST_RTSP_SET_PARAMETER", "512"),
|
||||||
("GST_RTSP_STATE_INIT", "1"),
|
("(gint) GST_RTSP_STATE_INIT", "1"),
|
||||||
("GST_RTSP_STATE_INVALID", "0"),
|
("(gint) GST_RTSP_STATE_INVALID", "0"),
|
||||||
("GST_RTSP_STATE_PLAYING", "4"),
|
("(gint) GST_RTSP_STATE_PLAYING", "4"),
|
||||||
("GST_RTSP_STATE_READY", "2"),
|
("(gint) GST_RTSP_STATE_READY", "2"),
|
||||||
("GST_RTSP_STATE_RECORDING", "5"),
|
("(gint) GST_RTSP_STATE_RECORDING", "5"),
|
||||||
("GST_RTSP_STATE_SEEKING", "3"),
|
("(gint) GST_RTSP_STATE_SEEKING", "3"),
|
||||||
("GST_RTSP_STS_AGGREGATE_OPERATION_NOT_ALLOWED", "459"),
|
("(gint) GST_RTSP_STS_AGGREGATE_OPERATION_NOT_ALLOWED", "459"),
|
||||||
("GST_RTSP_STS_BAD_GATEWAY", "502"),
|
("(gint) GST_RTSP_STS_BAD_GATEWAY", "502"),
|
||||||
("GST_RTSP_STS_BAD_REQUEST", "400"),
|
("(gint) GST_RTSP_STS_BAD_REQUEST", "400"),
|
||||||
("GST_RTSP_STS_CONFERENCE_NOT_FOUND", "452"),
|
("(gint) GST_RTSP_STS_CONFERENCE_NOT_FOUND", "452"),
|
||||||
("GST_RTSP_STS_CONTINUE", "100"),
|
("(gint) GST_RTSP_STS_CONTINUE", "100"),
|
||||||
("GST_RTSP_STS_CREATED", "201"),
|
("(gint) GST_RTSP_STS_CREATED", "201"),
|
||||||
("GST_RTSP_STS_DESTINATION_UNREACHABLE", "462"),
|
("(gint) GST_RTSP_STS_DESTINATION_UNREACHABLE", "462"),
|
||||||
("GST_RTSP_STS_FORBIDDEN", "403"),
|
("(gint) GST_RTSP_STS_FORBIDDEN", "403"),
|
||||||
("GST_RTSP_STS_GATEWAY_TIMEOUT", "504"),
|
("(gint) GST_RTSP_STS_GATEWAY_TIMEOUT", "504"),
|
||||||
("GST_RTSP_STS_GONE", "410"),
|
("(gint) GST_RTSP_STS_GONE", "410"),
|
||||||
("GST_RTSP_STS_HEADER_FIELD_NOT_VALID_FOR_RESOURCE", "456"),
|
("(gint) GST_RTSP_STS_HEADER_FIELD_NOT_VALID_FOR_RESOURCE", "456"),
|
||||||
("GST_RTSP_STS_INTERNAL_SERVER_ERROR", "500"),
|
("(gint) GST_RTSP_STS_INTERNAL_SERVER_ERROR", "500"),
|
||||||
("GST_RTSP_STS_INVALID", "0"),
|
("(gint) GST_RTSP_STS_INVALID", "0"),
|
||||||
("GST_RTSP_STS_INVALID_RANGE", "457"),
|
("(gint) GST_RTSP_STS_INVALID_RANGE", "457"),
|
||||||
("GST_RTSP_STS_KEY_MANAGEMENT_FAILURE", "463"),
|
("(gint) GST_RTSP_STS_KEY_MANAGEMENT_FAILURE", "463"),
|
||||||
("GST_RTSP_STS_LENGTH_REQUIRED", "411"),
|
("(gint) GST_RTSP_STS_LENGTH_REQUIRED", "411"),
|
||||||
("GST_RTSP_STS_LOW_ON_STORAGE", "250"),
|
("(gint) GST_RTSP_STS_LOW_ON_STORAGE", "250"),
|
||||||
("GST_RTSP_STS_METHOD_NOT_ALLOWED", "405"),
|
("(gint) GST_RTSP_STS_METHOD_NOT_ALLOWED", "405"),
|
||||||
("GST_RTSP_STS_METHOD_NOT_VALID_IN_THIS_STATE", "455"),
|
("(gint) GST_RTSP_STS_METHOD_NOT_VALID_IN_THIS_STATE", "455"),
|
||||||
("GST_RTSP_STS_MOVED_PERMANENTLY", "301"),
|
("(gint) GST_RTSP_STS_MOVED_PERMANENTLY", "301"),
|
||||||
("GST_RTSP_STS_MOVE_TEMPORARILY", "302"),
|
("(gint) GST_RTSP_STS_MOVE_TEMPORARILY", "302"),
|
||||||
("GST_RTSP_STS_MULTIPLE_CHOICES", "300"),
|
("(gint) GST_RTSP_STS_MULTIPLE_CHOICES", "300"),
|
||||||
("GST_RTSP_STS_NOT_ACCEPTABLE", "406"),
|
("(gint) GST_RTSP_STS_NOT_ACCEPTABLE", "406"),
|
||||||
("GST_RTSP_STS_NOT_ENOUGH_BANDWIDTH", "453"),
|
("(gint) GST_RTSP_STS_NOT_ENOUGH_BANDWIDTH", "453"),
|
||||||
("GST_RTSP_STS_NOT_FOUND", "404"),
|
("(gint) GST_RTSP_STS_NOT_FOUND", "404"),
|
||||||
("GST_RTSP_STS_NOT_IMPLEMENTED", "501"),
|
("(gint) GST_RTSP_STS_NOT_IMPLEMENTED", "501"),
|
||||||
("GST_RTSP_STS_NOT_MODIFIED", "304"),
|
("(gint) GST_RTSP_STS_NOT_MODIFIED", "304"),
|
||||||
("GST_RTSP_STS_OK", "200"),
|
("(gint) GST_RTSP_STS_OK", "200"),
|
||||||
("GST_RTSP_STS_ONLY_AGGREGATE_OPERATION_ALLOWED", "460"),
|
("(gint) GST_RTSP_STS_ONLY_AGGREGATE_OPERATION_ALLOWED", "460"),
|
||||||
("GST_RTSP_STS_OPTION_NOT_SUPPORTED", "551"),
|
("(gint) GST_RTSP_STS_OPTION_NOT_SUPPORTED", "551"),
|
||||||
("GST_RTSP_STS_PARAMETER_IS_READONLY", "458"),
|
("(gint) GST_RTSP_STS_PARAMETER_IS_READONLY", "458"),
|
||||||
("GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD", "451"),
|
("(gint) GST_RTSP_STS_PARAMETER_NOT_UNDERSTOOD", "451"),
|
||||||
("GST_RTSP_STS_PAYMENT_REQUIRED", "402"),
|
("(gint) GST_RTSP_STS_PAYMENT_REQUIRED", "402"),
|
||||||
("GST_RTSP_STS_PRECONDITION_FAILED", "412"),
|
("(gint) GST_RTSP_STS_PRECONDITION_FAILED", "412"),
|
||||||
("GST_RTSP_STS_PROXY_AUTH_REQUIRED", "407"),
|
("(gint) GST_RTSP_STS_PROXY_AUTH_REQUIRED", "407"),
|
||||||
("GST_RTSP_STS_REQUEST_ENTITY_TOO_LARGE", "413"),
|
("(gint) GST_RTSP_STS_REQUEST_ENTITY_TOO_LARGE", "413"),
|
||||||
("GST_RTSP_STS_REQUEST_TIMEOUT", "408"),
|
("(gint) GST_RTSP_STS_REQUEST_TIMEOUT", "408"),
|
||||||
("GST_RTSP_STS_REQUEST_URI_TOO_LARGE", "414"),
|
("(gint) GST_RTSP_STS_REQUEST_URI_TOO_LARGE", "414"),
|
||||||
("GST_RTSP_STS_RTSP_VERSION_NOT_SUPPORTED", "505"),
|
("(gint) GST_RTSP_STS_RTSP_VERSION_NOT_SUPPORTED", "505"),
|
||||||
("GST_RTSP_STS_SEE_OTHER", "303"),
|
("(gint) GST_RTSP_STS_SEE_OTHER", "303"),
|
||||||
("GST_RTSP_STS_SERVICE_UNAVAILABLE", "503"),
|
("(gint) GST_RTSP_STS_SERVICE_UNAVAILABLE", "503"),
|
||||||
("GST_RTSP_STS_SESSION_NOT_FOUND", "454"),
|
("(gint) GST_RTSP_STS_SESSION_NOT_FOUND", "454"),
|
||||||
("GST_RTSP_STS_UNAUTHORIZED", "401"),
|
("(gint) GST_RTSP_STS_UNAUTHORIZED", "401"),
|
||||||
("GST_RTSP_STS_UNSUPPORTED_MEDIA_TYPE", "415"),
|
("(gint) GST_RTSP_STS_UNSUPPORTED_MEDIA_TYPE", "415"),
|
||||||
("GST_RTSP_STS_UNSUPPORTED_TRANSPORT", "461"),
|
("(gint) GST_RTSP_STS_UNSUPPORTED_TRANSPORT", "461"),
|
||||||
("GST_RTSP_STS_USE_PROXY", "305"),
|
("(gint) GST_RTSP_STS_USE_PROXY", "305"),
|
||||||
("GST_RTSP_TEARDOWN", "1024"),
|
("(guint) GST_RTSP_TEARDOWN", "1024"),
|
||||||
("GST_RTSP_TIME_END", "2"),
|
("(gint) GST_RTSP_TIME_END", "2"),
|
||||||
("GST_RTSP_TIME_FRAMES", "3"),
|
("(gint) GST_RTSP_TIME_FRAMES", "3"),
|
||||||
("GST_RTSP_TIME_NOW", "1"),
|
("(gint) GST_RTSP_TIME_NOW", "1"),
|
||||||
("GST_RTSP_TIME_SECONDS", "0"),
|
("(gint) GST_RTSP_TIME_SECONDS", "0"),
|
||||||
("GST_RTSP_TIME_UTC", "4"),
|
("(gint) GST_RTSP_TIME_UTC", "4"),
|
||||||
("GST_RTSP_TRANS_RDT", "2"),
|
("(guint) GST_RTSP_TRANS_RDT", "2"),
|
||||||
("GST_RTSP_TRANS_RTP", "1"),
|
("(guint) GST_RTSP_TRANS_RTP", "1"),
|
||||||
("GST_RTSP_TRANS_UNKNOWN", "0"),
|
("(guint) GST_RTSP_TRANS_UNKNOWN", "0"),
|
||||||
("GST_RTSP_VERSION_1_0", "16"),
|
("(gint) GST_RTSP_VERSION_1_0", "16"),
|
||||||
("GST_RTSP_VERSION_1_1", "17"),
|
("(gint) GST_RTSP_VERSION_1_1", "17"),
|
||||||
("GST_RTSP_VERSION_2_0", "32"),
|
("(gint) GST_RTSP_VERSION_2_0", "32"),
|
||||||
("GST_RTSP_VERSION_INVALID", "0"),
|
("(gint) GST_RTSP_VERSION_INVALID", "0"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -266,61 +273,61 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_MIKEY_CACHE_ALWAYS", "1"),
|
("(gint) GST_MIKEY_CACHE_ALWAYS", "1"),
|
||||||
("GST_MIKEY_CACHE_FOR_CSB", "2"),
|
("(gint) GST_MIKEY_CACHE_FOR_CSB", "2"),
|
||||||
("GST_MIKEY_CACHE_NONE", "0"),
|
("(gint) GST_MIKEY_CACHE_NONE", "0"),
|
||||||
("GST_MIKEY_ENC_AES_CM_128", "1"),
|
("(gint) GST_MIKEY_ENC_AES_CM_128", "1"),
|
||||||
("GST_MIKEY_ENC_AES_KW_128", "2"),
|
("(gint) GST_MIKEY_ENC_AES_KW_128", "2"),
|
||||||
("GST_MIKEY_ENC_NULL", "0"),
|
("(gint) GST_MIKEY_ENC_NULL", "0"),
|
||||||
("GST_MIKEY_KD_TEK", "2"),
|
("(gint) GST_MIKEY_KD_TEK", "2"),
|
||||||
("GST_MIKEY_KD_TGK", "0"),
|
("(gint) GST_MIKEY_KD_TGK", "0"),
|
||||||
("GST_MIKEY_KV_INTERVAL", "2"),
|
("(gint) GST_MIKEY_KV_INTERVAL", "2"),
|
||||||
("GST_MIKEY_KV_NULL", "0"),
|
("(gint) GST_MIKEY_KV_NULL", "0"),
|
||||||
("GST_MIKEY_KV_SPI", "1"),
|
("(gint) GST_MIKEY_KV_SPI", "1"),
|
||||||
("GST_MIKEY_MAC_HMAC_SHA_1_160", "1"),
|
("(gint) GST_MIKEY_MAC_HMAC_SHA_1_160", "1"),
|
||||||
("GST_MIKEY_MAC_NULL", "0"),
|
("(gint) GST_MIKEY_MAC_NULL", "0"),
|
||||||
("GST_MIKEY_MAP_TYPE_SRTP", "0"),
|
("(gint) GST_MIKEY_MAP_TYPE_SRTP", "0"),
|
||||||
("GST_MIKEY_PRF_MIKEY_1", "0"),
|
("(gint) GST_MIKEY_PRF_MIKEY_1", "0"),
|
||||||
("GST_MIKEY_PT_CERT", "7"),
|
("(gint) GST_MIKEY_PT_CERT", "7"),
|
||||||
("GST_MIKEY_PT_CHASH", "8"),
|
("(gint) GST_MIKEY_PT_CHASH", "8"),
|
||||||
("GST_MIKEY_PT_DH", "3"),
|
("(gint) GST_MIKEY_PT_DH", "3"),
|
||||||
("GST_MIKEY_PT_ERR", "12"),
|
("(gint) GST_MIKEY_PT_ERR", "12"),
|
||||||
("GST_MIKEY_PT_GEN_EXT", "21"),
|
("(gint) GST_MIKEY_PT_GEN_EXT", "21"),
|
||||||
("GST_MIKEY_PT_ID", "6"),
|
("(gint) GST_MIKEY_PT_ID", "6"),
|
||||||
("GST_MIKEY_PT_KEMAC", "1"),
|
("(gint) GST_MIKEY_PT_KEMAC", "1"),
|
||||||
("GST_MIKEY_PT_KEY_DATA", "20"),
|
("(gint) GST_MIKEY_PT_KEY_DATA", "20"),
|
||||||
("GST_MIKEY_PT_LAST", "0"),
|
("(gint) GST_MIKEY_PT_LAST", "0"),
|
||||||
("GST_MIKEY_PT_PKE", "2"),
|
("(gint) GST_MIKEY_PT_PKE", "2"),
|
||||||
("GST_MIKEY_PT_RAND", "11"),
|
("(gint) GST_MIKEY_PT_RAND", "11"),
|
||||||
("GST_MIKEY_PT_SIGN", "4"),
|
("(gint) GST_MIKEY_PT_SIGN", "4"),
|
||||||
("GST_MIKEY_PT_SP", "10"),
|
("(gint) GST_MIKEY_PT_SP", "10"),
|
||||||
("GST_MIKEY_PT_T", "5"),
|
("(gint) GST_MIKEY_PT_T", "5"),
|
||||||
("GST_MIKEY_PT_V", "9"),
|
("(gint) GST_MIKEY_PT_V", "9"),
|
||||||
("GST_MIKEY_SEC_PROTO_SRTP", "0"),
|
("(gint) GST_MIKEY_SEC_PROTO_SRTP", "0"),
|
||||||
("GST_MIKEY_SP_SRTP_AUTH_ALG", "2"),
|
("(gint) GST_MIKEY_SP_SRTP_AUTH_ALG", "2"),
|
||||||
("GST_MIKEY_SP_SRTP_AUTH_KEY_LEN", "3"),
|
("(gint) GST_MIKEY_SP_SRTP_AUTH_KEY_LEN", "3"),
|
||||||
("GST_MIKEY_SP_SRTP_AUTH_TAG_LEN", "11"),
|
("(gint) GST_MIKEY_SP_SRTP_AUTH_TAG_LEN", "11"),
|
||||||
("GST_MIKEY_SP_SRTP_ENC_ALG", "0"),
|
("(gint) GST_MIKEY_SP_SRTP_ENC_ALG", "0"),
|
||||||
("GST_MIKEY_SP_SRTP_ENC_KEY_LEN", "1"),
|
("(gint) GST_MIKEY_SP_SRTP_ENC_KEY_LEN", "1"),
|
||||||
("GST_MIKEY_SP_SRTP_FEC_ORDER", "9"),
|
("(gint) GST_MIKEY_SP_SRTP_FEC_ORDER", "9"),
|
||||||
("GST_MIKEY_SP_SRTP_KEY_DERIV_RATE", "6"),
|
("(gint) GST_MIKEY_SP_SRTP_KEY_DERIV_RATE", "6"),
|
||||||
("GST_MIKEY_SP_SRTP_PRF", "5"),
|
("(gint) GST_MIKEY_SP_SRTP_PRF", "5"),
|
||||||
("GST_MIKEY_SP_SRTP_SALT_KEY_LEN", "4"),
|
("(gint) GST_MIKEY_SP_SRTP_SALT_KEY_LEN", "4"),
|
||||||
("GST_MIKEY_SP_SRTP_SRTCP_ENC", "8"),
|
("(gint) GST_MIKEY_SP_SRTP_SRTCP_ENC", "8"),
|
||||||
("GST_MIKEY_SP_SRTP_SRTP_AUTH", "10"),
|
("(gint) GST_MIKEY_SP_SRTP_SRTP_AUTH", "10"),
|
||||||
("GST_MIKEY_SP_SRTP_SRTP_ENC", "7"),
|
("(gint) GST_MIKEY_SP_SRTP_SRTP_ENC", "7"),
|
||||||
("GST_MIKEY_SP_SRTP_SRTP_PREFIX_LEN", "12"),
|
("(gint) GST_MIKEY_SP_SRTP_SRTP_PREFIX_LEN", "12"),
|
||||||
("GST_MIKEY_TS_TYPE_COUNTER", "2"),
|
("(gint) GST_MIKEY_TS_TYPE_COUNTER", "2"),
|
||||||
("GST_MIKEY_TS_TYPE_NTP", "1"),
|
("(gint) GST_MIKEY_TS_TYPE_NTP", "1"),
|
||||||
("GST_MIKEY_TS_TYPE_NTP_UTC", "0"),
|
("(gint) GST_MIKEY_TS_TYPE_NTP_UTC", "0"),
|
||||||
("GST_MIKEY_TYPE_DH_INIT", "4"),
|
("(gint) GST_MIKEY_TYPE_DH_INIT", "4"),
|
||||||
("GST_MIKEY_TYPE_DH_RESP", "5"),
|
("(gint) GST_MIKEY_TYPE_DH_RESP", "5"),
|
||||||
("GST_MIKEY_TYPE_ERROR", "6"),
|
("(gint) GST_MIKEY_TYPE_ERROR", "6"),
|
||||||
("GST_MIKEY_TYPE_INVALID", "-1"),
|
("(gint) GST_MIKEY_TYPE_INVALID", "-1"),
|
||||||
("GST_MIKEY_TYPE_PK_INIT", "2"),
|
("(gint) GST_MIKEY_TYPE_PK_INIT", "2"),
|
||||||
("GST_MIKEY_TYPE_PK_VERIFY", "3"),
|
("(gint) GST_MIKEY_TYPE_PK_VERIFY", "3"),
|
||||||
("GST_MIKEY_TYPE_PSK_INIT", "0"),
|
("(gint) GST_MIKEY_TYPE_PSK_INIT", "0"),
|
||||||
("GST_MIKEY_TYPE_PSK_VERIFY", "1"),
|
("(gint) GST_MIKEY_TYPE_PSK_VERIFY", "1"),
|
||||||
("GST_MIKEY_VERSION", "1"),
|
("GST_MIKEY_VERSION", "1"),
|
||||||
("GST_SDP_BWTYPE_AS", "AS"),
|
("GST_SDP_BWTYPE_AS", "AS"),
|
||||||
("GST_SDP_BWTYPE_CT", "CT"),
|
("GST_SDP_BWTYPE_CT", "CT"),
|
||||||
|
@ -328,8 +335,8 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_SDP_BWTYPE_RR", "RR"),
|
("GST_SDP_BWTYPE_RR", "RR"),
|
||||||
("GST_SDP_BWTYPE_RS", "RS"),
|
("GST_SDP_BWTYPE_RS", "RS"),
|
||||||
("GST_SDP_BWTYPE_TIAS", "TIAS"),
|
("GST_SDP_BWTYPE_TIAS", "TIAS"),
|
||||||
("GST_SDP_EINVAL", "-1"),
|
("(gint) GST_SDP_EINVAL", "-1"),
|
||||||
("GST_SDP_OK", "0"),
|
("(gint) GST_SDP_OK", "0"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -468,13 +468,11 @@ pub const GST_ELEMENT_METADATA_DOC_URI: *const c_char = b"doc-uri\0" as *const u
|
||||||
pub const GST_ELEMENT_METADATA_ICON_NAME: *const c_char = b"icon-name\0" as *const u8 as *const c_char;
|
pub const GST_ELEMENT_METADATA_ICON_NAME: *const c_char = b"icon-name\0" as *const u8 as *const c_char;
|
||||||
pub const GST_ELEMENT_METADATA_KLASS: *const c_char = b"klass\0" as *const u8 as *const c_char;
|
pub const GST_ELEMENT_METADATA_KLASS: *const c_char = b"klass\0" as *const u8 as *const c_char;
|
||||||
pub const GST_ELEMENT_METADATA_LONGNAME: *const c_char = b"long-name\0" as *const u8 as *const c_char;
|
pub const GST_ELEMENT_METADATA_LONGNAME: *const c_char = b"long-name\0" as *const u8 as *const c_char;
|
||||||
pub const GST_ERROR_SYSTEM: *const c_char = b"system error: %s\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_EVENT_NUM_SHIFT: c_int = 8;
|
pub const GST_EVENT_NUM_SHIFT: c_int = 8;
|
||||||
pub const GST_EVENT_TYPE_BOTH: GstEventTypeFlags = 3;
|
pub const GST_EVENT_TYPE_BOTH: GstEventTypeFlags = 3;
|
||||||
pub const GST_FLAG_SET_MASK_EXACT: c_uint = 4294967295;
|
pub const GST_FLAG_SET_MASK_EXACT: c_uint = 4294967295;
|
||||||
pub const GST_FORMAT_PERCENT_MAX: i64 = 1000000;
|
pub const GST_FORMAT_PERCENT_MAX: i64 = 1000000;
|
||||||
pub const GST_FORMAT_PERCENT_SCALE: i64 = 10000;
|
pub const GST_FORMAT_PERCENT_SCALE: i64 = 10000;
|
||||||
pub const GST_FOURCC_FORMAT: *const c_char = b"c%c%c%c\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_GROUP_ID_INVALID: c_int = 0;
|
pub const GST_GROUP_ID_INVALID: c_int = 0;
|
||||||
pub const GST_LICENSE_UNKNOWN: *const c_char = b"unknown\0" as *const u8 as *const c_char;
|
pub const GST_LICENSE_UNKNOWN: *const c_char = b"unknown\0" as *const u8 as *const c_char;
|
||||||
pub const GST_LOCK_FLAG_READWRITE: GstLockFlags = 3;
|
pub const GST_LOCK_FLAG_READWRITE: GstLockFlags = 3;
|
||||||
|
@ -488,13 +486,10 @@ pub const GST_PARAM_MUTABLE_PLAYING: c_int = 4096;
|
||||||
pub const GST_PARAM_MUTABLE_READY: c_int = 1024;
|
pub const GST_PARAM_MUTABLE_READY: c_int = 1024;
|
||||||
pub const GST_PARAM_USER_SHIFT: c_int = 65536;
|
pub const GST_PARAM_USER_SHIFT: c_int = 65536;
|
||||||
pub const GST_PROTECTION_SYSTEM_ID_CAPS_FIELD: *const c_char = b"protection-system\0" as *const u8 as *const c_char;
|
pub const GST_PROTECTION_SYSTEM_ID_CAPS_FIELD: *const c_char = b"protection-system\0" as *const u8 as *const c_char;
|
||||||
pub const GST_PTR_FORMAT: *const c_char = b"paA\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_QUERY_NUM_SHIFT: c_int = 8;
|
pub const GST_QUERY_NUM_SHIFT: c_int = 8;
|
||||||
pub const GST_QUERY_TYPE_BOTH: GstQueryTypeFlags = 3;
|
pub const GST_QUERY_TYPE_BOTH: GstQueryTypeFlags = 3;
|
||||||
pub const GST_SECOND: GstClockTimeDiff = 1000000000;
|
pub const GST_SECOND: GstClockTimeDiff = 1000000000;
|
||||||
pub const GST_SEGMENT_FORMAT: *const c_char = b"paB\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_SEQNUM_INVALID: c_int = 0;
|
pub const GST_SEQNUM_INVALID: c_int = 0;
|
||||||
pub const GST_STIME_FORMAT: *const c_char = b"c%\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_TAG_ALBUM: *const c_char = b"album\0" as *const u8 as *const c_char;
|
pub const GST_TAG_ALBUM: *const c_char = b"album\0" as *const u8 as *const c_char;
|
||||||
pub const GST_TAG_ALBUM_ARTIST: *const c_char = b"album-artist\0" as *const u8 as *const c_char;
|
pub const GST_TAG_ALBUM_ARTIST: *const c_char = b"album-artist\0" as *const u8 as *const c_char;
|
||||||
pub const GST_TAG_ALBUM_ARTIST_SORTNAME: *const c_char = b"album-artist-sortname\0" as *const u8 as *const c_char;
|
pub const GST_TAG_ALBUM_ARTIST_SORTNAME: *const c_char = b"album-artist-sortname\0" as *const u8 as *const c_char;
|
||||||
|
@ -580,7 +575,6 @@ pub const GST_TAG_TRACK_PEAK: *const c_char = b"replaygain-track-peak\0" as *con
|
||||||
pub const GST_TAG_USER_RATING: *const c_char = b"user-rating\0" as *const u8 as *const c_char;
|
pub const GST_TAG_USER_RATING: *const c_char = b"user-rating\0" as *const u8 as *const c_char;
|
||||||
pub const GST_TAG_VERSION: *const c_char = b"version\0" as *const u8 as *const c_char;
|
pub const GST_TAG_VERSION: *const c_char = b"version\0" as *const u8 as *const c_char;
|
||||||
pub const GST_TAG_VIDEO_CODEC: *const c_char = b"video-codec\0" as *const u8 as *const c_char;
|
pub const GST_TAG_VIDEO_CODEC: *const c_char = b"video-codec\0" as *const u8 as *const c_char;
|
||||||
pub const GST_TIME_FORMAT: *const c_char = b"u:%02u:%02u.%09u\0" as *const u8 as *const c_char;
|
|
||||||
pub const GST_TOC_REPEAT_COUNT_INFINITE: c_int = -1;
|
pub const GST_TOC_REPEAT_COUNT_INFINITE: c_int = -1;
|
||||||
pub const GST_URI_NO_PORT: c_int = 0;
|
pub const GST_URI_NO_PORT: c_int = 0;
|
||||||
pub const GST_USECOND: GstClockTimeDiff = 1000;
|
pub const GST_USECOND: GstClockTimeDiff = 1000;
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -268,46 +275,46 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_TAG_CMML_CLIP", "cmml-clip"),
|
("GST_TAG_CMML_CLIP", "cmml-clip"),
|
||||||
("GST_TAG_CMML_HEAD", "cmml-head"),
|
("GST_TAG_CMML_HEAD", "cmml-head"),
|
||||||
("GST_TAG_CMML_STREAM", "cmml-stream"),
|
("GST_TAG_CMML_STREAM", "cmml-stream"),
|
||||||
("GST_TAG_DEMUX_RESULT_AGAIN", "1"),
|
("(gint) GST_TAG_DEMUX_RESULT_AGAIN", "1"),
|
||||||
("GST_TAG_DEMUX_RESULT_BROKEN_TAG", "0"),
|
("(gint) GST_TAG_DEMUX_RESULT_BROKEN_TAG", "0"),
|
||||||
("GST_TAG_DEMUX_RESULT_OK", "2"),
|
("(gint) GST_TAG_DEMUX_RESULT_OK", "2"),
|
||||||
("GST_TAG_ID3V2_HEADER_SIZE", "10"),
|
("GST_TAG_ID3V2_HEADER_SIZE", "10"),
|
||||||
("GST_TAG_IMAGE_HORIZONTAL_PPI", "image-horizontal-ppi"),
|
("GST_TAG_IMAGE_HORIZONTAL_PPI", "image-horizontal-ppi"),
|
||||||
("GST_TAG_IMAGE_TYPE_ARTIST", "6"),
|
("(gint) GST_TAG_IMAGE_TYPE_ARTIST", "6"),
|
||||||
("GST_TAG_IMAGE_TYPE_BACK_COVER", "2"),
|
("(gint) GST_TAG_IMAGE_TYPE_BACK_COVER", "2"),
|
||||||
("GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO", "17"),
|
("(gint) GST_TAG_IMAGE_TYPE_BAND_ARTIST_LOGO", "17"),
|
||||||
("GST_TAG_IMAGE_TYPE_BAND_ORCHESTRA", "8"),
|
("(gint) GST_TAG_IMAGE_TYPE_BAND_ORCHESTRA", "8"),
|
||||||
("GST_TAG_IMAGE_TYPE_COMPOSER", "9"),
|
("(gint) GST_TAG_IMAGE_TYPE_COMPOSER", "9"),
|
||||||
("GST_TAG_IMAGE_TYPE_CONDUCTOR", "7"),
|
("(gint) GST_TAG_IMAGE_TYPE_CONDUCTOR", "7"),
|
||||||
("GST_TAG_IMAGE_TYPE_DURING_PERFORMANCE", "13"),
|
("(gint) GST_TAG_IMAGE_TYPE_DURING_PERFORMANCE", "13"),
|
||||||
("GST_TAG_IMAGE_TYPE_DURING_RECORDING", "12"),
|
("(gint) GST_TAG_IMAGE_TYPE_DURING_RECORDING", "12"),
|
||||||
("GST_TAG_IMAGE_TYPE_FISH", "15"),
|
("(gint) GST_TAG_IMAGE_TYPE_FISH", "15"),
|
||||||
("GST_TAG_IMAGE_TYPE_FRONT_COVER", "1"),
|
("(gint) GST_TAG_IMAGE_TYPE_FRONT_COVER", "1"),
|
||||||
("GST_TAG_IMAGE_TYPE_ILLUSTRATION", "16"),
|
("(gint) GST_TAG_IMAGE_TYPE_ILLUSTRATION", "16"),
|
||||||
("GST_TAG_IMAGE_TYPE_LEAD_ARTIST", "5"),
|
("(gint) GST_TAG_IMAGE_TYPE_LEAD_ARTIST", "5"),
|
||||||
("GST_TAG_IMAGE_TYPE_LEAFLET_PAGE", "3"),
|
("(gint) GST_TAG_IMAGE_TYPE_LEAFLET_PAGE", "3"),
|
||||||
("GST_TAG_IMAGE_TYPE_LYRICIST", "10"),
|
("(gint) GST_TAG_IMAGE_TYPE_LYRICIST", "10"),
|
||||||
("GST_TAG_IMAGE_TYPE_MEDIUM", "4"),
|
("(gint) GST_TAG_IMAGE_TYPE_MEDIUM", "4"),
|
||||||
("GST_TAG_IMAGE_TYPE_NONE", "-1"),
|
("(gint) GST_TAG_IMAGE_TYPE_NONE", "-1"),
|
||||||
("GST_TAG_IMAGE_TYPE_PUBLISHER_STUDIO_LOGO", "18"),
|
("(gint) GST_TAG_IMAGE_TYPE_PUBLISHER_STUDIO_LOGO", "18"),
|
||||||
("GST_TAG_IMAGE_TYPE_RECORDING_LOCATION", "11"),
|
("(gint) GST_TAG_IMAGE_TYPE_RECORDING_LOCATION", "11"),
|
||||||
("GST_TAG_IMAGE_TYPE_UNDEFINED", "0"),
|
("(gint) GST_TAG_IMAGE_TYPE_UNDEFINED", "0"),
|
||||||
("GST_TAG_IMAGE_TYPE_VIDEO_CAPTURE", "14"),
|
("(gint) GST_TAG_IMAGE_TYPE_VIDEO_CAPTURE", "14"),
|
||||||
("GST_TAG_IMAGE_VERTICAL_PPI", "image-vertical-ppi"),
|
("GST_TAG_IMAGE_VERTICAL_PPI", "image-vertical-ppi"),
|
||||||
("GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE", "16777216"),
|
("(guint) GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE", "16777216"),
|
||||||
("GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE", "33554432"),
|
("(guint) GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE", "33554432"),
|
||||||
("GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS", "4"),
|
("(guint) GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS", "4"),
|
||||||
("GST_TAG_LICENSE_PERMITS_DISTRIBUTION", "2"),
|
("(guint) GST_TAG_LICENSE_PERMITS_DISTRIBUTION", "2"),
|
||||||
("GST_TAG_LICENSE_PERMITS_REPRODUCTION", "1"),
|
("(guint) GST_TAG_LICENSE_PERMITS_REPRODUCTION", "1"),
|
||||||
("GST_TAG_LICENSE_PERMITS_SHARING", "8"),
|
("(guint) GST_TAG_LICENSE_PERMITS_SHARING", "8"),
|
||||||
("GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE", "65536"),
|
("(guint) GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE", "65536"),
|
||||||
("GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE", "131072"),
|
("(guint) GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE", "131072"),
|
||||||
("GST_TAG_LICENSE_REQUIRES_ATTRIBUTION", "512"),
|
("(guint) GST_TAG_LICENSE_REQUIRES_ATTRIBUTION", "512"),
|
||||||
("GST_TAG_LICENSE_REQUIRES_COPYLEFT", "4096"),
|
("(guint) GST_TAG_LICENSE_REQUIRES_COPYLEFT", "4096"),
|
||||||
("GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT", "8192"),
|
("(guint) GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT", "8192"),
|
||||||
("GST_TAG_LICENSE_REQUIRES_NOTICE", "256"),
|
("(guint) GST_TAG_LICENSE_REQUIRES_NOTICE", "256"),
|
||||||
("GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE", "1024"),
|
("(guint) GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE", "1024"),
|
||||||
("GST_TAG_LICENSE_REQUIRES_SOURCE_CODE", "2048"),
|
("(guint) GST_TAG_LICENSE_REQUIRES_SOURCE_CODE", "2048"),
|
||||||
("GST_TAG_MUSICAL_KEY", "musical-key"),
|
("GST_TAG_MUSICAL_KEY", "musical-key"),
|
||||||
("GST_TAG_MUSICBRAINZ_ALBUMARTISTID", "musicbrainz-albumartistid"),
|
("GST_TAG_MUSICBRAINZ_ALBUMARTISTID", "musicbrainz-albumartistid"),
|
||||||
("GST_TAG_MUSICBRAINZ_ALBUMID", "musicbrainz-albumid"),
|
("GST_TAG_MUSICBRAINZ_ALBUMID", "musicbrainz-albumid"),
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -322,97 +329,97 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META", "meta:GstVideoGLTextureUploadMeta"),
|
("GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META", "meta:GstVideoGLTextureUploadMeta"),
|
||||||
("GST_CAPS_FEATURE_META_GST_VIDEO_META", "meta:GstVideoMeta"),
|
("GST_CAPS_FEATURE_META_GST_VIDEO_META", "meta:GstVideoMeta"),
|
||||||
("GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION", "meta:GstVideoOverlayComposition"),
|
("GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION", "meta:GstVideoOverlayComposition"),
|
||||||
("GST_COLOR_BALANCE_HARDWARE", "0"),
|
("(gint) GST_COLOR_BALANCE_HARDWARE", "0"),
|
||||||
("GST_COLOR_BALANCE_SOFTWARE", "1"),
|
("(gint) GST_COLOR_BALANCE_SOFTWARE", "1"),
|
||||||
("GST_META_TAG_VIDEO_COLORSPACE_STR", "colorspace"),
|
("GST_META_TAG_VIDEO_COLORSPACE_STR", "colorspace"),
|
||||||
("GST_META_TAG_VIDEO_ORIENTATION_STR", "orientation"),
|
("GST_META_TAG_VIDEO_ORIENTATION_STR", "orientation"),
|
||||||
("GST_META_TAG_VIDEO_SIZE_STR", "size"),
|
("GST_META_TAG_VIDEO_SIZE_STR", "size"),
|
||||||
("GST_META_TAG_VIDEO_STR", "video"),
|
("GST_META_TAG_VIDEO_STR", "video"),
|
||||||
("GST_NAVIGATION_COMMAND_ACTIVATE", "24"),
|
("(gint) GST_NAVIGATION_COMMAND_ACTIVATE", "24"),
|
||||||
("GST_NAVIGATION_COMMAND_DOWN", "23"),
|
("(gint) GST_NAVIGATION_COMMAND_DOWN", "23"),
|
||||||
("GST_NAVIGATION_COMMAND_INVALID", "0"),
|
("(gint) GST_NAVIGATION_COMMAND_INVALID", "0"),
|
||||||
("GST_NAVIGATION_COMMAND_LEFT", "20"),
|
("(gint) GST_NAVIGATION_COMMAND_LEFT", "20"),
|
||||||
("GST_NAVIGATION_COMMAND_MENU1", "1"),
|
("(gint) GST_NAVIGATION_COMMAND_MENU1", "1"),
|
||||||
("GST_NAVIGATION_COMMAND_MENU2", "2"),
|
("(gint) GST_NAVIGATION_COMMAND_MENU2", "2"),
|
||||||
("GST_NAVIGATION_COMMAND_MENU3", "3"),
|
("(gint) GST_NAVIGATION_COMMAND_MENU3", "3"),
|
||||||
("GST_NAVIGATION_COMMAND_MENU4", "4"),
|
("(gint) GST_NAVIGATION_COMMAND_MENU4", "4"),
|
||||||
("GST_NAVIGATION_COMMAND_MENU5", "5"),
|
("(gint) GST_NAVIGATION_COMMAND_MENU5", "5"),
|
||||||
("GST_NAVIGATION_COMMAND_MENU6", "6"),
|
("(gint) GST_NAVIGATION_COMMAND_MENU6", "6"),
|
||||||
("GST_NAVIGATION_COMMAND_MENU7", "7"),
|
("(gint) GST_NAVIGATION_COMMAND_MENU7", "7"),
|
||||||
("GST_NAVIGATION_COMMAND_NEXT_ANGLE", "31"),
|
("(gint) GST_NAVIGATION_COMMAND_NEXT_ANGLE", "31"),
|
||||||
("GST_NAVIGATION_COMMAND_PREV_ANGLE", "30"),
|
("(gint) GST_NAVIGATION_COMMAND_PREV_ANGLE", "30"),
|
||||||
("GST_NAVIGATION_COMMAND_RIGHT", "21"),
|
("(gint) GST_NAVIGATION_COMMAND_RIGHT", "21"),
|
||||||
("GST_NAVIGATION_COMMAND_UP", "22"),
|
("(gint) GST_NAVIGATION_COMMAND_UP", "22"),
|
||||||
("GST_NAVIGATION_EVENT_COMMAND", "6"),
|
("(gint) GST_NAVIGATION_EVENT_COMMAND", "6"),
|
||||||
("GST_NAVIGATION_EVENT_INVALID", "0"),
|
("(gint) GST_NAVIGATION_EVENT_INVALID", "0"),
|
||||||
("GST_NAVIGATION_EVENT_KEY_PRESS", "1"),
|
("(gint) GST_NAVIGATION_EVENT_KEY_PRESS", "1"),
|
||||||
("GST_NAVIGATION_EVENT_KEY_RELEASE", "2"),
|
("(gint) GST_NAVIGATION_EVENT_KEY_RELEASE", "2"),
|
||||||
("GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS", "3"),
|
("(gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_PRESS", "3"),
|
||||||
("GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE", "4"),
|
("(gint) GST_NAVIGATION_EVENT_MOUSE_BUTTON_RELEASE", "4"),
|
||||||
("GST_NAVIGATION_EVENT_MOUSE_MOVE", "5"),
|
("(gint) GST_NAVIGATION_EVENT_MOUSE_MOVE", "5"),
|
||||||
("GST_NAVIGATION_MESSAGE_ANGLES_CHANGED", "3"),
|
("(gint) GST_NAVIGATION_MESSAGE_ANGLES_CHANGED", "3"),
|
||||||
("GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED", "2"),
|
("(gint) GST_NAVIGATION_MESSAGE_COMMANDS_CHANGED", "2"),
|
||||||
("GST_NAVIGATION_MESSAGE_EVENT", "4"),
|
("(gint) GST_NAVIGATION_MESSAGE_EVENT", "4"),
|
||||||
("GST_NAVIGATION_MESSAGE_INVALID", "0"),
|
("(gint) GST_NAVIGATION_MESSAGE_INVALID", "0"),
|
||||||
("GST_NAVIGATION_MESSAGE_MOUSE_OVER", "1"),
|
("(gint) GST_NAVIGATION_MESSAGE_MOUSE_OVER", "1"),
|
||||||
("GST_NAVIGATION_QUERY_ANGLES", "2"),
|
("(gint) GST_NAVIGATION_QUERY_ANGLES", "2"),
|
||||||
("GST_NAVIGATION_QUERY_COMMANDS", "1"),
|
("(gint) GST_NAVIGATION_QUERY_COMMANDS", "1"),
|
||||||
("GST_NAVIGATION_QUERY_INVALID", "0"),
|
("(gint) GST_NAVIGATION_QUERY_INVALID", "0"),
|
||||||
("GST_VIDEO_ALPHA_MODE_COPY", "0"),
|
("(gint) GST_VIDEO_ALPHA_MODE_COPY", "0"),
|
||||||
("GST_VIDEO_ALPHA_MODE_MULT", "2"),
|
("(gint) GST_VIDEO_ALPHA_MODE_MULT", "2"),
|
||||||
("GST_VIDEO_ALPHA_MODE_SET", "1"),
|
("(gint) GST_VIDEO_ALPHA_MODE_SET", "1"),
|
||||||
("GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE", "33554432"),
|
("(guint) GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE", "33554432"),
|
||||||
("GST_VIDEO_BUFFER_FLAG_INTERLACED", "1048576"),
|
("(guint) GST_VIDEO_BUFFER_FLAG_INTERLACED", "1048576"),
|
||||||
("GST_VIDEO_BUFFER_FLAG_LAST", "268435456"),
|
("(guint) GST_VIDEO_BUFFER_FLAG_LAST", "268435456"),
|
||||||
("GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW", "16777216"),
|
("(guint) GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW", "16777216"),
|
||||||
("GST_VIDEO_BUFFER_FLAG_ONEFIELD", "8388608"),
|
("(guint) GST_VIDEO_BUFFER_FLAG_ONEFIELD", "8388608"),
|
||||||
("GST_VIDEO_BUFFER_FLAG_RFF", "4194304"),
|
("(guint) GST_VIDEO_BUFFER_FLAG_RFF", "4194304"),
|
||||||
("GST_VIDEO_BUFFER_FLAG_TFF", "2097152"),
|
("(guint) GST_VIDEO_BUFFER_FLAG_TFF", "2097152"),
|
||||||
("GST_VIDEO_CHROMA_FLAG_INTERLACED", "1"),
|
("(guint) GST_VIDEO_CHROMA_FLAG_INTERLACED", "1"),
|
||||||
("GST_VIDEO_CHROMA_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_CHROMA_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_CHROMA_METHOD_LINEAR", "1"),
|
("(gint) GST_VIDEO_CHROMA_METHOD_LINEAR", "1"),
|
||||||
("GST_VIDEO_CHROMA_METHOD_NEAREST", "0"),
|
("(gint) GST_VIDEO_CHROMA_METHOD_NEAREST", "0"),
|
||||||
("GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY", "2"),
|
("(gint) GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY", "2"),
|
||||||
("GST_VIDEO_CHROMA_MODE_FULL", "0"),
|
("(gint) GST_VIDEO_CHROMA_MODE_FULL", "0"),
|
||||||
("GST_VIDEO_CHROMA_MODE_NONE", "3"),
|
("(gint) GST_VIDEO_CHROMA_MODE_NONE", "3"),
|
||||||
("GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY", "1"),
|
("(gint) GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY", "1"),
|
||||||
("GST_VIDEO_CHROMA_SITE_ALT_LINE", "8"),
|
("(guint) GST_VIDEO_CHROMA_SITE_ALT_LINE", "8"),
|
||||||
("GST_VIDEO_CHROMA_SITE_COSITED", "6"),
|
("(guint) GST_VIDEO_CHROMA_SITE_COSITED", "6"),
|
||||||
("GST_VIDEO_CHROMA_SITE_DV", "14"),
|
("(guint) GST_VIDEO_CHROMA_SITE_DV", "14"),
|
||||||
("GST_VIDEO_CHROMA_SITE_H_COSITED", "2"),
|
("(guint) GST_VIDEO_CHROMA_SITE_H_COSITED", "2"),
|
||||||
("GST_VIDEO_CHROMA_SITE_JPEG", "1"),
|
("(guint) GST_VIDEO_CHROMA_SITE_JPEG", "1"),
|
||||||
("GST_VIDEO_CHROMA_SITE_MPEG2", "2"),
|
("(guint) GST_VIDEO_CHROMA_SITE_MPEG2", "2"),
|
||||||
("GST_VIDEO_CHROMA_SITE_NONE", "1"),
|
("(guint) GST_VIDEO_CHROMA_SITE_NONE", "1"),
|
||||||
("GST_VIDEO_CHROMA_SITE_UNKNOWN", "0"),
|
("(guint) GST_VIDEO_CHROMA_SITE_UNKNOWN", "0"),
|
||||||
("GST_VIDEO_CHROMA_SITE_V_COSITED", "4"),
|
("(guint) GST_VIDEO_CHROMA_SITE_V_COSITED", "4"),
|
||||||
("GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY", "1"),
|
("(guint) GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY", "1"),
|
||||||
("GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME", "4"),
|
("(guint) GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME", "4"),
|
||||||
("GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS", "8"),
|
("(guint) GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS", "8"),
|
||||||
("GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT", "2"),
|
("(guint) GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT", "2"),
|
||||||
("GST_VIDEO_COLORIMETRY_BT2020", "bt2020"),
|
("GST_VIDEO_COLORIMETRY_BT2020", "bt2020"),
|
||||||
("GST_VIDEO_COLORIMETRY_BT601", "bt601"),
|
("GST_VIDEO_COLORIMETRY_BT601", "bt601"),
|
||||||
("GST_VIDEO_COLORIMETRY_BT709", "bt709"),
|
("GST_VIDEO_COLORIMETRY_BT709", "bt709"),
|
||||||
("GST_VIDEO_COLORIMETRY_SMPTE240M", "smpte240m"),
|
("GST_VIDEO_COLORIMETRY_SMPTE240M", "smpte240m"),
|
||||||
("GST_VIDEO_COLORIMETRY_SRGB", "sRGB"),
|
("GST_VIDEO_COLORIMETRY_SRGB", "sRGB"),
|
||||||
("GST_VIDEO_COLOR_MATRIX_BT2020", "6"),
|
("(gint) GST_VIDEO_COLOR_MATRIX_BT2020", "6"),
|
||||||
("GST_VIDEO_COLOR_MATRIX_BT601", "4"),
|
("(gint) GST_VIDEO_COLOR_MATRIX_BT601", "4"),
|
||||||
("GST_VIDEO_COLOR_MATRIX_BT709", "3"),
|
("(gint) GST_VIDEO_COLOR_MATRIX_BT709", "3"),
|
||||||
("GST_VIDEO_COLOR_MATRIX_FCC", "2"),
|
("(gint) GST_VIDEO_COLOR_MATRIX_FCC", "2"),
|
||||||
("GST_VIDEO_COLOR_MATRIX_RGB", "1"),
|
("(gint) GST_VIDEO_COLOR_MATRIX_RGB", "1"),
|
||||||
("GST_VIDEO_COLOR_MATRIX_SMPTE240M", "5"),
|
("(gint) GST_VIDEO_COLOR_MATRIX_SMPTE240M", "5"),
|
||||||
("GST_VIDEO_COLOR_MATRIX_UNKNOWN", "0"),
|
("(gint) GST_VIDEO_COLOR_MATRIX_UNKNOWN", "0"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_ADOBERGB", "8"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_ADOBERGB", "8"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_BT2020", "7"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT2020", "7"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_BT470BG", "3"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT470BG", "3"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_BT470M", "2"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT470M", "2"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_BT709", "1"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_BT709", "1"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_FILM", "6"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_FILM", "6"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_SMPTE170M", "4"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_SMPTE170M", "4"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_SMPTE240M", "5"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_SMPTE240M", "5"),
|
||||||
("GST_VIDEO_COLOR_PRIMARIES_UNKNOWN", "0"),
|
("(gint) GST_VIDEO_COLOR_PRIMARIES_UNKNOWN", "0"),
|
||||||
("GST_VIDEO_COLOR_RANGE_0_255", "1"),
|
("(gint) GST_VIDEO_COLOR_RANGE_0_255", "1"),
|
||||||
("GST_VIDEO_COLOR_RANGE_16_235", "2"),
|
("(gint) GST_VIDEO_COLOR_RANGE_16_235", "2"),
|
||||||
("GST_VIDEO_COLOR_RANGE_UNKNOWN", "0"),
|
("(gint) GST_VIDEO_COLOR_RANGE_UNKNOWN", "0"),
|
||||||
("GST_VIDEO_COMP_A", "3"),
|
("GST_VIDEO_COMP_A", "3"),
|
||||||
("GST_VIDEO_COMP_B", "2"),
|
("GST_VIDEO_COMP_B", "2"),
|
||||||
("GST_VIDEO_COMP_G", "1"),
|
("GST_VIDEO_COMP_G", "1"),
|
||||||
|
@ -447,237 +454,237 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_VIDEO_DECODER_MAX_ERRORS", "10"),
|
("GST_VIDEO_DECODER_MAX_ERRORS", "10"),
|
||||||
("GST_VIDEO_DECODER_SINK_NAME", "sink"),
|
("GST_VIDEO_DECODER_SINK_NAME", "sink"),
|
||||||
("GST_VIDEO_DECODER_SRC_NAME", "src"),
|
("GST_VIDEO_DECODER_SRC_NAME", "src"),
|
||||||
("GST_VIDEO_DITHER_BAYER", "4"),
|
("(gint) GST_VIDEO_DITHER_BAYER", "4"),
|
||||||
("GST_VIDEO_DITHER_FLAG_INTERLACED", "1"),
|
("(guint) GST_VIDEO_DITHER_FLAG_INTERLACED", "1"),
|
||||||
("GST_VIDEO_DITHER_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_DITHER_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_DITHER_FLAG_QUANTIZE", "2"),
|
("(guint) GST_VIDEO_DITHER_FLAG_QUANTIZE", "2"),
|
||||||
("GST_VIDEO_DITHER_FLOYD_STEINBERG", "2"),
|
("(gint) GST_VIDEO_DITHER_FLOYD_STEINBERG", "2"),
|
||||||
("GST_VIDEO_DITHER_NONE", "0"),
|
("(gint) GST_VIDEO_DITHER_NONE", "0"),
|
||||||
("GST_VIDEO_DITHER_SIERRA_LITE", "3"),
|
("(gint) GST_VIDEO_DITHER_SIERRA_LITE", "3"),
|
||||||
("GST_VIDEO_DITHER_VERTERR", "1"),
|
("(gint) GST_VIDEO_DITHER_VERTERR", "1"),
|
||||||
("GST_VIDEO_ENCODER_SINK_NAME", "sink"),
|
("GST_VIDEO_ENCODER_SINK_NAME", "sink"),
|
||||||
("GST_VIDEO_ENCODER_SRC_NAME", "src"),
|
("GST_VIDEO_ENCODER_SRC_NAME", "src"),
|
||||||
("GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST", "2"),
|
("(gint) GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST", "2"),
|
||||||
("GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST", "1"),
|
("(gint) GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST", "1"),
|
||||||
("GST_VIDEO_FIELD_ORDER_UNKNOWN", "0"),
|
("(gint) GST_VIDEO_FIELD_ORDER_UNKNOWN", "0"),
|
||||||
("GST_VIDEO_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA", "2"),
|
("(guint) GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA", "2"),
|
||||||
("GST_VIDEO_FLAG_VARIABLE_FPS", "1"),
|
("(guint) GST_VIDEO_FLAG_VARIABLE_FPS", "1"),
|
||||||
("GST_VIDEO_FORMATS_ALL", "{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }"),
|
("GST_VIDEO_FORMATS_ALL", "{ I420, YV12, YUY2, UYVY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, GRAY8, GRAY16_BE, GRAY16_LE, v308, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10BE, I420_10LE, I422_10BE, I422_10LE, Y444_10BE, Y444_10LE, GBR, GBR_10BE, GBR_10LE, NV16, NV24, NV12_64Z32, A420_10BE, A420_10LE, A422_10BE, A422_10LE, A444_10BE, A444_10LE, NV61, P010_10BE, P010_10LE, IYU2, VYUY, GBRA, GBRA_10BE, GBRA_10LE, GBR_12BE, GBR_12LE, GBRA_12BE, GBRA_12LE, I420_12BE, I420_12LE, I422_12BE, I422_12LE, Y444_12BE, Y444_12LE, GRAY10_LE32, NV12_10LE32, NV16_10LE32 }"),
|
||||||
("GST_VIDEO_FORMAT_A420", "34"),
|
("(gint) GST_VIDEO_FORMAT_A420", "34"),
|
||||||
("GST_VIDEO_FORMAT_A420_10BE", "54"),
|
("(gint) GST_VIDEO_FORMAT_A420_10BE", "54"),
|
||||||
("GST_VIDEO_FORMAT_A420_10LE", "55"),
|
("(gint) GST_VIDEO_FORMAT_A420_10LE", "55"),
|
||||||
("GST_VIDEO_FORMAT_A422_10BE", "56"),
|
("(gint) GST_VIDEO_FORMAT_A422_10BE", "56"),
|
||||||
("GST_VIDEO_FORMAT_A422_10LE", "57"),
|
("(gint) GST_VIDEO_FORMAT_A422_10LE", "57"),
|
||||||
("GST_VIDEO_FORMAT_A444_10BE", "58"),
|
("(gint) GST_VIDEO_FORMAT_A444_10BE", "58"),
|
||||||
("GST_VIDEO_FORMAT_A444_10LE", "59"),
|
("(gint) GST_VIDEO_FORMAT_A444_10LE", "59"),
|
||||||
("GST_VIDEO_FORMAT_ABGR", "14"),
|
("(gint) GST_VIDEO_FORMAT_ABGR", "14"),
|
||||||
("GST_VIDEO_FORMAT_ARGB", "13"),
|
("(gint) GST_VIDEO_FORMAT_ARGB", "13"),
|
||||||
("GST_VIDEO_FORMAT_ARGB64", "39"),
|
("(gint) GST_VIDEO_FORMAT_ARGB64", "39"),
|
||||||
("GST_VIDEO_FORMAT_AYUV", "6"),
|
("(gint) GST_VIDEO_FORMAT_AYUV", "6"),
|
||||||
("GST_VIDEO_FORMAT_AYUV64", "40"),
|
("(gint) GST_VIDEO_FORMAT_AYUV64", "40"),
|
||||||
("GST_VIDEO_FORMAT_BGR", "16"),
|
("(gint) GST_VIDEO_FORMAT_BGR", "16"),
|
||||||
("GST_VIDEO_FORMAT_BGR15", "32"),
|
("(gint) GST_VIDEO_FORMAT_BGR15", "32"),
|
||||||
("GST_VIDEO_FORMAT_BGR16", "30"),
|
("(gint) GST_VIDEO_FORMAT_BGR16", "30"),
|
||||||
("GST_VIDEO_FORMAT_BGRA", "12"),
|
("(gint) GST_VIDEO_FORMAT_BGRA", "12"),
|
||||||
("GST_VIDEO_FORMAT_BGRx", "8"),
|
("(gint) GST_VIDEO_FORMAT_BGRx", "8"),
|
||||||
("GST_VIDEO_FORMAT_ENCODED", "1"),
|
("(gint) GST_VIDEO_FORMAT_ENCODED", "1"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_ALPHA", "8"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_ALPHA", "8"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_COMPLEX", "64"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_COMPLEX", "64"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_GRAY", "4"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_GRAY", "4"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_LE", "16"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_LE", "16"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_PALETTE", "32"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_PALETTE", "32"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_RGB", "2"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_RGB", "2"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_TILED", "256"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_TILED", "256"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_UNPACK", "128"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_UNPACK", "128"),
|
||||||
("GST_VIDEO_FORMAT_FLAG_YUV", "1"),
|
("(guint) GST_VIDEO_FORMAT_FLAG_YUV", "1"),
|
||||||
("GST_VIDEO_FORMAT_GBR", "48"),
|
("(gint) GST_VIDEO_FORMAT_GBR", "48"),
|
||||||
("GST_VIDEO_FORMAT_GBRA", "65"),
|
("(gint) GST_VIDEO_FORMAT_GBRA", "65"),
|
||||||
("GST_VIDEO_FORMAT_GBRA_10BE", "66"),
|
("(gint) GST_VIDEO_FORMAT_GBRA_10BE", "66"),
|
||||||
("GST_VIDEO_FORMAT_GBRA_10LE", "67"),
|
("(gint) GST_VIDEO_FORMAT_GBRA_10LE", "67"),
|
||||||
("GST_VIDEO_FORMAT_GBRA_12BE", "70"),
|
("(gint) GST_VIDEO_FORMAT_GBRA_12BE", "70"),
|
||||||
("GST_VIDEO_FORMAT_GBRA_12LE", "71"),
|
("(gint) GST_VIDEO_FORMAT_GBRA_12LE", "71"),
|
||||||
("GST_VIDEO_FORMAT_GBR_10BE", "49"),
|
("(gint) GST_VIDEO_FORMAT_GBR_10BE", "49"),
|
||||||
("GST_VIDEO_FORMAT_GBR_10LE", "50"),
|
("(gint) GST_VIDEO_FORMAT_GBR_10LE", "50"),
|
||||||
("GST_VIDEO_FORMAT_GBR_12BE", "68"),
|
("(gint) GST_VIDEO_FORMAT_GBR_12BE", "68"),
|
||||||
("GST_VIDEO_FORMAT_GBR_12LE", "69"),
|
("(gint) GST_VIDEO_FORMAT_GBR_12LE", "69"),
|
||||||
("GST_VIDEO_FORMAT_GRAY10_LE32", "78"),
|
("(gint) GST_VIDEO_FORMAT_GRAY10_LE32", "78"),
|
||||||
("GST_VIDEO_FORMAT_GRAY16_BE", "26"),
|
("(gint) GST_VIDEO_FORMAT_GRAY16_BE", "26"),
|
||||||
("GST_VIDEO_FORMAT_GRAY16_LE", "27"),
|
("(gint) GST_VIDEO_FORMAT_GRAY16_LE", "27"),
|
||||||
("GST_VIDEO_FORMAT_GRAY8", "25"),
|
("(gint) GST_VIDEO_FORMAT_GRAY8", "25"),
|
||||||
("GST_VIDEO_FORMAT_I420", "2"),
|
("(gint) GST_VIDEO_FORMAT_I420", "2"),
|
||||||
("GST_VIDEO_FORMAT_I420_10BE", "42"),
|
("(gint) GST_VIDEO_FORMAT_I420_10BE", "42"),
|
||||||
("GST_VIDEO_FORMAT_I420_10LE", "43"),
|
("(gint) GST_VIDEO_FORMAT_I420_10LE", "43"),
|
||||||
("GST_VIDEO_FORMAT_I420_12BE", "72"),
|
("(gint) GST_VIDEO_FORMAT_I420_12BE", "72"),
|
||||||
("GST_VIDEO_FORMAT_I420_12LE", "73"),
|
("(gint) GST_VIDEO_FORMAT_I420_12LE", "73"),
|
||||||
("GST_VIDEO_FORMAT_I422_10BE", "44"),
|
("(gint) GST_VIDEO_FORMAT_I422_10BE", "44"),
|
||||||
("GST_VIDEO_FORMAT_I422_10LE", "45"),
|
("(gint) GST_VIDEO_FORMAT_I422_10LE", "45"),
|
||||||
("GST_VIDEO_FORMAT_I422_12BE", "74"),
|
("(gint) GST_VIDEO_FORMAT_I422_12BE", "74"),
|
||||||
("GST_VIDEO_FORMAT_I422_12LE", "75"),
|
("(gint) GST_VIDEO_FORMAT_I422_12LE", "75"),
|
||||||
("GST_VIDEO_FORMAT_IYU1", "38"),
|
("(gint) GST_VIDEO_FORMAT_IYU1", "38"),
|
||||||
("GST_VIDEO_FORMAT_IYU2", "63"),
|
("(gint) GST_VIDEO_FORMAT_IYU2", "63"),
|
||||||
("GST_VIDEO_FORMAT_NV12", "23"),
|
("(gint) GST_VIDEO_FORMAT_NV12", "23"),
|
||||||
("GST_VIDEO_FORMAT_NV12_10LE32", "79"),
|
("(gint) GST_VIDEO_FORMAT_NV12_10LE32", "79"),
|
||||||
("GST_VIDEO_FORMAT_NV12_64Z32", "53"),
|
("(gint) GST_VIDEO_FORMAT_NV12_64Z32", "53"),
|
||||||
("GST_VIDEO_FORMAT_NV16", "51"),
|
("(gint) GST_VIDEO_FORMAT_NV16", "51"),
|
||||||
("GST_VIDEO_FORMAT_NV16_10LE32", "80"),
|
("(gint) GST_VIDEO_FORMAT_NV16_10LE32", "80"),
|
||||||
("GST_VIDEO_FORMAT_NV21", "24"),
|
("(gint) GST_VIDEO_FORMAT_NV21", "24"),
|
||||||
("GST_VIDEO_FORMAT_NV24", "52"),
|
("(gint) GST_VIDEO_FORMAT_NV24", "52"),
|
||||||
("GST_VIDEO_FORMAT_NV61", "60"),
|
("(gint) GST_VIDEO_FORMAT_NV61", "60"),
|
||||||
("GST_VIDEO_FORMAT_P010_10BE", "61"),
|
("(gint) GST_VIDEO_FORMAT_P010_10BE", "61"),
|
||||||
("GST_VIDEO_FORMAT_P010_10LE", "62"),
|
("(gint) GST_VIDEO_FORMAT_P010_10LE", "62"),
|
||||||
("GST_VIDEO_FORMAT_RGB", "15"),
|
("(gint) GST_VIDEO_FORMAT_RGB", "15"),
|
||||||
("GST_VIDEO_FORMAT_RGB15", "31"),
|
("(gint) GST_VIDEO_FORMAT_RGB15", "31"),
|
||||||
("GST_VIDEO_FORMAT_RGB16", "29"),
|
("(gint) GST_VIDEO_FORMAT_RGB16", "29"),
|
||||||
("GST_VIDEO_FORMAT_RGB8P", "35"),
|
("(gint) GST_VIDEO_FORMAT_RGB8P", "35"),
|
||||||
("GST_VIDEO_FORMAT_RGBA", "11"),
|
("(gint) GST_VIDEO_FORMAT_RGBA", "11"),
|
||||||
("GST_VIDEO_FORMAT_RGBx", "7"),
|
("(gint) GST_VIDEO_FORMAT_RGBx", "7"),
|
||||||
("GST_VIDEO_FORMAT_UNKNOWN", "0"),
|
("(gint) GST_VIDEO_FORMAT_UNKNOWN", "0"),
|
||||||
("GST_VIDEO_FORMAT_UYVP", "33"),
|
("(gint) GST_VIDEO_FORMAT_UYVP", "33"),
|
||||||
("GST_VIDEO_FORMAT_UYVY", "5"),
|
("(gint) GST_VIDEO_FORMAT_UYVY", "5"),
|
||||||
("GST_VIDEO_FORMAT_VYUY", "64"),
|
("(gint) GST_VIDEO_FORMAT_VYUY", "64"),
|
||||||
("GST_VIDEO_FORMAT_Y41B", "17"),
|
("(gint) GST_VIDEO_FORMAT_Y41B", "17"),
|
||||||
("GST_VIDEO_FORMAT_Y42B", "18"),
|
("(gint) GST_VIDEO_FORMAT_Y42B", "18"),
|
||||||
("GST_VIDEO_FORMAT_Y444", "20"),
|
("(gint) GST_VIDEO_FORMAT_Y444", "20"),
|
||||||
("GST_VIDEO_FORMAT_Y444_10BE", "46"),
|
("(gint) GST_VIDEO_FORMAT_Y444_10BE", "46"),
|
||||||
("GST_VIDEO_FORMAT_Y444_10LE", "47"),
|
("(gint) GST_VIDEO_FORMAT_Y444_10LE", "47"),
|
||||||
("GST_VIDEO_FORMAT_Y444_12BE", "76"),
|
("(gint) GST_VIDEO_FORMAT_Y444_12BE", "76"),
|
||||||
("GST_VIDEO_FORMAT_Y444_12LE", "77"),
|
("(gint) GST_VIDEO_FORMAT_Y444_12LE", "77"),
|
||||||
("GST_VIDEO_FORMAT_YUV9", "36"),
|
("(gint) GST_VIDEO_FORMAT_YUV9", "36"),
|
||||||
("GST_VIDEO_FORMAT_YUY2", "4"),
|
("(gint) GST_VIDEO_FORMAT_YUY2", "4"),
|
||||||
("GST_VIDEO_FORMAT_YV12", "3"),
|
("(gint) GST_VIDEO_FORMAT_YV12", "3"),
|
||||||
("GST_VIDEO_FORMAT_YVU9", "37"),
|
("(gint) GST_VIDEO_FORMAT_YVU9", "37"),
|
||||||
("GST_VIDEO_FORMAT_YVYU", "19"),
|
("(gint) GST_VIDEO_FORMAT_YVYU", "19"),
|
||||||
("GST_VIDEO_FORMAT_r210", "41"),
|
("(gint) GST_VIDEO_FORMAT_r210", "41"),
|
||||||
("GST_VIDEO_FORMAT_v210", "21"),
|
("(gint) GST_VIDEO_FORMAT_v210", "21"),
|
||||||
("GST_VIDEO_FORMAT_v216", "22"),
|
("(gint) GST_VIDEO_FORMAT_v216", "22"),
|
||||||
("GST_VIDEO_FORMAT_v308", "28"),
|
("(gint) GST_VIDEO_FORMAT_v308", "28"),
|
||||||
("GST_VIDEO_FORMAT_xBGR", "10"),
|
("(gint) GST_VIDEO_FORMAT_xBGR", "10"),
|
||||||
("GST_VIDEO_FORMAT_xRGB", "9"),
|
("(gint) GST_VIDEO_FORMAT_xRGB", "9"),
|
||||||
("GST_VIDEO_FPS_RANGE", "(fraction) [ 0, max ]"),
|
("GST_VIDEO_FPS_RANGE", "(fraction) [ 0, max ]"),
|
||||||
("GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE", "32"),
|
("(guint) GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE", "32"),
|
||||||
("GST_VIDEO_FRAME_FLAG_INTERLACED", "1"),
|
("(guint) GST_VIDEO_FRAME_FLAG_INTERLACED", "1"),
|
||||||
("GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW", "16"),
|
("(guint) GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW", "16"),
|
||||||
("GST_VIDEO_FRAME_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_FRAME_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_FRAME_FLAG_ONEFIELD", "8"),
|
("(guint) GST_VIDEO_FRAME_FLAG_ONEFIELD", "8"),
|
||||||
("GST_VIDEO_FRAME_FLAG_RFF", "4"),
|
("(guint) GST_VIDEO_FRAME_FLAG_RFF", "4"),
|
||||||
("GST_VIDEO_FRAME_FLAG_TFF", "2"),
|
("(guint) GST_VIDEO_FRAME_FLAG_TFF", "2"),
|
||||||
("GST_VIDEO_FRAME_MAP_FLAG_LAST", "16777216"),
|
("(guint) GST_VIDEO_FRAME_MAP_FLAG_LAST", "16777216"),
|
||||||
("GST_VIDEO_FRAME_MAP_FLAG_NO_REF", "65536"),
|
("(guint) GST_VIDEO_FRAME_MAP_FLAG_NO_REF", "65536"),
|
||||||
("GST_VIDEO_GAMMA_MODE_NONE", "0"),
|
("(gint) GST_VIDEO_GAMMA_MODE_NONE", "0"),
|
||||||
("GST_VIDEO_GAMMA_MODE_REMAP", "1"),
|
("(gint) GST_VIDEO_GAMMA_MODE_REMAP", "1"),
|
||||||
("GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP", "3"),
|
("(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_FLIP", "3"),
|
||||||
("GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL", "2"),
|
("(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_FLIP_Y_NORMAL", "2"),
|
||||||
("GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP", "1"),
|
("(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_FLIP", "1"),
|
||||||
("GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL", "0"),
|
("(gint) GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL", "0"),
|
||||||
("GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE", "0"),
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE", "0"),
|
||||||
("GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA", "1"),
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_LUMINANCE_ALPHA", "1"),
|
||||||
("GST_VIDEO_GL_TEXTURE_TYPE_R", "5"),
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_R", "5"),
|
||||||
("GST_VIDEO_GL_TEXTURE_TYPE_RG", "6"),
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RG", "6"),
|
||||||
("GST_VIDEO_GL_TEXTURE_TYPE_RGB", "3"),
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RGB", "3"),
|
||||||
("GST_VIDEO_GL_TEXTURE_TYPE_RGB16", "2"),
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RGB16", "2"),
|
||||||
("GST_VIDEO_GL_TEXTURE_TYPE_RGBA", "4"),
|
("(gint) GST_VIDEO_GL_TEXTURE_TYPE_RGBA", "4"),
|
||||||
("GST_VIDEO_INTERLACE_MODE_FIELDS", "3"),
|
("(gint) GST_VIDEO_INTERLACE_MODE_FIELDS", "3"),
|
||||||
("GST_VIDEO_INTERLACE_MODE_INTERLEAVED", "1"),
|
("(gint) GST_VIDEO_INTERLACE_MODE_INTERLEAVED", "1"),
|
||||||
("GST_VIDEO_INTERLACE_MODE_MIXED", "2"),
|
("(gint) GST_VIDEO_INTERLACE_MODE_MIXED", "2"),
|
||||||
("GST_VIDEO_INTERLACE_MODE_PROGRESSIVE", "0"),
|
("(gint) GST_VIDEO_INTERLACE_MODE_PROGRESSIVE", "0"),
|
||||||
("GST_VIDEO_MATRIX_MODE_FULL", "0"),
|
("(gint) GST_VIDEO_MATRIX_MODE_FULL", "0"),
|
||||||
("GST_VIDEO_MATRIX_MODE_INPUT_ONLY", "1"),
|
("(gint) GST_VIDEO_MATRIX_MODE_INPUT_ONLY", "1"),
|
||||||
("GST_VIDEO_MATRIX_MODE_NONE", "3"),
|
("(gint) GST_VIDEO_MATRIX_MODE_NONE", "3"),
|
||||||
("GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY", "2"),
|
("(gint) GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY", "2"),
|
||||||
("GST_VIDEO_MAX_COMPONENTS", "4"),
|
("GST_VIDEO_MAX_COMPONENTS", "4"),
|
||||||
("GST_VIDEO_MAX_PLANES", "4"),
|
("GST_VIDEO_MAX_PLANES", "4"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT", "16384"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT", "16384"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED", "2"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED", "2"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED", "4"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED", "4"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO", "32768"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO", "32768"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_NONE", "0"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_NONE", "0"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED", "8"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED", "8"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED", "16"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED", "16"),
|
||||||
("GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST", "1"),
|
("(guint) GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST", "1"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD", "8"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD", "8"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_COLUMN_INTERLEAVED", "5"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_COLUMN_INTERLEAVED", "5"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_LEFT", "1"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_LEFT", "1"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO", "0"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO", "0"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE", "-1"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE", "-1"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_RIGHT", "2"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_RIGHT", "2"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED", "6"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED", "6"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE", "3"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE", "3"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE_QUINCUNX", "4"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE_QUINCUNX", "4"),
|
||||||
("GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM", "7"),
|
("(gint) GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM", "7"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_CHECKERBOARD", "8"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_CHECKERBOARD", "8"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED", "5"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED", "5"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME", "32"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME", "32"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_LEFT", "1"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_LEFT", "1"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_MONO", "0"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_MONO", "0"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME", "33"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME", "33"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_NONE", "-1"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_NONE", "-1"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_RIGHT", "2"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_RIGHT", "2"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED", "6"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED", "6"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_SEPARATED", "34"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_SEPARATED", "34"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE", "3"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE", "3"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX", "4"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX", "4"),
|
||||||
("GST_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM", "7"),
|
("(gint) GST_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM", "7"),
|
||||||
("GST_VIDEO_ORIENTATION_180", "2"),
|
("(gint) GST_VIDEO_ORIENTATION_180", "2"),
|
||||||
("GST_VIDEO_ORIENTATION_90L", "3"),
|
("(gint) GST_VIDEO_ORIENTATION_90L", "3"),
|
||||||
("GST_VIDEO_ORIENTATION_90R", "1"),
|
("(gint) GST_VIDEO_ORIENTATION_90R", "1"),
|
||||||
("GST_VIDEO_ORIENTATION_AUTO", "8"),
|
("(gint) GST_VIDEO_ORIENTATION_AUTO", "8"),
|
||||||
("GST_VIDEO_ORIENTATION_CUSTOM", "9"),
|
("(gint) GST_VIDEO_ORIENTATION_CUSTOM", "9"),
|
||||||
("GST_VIDEO_ORIENTATION_HORIZ", "4"),
|
("(gint) GST_VIDEO_ORIENTATION_HORIZ", "4"),
|
||||||
("GST_VIDEO_ORIENTATION_IDENTITY", "0"),
|
("(gint) GST_VIDEO_ORIENTATION_IDENTITY", "0"),
|
||||||
("GST_VIDEO_ORIENTATION_UL_LR", "6"),
|
("(gint) GST_VIDEO_ORIENTATION_UL_LR", "6"),
|
||||||
("GST_VIDEO_ORIENTATION_UR_LL", "7"),
|
("(gint) GST_VIDEO_ORIENTATION_UR_LL", "7"),
|
||||||
("GST_VIDEO_ORIENTATION_VERT", "5"),
|
("(gint) GST_VIDEO_ORIENTATION_VERT", "5"),
|
||||||
("GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS", "{ BGRx, RGBx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, I420, YV12, AYUV, YUY2, UYVY, v308, Y41B, Y42B, Y444, NV12, NV21, A420, YUV9, YVU9, IYU1, GRAY8 }"),
|
("GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS", "{ BGRx, RGBx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, I420, YV12, AYUV, YUY2, UYVY, v308, Y41B, Y42B, Y444, NV12, NV21, A420, YUV9, YVU9, IYU1, GRAY8 }"),
|
||||||
("GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA", "2"),
|
("(guint) GST_VIDEO_OVERLAY_FORMAT_FLAG_GLOBAL_ALPHA", "2"),
|
||||||
("GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_OVERLAY_FORMAT_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA", "1"),
|
("(guint) GST_VIDEO_OVERLAY_FORMAT_FLAG_PREMULTIPLIED_ALPHA", "1"),
|
||||||
("GST_VIDEO_PACK_FLAG_INTERLACED", "2"),
|
("(guint) GST_VIDEO_PACK_FLAG_INTERLACED", "2"),
|
||||||
("GST_VIDEO_PACK_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_PACK_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE", "1"),
|
("(guint) GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE", "1"),
|
||||||
("GST_VIDEO_PRIMARIES_MODE_FAST", "2"),
|
("(gint) GST_VIDEO_PRIMARIES_MODE_FAST", "2"),
|
||||||
("GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY", "1"),
|
("(gint) GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY", "1"),
|
||||||
("GST_VIDEO_PRIMARIES_MODE_NONE", "0"),
|
("(gint) GST_VIDEO_PRIMARIES_MODE_NONE", "0"),
|
||||||
("GST_VIDEO_RESAMPLER_FLAG_HALF_TAPS", "1"),
|
("(guint) GST_VIDEO_RESAMPLER_FLAG_HALF_TAPS", "1"),
|
||||||
("GST_VIDEO_RESAMPLER_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_RESAMPLER_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_RESAMPLER_METHOD_CUBIC", "2"),
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_CUBIC", "2"),
|
||||||
("GST_VIDEO_RESAMPLER_METHOD_LANCZOS", "4"),
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_LANCZOS", "4"),
|
||||||
("GST_VIDEO_RESAMPLER_METHOD_LINEAR", "1"),
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_LINEAR", "1"),
|
||||||
("GST_VIDEO_RESAMPLER_METHOD_NEAREST", "0"),
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_NEAREST", "0"),
|
||||||
("GST_VIDEO_RESAMPLER_METHOD_SINC", "3"),
|
("(gint) GST_VIDEO_RESAMPLER_METHOD_SINC", "3"),
|
||||||
("GST_VIDEO_RESAMPLER_OPT_CUBIC_B", "GstVideoResampler.cubic-b"),
|
("GST_VIDEO_RESAMPLER_OPT_CUBIC_B", "GstVideoResampler.cubic-b"),
|
||||||
("GST_VIDEO_RESAMPLER_OPT_CUBIC_C", "GstVideoResampler.cubic-c"),
|
("GST_VIDEO_RESAMPLER_OPT_CUBIC_C", "GstVideoResampler.cubic-c"),
|
||||||
("GST_VIDEO_RESAMPLER_OPT_ENVELOPE", "GstVideoResampler.envelope"),
|
("GST_VIDEO_RESAMPLER_OPT_ENVELOPE", "GstVideoResampler.envelope"),
|
||||||
("GST_VIDEO_RESAMPLER_OPT_MAX_TAPS", "GstVideoResampler.max-taps"),
|
("GST_VIDEO_RESAMPLER_OPT_MAX_TAPS", "GstVideoResampler.max-taps"),
|
||||||
("GST_VIDEO_RESAMPLER_OPT_SHARPEN", "GstVideoResampler.sharpen"),
|
("GST_VIDEO_RESAMPLER_OPT_SHARPEN", "GstVideoResampler.sharpen"),
|
||||||
("GST_VIDEO_RESAMPLER_OPT_SHARPNESS", "GstVideoResampler.sharpness"),
|
("GST_VIDEO_RESAMPLER_OPT_SHARPNESS", "GstVideoResampler.sharpness"),
|
||||||
("GST_VIDEO_SCALER_FLAG_INTERLACED", "1"),
|
("(guint) GST_VIDEO_SCALER_FLAG_INTERLACED", "1"),
|
||||||
("GST_VIDEO_SCALER_FLAG_NONE", "0"),
|
("(guint) GST_VIDEO_SCALER_FLAG_NONE", "0"),
|
||||||
("GST_VIDEO_SCALER_OPT_DITHER_METHOD", "GstVideoScaler.dither-method"),
|
("GST_VIDEO_SCALER_OPT_DITHER_METHOD", "GstVideoScaler.dither-method"),
|
||||||
("GST_VIDEO_SIZE_RANGE", "(int) [ 1, max ]"),
|
("GST_VIDEO_SIZE_RANGE", "(int) [ 1, max ]"),
|
||||||
("GST_VIDEO_TILE_MODE_UNKNOWN", "0"),
|
("(gint) GST_VIDEO_TILE_MODE_UNKNOWN", "0"),
|
||||||
("GST_VIDEO_TILE_MODE_ZFLIPZ_2X2", "65536"),
|
("(gint) GST_VIDEO_TILE_MODE_ZFLIPZ_2X2", "65536"),
|
||||||
("GST_VIDEO_TILE_TYPE_INDEXED", "0"),
|
("(gint) GST_VIDEO_TILE_TYPE_INDEXED", "0"),
|
||||||
("GST_VIDEO_TILE_TYPE_MASK", "65535"),
|
("GST_VIDEO_TILE_TYPE_MASK", "65535"),
|
||||||
("GST_VIDEO_TILE_TYPE_SHIFT", "16"),
|
("GST_VIDEO_TILE_TYPE_SHIFT", "16"),
|
||||||
("GST_VIDEO_TILE_X_TILES_MASK", "65535"),
|
("GST_VIDEO_TILE_X_TILES_MASK", "65535"),
|
||||||
("GST_VIDEO_TILE_Y_TILES_SHIFT", "16"),
|
("GST_VIDEO_TILE_Y_TILES_SHIFT", "16"),
|
||||||
("GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME", "1"),
|
("(guint) GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME", "1"),
|
||||||
("GST_VIDEO_TIME_CODE_FLAGS_INTERLACED", "2"),
|
("(guint) GST_VIDEO_TIME_CODE_FLAGS_INTERLACED", "2"),
|
||||||
("GST_VIDEO_TIME_CODE_FLAGS_NONE", "0"),
|
("(guint) GST_VIDEO_TIME_CODE_FLAGS_NONE", "0"),
|
||||||
("GST_VIDEO_TRANSFER_ADOBERGB", "12"),
|
("(gint) GST_VIDEO_TRANSFER_ADOBERGB", "12"),
|
||||||
("GST_VIDEO_TRANSFER_BT2020_12", "11"),
|
("(gint) GST_VIDEO_TRANSFER_BT2020_12", "11"),
|
||||||
("GST_VIDEO_TRANSFER_BT709", "5"),
|
("(gint) GST_VIDEO_TRANSFER_BT709", "5"),
|
||||||
("GST_VIDEO_TRANSFER_GAMMA10", "1"),
|
("(gint) GST_VIDEO_TRANSFER_GAMMA10", "1"),
|
||||||
("GST_VIDEO_TRANSFER_GAMMA18", "2"),
|
("(gint) GST_VIDEO_TRANSFER_GAMMA18", "2"),
|
||||||
("GST_VIDEO_TRANSFER_GAMMA20", "3"),
|
("(gint) GST_VIDEO_TRANSFER_GAMMA20", "3"),
|
||||||
("GST_VIDEO_TRANSFER_GAMMA22", "4"),
|
("(gint) GST_VIDEO_TRANSFER_GAMMA22", "4"),
|
||||||
("GST_VIDEO_TRANSFER_GAMMA28", "8"),
|
("(gint) GST_VIDEO_TRANSFER_GAMMA28", "8"),
|
||||||
("GST_VIDEO_TRANSFER_LOG100", "9"),
|
("(gint) GST_VIDEO_TRANSFER_LOG100", "9"),
|
||||||
("GST_VIDEO_TRANSFER_LOG316", "10"),
|
("(gint) GST_VIDEO_TRANSFER_LOG316", "10"),
|
||||||
("GST_VIDEO_TRANSFER_SMPTE240M", "6"),
|
("(gint) GST_VIDEO_TRANSFER_SMPTE240M", "6"),
|
||||||
("GST_VIDEO_TRANSFER_SRGB", "7"),
|
("(gint) GST_VIDEO_TRANSFER_SRGB", "7"),
|
||||||
("GST_VIDEO_TRANSFER_UNKNOWN", "0"),
|
("(gint) GST_VIDEO_TRANSFER_UNKNOWN", "0"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -227,7 +227,14 @@ fn get_c_value(dir: &Path, cc: &Compiler, name: &str) -> Result<String, Box<Erro
|
||||||
&abi_cmd, &output).into());
|
&abi_cmd, &output).into());
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(str::from_utf8(&output.stdout)?.trim().to_owned())
|
let output = str::from_utf8(&output.stdout)?.trim();
|
||||||
|
if !output.starts_with("###gir test###") ||
|
||||||
|
!output.ends_with("###gir test###") {
|
||||||
|
return Err(format!("command {:?} return invalid output, {:?}",
|
||||||
|
&abi_cmd, &output).into());
|
||||||
|
}
|
||||||
|
|
||||||
|
Ok(String::from(&output[14..(output.len() - 14)]))
|
||||||
}
|
}
|
||||||
|
|
||||||
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
|
@ -257,66 +264,66 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
||||||
];
|
];
|
||||||
|
|
||||||
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
const RUST_CONSTANTS: &[(&str, &str)] = &[
|
||||||
("GST_WEBRTC_DTLS_SETUP_ACTIVE", "2"),
|
("(gint) GST_WEBRTC_DTLS_SETUP_ACTIVE", "2"),
|
||||||
("GST_WEBRTC_DTLS_SETUP_ACTPASS", "1"),
|
("(gint) GST_WEBRTC_DTLS_SETUP_ACTPASS", "1"),
|
||||||
("GST_WEBRTC_DTLS_SETUP_NONE", "0"),
|
("(gint) GST_WEBRTC_DTLS_SETUP_NONE", "0"),
|
||||||
("GST_WEBRTC_DTLS_SETUP_PASSIVE", "3"),
|
("(gint) GST_WEBRTC_DTLS_SETUP_PASSIVE", "3"),
|
||||||
("GST_WEBRTC_DTLS_TRANSPORT_STATE_CLOSED", "1"),
|
("(gint) GST_WEBRTC_DTLS_TRANSPORT_STATE_CLOSED", "1"),
|
||||||
("GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED", "4"),
|
("(gint) GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTED", "4"),
|
||||||
("GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTING", "3"),
|
("(gint) GST_WEBRTC_DTLS_TRANSPORT_STATE_CONNECTING", "3"),
|
||||||
("GST_WEBRTC_DTLS_TRANSPORT_STATE_FAILED", "2"),
|
("(gint) GST_WEBRTC_DTLS_TRANSPORT_STATE_FAILED", "2"),
|
||||||
("GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW", "0"),
|
("(gint) GST_WEBRTC_DTLS_TRANSPORT_STATE_NEW", "0"),
|
||||||
("GST_WEBRTC_FEC_TYPE_NONE", "0"),
|
("(gint) GST_WEBRTC_FEC_TYPE_NONE", "0"),
|
||||||
("GST_WEBRTC_FEC_TYPE_ULP_RED", "1"),
|
("(gint) GST_WEBRTC_FEC_TYPE_ULP_RED", "1"),
|
||||||
("GST_WEBRTC_ICE_COMPONENT_RTCP", "1"),
|
("(gint) GST_WEBRTC_ICE_COMPONENT_RTCP", "1"),
|
||||||
("GST_WEBRTC_ICE_COMPONENT_RTP", "0"),
|
("(gint) GST_WEBRTC_ICE_COMPONENT_RTP", "0"),
|
||||||
("GST_WEBRTC_ICE_CONNECTION_STATE_CHECKING", "1"),
|
("(gint) GST_WEBRTC_ICE_CONNECTION_STATE_CHECKING", "1"),
|
||||||
("GST_WEBRTC_ICE_CONNECTION_STATE_CLOSED", "6"),
|
("(gint) GST_WEBRTC_ICE_CONNECTION_STATE_CLOSED", "6"),
|
||||||
("GST_WEBRTC_ICE_CONNECTION_STATE_COMPLETED", "3"),
|
("(gint) GST_WEBRTC_ICE_CONNECTION_STATE_COMPLETED", "3"),
|
||||||
("GST_WEBRTC_ICE_CONNECTION_STATE_CONNECTED", "2"),
|
("(gint) GST_WEBRTC_ICE_CONNECTION_STATE_CONNECTED", "2"),
|
||||||
("GST_WEBRTC_ICE_CONNECTION_STATE_DISCONNECTED", "5"),
|
("(gint) GST_WEBRTC_ICE_CONNECTION_STATE_DISCONNECTED", "5"),
|
||||||
("GST_WEBRTC_ICE_CONNECTION_STATE_FAILED", "4"),
|
("(gint) GST_WEBRTC_ICE_CONNECTION_STATE_FAILED", "4"),
|
||||||
("GST_WEBRTC_ICE_CONNECTION_STATE_NEW", "0"),
|
("(gint) GST_WEBRTC_ICE_CONNECTION_STATE_NEW", "0"),
|
||||||
("GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE", "2"),
|
("(gint) GST_WEBRTC_ICE_GATHERING_STATE_COMPLETE", "2"),
|
||||||
("GST_WEBRTC_ICE_GATHERING_STATE_GATHERING", "1"),
|
("(gint) GST_WEBRTC_ICE_GATHERING_STATE_GATHERING", "1"),
|
||||||
("GST_WEBRTC_ICE_GATHERING_STATE_NEW", "0"),
|
("(gint) GST_WEBRTC_ICE_GATHERING_STATE_NEW", "0"),
|
||||||
("GST_WEBRTC_ICE_ROLE_CONTROLLED", "0"),
|
("(gint) GST_WEBRTC_ICE_ROLE_CONTROLLED", "0"),
|
||||||
("GST_WEBRTC_ICE_ROLE_CONTROLLING", "1"),
|
("(gint) GST_WEBRTC_ICE_ROLE_CONTROLLING", "1"),
|
||||||
("GST_WEBRTC_PEER_CONNECTION_STATE_CLOSED", "5"),
|
("(gint) GST_WEBRTC_PEER_CONNECTION_STATE_CLOSED", "5"),
|
||||||
("GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTED", "2"),
|
("(gint) GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTED", "2"),
|
||||||
("GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTING", "1"),
|
("(gint) GST_WEBRTC_PEER_CONNECTION_STATE_CONNECTING", "1"),
|
||||||
("GST_WEBRTC_PEER_CONNECTION_STATE_DISCONNECTED", "3"),
|
("(gint) GST_WEBRTC_PEER_CONNECTION_STATE_DISCONNECTED", "3"),
|
||||||
("GST_WEBRTC_PEER_CONNECTION_STATE_FAILED", "4"),
|
("(gint) GST_WEBRTC_PEER_CONNECTION_STATE_FAILED", "4"),
|
||||||
("GST_WEBRTC_PEER_CONNECTION_STATE_NEW", "0"),
|
("(gint) GST_WEBRTC_PEER_CONNECTION_STATE_NEW", "0"),
|
||||||
("GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_INACTIVE", "1"),
|
("(gint) GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_INACTIVE", "1"),
|
||||||
("GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_NONE", "0"),
|
("(gint) GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_NONE", "0"),
|
||||||
("GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY", "3"),
|
("(gint) GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_RECVONLY", "3"),
|
||||||
("GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY", "2"),
|
("(gint) GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDONLY", "2"),
|
||||||
("GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDRECV", "4"),
|
("(gint) GST_WEBRTC_RTP_TRANSCEIVER_DIRECTION_SENDRECV", "4"),
|
||||||
("GST_WEBRTC_SDP_TYPE_ANSWER", "3"),
|
("(gint) GST_WEBRTC_SDP_TYPE_ANSWER", "3"),
|
||||||
("GST_WEBRTC_SDP_TYPE_OFFER", "1"),
|
("(gint) GST_WEBRTC_SDP_TYPE_OFFER", "1"),
|
||||||
("GST_WEBRTC_SDP_TYPE_PRANSWER", "2"),
|
("(gint) GST_WEBRTC_SDP_TYPE_PRANSWER", "2"),
|
||||||
("GST_WEBRTC_SDP_TYPE_ROLLBACK", "4"),
|
("(gint) GST_WEBRTC_SDP_TYPE_ROLLBACK", "4"),
|
||||||
("GST_WEBRTC_SIGNALING_STATE_CLOSED", "1"),
|
("(gint) GST_WEBRTC_SIGNALING_STATE_CLOSED", "1"),
|
||||||
("GST_WEBRTC_SIGNALING_STATE_HAVE_LOCAL_OFFER", "2"),
|
("(gint) GST_WEBRTC_SIGNALING_STATE_HAVE_LOCAL_OFFER", "2"),
|
||||||
("GST_WEBRTC_SIGNALING_STATE_HAVE_LOCAL_PRANSWER", "4"),
|
("(gint) GST_WEBRTC_SIGNALING_STATE_HAVE_LOCAL_PRANSWER", "4"),
|
||||||
("GST_WEBRTC_SIGNALING_STATE_HAVE_REMOTE_OFFER", "3"),
|
("(gint) GST_WEBRTC_SIGNALING_STATE_HAVE_REMOTE_OFFER", "3"),
|
||||||
("GST_WEBRTC_SIGNALING_STATE_HAVE_REMOTE_PRANSWER", "5"),
|
("(gint) GST_WEBRTC_SIGNALING_STATE_HAVE_REMOTE_PRANSWER", "5"),
|
||||||
("GST_WEBRTC_SIGNALING_STATE_STABLE", "0"),
|
("(gint) GST_WEBRTC_SIGNALING_STATE_STABLE", "0"),
|
||||||
("GST_WEBRTC_STATS_CANDIDATE_PAIR", "11"),
|
("(gint) GST_WEBRTC_STATS_CANDIDATE_PAIR", "11"),
|
||||||
("GST_WEBRTC_STATS_CERTIFICATE", "14"),
|
("(gint) GST_WEBRTC_STATS_CERTIFICATE", "14"),
|
||||||
("GST_WEBRTC_STATS_CODEC", "1"),
|
("(gint) GST_WEBRTC_STATS_CODEC", "1"),
|
||||||
("GST_WEBRTC_STATS_CSRC", "6"),
|
("(gint) GST_WEBRTC_STATS_CSRC", "6"),
|
||||||
("GST_WEBRTC_STATS_DATA_CHANNEL", "8"),
|
("(gint) GST_WEBRTC_STATS_DATA_CHANNEL", "8"),
|
||||||
("GST_WEBRTC_STATS_INBOUND_RTP", "2"),
|
("(gint) GST_WEBRTC_STATS_INBOUND_RTP", "2"),
|
||||||
("GST_WEBRTC_STATS_LOCAL_CANDIDATE", "12"),
|
("(gint) GST_WEBRTC_STATS_LOCAL_CANDIDATE", "12"),
|
||||||
("GST_WEBRTC_STATS_OUTBOUND_RTP", "3"),
|
("(gint) GST_WEBRTC_STATS_OUTBOUND_RTP", "3"),
|
||||||
("GST_WEBRTC_STATS_PEER_CONNECTION", "7"),
|
("(gint) GST_WEBRTC_STATS_PEER_CONNECTION", "7"),
|
||||||
("GST_WEBRTC_STATS_REMOTE_CANDIDATE", "13"),
|
("(gint) GST_WEBRTC_STATS_REMOTE_CANDIDATE", "13"),
|
||||||
("GST_WEBRTC_STATS_REMOTE_INBOUND_RTP", "4"),
|
("(gint) GST_WEBRTC_STATS_REMOTE_INBOUND_RTP", "4"),
|
||||||
("GST_WEBRTC_STATS_REMOTE_OUTBOUND_RTP", "5"),
|
("(gint) GST_WEBRTC_STATS_REMOTE_OUTBOUND_RTP", "5"),
|
||||||
("GST_WEBRTC_STATS_STREAM", "9"),
|
("(gint) GST_WEBRTC_STATS_STREAM", "9"),
|
||||||
("GST_WEBRTC_STATS_TRANSPORT", "10"),
|
("(gint) GST_WEBRTC_STATS_TRANSPORT", "10"),
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
@ -7,21 +7,21 @@
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
printf(_Generic((ABI_CONSTANT_NAME),
|
printf(_Generic((ABI_CONSTANT_NAME),
|
||||||
char *: "%s",
|
char *: "###gir test###%s###gir test###\n",
|
||||||
const char *: "%s",
|
const char *: "###gir test###%s###gir test###\n",
|
||||||
char: "%c",
|
char: "###gir test###%c###gir test###\n",
|
||||||
signed char: "%hhd",
|
signed char: "###gir test###%hhd###gir test###\n",
|
||||||
unsigned char: "%hhu",
|
unsigned char: "###gir test###%hhu###gir test###\n",
|
||||||
short int: "%hd",
|
short int: "###gir test###%hd###gir test###\n",
|
||||||
unsigned short int: "%hu",
|
unsigned short int: "###gir test###%hu###gir test###\n",
|
||||||
int: "%d",
|
int: "###gir test###%d###gir test###\n",
|
||||||
unsigned int: "%u",
|
unsigned int: "###gir test###%u###gir test###\n",
|
||||||
long: "%ld",
|
long: "###gir test###%ld###gir test###\n",
|
||||||
unsigned long: "%lu",
|
unsigned long: "###gir test###%lu###gir test###\n",
|
||||||
long long: "%lld",
|
long long: "###gir test###%lld###gir test###\n",
|
||||||
unsigned long long: "%llu",
|
unsigned long long: "###gir test###%llu###gir test###\n",
|
||||||
double: "%f",
|
double: "###gir test###%f###gir test###\n",
|
||||||
long double: "%ld"),
|
long double: "###gir test###%ld###gir test###\n"),
|
||||||
ABI_CONSTANT_NAME);
|
ABI_CONSTANT_NAME);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (https://github.com/gtk-rs/gir @ b5ea065)
|
// This file was generated by gir (https://github.com/gtk-rs/gir @ dd33bdf)
|
||||||
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
// from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue