forked from mirrors/gstreamer-rs
Regenerate everything with latest GIR
This commit is contained in:
parent
8b735ff536
commit
52b7c65080
16 changed files with 1187 additions and 820 deletions
|
@ -18,6 +18,7 @@ v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_app_sys"
|
name = "gstreamer_app_sys"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (9bd51ed) from gir-files (???)
|
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||||
|
@ -102,7 +102,7 @@ extern "C" {
|
||||||
// GstAppSink
|
// GstAppSink
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_app_sink_get_type() -> GType;
|
pub fn gst_app_sink_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_app_sink_get_buffer_list_support(appsink: *mut GstAppSink) -> gboolean;
|
pub fn gst_app_sink_get_buffer_list_support(appsink: *mut GstAppSink) -> gboolean;
|
||||||
pub fn gst_app_sink_get_caps(appsink: *mut GstAppSink) -> *mut gst::GstCaps;
|
pub fn gst_app_sink_get_caps(appsink: *mut GstAppSink) -> *mut gst::GstCaps;
|
||||||
pub fn gst_app_sink_get_drop(appsink: *mut GstAppSink) -> gboolean;
|
pub fn gst_app_sink_get_drop(appsink: *mut GstAppSink) -> gboolean;
|
||||||
|
@ -112,7 +112,7 @@ extern "C" {
|
||||||
pub fn gst_app_sink_is_eos(appsink: *mut GstAppSink) -> gboolean;
|
pub fn gst_app_sink_is_eos(appsink: *mut GstAppSink) -> gboolean;
|
||||||
pub fn gst_app_sink_pull_preroll(appsink: *mut GstAppSink) -> *mut gst::GstSample;
|
pub fn gst_app_sink_pull_preroll(appsink: *mut GstAppSink) -> *mut gst::GstSample;
|
||||||
pub fn gst_app_sink_pull_sample(appsink: *mut GstAppSink) -> *mut gst::GstSample;
|
pub fn gst_app_sink_pull_sample(appsink: *mut GstAppSink) -> *mut gst::GstSample;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_app_sink_set_buffer_list_support(appsink: *mut GstAppSink, enable_lists: gboolean);
|
pub fn gst_app_sink_set_buffer_list_support(appsink: *mut GstAppSink, enable_lists: gboolean);
|
||||||
pub fn gst_app_sink_set_callbacks(appsink: *mut GstAppSink, callbacks: *mut GstAppSinkCallbacks, user_data: gpointer, notify: glib::GDestroyNotify);
|
pub fn gst_app_sink_set_callbacks(appsink: *mut GstAppSink, callbacks: *mut GstAppSinkCallbacks, user_data: gpointer, notify: glib::GDestroyNotify);
|
||||||
pub fn gst_app_sink_set_caps(appsink: *mut GstAppSink, caps: *const gst::GstCaps);
|
pub fn gst_app_sink_set_caps(appsink: *mut GstAppSink, caps: *const gst::GstCaps);
|
||||||
|
@ -120,9 +120,9 @@ extern "C" {
|
||||||
pub fn gst_app_sink_set_emit_signals(appsink: *mut GstAppSink, emit: gboolean);
|
pub fn gst_app_sink_set_emit_signals(appsink: *mut GstAppSink, emit: gboolean);
|
||||||
pub fn gst_app_sink_set_max_buffers(appsink: *mut GstAppSink, max: c_uint);
|
pub fn gst_app_sink_set_max_buffers(appsink: *mut GstAppSink, max: c_uint);
|
||||||
pub fn gst_app_sink_set_wait_on_eos(appsink: *mut GstAppSink, wait: gboolean);
|
pub fn gst_app_sink_set_wait_on_eos(appsink: *mut GstAppSink, wait: gboolean);
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_app_sink_try_pull_preroll(appsink: *mut GstAppSink, timeout: gst::GstClockTime) -> *mut gst::GstSample;
|
pub fn gst_app_sink_try_pull_preroll(appsink: *mut GstAppSink, timeout: gst::GstClockTime) -> *mut gst::GstSample;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_app_sink_try_pull_sample(appsink: *mut GstAppSink, timeout: gst::GstClockTime) -> *mut gst::GstSample;
|
pub fn gst_app_sink_try_pull_sample(appsink: *mut GstAppSink, timeout: gst::GstClockTime) -> *mut gst::GstSample;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -131,9 +131,9 @@ extern "C" {
|
||||||
pub fn gst_app_src_get_type() -> GType;
|
pub fn gst_app_src_get_type() -> GType;
|
||||||
pub fn gst_app_src_end_of_stream(appsrc: *mut GstAppSrc) -> gst::GstFlowReturn;
|
pub fn gst_app_src_end_of_stream(appsrc: *mut GstAppSrc) -> gst::GstFlowReturn;
|
||||||
pub fn gst_app_src_get_caps(appsrc: *mut GstAppSrc) -> *mut gst::GstCaps;
|
pub fn gst_app_src_get_caps(appsrc: *mut GstAppSrc) -> *mut gst::GstCaps;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_app_src_get_current_level_bytes(appsrc: *mut GstAppSrc) -> u64;
|
pub fn gst_app_src_get_current_level_bytes(appsrc: *mut GstAppSrc) -> u64;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_app_src_get_duration(appsrc: *mut GstAppSrc) -> gst::GstClockTime;
|
pub fn gst_app_src_get_duration(appsrc: *mut GstAppSrc) -> gst::GstClockTime;
|
||||||
pub fn gst_app_src_get_emit_signals(appsrc: *mut GstAppSrc) -> gboolean;
|
pub fn gst_app_src_get_emit_signals(appsrc: *mut GstAppSrc) -> gboolean;
|
||||||
pub fn gst_app_src_get_latency(appsrc: *mut GstAppSrc, min: *mut u64, max: *mut u64);
|
pub fn gst_app_src_get_latency(appsrc: *mut GstAppSrc, min: *mut u64, max: *mut u64);
|
||||||
|
@ -141,11 +141,11 @@ extern "C" {
|
||||||
pub fn gst_app_src_get_size(appsrc: *mut GstAppSrc) -> i64;
|
pub fn gst_app_src_get_size(appsrc: *mut GstAppSrc) -> i64;
|
||||||
pub fn gst_app_src_get_stream_type(appsrc: *mut GstAppSrc) -> GstAppStreamType;
|
pub fn gst_app_src_get_stream_type(appsrc: *mut GstAppSrc) -> GstAppStreamType;
|
||||||
pub fn gst_app_src_push_buffer(appsrc: *mut GstAppSrc, buffer: *mut gst::GstBuffer) -> gst::GstFlowReturn;
|
pub fn gst_app_src_push_buffer(appsrc: *mut GstAppSrc, buffer: *mut gst::GstBuffer) -> gst::GstFlowReturn;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_app_src_push_sample(appsrc: *mut GstAppSrc, sample: *mut gst::GstSample) -> gst::GstFlowReturn;
|
pub fn gst_app_src_push_sample(appsrc: *mut GstAppSrc, sample: *mut gst::GstSample) -> gst::GstFlowReturn;
|
||||||
pub fn gst_app_src_set_callbacks(appsrc: *mut GstAppSrc, callbacks: *mut GstAppSrcCallbacks, user_data: gpointer, notify: glib::GDestroyNotify);
|
pub fn gst_app_src_set_callbacks(appsrc: *mut GstAppSrc, callbacks: *mut GstAppSrcCallbacks, user_data: gpointer, notify: glib::GDestroyNotify);
|
||||||
pub fn gst_app_src_set_caps(appsrc: *mut GstAppSrc, caps: *const gst::GstCaps);
|
pub fn gst_app_src_set_caps(appsrc: *mut GstAppSrc, caps: *const gst::GstCaps);
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_app_src_set_duration(appsrc: *mut GstAppSrc, duration: gst::GstClockTime);
|
pub fn gst_app_src_set_duration(appsrc: *mut GstAppSrc, duration: gst::GstClockTime);
|
||||||
pub fn gst_app_src_set_emit_signals(appsrc: *mut GstAppSrc, emit: gboolean);
|
pub fn gst_app_src_set_emit_signals(appsrc: *mut GstAppSrc, emit: gboolean);
|
||||||
pub fn gst_app_src_set_latency(appsrc: *mut GstAppSrc, min: u64, max: u64);
|
pub fn gst_app_src_set_latency(appsrc: *mut GstAppSrc, min: u64, max: u64);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkg-config = "0.3.7"
|
pkg-config = "0.3.7"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.9"
|
bitflags = "1.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
|
@ -20,6 +20,7 @@ v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_audio_sys"
|
name = "gstreamer_audio_sys"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (9bd51ed) from gir-files (???)
|
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||||
|
@ -392,67 +392,90 @@ pub const GST_META_TAG_AUDIO_STR: *const c_char = b"audio\0" as *const u8 as *co
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstAudioChannelMixerFlags: c_uint {
|
pub struct GstAudioChannelMixerFlags: c_uint {
|
||||||
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN = 1;
|
const NON_INTERLEAVED_IN = 1;
|
||||||
const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT = 2;
|
const NON_INTERLEAVED_OUT = 2;
|
||||||
const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN = 4;
|
const UNPOSITIONED_IN = 4;
|
||||||
const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT = 8;
|
const UNPOSITIONED_OUT = 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE: GstAudioChannelMixerFlags = GstAudioChannelMixerFlags::NONE;
|
||||||
|
pub const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN: GstAudioChannelMixerFlags = GstAudioChannelMixerFlags::NON_INTERLEAVED_IN;
|
||||||
|
pub const GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT: GstAudioChannelMixerFlags = GstAudioChannelMixerFlags::NON_INTERLEAVED_OUT;
|
||||||
|
pub const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN: GstAudioChannelMixerFlags = GstAudioChannelMixerFlags::UNPOSITIONED_IN;
|
||||||
|
pub const GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT: GstAudioChannelMixerFlags = GstAudioChannelMixerFlags::UNPOSITIONED_OUT;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstAudioConverterFlags: c_uint {
|
pub struct GstAudioConverterFlags: c_uint {
|
||||||
const GST_AUDIO_CONVERTER_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE = 1;
|
const IN_WRITABLE = 1;
|
||||||
const GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE = 2;
|
const VARIABLE_RATE = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_AUDIO_CONVERTER_FLAG_NONE: GstAudioConverterFlags = GstAudioConverterFlags::NONE;
|
||||||
|
pub const GST_AUDIO_CONVERTER_FLAG_IN_WRITABLE: GstAudioConverterFlags = GstAudioConverterFlags::IN_WRITABLE;
|
||||||
|
pub const GST_AUDIO_CONVERTER_FLAG_VARIABLE_RATE: GstAudioConverterFlags = GstAudioConverterFlags::VARIABLE_RATE;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstAudioFlags: c_uint {
|
pub struct GstAudioFlags: c_uint {
|
||||||
const GST_AUDIO_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_AUDIO_FLAG_UNPOSITIONED = 1;
|
const UNPOSITIONED = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_AUDIO_FLAG_NONE: GstAudioFlags = GstAudioFlags::NONE;
|
||||||
|
pub const GST_AUDIO_FLAG_UNPOSITIONED: GstAudioFlags = GstAudioFlags::UNPOSITIONED;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstAudioFormatFlags: c_uint {
|
pub struct GstAudioFormatFlags: c_uint {
|
||||||
const GST_AUDIO_FORMAT_FLAG_INTEGER = 1;
|
const INTEGER = 1;
|
||||||
const GST_AUDIO_FORMAT_FLAG_FLOAT = 2;
|
const FLOAT = 2;
|
||||||
const GST_AUDIO_FORMAT_FLAG_SIGNED = 4;
|
const SIGNED = 4;
|
||||||
const GST_AUDIO_FORMAT_FLAG_COMPLEX = 16;
|
const COMPLEX = 16;
|
||||||
const GST_AUDIO_FORMAT_FLAG_UNPACK = 32;
|
const UNPACK = 32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_AUDIO_FORMAT_FLAG_INTEGER: GstAudioFormatFlags = GstAudioFormatFlags::INTEGER;
|
||||||
|
pub const GST_AUDIO_FORMAT_FLAG_FLOAT: GstAudioFormatFlags = GstAudioFormatFlags::FLOAT;
|
||||||
|
pub const GST_AUDIO_FORMAT_FLAG_SIGNED: GstAudioFormatFlags = GstAudioFormatFlags::SIGNED;
|
||||||
|
pub const GST_AUDIO_FORMAT_FLAG_COMPLEX: GstAudioFormatFlags = GstAudioFormatFlags::COMPLEX;
|
||||||
|
pub const GST_AUDIO_FORMAT_FLAG_UNPACK: GstAudioFormatFlags = GstAudioFormatFlags::UNPACK;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstAudioPackFlags: c_uint {
|
pub struct GstAudioPackFlags: c_uint {
|
||||||
const GST_AUDIO_PACK_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE = 1;
|
const TRUNCATE_RANGE = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_AUDIO_PACK_FLAG_NONE: GstAudioPackFlags = GstAudioPackFlags::NONE;
|
||||||
|
pub const GST_AUDIO_PACK_FLAG_TRUNCATE_RANGE: GstAudioPackFlags = GstAudioPackFlags::TRUNCATE_RANGE;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstAudioQuantizeFlags: c_uint {
|
pub struct GstAudioQuantizeFlags: c_uint {
|
||||||
const GST_AUDIO_QUANTIZE_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED = 1;
|
const NON_INTERLEAVED = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_AUDIO_QUANTIZE_FLAG_NONE: GstAudioQuantizeFlags = GstAudioQuantizeFlags::NONE;
|
||||||
|
pub const GST_AUDIO_QUANTIZE_FLAG_NON_INTERLEAVED: GstAudioQuantizeFlags = GstAudioQuantizeFlags::NON_INTERLEAVED;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstAudioResamplerFlags: c_uint {
|
pub struct GstAudioResamplerFlags: c_uint {
|
||||||
const GST_AUDIO_RESAMPLER_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN = 1;
|
const NON_INTERLEAVED_IN = 1;
|
||||||
const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT = 2;
|
const NON_INTERLEAVED_OUT = 2;
|
||||||
const GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE = 4;
|
const VARIABLE_RATE = 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_AUDIO_RESAMPLER_FLAG_NONE: GstAudioResamplerFlags = GstAudioResamplerFlags::NONE;
|
||||||
|
pub const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN: GstAudioResamplerFlags = GstAudioResamplerFlags::NON_INTERLEAVED_IN;
|
||||||
|
pub const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT: GstAudioResamplerFlags = GstAudioResamplerFlags::NON_INTERLEAVED_OUT;
|
||||||
|
pub const GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE: GstAudioResamplerFlags = GstAudioResamplerFlags::VARIABLE_RATE;
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
pub type GstAudioBaseSinkCustomSlavingCallback = Option<unsafe extern "C" fn(*mut GstAudioBaseSink, gst::GstClockTime, gst::GstClockTime, *mut gst::GstClockTimeDiff, GstAudioBaseSinkDiscontReason, gpointer)>;
|
pub type GstAudioBaseSinkCustomSlavingCallback = Option<unsafe extern "C" fn(*mut GstAudioBaseSink, gst::GstClockTime, gst::GstClockTime, *mut gst::GstClockTimeDiff, GstAudioBaseSinkDiscontReason, gpointer)>;
|
||||||
|
@ -973,7 +996,7 @@ extern "C" {
|
||||||
pub fn gst_audio_info_free(info: *mut GstAudioInfo);
|
pub fn gst_audio_info_free(info: *mut GstAudioInfo);
|
||||||
pub fn gst_audio_info_from_caps(info: *mut GstAudioInfo, caps: *const gst::GstCaps) -> gboolean;
|
pub fn gst_audio_info_from_caps(info: *mut GstAudioInfo, caps: *const gst::GstCaps) -> gboolean;
|
||||||
pub fn gst_audio_info_init(info: *mut GstAudioInfo);
|
pub fn gst_audio_info_init(info: *mut GstAudioInfo);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_audio_info_is_equal(info: *const GstAudioInfo, other: *const GstAudioInfo) -> gboolean;
|
pub fn gst_audio_info_is_equal(info: *const GstAudioInfo, other: *const GstAudioInfo) -> gboolean;
|
||||||
pub fn gst_audio_info_set_format(info: *mut GstAudioInfo, format: GstAudioFormat, rate: c_int, channels: c_int, position: *const GstAudioChannelPosition);
|
pub fn gst_audio_info_set_format(info: *mut GstAudioInfo, format: GstAudioFormat, rate: c_int, channels: c_int, position: *const GstAudioChannelPosition);
|
||||||
pub fn gst_audio_info_to_caps(info: *const GstAudioInfo) -> *mut gst::GstCaps;
|
pub fn gst_audio_info_to_caps(info: *const GstAudioInfo) -> *mut gst::GstCaps;
|
||||||
|
@ -989,7 +1012,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstAudioResampler
|
// GstAudioResampler
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_free(resampler: *mut GstAudioResampler);
|
pub fn gst_audio_resampler_free(resampler: *mut GstAudioResampler);
|
||||||
pub fn gst_audio_resampler_get_in_frames(resampler: *mut GstAudioResampler, out_frames: size_t) -> size_t;
|
pub fn gst_audio_resampler_get_in_frames(resampler: *mut GstAudioResampler, out_frames: size_t) -> size_t;
|
||||||
pub fn gst_audio_resampler_get_max_latency(resampler: *mut GstAudioResampler) -> size_t;
|
pub fn gst_audio_resampler_get_max_latency(resampler: *mut GstAudioResampler) -> size_t;
|
||||||
|
@ -997,9 +1020,9 @@ extern "C" {
|
||||||
pub fn gst_audio_resampler_resample(resampler: *mut GstAudioResampler, in_: gpointer, in_frames: size_t, out: gpointer, out_frames: size_t);
|
pub fn gst_audio_resampler_resample(resampler: *mut GstAudioResampler, in_: gpointer, in_frames: size_t, out: gpointer, out_frames: size_t);
|
||||||
pub fn gst_audio_resampler_reset(resampler: *mut GstAudioResampler);
|
pub fn gst_audio_resampler_reset(resampler: *mut GstAudioResampler);
|
||||||
pub fn gst_audio_resampler_update(resampler: *mut GstAudioResampler, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure) -> gboolean;
|
pub fn gst_audio_resampler_update(resampler: *mut GstAudioResampler, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_new(method: GstAudioResamplerMethod, flags: GstAudioResamplerFlags, format: GstAudioFormat, channels: c_int, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure) -> *mut GstAudioResampler;
|
pub fn gst_audio_resampler_new(method: GstAudioResamplerMethod, flags: GstAudioResamplerFlags, format: GstAudioFormat, channels: c_int, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure) -> *mut GstAudioResampler;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_audio_resampler_options_set_quality(method: GstAudioResamplerMethod, quality: c_uint, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure);
|
pub fn gst_audio_resampler_options_set_quality(method: GstAudioResamplerMethod, quality: c_uint, in_rate: c_int, out_rate: c_int, options: *mut gst::GstStructure);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1012,10 +1035,10 @@ extern "C" {
|
||||||
pub fn gst_audio_base_sink_get_drift_tolerance(sink: *mut GstAudioBaseSink) -> i64;
|
pub fn gst_audio_base_sink_get_drift_tolerance(sink: *mut GstAudioBaseSink) -> i64;
|
||||||
pub fn gst_audio_base_sink_get_provide_clock(sink: *mut GstAudioBaseSink) -> gboolean;
|
pub fn gst_audio_base_sink_get_provide_clock(sink: *mut GstAudioBaseSink) -> gboolean;
|
||||||
pub fn gst_audio_base_sink_get_slave_method(sink: *mut GstAudioBaseSink) -> GstAudioBaseSinkSlaveMethod;
|
pub fn gst_audio_base_sink_get_slave_method(sink: *mut GstAudioBaseSink) -> GstAudioBaseSinkSlaveMethod;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_audio_base_sink_report_device_failure(sink: *mut GstAudioBaseSink);
|
pub fn gst_audio_base_sink_report_device_failure(sink: *mut GstAudioBaseSink);
|
||||||
pub fn gst_audio_base_sink_set_alignment_threshold(sink: *mut GstAudioBaseSink, alignment_threshold: gst::GstClockTime);
|
pub fn gst_audio_base_sink_set_alignment_threshold(sink: *mut GstAudioBaseSink, alignment_threshold: gst::GstClockTime);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_audio_base_sink_set_custom_slaving_callback(sink: *mut GstAudioBaseSink, callback: GstAudioBaseSinkCustomSlavingCallback, user_data: gpointer, notify: glib::GDestroyNotify);
|
pub fn gst_audio_base_sink_set_custom_slaving_callback(sink: *mut GstAudioBaseSink, callback: GstAudioBaseSinkCustomSlavingCallback, user_data: gpointer, notify: glib::GDestroyNotify);
|
||||||
pub fn gst_audio_base_sink_set_discont_wait(sink: *mut GstAudioBaseSink, discont_wait: gst::GstClockTime);
|
pub fn gst_audio_base_sink_set_discont_wait(sink: *mut GstAudioBaseSink, discont_wait: gst::GstClockTime);
|
||||||
pub fn gst_audio_base_sink_set_drift_tolerance(sink: *mut GstAudioBaseSink, drift_tolerance: i64);
|
pub fn gst_audio_base_sink_set_drift_tolerance(sink: *mut GstAudioBaseSink, drift_tolerance: i64);
|
||||||
|
@ -1069,9 +1092,9 @@ extern "C" {
|
||||||
pub fn gst_audio_decoder_get_tolerance(dec: *mut GstAudioDecoder) -> gst::GstClockTime;
|
pub fn gst_audio_decoder_get_tolerance(dec: *mut GstAudioDecoder) -> gst::GstClockTime;
|
||||||
pub fn gst_audio_decoder_merge_tags(dec: *mut GstAudioDecoder, tags: *const gst::GstTagList, mode: gst::GstTagMergeMode);
|
pub fn gst_audio_decoder_merge_tags(dec: *mut GstAudioDecoder, tags: *const gst::GstTagList, mode: gst::GstTagMergeMode);
|
||||||
pub fn gst_audio_decoder_negotiate(dec: *mut GstAudioDecoder) -> gboolean;
|
pub fn gst_audio_decoder_negotiate(dec: *mut GstAudioDecoder) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_audio_decoder_proxy_getcaps(decoder: *mut GstAudioDecoder, caps: *mut gst::GstCaps, filter: *mut gst::GstCaps) -> *mut gst::GstCaps;
|
pub fn gst_audio_decoder_proxy_getcaps(decoder: *mut GstAudioDecoder, caps: *mut gst::GstCaps, filter: *mut gst::GstCaps) -> *mut gst::GstCaps;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_decoder_set_allocation_caps(dec: *mut GstAudioDecoder, allocation_caps: *mut gst::GstCaps);
|
pub fn gst_audio_decoder_set_allocation_caps(dec: *mut GstAudioDecoder, allocation_caps: *mut gst::GstCaps);
|
||||||
pub fn gst_audio_decoder_set_drainable(dec: *mut GstAudioDecoder, enabled: gboolean);
|
pub fn gst_audio_decoder_set_drainable(dec: *mut GstAudioDecoder, enabled: gboolean);
|
||||||
pub fn gst_audio_decoder_set_estimate_rate(dec: *mut GstAudioDecoder, enabled: gboolean);
|
pub fn gst_audio_decoder_set_estimate_rate(dec: *mut GstAudioDecoder, enabled: gboolean);
|
||||||
|
@ -1083,7 +1106,7 @@ extern "C" {
|
||||||
pub fn gst_audio_decoder_set_plc(dec: *mut GstAudioDecoder, enabled: gboolean);
|
pub fn gst_audio_decoder_set_plc(dec: *mut GstAudioDecoder, enabled: gboolean);
|
||||||
pub fn gst_audio_decoder_set_plc_aware(dec: *mut GstAudioDecoder, plc: gboolean);
|
pub fn gst_audio_decoder_set_plc_aware(dec: *mut GstAudioDecoder, plc: gboolean);
|
||||||
pub fn gst_audio_decoder_set_tolerance(dec: *mut GstAudioDecoder, tolerance: gst::GstClockTime);
|
pub fn gst_audio_decoder_set_tolerance(dec: *mut GstAudioDecoder, tolerance: gst::GstClockTime);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_audio_decoder_set_use_default_pad_acceptcaps(decoder: *mut GstAudioDecoder, use_: gboolean);
|
pub fn gst_audio_decoder_set_use_default_pad_acceptcaps(decoder: *mut GstAudioDecoder, use_: gboolean);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1108,7 +1131,7 @@ extern "C" {
|
||||||
pub fn gst_audio_encoder_merge_tags(enc: *mut GstAudioEncoder, tags: *const gst::GstTagList, mode: gst::GstTagMergeMode);
|
pub fn gst_audio_encoder_merge_tags(enc: *mut GstAudioEncoder, tags: *const gst::GstTagList, mode: gst::GstTagMergeMode);
|
||||||
pub fn gst_audio_encoder_negotiate(enc: *mut GstAudioEncoder) -> gboolean;
|
pub fn gst_audio_encoder_negotiate(enc: *mut GstAudioEncoder) -> gboolean;
|
||||||
pub fn gst_audio_encoder_proxy_getcaps(enc: *mut GstAudioEncoder, caps: *mut gst::GstCaps, filter: *mut gst::GstCaps) -> *mut gst::GstCaps;
|
pub fn gst_audio_encoder_proxy_getcaps(enc: *mut GstAudioEncoder, caps: *mut gst::GstCaps, filter: *mut gst::GstCaps) -> *mut gst::GstCaps;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_audio_encoder_set_allocation_caps(enc: *mut GstAudioEncoder, allocation_caps: *mut gst::GstCaps);
|
pub fn gst_audio_encoder_set_allocation_caps(enc: *mut GstAudioEncoder, allocation_caps: *mut gst::GstCaps);
|
||||||
pub fn gst_audio_encoder_set_drainable(enc: *mut GstAudioEncoder, enabled: gboolean);
|
pub fn gst_audio_encoder_set_drainable(enc: *mut GstAudioEncoder, enabled: gboolean);
|
||||||
pub fn gst_audio_encoder_set_frame_max(enc: *mut GstAudioEncoder, num: c_int);
|
pub fn gst_audio_encoder_set_frame_max(enc: *mut GstAudioEncoder, num: c_int);
|
||||||
|
@ -1157,7 +1180,7 @@ extern "C" {
|
||||||
pub fn gst_audio_ring_buffer_release(buf: *mut GstAudioRingBuffer) -> gboolean;
|
pub fn gst_audio_ring_buffer_release(buf: *mut GstAudioRingBuffer) -> gboolean;
|
||||||
pub fn gst_audio_ring_buffer_samples_done(buf: *mut GstAudioRingBuffer) -> u64;
|
pub fn gst_audio_ring_buffer_samples_done(buf: *mut GstAudioRingBuffer) -> u64;
|
||||||
pub fn gst_audio_ring_buffer_set_callback(buf: *mut GstAudioRingBuffer, cb: GstAudioRingBufferCallback, user_data: gpointer);
|
pub fn gst_audio_ring_buffer_set_callback(buf: *mut GstAudioRingBuffer, cb: GstAudioRingBufferCallback, user_data: gpointer);
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_audio_ring_buffer_set_callback_full(buf: *mut GstAudioRingBuffer, cb: GstAudioRingBufferCallback, user_data: gpointer, notify: glib::GDestroyNotify);
|
pub fn gst_audio_ring_buffer_set_callback_full(buf: *mut GstAudioRingBuffer, cb: GstAudioRingBufferCallback, user_data: gpointer, notify: glib::GDestroyNotify);
|
||||||
pub fn gst_audio_ring_buffer_set_channel_positions(buf: *mut GstAudioRingBuffer, position: *const GstAudioChannelPosition);
|
pub fn gst_audio_ring_buffer_set_channel_positions(buf: *mut GstAudioRingBuffer, position: *const GstAudioChannelPosition);
|
||||||
pub fn gst_audio_ring_buffer_set_flushing(buf: *mut GstAudioRingBuffer, flushing: gboolean);
|
pub fn gst_audio_ring_buffer_set_flushing(buf: *mut GstAudioRingBuffer, flushing: gboolean);
|
||||||
|
@ -1191,7 +1214,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_audio_buffer_clip(buffer: *mut gst::GstBuffer, segment: *const gst::GstSegment, rate: c_int, bpf: c_int) -> *mut gst::GstBuffer;
|
pub fn gst_audio_buffer_clip(buffer: *mut gst::GstBuffer, segment: *const gst::GstSegment, rate: c_int, bpf: c_int) -> *mut gst::GstBuffer;
|
||||||
pub fn gst_audio_buffer_reorder_channels(buffer: *mut gst::GstBuffer, format: GstAudioFormat, channels: c_int, from: *mut GstAudioChannelPosition, to: *mut GstAudioChannelPosition) -> gboolean;
|
pub fn gst_audio_buffer_reorder_channels(buffer: *mut gst::GstBuffer, format: GstAudioFormat, channels: c_int, from: *mut GstAudioChannelPosition, to: *mut GstAudioChannelPosition) -> gboolean;
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_audio_channel_get_fallback_mask(channels: c_int) -> u64;
|
pub fn gst_audio_channel_get_fallback_mask(channels: c_int) -> u64;
|
||||||
pub fn gst_audio_channel_positions_from_mask(channels: c_int, channel_mask: u64, position: *mut GstAudioChannelPosition) -> gboolean;
|
pub fn gst_audio_channel_positions_from_mask(channels: c_int, channel_mask: u64, position: *mut GstAudioChannelPosition) -> gboolean;
|
||||||
pub fn gst_audio_channel_positions_to_mask(position: *mut GstAudioChannelPosition, channels: c_int, force_order: gboolean, channel_mask: *mut u64) -> gboolean;
|
pub fn gst_audio_channel_positions_to_mask(position: *mut GstAudioChannelPosition, channels: c_int, force_order: gboolean, channel_mask: *mut u64) -> gboolean;
|
||||||
|
@ -1205,7 +1228,7 @@ extern "C" {
|
||||||
pub fn gst_audio_iec61937_frame_size(spec: *const GstAudioRingBufferSpec) -> c_uint;
|
pub fn gst_audio_iec61937_frame_size(spec: *const GstAudioRingBufferSpec) -> c_uint;
|
||||||
pub fn gst_audio_iec61937_payload(src: *mut u8, src_n: c_uint, dst: *mut u8, dst_n: c_uint, spec: *const GstAudioRingBufferSpec, endianness: c_int) -> gboolean;
|
pub fn gst_audio_iec61937_payload(src: *mut u8, src_n: c_uint, dst: *mut u8, dst_n: c_uint, spec: *const GstAudioRingBufferSpec, endianness: c_int) -> gboolean;
|
||||||
pub fn gst_audio_reorder_channels(data: gpointer, size: size_t, format: GstAudioFormat, channels: c_int, from: *mut GstAudioChannelPosition, to: *mut GstAudioChannelPosition) -> gboolean;
|
pub fn gst_audio_reorder_channels(data: gpointer, size: size_t, format: GstAudioFormat, channels: c_int, from: *mut GstAudioChannelPosition, to: *mut GstAudioChannelPosition) -> gboolean;
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_buffer_add_audio_clipping_meta(buffer: *mut gst::GstBuffer, format: gst::GstFormat, start: u64, end: u64) -> *mut GstAudioClippingMeta;
|
pub fn gst_buffer_add_audio_clipping_meta(buffer: *mut gst::GstBuffer, format: gst::GstFormat, start: u64, end: u64) -> *mut GstAudioClippingMeta;
|
||||||
pub fn gst_buffer_add_audio_downmix_meta(buffer: *mut gst::GstBuffer, from_position: *mut GstAudioChannelPosition, from_channels: c_int, to_position: *mut GstAudioChannelPosition, to_channels: c_int, matrix: *mut *const c_float) -> *mut GstAudioDownmixMeta;
|
pub fn gst_buffer_add_audio_downmix_meta(buffer: *mut gst::GstBuffer, from_position: *mut GstAudioChannelPosition, from_channels: c_int, to_position: *mut GstAudioChannelPosition, to_channels: c_int, matrix: *mut *const c_float) -> *mut GstAudioDownmixMeta;
|
||||||
pub fn gst_buffer_get_audio_downmix_meta_for_channels(buffer: *mut gst::GstBuffer, to_position: *mut GstAudioChannelPosition, to_channels: c_int) -> *mut GstAudioDownmixMeta;
|
pub fn gst_buffer_get_audio_downmix_meta_for_channels(buffer: *mut gst::GstBuffer, to_position: *mut GstAudioChannelPosition, to_channels: c_int) -> *mut GstAudioDownmixMeta;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkg-config = "0.3.7"
|
pkg-config = "0.3.7"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.9"
|
bitflags = "1.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
|
@ -18,6 +18,7 @@ v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_base_sys"
|
name = "gstreamer_base_sys"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (9bd51ed) from gir-files (???)
|
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||||
|
@ -27,34 +27,48 @@ pub const GST_BASE_TRANSFORM_SRC_NAME: *const c_char = b"src\0" as *const u8 as
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstBaseParseFrameFlags: c_uint {
|
pub struct GstBaseParseFrameFlags: c_uint {
|
||||||
const GST_BASE_PARSE_FRAME_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME = 1;
|
const NEW_FRAME = 1;
|
||||||
const GST_BASE_PARSE_FRAME_FLAG_NO_FRAME = 2;
|
const NO_FRAME = 2;
|
||||||
const GST_BASE_PARSE_FRAME_FLAG_CLIP = 4;
|
const CLIP = 4;
|
||||||
const GST_BASE_PARSE_FRAME_FLAG_DROP = 8;
|
const DROP = 8;
|
||||||
const GST_BASE_PARSE_FRAME_FLAG_QUEUE = 16;
|
const QUEUE = 16;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_BASE_PARSE_FRAME_FLAG_NONE: GstBaseParseFrameFlags = GstBaseParseFrameFlags::NONE;
|
||||||
|
pub const GST_BASE_PARSE_FRAME_FLAG_NEW_FRAME: GstBaseParseFrameFlags = GstBaseParseFrameFlags::NEW_FRAME;
|
||||||
|
pub const GST_BASE_PARSE_FRAME_FLAG_NO_FRAME: GstBaseParseFrameFlags = GstBaseParseFrameFlags::NO_FRAME;
|
||||||
|
pub const GST_BASE_PARSE_FRAME_FLAG_CLIP: GstBaseParseFrameFlags = GstBaseParseFrameFlags::CLIP;
|
||||||
|
pub const GST_BASE_PARSE_FRAME_FLAG_DROP: GstBaseParseFrameFlags = GstBaseParseFrameFlags::DROP;
|
||||||
|
pub const GST_BASE_PARSE_FRAME_FLAG_QUEUE: GstBaseParseFrameFlags = GstBaseParseFrameFlags::QUEUE;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstBaseSrcFlags: c_uint {
|
pub struct GstBaseSrcFlags: c_uint {
|
||||||
const GST_BASE_SRC_FLAG_STARTING = 16384;
|
const STARTING = 16384;
|
||||||
const GST_BASE_SRC_FLAG_STARTED = 32768;
|
const STARTED = 32768;
|
||||||
const GST_BASE_SRC_FLAG_LAST = 1048576;
|
const LAST = 1048576;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_BASE_SRC_FLAG_STARTING: GstBaseSrcFlags = GstBaseSrcFlags::STARTING;
|
||||||
|
pub const GST_BASE_SRC_FLAG_STARTED: GstBaseSrcFlags = GstBaseSrcFlags::STARTED;
|
||||||
|
pub const GST_BASE_SRC_FLAG_LAST: GstBaseSrcFlags = GstBaseSrcFlags::LAST;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstCollectPadsStateFlags: c_uint {
|
pub struct GstCollectPadsStateFlags: c_uint {
|
||||||
const GST_COLLECT_PADS_STATE_EOS = 1;
|
const EOS = 1;
|
||||||
const GST_COLLECT_PADS_STATE_FLUSHING = 2;
|
const FLUSHING = 2;
|
||||||
const GST_COLLECT_PADS_STATE_NEW_SEGMENT = 4;
|
const NEW_SEGMENT = 4;
|
||||||
const GST_COLLECT_PADS_STATE_WAITING = 8;
|
const WAITING = 8;
|
||||||
const GST_COLLECT_PADS_STATE_LOCKED = 16;
|
const LOCKED = 16;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_COLLECT_PADS_STATE_EOS: GstCollectPadsStateFlags = GstCollectPadsStateFlags::EOS;
|
||||||
|
pub const GST_COLLECT_PADS_STATE_FLUSHING: GstCollectPadsStateFlags = GstCollectPadsStateFlags::FLUSHING;
|
||||||
|
pub const GST_COLLECT_PADS_STATE_NEW_SEGMENT: GstCollectPadsStateFlags = GstCollectPadsStateFlags::NEW_SEGMENT;
|
||||||
|
pub const GST_COLLECT_PADS_STATE_WAITING: GstCollectPadsStateFlags = GstCollectPadsStateFlags::WAITING;
|
||||||
|
pub const GST_COLLECT_PADS_STATE_LOCKED: GstCollectPadsStateFlags = GstCollectPadsStateFlags::LOCKED;
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
pub type GstCollectDataDestroyNotify = Option<unsafe extern "C" fn(*mut GstCollectData)>;
|
pub type GstCollectDataDestroyNotify = Option<unsafe extern "C" fn(*mut GstCollectData)>;
|
||||||
|
@ -444,7 +458,7 @@ extern "C" {
|
||||||
pub fn gst_byte_reader_get_remaining(reader: *const GstByteReader) -> c_uint;
|
pub fn gst_byte_reader_get_remaining(reader: *const GstByteReader) -> c_uint;
|
||||||
pub fn gst_byte_reader_get_size(reader: *const GstByteReader) -> c_uint;
|
pub fn gst_byte_reader_get_size(reader: *const GstByteReader) -> c_uint;
|
||||||
pub fn gst_byte_reader_get_string_utf8(reader: *mut GstByteReader, str: *mut *mut c_char) -> gboolean;
|
pub fn gst_byte_reader_get_string_utf8(reader: *mut GstByteReader, str: *mut *mut c_char) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_byte_reader_get_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
|
pub fn gst_byte_reader_get_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
|
||||||
pub fn gst_byte_reader_get_uint16_be(reader: *mut GstByteReader, val: *mut u16) -> gboolean;
|
pub fn gst_byte_reader_get_uint16_be(reader: *mut GstByteReader, val: *mut u16) -> gboolean;
|
||||||
pub fn gst_byte_reader_get_uint16_le(reader: *mut GstByteReader, val: *mut u16) -> gboolean;
|
pub fn gst_byte_reader_get_uint16_le(reader: *mut GstByteReader, val: *mut u16) -> gboolean;
|
||||||
|
@ -457,7 +471,7 @@ extern "C" {
|
||||||
pub fn gst_byte_reader_get_uint8(reader: *mut GstByteReader, val: *mut u8) -> gboolean;
|
pub fn gst_byte_reader_get_uint8(reader: *mut GstByteReader, val: *mut u8) -> gboolean;
|
||||||
pub fn gst_byte_reader_init(reader: *mut GstByteReader, data: *mut u8, size: c_uint);
|
pub fn gst_byte_reader_init(reader: *mut GstByteReader, data: *mut u8, size: c_uint);
|
||||||
pub fn gst_byte_reader_masked_scan_uint32(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint) -> c_uint;
|
pub fn gst_byte_reader_masked_scan_uint32(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint) -> c_uint;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_byte_reader_masked_scan_uint32_peek(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint, value: *mut u32) -> c_uint;
|
pub fn gst_byte_reader_masked_scan_uint32_peek(reader: *const GstByteReader, mask: u32, pattern: u32, offset: c_uint, size: c_uint, value: *mut u32) -> c_uint;
|
||||||
pub fn gst_byte_reader_peek_data(reader: *const GstByteReader, size: c_uint, val: *mut *mut u8) -> gboolean;
|
pub fn gst_byte_reader_peek_data(reader: *const GstByteReader, size: c_uint, val: *mut *mut u8) -> gboolean;
|
||||||
pub fn gst_byte_reader_peek_float32_be(reader: *const GstByteReader, val: *mut c_float) -> gboolean;
|
pub fn gst_byte_reader_peek_float32_be(reader: *const GstByteReader, val: *mut c_float) -> gboolean;
|
||||||
|
@ -474,7 +488,7 @@ extern "C" {
|
||||||
pub fn gst_byte_reader_peek_int64_le(reader: *const GstByteReader, val: *mut i64) -> gboolean;
|
pub fn gst_byte_reader_peek_int64_le(reader: *const GstByteReader, val: *mut i64) -> gboolean;
|
||||||
pub fn gst_byte_reader_peek_int8(reader: *const GstByteReader, val: *mut i8) -> gboolean;
|
pub fn gst_byte_reader_peek_int8(reader: *const GstByteReader, val: *mut i8) -> gboolean;
|
||||||
pub fn gst_byte_reader_peek_string_utf8(reader: *const GstByteReader, str: *mut *mut c_char) -> gboolean;
|
pub fn gst_byte_reader_peek_string_utf8(reader: *const GstByteReader, str: *mut *mut c_char) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_byte_reader_peek_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
|
pub fn gst_byte_reader_peek_sub_reader(reader: *mut GstByteReader, sub_reader: *mut GstByteReader, size: c_uint) -> gboolean;
|
||||||
pub fn gst_byte_reader_peek_uint16_be(reader: *const GstByteReader, val: *mut u16) -> gboolean;
|
pub fn gst_byte_reader_peek_uint16_be(reader: *const GstByteReader, val: *mut u16) -> gboolean;
|
||||||
pub fn gst_byte_reader_peek_uint16_le(reader: *const GstByteReader, val: *mut u16) -> gboolean;
|
pub fn gst_byte_reader_peek_uint16_le(reader: *const GstByteReader, val: *mut u16) -> gboolean;
|
||||||
|
@ -542,56 +556,56 @@ extern "C" {
|
||||||
// GstFlowCombiner
|
// GstFlowCombiner
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_flow_combiner_get_type() -> GType;
|
pub fn gst_flow_combiner_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_new() -> *mut GstFlowCombiner;
|
pub fn gst_flow_combiner_new() -> *mut GstFlowCombiner;
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_add_pad(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad);
|
pub fn gst_flow_combiner_add_pad(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_clear(combiner: *mut GstFlowCombiner);
|
pub fn gst_flow_combiner_clear(combiner: *mut GstFlowCombiner);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_free(combiner: *mut GstFlowCombiner);
|
pub fn gst_flow_combiner_free(combiner: *mut GstFlowCombiner);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_ref(combiner: *mut GstFlowCombiner) -> *mut GstFlowCombiner;
|
pub fn gst_flow_combiner_ref(combiner: *mut GstFlowCombiner) -> *mut GstFlowCombiner;
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_remove_pad(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad);
|
pub fn gst_flow_combiner_remove_pad(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_reset(combiner: *mut GstFlowCombiner);
|
pub fn gst_flow_combiner_reset(combiner: *mut GstFlowCombiner);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_unref(combiner: *mut GstFlowCombiner);
|
pub fn gst_flow_combiner_unref(combiner: *mut GstFlowCombiner);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_update_flow(combiner: *mut GstFlowCombiner, fret: gst::GstFlowReturn) -> gst::GstFlowReturn;
|
pub fn gst_flow_combiner_update_flow(combiner: *mut GstFlowCombiner, fret: gst::GstFlowReturn) -> gst::GstFlowReturn;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_flow_combiner_update_pad_flow(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad, fret: gst::GstFlowReturn) -> gst::GstFlowReturn;
|
pub fn gst_flow_combiner_update_pad_flow(combiner: *mut GstFlowCombiner, pad: *mut gst::GstPad, fret: gst::GstFlowReturn) -> gst::GstFlowReturn;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstQueueArray
|
// GstQueueArray
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_drop_element(array: *mut GstQueueArray, idx: c_uint) -> gpointer;
|
pub fn gst_queue_array_drop_element(array: *mut GstQueueArray, idx: c_uint) -> gpointer;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_queue_array_drop_struct(array: *mut GstQueueArray, idx: c_uint, p_struct: gpointer) -> gboolean;
|
pub fn gst_queue_array_drop_struct(array: *mut GstQueueArray, idx: c_uint, p_struct: gpointer) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_find(array: *mut GstQueueArray, func: glib::GCompareFunc, data: gpointer) -> c_uint;
|
pub fn gst_queue_array_find(array: *mut GstQueueArray, func: glib::GCompareFunc, data: gpointer) -> c_uint;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_free(array: *mut GstQueueArray);
|
pub fn gst_queue_array_free(array: *mut GstQueueArray);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_get_length(array: *mut GstQueueArray) -> c_uint;
|
pub fn gst_queue_array_get_length(array: *mut GstQueueArray) -> c_uint;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_is_empty(array: *mut GstQueueArray) -> gboolean;
|
pub fn gst_queue_array_is_empty(array: *mut GstQueueArray) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_peek_head(array: *mut GstQueueArray) -> gpointer;
|
pub fn gst_queue_array_peek_head(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_queue_array_peek_head_struct(array: *mut GstQueueArray) -> gpointer;
|
pub fn gst_queue_array_peek_head_struct(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_pop_head(array: *mut GstQueueArray) -> gpointer;
|
pub fn gst_queue_array_pop_head(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_queue_array_pop_head_struct(array: *mut GstQueueArray) -> gpointer;
|
pub fn gst_queue_array_pop_head_struct(array: *mut GstQueueArray) -> gpointer;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_push_tail(array: *mut GstQueueArray, data: gpointer);
|
pub fn gst_queue_array_push_tail(array: *mut GstQueueArray, data: gpointer);
|
||||||
pub fn gst_queue_array_push_tail_struct(array: *mut GstQueueArray, p_struct: gpointer);
|
pub fn gst_queue_array_push_tail_struct(array: *mut GstQueueArray, p_struct: gpointer);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_queue_array_new(initial_size: c_uint) -> *mut GstQueueArray;
|
pub fn gst_queue_array_new(initial_size: c_uint) -> *mut GstQueueArray;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_queue_array_new_for_struct(struct_size: size_t, initial_size: c_uint) -> *mut GstQueueArray;
|
pub fn gst_queue_array_new_for_struct(struct_size: size_t, initial_size: c_uint) -> *mut GstQueueArray;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -603,41 +617,41 @@ extern "C" {
|
||||||
pub fn gst_adapter_available_fast(adapter: *mut GstAdapter) -> size_t;
|
pub fn gst_adapter_available_fast(adapter: *mut GstAdapter) -> size_t;
|
||||||
pub fn gst_adapter_clear(adapter: *mut GstAdapter);
|
pub fn gst_adapter_clear(adapter: *mut GstAdapter);
|
||||||
pub fn gst_adapter_copy(adapter: *mut GstAdapter, dest: gpointer, offset: size_t, size: size_t);
|
pub fn gst_adapter_copy(adapter: *mut GstAdapter, dest: gpointer, offset: size_t, size: size_t);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_adapter_copy_bytes(adapter: *mut GstAdapter, offset: size_t, size: size_t) -> *mut glib::GBytes;
|
pub fn gst_adapter_copy_bytes(adapter: *mut GstAdapter, offset: size_t, size: size_t) -> *mut glib::GBytes;
|
||||||
pub fn gst_adapter_distance_from_discont(adapter: *mut GstAdapter) -> u64;
|
pub fn gst_adapter_distance_from_discont(adapter: *mut GstAdapter) -> u64;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_adapter_dts_at_discont(adapter: *mut GstAdapter) -> gst::GstClockTime;
|
pub fn gst_adapter_dts_at_discont(adapter: *mut GstAdapter) -> gst::GstClockTime;
|
||||||
pub fn gst_adapter_flush(adapter: *mut GstAdapter, flush: size_t);
|
pub fn gst_adapter_flush(adapter: *mut GstAdapter, flush: size_t);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_adapter_get_buffer(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
pub fn gst_adapter_get_buffer(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_adapter_get_buffer_fast(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
pub fn gst_adapter_get_buffer_fast(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_adapter_get_buffer_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBufferList;
|
pub fn gst_adapter_get_buffer_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBufferList;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_adapter_get_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut glib::GList;
|
pub fn gst_adapter_get_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut glib::GList;
|
||||||
pub fn gst_adapter_map(adapter: *mut GstAdapter, size: size_t) -> gconstpointer;
|
pub fn gst_adapter_map(adapter: *mut GstAdapter, size: size_t) -> gconstpointer;
|
||||||
pub fn gst_adapter_masked_scan_uint32(adapter: *mut GstAdapter, mask: u32, pattern: u32, offset: size_t, size: size_t) -> ssize_t;
|
pub fn gst_adapter_masked_scan_uint32(adapter: *mut GstAdapter, mask: u32, pattern: u32, offset: size_t, size: size_t) -> ssize_t;
|
||||||
pub fn gst_adapter_masked_scan_uint32_peek(adapter: *mut GstAdapter, mask: u32, pattern: u32, offset: size_t, size: size_t, value: *mut u32) -> ssize_t;
|
pub fn gst_adapter_masked_scan_uint32_peek(adapter: *mut GstAdapter, mask: u32, pattern: u32, offset: size_t, size: size_t, value: *mut u32) -> ssize_t;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_adapter_offset_at_discont(adapter: *mut GstAdapter) -> u64;
|
pub fn gst_adapter_offset_at_discont(adapter: *mut GstAdapter) -> u64;
|
||||||
pub fn gst_adapter_prev_dts(adapter: *mut GstAdapter, distance: *mut u64) -> gst::GstClockTime;
|
pub fn gst_adapter_prev_dts(adapter: *mut GstAdapter, distance: *mut u64) -> gst::GstClockTime;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_adapter_prev_dts_at_offset(adapter: *mut GstAdapter, offset: size_t, distance: *mut u64) -> gst::GstClockTime;
|
pub fn gst_adapter_prev_dts_at_offset(adapter: *mut GstAdapter, offset: size_t, distance: *mut u64) -> gst::GstClockTime;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_adapter_prev_offset(adapter: *mut GstAdapter, distance: *mut u64) -> u64;
|
pub fn gst_adapter_prev_offset(adapter: *mut GstAdapter, distance: *mut u64) -> u64;
|
||||||
pub fn gst_adapter_prev_pts(adapter: *mut GstAdapter, distance: *mut u64) -> gst::GstClockTime;
|
pub fn gst_adapter_prev_pts(adapter: *mut GstAdapter, distance: *mut u64) -> gst::GstClockTime;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_adapter_prev_pts_at_offset(adapter: *mut GstAdapter, offset: size_t, distance: *mut u64) -> gst::GstClockTime;
|
pub fn gst_adapter_prev_pts_at_offset(adapter: *mut GstAdapter, offset: size_t, distance: *mut u64) -> gst::GstClockTime;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_adapter_pts_at_discont(adapter: *mut GstAdapter) -> gst::GstClockTime;
|
pub fn gst_adapter_pts_at_discont(adapter: *mut GstAdapter) -> gst::GstClockTime;
|
||||||
pub fn gst_adapter_push(adapter: *mut GstAdapter, buf: *mut gst::GstBuffer);
|
pub fn gst_adapter_push(adapter: *mut GstAdapter, buf: *mut gst::GstBuffer);
|
||||||
pub fn gst_adapter_take(adapter: *mut GstAdapter, nbytes: size_t) -> gpointer;
|
pub fn gst_adapter_take(adapter: *mut GstAdapter, nbytes: size_t) -> gpointer;
|
||||||
pub fn gst_adapter_take_buffer(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
pub fn gst_adapter_take_buffer(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_adapter_take_buffer_fast(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
pub fn gst_adapter_take_buffer_fast(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBuffer;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_adapter_take_buffer_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBufferList;
|
pub fn gst_adapter_take_buffer_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut gst::GstBufferList;
|
||||||
pub fn gst_adapter_take_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut glib::GList;
|
pub fn gst_adapter_take_list(adapter: *mut GstAdapter, nbytes: size_t) -> *mut glib::GList;
|
||||||
pub fn gst_adapter_unmap(adapter: *mut GstAdapter);
|
pub fn gst_adapter_unmap(adapter: *mut GstAdapter);
|
||||||
|
@ -648,10 +662,10 @@ extern "C" {
|
||||||
pub fn gst_base_parse_get_type() -> GType;
|
pub fn gst_base_parse_get_type() -> GType;
|
||||||
pub fn gst_base_parse_add_index_entry(parse: *mut GstBaseParse, offset: u64, ts: gst::GstClockTime, key: gboolean, force: gboolean) -> gboolean;
|
pub fn gst_base_parse_add_index_entry(parse: *mut GstBaseParse, offset: u64, ts: gst::GstClockTime, key: gboolean, force: gboolean) -> gboolean;
|
||||||
pub fn gst_base_parse_convert_default(parse: *mut GstBaseParse, src_format: gst::GstFormat, src_value: i64, dest_format: gst::GstFormat, dest_value: *mut i64) -> gboolean;
|
pub fn gst_base_parse_convert_default(parse: *mut GstBaseParse, src_format: gst::GstFormat, src_value: i64, dest_format: gst::GstFormat, dest_value: *mut i64) -> gboolean;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_base_parse_drain(parse: *mut GstBaseParse);
|
pub fn gst_base_parse_drain(parse: *mut GstBaseParse);
|
||||||
pub fn gst_base_parse_finish_frame(parse: *mut GstBaseParse, frame: *mut GstBaseParseFrame, size: c_int) -> gst::GstFlowReturn;
|
pub fn gst_base_parse_finish_frame(parse: *mut GstBaseParse, frame: *mut GstBaseParseFrame, size: c_int) -> gst::GstFlowReturn;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_base_parse_merge_tags(parse: *mut GstBaseParse, tags: *mut gst::GstTagList, mode: gst::GstTagMergeMode);
|
pub fn gst_base_parse_merge_tags(parse: *mut GstBaseParse, tags: *mut gst::GstTagList, mode: gst::GstTagMergeMode);
|
||||||
pub fn gst_base_parse_push_frame(parse: *mut GstBaseParse, frame: *mut GstBaseParseFrame) -> gst::GstFlowReturn;
|
pub fn gst_base_parse_push_frame(parse: *mut GstBaseParse, frame: *mut GstBaseParseFrame) -> gst::GstFlowReturn;
|
||||||
pub fn gst_base_parse_set_average_bitrate(parse: *mut GstBaseParse, bitrate: c_uint);
|
pub fn gst_base_parse_set_average_bitrate(parse: *mut GstBaseParse, bitrate: c_uint);
|
||||||
|
@ -664,7 +678,7 @@ extern "C" {
|
||||||
pub fn gst_base_parse_set_passthrough(parse: *mut GstBaseParse, passthrough: gboolean);
|
pub fn gst_base_parse_set_passthrough(parse: *mut GstBaseParse, passthrough: gboolean);
|
||||||
pub fn gst_base_parse_set_pts_interpolation(parse: *mut GstBaseParse, pts_interpolate: gboolean);
|
pub fn gst_base_parse_set_pts_interpolation(parse: *mut GstBaseParse, pts_interpolate: gboolean);
|
||||||
pub fn gst_base_parse_set_syncable(parse: *mut GstBaseParse, syncable: gboolean);
|
pub fn gst_base_parse_set_syncable(parse: *mut GstBaseParse, syncable: gboolean);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_base_parse_set_ts_at_offset(parse: *mut GstBaseParse, offset: size_t);
|
pub fn gst_base_parse_set_ts_at_offset(parse: *mut GstBaseParse, offset: size_t);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -673,11 +687,11 @@ extern "C" {
|
||||||
pub fn gst_base_sink_get_type() -> GType;
|
pub fn gst_base_sink_get_type() -> GType;
|
||||||
pub fn gst_base_sink_do_preroll(sink: *mut GstBaseSink, obj: *mut gst::GstMiniObject) -> gst::GstFlowReturn;
|
pub fn gst_base_sink_do_preroll(sink: *mut GstBaseSink, obj: *mut gst::GstMiniObject) -> gst::GstFlowReturn;
|
||||||
pub fn gst_base_sink_get_blocksize(sink: *mut GstBaseSink) -> c_uint;
|
pub fn gst_base_sink_get_blocksize(sink: *mut GstBaseSink) -> c_uint;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_base_sink_get_drop_out_of_segment(sink: *mut GstBaseSink) -> gboolean;
|
pub fn gst_base_sink_get_drop_out_of_segment(sink: *mut GstBaseSink) -> gboolean;
|
||||||
pub fn gst_base_sink_get_last_sample(sink: *mut GstBaseSink) -> *mut gst::GstSample;
|
pub fn gst_base_sink_get_last_sample(sink: *mut GstBaseSink) -> *mut gst::GstSample;
|
||||||
pub fn gst_base_sink_get_latency(sink: *mut GstBaseSink) -> gst::GstClockTime;
|
pub fn gst_base_sink_get_latency(sink: *mut GstBaseSink) -> gst::GstClockTime;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_base_sink_get_max_bitrate(sink: *mut GstBaseSink) -> u64;
|
pub fn gst_base_sink_get_max_bitrate(sink: *mut GstBaseSink) -> u64;
|
||||||
pub fn gst_base_sink_get_max_lateness(sink: *mut GstBaseSink) -> i64;
|
pub fn gst_base_sink_get_max_lateness(sink: *mut GstBaseSink) -> i64;
|
||||||
pub fn gst_base_sink_get_render_delay(sink: *mut GstBaseSink) -> gst::GstClockTime;
|
pub fn gst_base_sink_get_render_delay(sink: *mut GstBaseSink) -> gst::GstClockTime;
|
||||||
|
@ -690,10 +704,10 @@ extern "C" {
|
||||||
pub fn gst_base_sink_query_latency(sink: *mut GstBaseSink, live: *mut gboolean, upstream_live: *mut gboolean, min_latency: *mut gst::GstClockTime, max_latency: *mut gst::GstClockTime) -> gboolean;
|
pub fn gst_base_sink_query_latency(sink: *mut GstBaseSink, live: *mut gboolean, upstream_live: *mut gboolean, min_latency: *mut gst::GstClockTime, max_latency: *mut gst::GstClockTime) -> gboolean;
|
||||||
pub fn gst_base_sink_set_async_enabled(sink: *mut GstBaseSink, enabled: gboolean);
|
pub fn gst_base_sink_set_async_enabled(sink: *mut GstBaseSink, enabled: gboolean);
|
||||||
pub fn gst_base_sink_set_blocksize(sink: *mut GstBaseSink, blocksize: c_uint);
|
pub fn gst_base_sink_set_blocksize(sink: *mut GstBaseSink, blocksize: c_uint);
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_base_sink_set_drop_out_of_segment(sink: *mut GstBaseSink, drop_out_of_segment: gboolean);
|
pub fn gst_base_sink_set_drop_out_of_segment(sink: *mut GstBaseSink, drop_out_of_segment: gboolean);
|
||||||
pub fn gst_base_sink_set_last_sample_enabled(sink: *mut GstBaseSink, enabled: gboolean);
|
pub fn gst_base_sink_set_last_sample_enabled(sink: *mut GstBaseSink, enabled: gboolean);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_base_sink_set_max_bitrate(sink: *mut GstBaseSink, max_bitrate: u64);
|
pub fn gst_base_sink_set_max_bitrate(sink: *mut GstBaseSink, max_bitrate: u64);
|
||||||
pub fn gst_base_sink_set_max_lateness(sink: *mut GstBaseSink, max_lateness: i64);
|
pub fn gst_base_sink_set_max_lateness(sink: *mut GstBaseSink, max_lateness: i64);
|
||||||
pub fn gst_base_sink_set_qos_enabled(sink: *mut GstBaseSink, enabled: gboolean);
|
pub fn gst_base_sink_set_qos_enabled(sink: *mut GstBaseSink, enabled: gboolean);
|
||||||
|
@ -718,7 +732,7 @@ extern "C" {
|
||||||
pub fn gst_base_src_new_seamless_segment(src: *mut GstBaseSrc, start: i64, stop: i64, time: i64) -> gboolean;
|
pub fn gst_base_src_new_seamless_segment(src: *mut GstBaseSrc, start: i64, stop: i64, time: i64) -> gboolean;
|
||||||
pub fn gst_base_src_query_latency(src: *mut GstBaseSrc, live: *mut gboolean, min_latency: *mut gst::GstClockTime, max_latency: *mut gst::GstClockTime) -> gboolean;
|
pub fn gst_base_src_query_latency(src: *mut GstBaseSrc, live: *mut gboolean, min_latency: *mut gst::GstClockTime, max_latency: *mut gst::GstClockTime) -> gboolean;
|
||||||
pub fn gst_base_src_set_async(src: *mut GstBaseSrc, async: gboolean);
|
pub fn gst_base_src_set_async(src: *mut GstBaseSrc, async: gboolean);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_base_src_set_automatic_eos(src: *mut GstBaseSrc, automatic_eos: gboolean);
|
pub fn gst_base_src_set_automatic_eos(src: *mut GstBaseSrc, automatic_eos: gboolean);
|
||||||
pub fn gst_base_src_set_blocksize(src: *mut GstBaseSrc, blocksize: c_uint);
|
pub fn gst_base_src_set_blocksize(src: *mut GstBaseSrc, blocksize: c_uint);
|
||||||
pub fn gst_base_src_set_caps(src: *mut GstBaseSrc, caps: *mut gst::GstCaps) -> gboolean;
|
pub fn gst_base_src_set_caps(src: *mut GstBaseSrc, caps: *mut gst::GstCaps) -> gboolean;
|
||||||
|
@ -744,11 +758,11 @@ extern "C" {
|
||||||
pub fn gst_base_transform_set_gap_aware(trans: *mut GstBaseTransform, gap_aware: gboolean);
|
pub fn gst_base_transform_set_gap_aware(trans: *mut GstBaseTransform, gap_aware: gboolean);
|
||||||
pub fn gst_base_transform_set_in_place(trans: *mut GstBaseTransform, in_place: gboolean);
|
pub fn gst_base_transform_set_in_place(trans: *mut GstBaseTransform, in_place: gboolean);
|
||||||
pub fn gst_base_transform_set_passthrough(trans: *mut GstBaseTransform, passthrough: gboolean);
|
pub fn gst_base_transform_set_passthrough(trans: *mut GstBaseTransform, passthrough: gboolean);
|
||||||
#[cfg(feature = "v1_0_1")]
|
#[cfg(any(feature = "v1_0_1", feature = "dox"))]
|
||||||
pub fn gst_base_transform_set_prefer_passthrough(trans: *mut GstBaseTransform, prefer_passthrough: gboolean);
|
pub fn gst_base_transform_set_prefer_passthrough(trans: *mut GstBaseTransform, prefer_passthrough: gboolean);
|
||||||
pub fn gst_base_transform_set_qos_enabled(trans: *mut GstBaseTransform, enabled: gboolean);
|
pub fn gst_base_transform_set_qos_enabled(trans: *mut GstBaseTransform, enabled: gboolean);
|
||||||
pub fn gst_base_transform_update_qos(trans: *mut GstBaseTransform, proportion: c_double, diff: gst::GstClockTimeDiff, timestamp: gst::GstClockTime);
|
pub fn gst_base_transform_update_qos(trans: *mut GstBaseTransform, proportion: c_double, diff: gst::GstClockTimeDiff, timestamp: gst::GstClockTime);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_base_transform_update_src_caps(trans: *mut GstBaseTransform, updated_caps: *mut gst::GstCaps) -> gboolean;
|
pub fn gst_base_transform_update_src_caps(trans: *mut GstBaseTransform, updated_caps: *mut gst::GstCaps) -> gboolean;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -770,13 +784,13 @@ extern "C" {
|
||||||
pub fn gst_collect_pads_set_clip_function(pads: *mut GstCollectPads, clipfunc: GstCollectPadsClipFunction, user_data: gpointer);
|
pub fn gst_collect_pads_set_clip_function(pads: *mut GstCollectPads, clipfunc: GstCollectPadsClipFunction, user_data: gpointer);
|
||||||
pub fn gst_collect_pads_set_compare_function(pads: *mut GstCollectPads, func: GstCollectPadsCompareFunction, user_data: gpointer);
|
pub fn gst_collect_pads_set_compare_function(pads: *mut GstCollectPads, func: GstCollectPadsCompareFunction, user_data: gpointer);
|
||||||
pub fn gst_collect_pads_set_event_function(pads: *mut GstCollectPads, func: GstCollectPadsEventFunction, user_data: gpointer);
|
pub fn gst_collect_pads_set_event_function(pads: *mut GstCollectPads, func: GstCollectPadsEventFunction, user_data: gpointer);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_collect_pads_set_flush_function(pads: *mut GstCollectPads, func: GstCollectPadsFlushFunction, user_data: gpointer);
|
pub fn gst_collect_pads_set_flush_function(pads: *mut GstCollectPads, func: GstCollectPadsFlushFunction, user_data: gpointer);
|
||||||
pub fn gst_collect_pads_set_flushing(pads: *mut GstCollectPads, flushing: gboolean);
|
pub fn gst_collect_pads_set_flushing(pads: *mut GstCollectPads, flushing: gboolean);
|
||||||
pub fn gst_collect_pads_set_function(pads: *mut GstCollectPads, func: GstCollectPadsFunction, user_data: gpointer);
|
pub fn gst_collect_pads_set_function(pads: *mut GstCollectPads, func: GstCollectPadsFunction, user_data: gpointer);
|
||||||
pub fn gst_collect_pads_set_query_function(pads: *mut GstCollectPads, func: GstCollectPadsQueryFunction, user_data: gpointer);
|
pub fn gst_collect_pads_set_query_function(pads: *mut GstCollectPads, func: GstCollectPadsQueryFunction, user_data: gpointer);
|
||||||
pub fn gst_collect_pads_set_waiting(pads: *mut GstCollectPads, data: *mut GstCollectData, waiting: gboolean);
|
pub fn gst_collect_pads_set_waiting(pads: *mut GstCollectPads, data: *mut GstCollectData, waiting: gboolean);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_collect_pads_src_event_default(pads: *mut GstCollectPads, pad: *mut gst::GstPad, event: *mut gst::GstEvent) -> gboolean;
|
pub fn gst_collect_pads_src_event_default(pads: *mut GstCollectPads, pad: *mut gst::GstPad, event: *mut gst::GstEvent) -> gboolean;
|
||||||
pub fn gst_collect_pads_start(pads: *mut GstCollectPads);
|
pub fn gst_collect_pads_start(pads: *mut GstCollectPads);
|
||||||
pub fn gst_collect_pads_stop(pads: *mut GstCollectPads);
|
pub fn gst_collect_pads_stop(pads: *mut GstCollectPads);
|
||||||
|
@ -786,29 +800,29 @@ extern "C" {
|
||||||
// GstDataQueue
|
// GstDataQueue
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_data_queue_get_type() -> GType;
|
pub fn gst_data_queue_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_new(checkfull: GstDataQueueCheckFullFunction, fullcallback: GstDataQueueFullCallback, emptycallback: GstDataQueueEmptyCallback, checkdata: gpointer) -> *mut GstDataQueue;
|
pub fn gst_data_queue_new(checkfull: GstDataQueueCheckFullFunction, fullcallback: GstDataQueueFullCallback, emptycallback: GstDataQueueEmptyCallback, checkdata: gpointer) -> *mut GstDataQueue;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_drop_head(queue: *mut GstDataQueue, type_: GType) -> gboolean;
|
pub fn gst_data_queue_drop_head(queue: *mut GstDataQueue, type_: GType) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_flush(queue: *mut GstDataQueue);
|
pub fn gst_data_queue_flush(queue: *mut GstDataQueue);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_get_level(queue: *mut GstDataQueue, level: *mut GstDataQueueSize);
|
pub fn gst_data_queue_get_level(queue: *mut GstDataQueue, level: *mut GstDataQueueSize);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_is_empty(queue: *mut GstDataQueue) -> gboolean;
|
pub fn gst_data_queue_is_empty(queue: *mut GstDataQueue) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_is_full(queue: *mut GstDataQueue) -> gboolean;
|
pub fn gst_data_queue_is_full(queue: *mut GstDataQueue) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_limits_changed(queue: *mut GstDataQueue);
|
pub fn gst_data_queue_limits_changed(queue: *mut GstDataQueue);
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_peek(queue: *mut GstDataQueue, item: *mut *mut GstDataQueueItem) -> gboolean;
|
pub fn gst_data_queue_peek(queue: *mut GstDataQueue, item: *mut *mut GstDataQueueItem) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_pop(queue: *mut GstDataQueue, item: *mut *mut GstDataQueueItem) -> gboolean;
|
pub fn gst_data_queue_pop(queue: *mut GstDataQueue, item: *mut *mut GstDataQueueItem) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_push(queue: *mut GstDataQueue, item: *mut GstDataQueueItem) -> gboolean;
|
pub fn gst_data_queue_push(queue: *mut GstDataQueue, item: *mut GstDataQueueItem) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_push_force(queue: *mut GstDataQueue, item: *mut GstDataQueueItem) -> gboolean;
|
pub fn gst_data_queue_push_force(queue: *mut GstDataQueue, item: *mut GstDataQueueItem) -> gboolean;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_data_queue_set_flushing(queue: *mut GstDataQueue, flushing: gboolean);
|
pub fn gst_data_queue_set_flushing(queue: *mut GstDataQueue, flushing: gboolean);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkg-config = "0.3.7"
|
pkg-config = "0.3.7"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.9"
|
bitflags = "1.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
|
@ -23,6 +23,7 @@ v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_pbutils_sys"
|
name = "gstreamer_pbutils_sys"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (9bd51ed) from gir-files (???)
|
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||||
|
@ -113,13 +113,18 @@ pub const GST_PLUGINS_BASE_VERSION_NANO: c_int = 0;
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstDiscovererSerializeFlags: c_uint {
|
pub struct GstDiscovererSerializeFlags: c_uint {
|
||||||
const GST_DISCOVERER_SERIALIZE_BASIC = 0;
|
const BASIC = 0;
|
||||||
const GST_DISCOVERER_SERIALIZE_CAPS = 1;
|
const CAPS = 1;
|
||||||
const GST_DISCOVERER_SERIALIZE_TAGS = 2;
|
const TAGS = 2;
|
||||||
const GST_DISCOVERER_SERIALIZE_MISC = 4;
|
const MISC = 4;
|
||||||
const GST_DISCOVERER_SERIALIZE_ALL = 7;
|
const ALL = 7;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_DISCOVERER_SERIALIZE_BASIC: GstDiscovererSerializeFlags = GstDiscovererSerializeFlags::BASIC;
|
||||||
|
pub const GST_DISCOVERER_SERIALIZE_CAPS: GstDiscovererSerializeFlags = GstDiscovererSerializeFlags::CAPS;
|
||||||
|
pub const GST_DISCOVERER_SERIALIZE_TAGS: GstDiscovererSerializeFlags = GstDiscovererSerializeFlags::TAGS;
|
||||||
|
pub const GST_DISCOVERER_SERIALIZE_MISC: GstDiscovererSerializeFlags = GstDiscovererSerializeFlags::MISC;
|
||||||
|
pub const GST_DISCOVERER_SERIALIZE_ALL: GstDiscovererSerializeFlags = GstDiscovererSerializeFlags::ALL;
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
pub type GstAudioVisualizerShaderFunc = Option<unsafe extern "C" fn(*mut GstAudioVisualizer, *const gst_video::GstVideoFrame, *mut gst_video::GstVideoFrame)>;
|
pub type GstAudioVisualizerShaderFunc = Option<unsafe extern "C" fn(*mut GstAudioVisualizer, *const gst_video::GstVideoFrame, *mut gst_video::GstVideoFrame)>;
|
||||||
|
@ -245,11 +250,11 @@ extern "C" {
|
||||||
pub fn gst_install_plugins_context_new() -> *mut GstInstallPluginsContext;
|
pub fn gst_install_plugins_context_new() -> *mut GstInstallPluginsContext;
|
||||||
pub fn gst_install_plugins_context_copy(ctx: *mut GstInstallPluginsContext) -> *mut GstInstallPluginsContext;
|
pub fn gst_install_plugins_context_copy(ctx: *mut GstInstallPluginsContext) -> *mut GstInstallPluginsContext;
|
||||||
pub fn gst_install_plugins_context_free(ctx: *mut GstInstallPluginsContext);
|
pub fn gst_install_plugins_context_free(ctx: *mut GstInstallPluginsContext);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_install_plugins_context_set_confirm_search(ctx: *mut GstInstallPluginsContext, confirm_search: gboolean);
|
pub fn gst_install_plugins_context_set_confirm_search(ctx: *mut GstInstallPluginsContext, confirm_search: gboolean);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_install_plugins_context_set_desktop_id(ctx: *mut GstInstallPluginsContext, desktop_id: *const c_char);
|
pub fn gst_install_plugins_context_set_desktop_id(ctx: *mut GstInstallPluginsContext, desktop_id: *const c_char);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_install_plugins_context_set_startup_notification_id(ctx: *mut GstInstallPluginsContext, startup_id: *const c_char);
|
pub fn gst_install_plugins_context_set_startup_notification_id(ctx: *mut GstInstallPluginsContext, startup_id: *const c_char);
|
||||||
pub fn gst_install_plugins_context_set_xid(ctx: *mut GstInstallPluginsContext, xid: c_uint);
|
pub fn gst_install_plugins_context_set_xid(ctx: *mut GstInstallPluginsContext, xid: c_uint);
|
||||||
|
|
||||||
|
@ -289,14 +294,14 @@ extern "C" {
|
||||||
// GstDiscovererInfo
|
// GstDiscovererInfo
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_discoverer_info_get_type() -> GType;
|
pub fn gst_discoverer_info_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_discoverer_info_from_variant(variant: *mut glib::GVariant) -> *mut GstDiscovererInfo;
|
pub fn gst_discoverer_info_from_variant(variant: *mut glib::GVariant) -> *mut GstDiscovererInfo;
|
||||||
pub fn gst_discoverer_info_copy(ptr: *mut GstDiscovererInfo) -> *mut GstDiscovererInfo;
|
pub fn gst_discoverer_info_copy(ptr: *mut GstDiscovererInfo) -> *mut GstDiscovererInfo;
|
||||||
pub fn gst_discoverer_info_get_audio_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
|
pub fn gst_discoverer_info_get_audio_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
|
||||||
pub fn gst_discoverer_info_get_container_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
|
pub fn gst_discoverer_info_get_container_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
|
||||||
pub fn gst_discoverer_info_get_duration(info: *const GstDiscovererInfo) -> gst::GstClockTime;
|
pub fn gst_discoverer_info_get_duration(info: *const GstDiscovererInfo) -> gst::GstClockTime;
|
||||||
pub fn gst_discoverer_info_get_misc(info: *const GstDiscovererInfo) -> *const gst::GstStructure;
|
pub fn gst_discoverer_info_get_misc(info: *const GstDiscovererInfo) -> *const gst::GstStructure;
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_discoverer_info_get_missing_elements_installer_details(info: *const GstDiscovererInfo) -> *mut *mut c_char;
|
pub fn gst_discoverer_info_get_missing_elements_installer_details(info: *const GstDiscovererInfo) -> *mut *mut c_char;
|
||||||
pub fn gst_discoverer_info_get_result(info: *const GstDiscovererInfo) -> GstDiscovererResult;
|
pub fn gst_discoverer_info_get_result(info: *const GstDiscovererInfo) -> GstDiscovererResult;
|
||||||
pub fn gst_discoverer_info_get_seekable(info: *const GstDiscovererInfo) -> gboolean;
|
pub fn gst_discoverer_info_get_seekable(info: *const GstDiscovererInfo) -> gboolean;
|
||||||
|
@ -308,7 +313,7 @@ extern "C" {
|
||||||
pub fn gst_discoverer_info_get_toc(info: *const GstDiscovererInfo) -> *const gst::GstToc;
|
pub fn gst_discoverer_info_get_toc(info: *const GstDiscovererInfo) -> *const gst::GstToc;
|
||||||
pub fn gst_discoverer_info_get_uri(info: *const GstDiscovererInfo) -> *const c_char;
|
pub fn gst_discoverer_info_get_uri(info: *const GstDiscovererInfo) -> *const c_char;
|
||||||
pub fn gst_discoverer_info_get_video_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
|
pub fn gst_discoverer_info_get_video_streams(info: *mut GstDiscovererInfo) -> *mut glib::GList;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_discoverer_info_to_variant(info: *mut GstDiscovererInfo, flags: GstDiscovererSerializeFlags) -> *mut glib::GVariant;
|
pub fn gst_discoverer_info_to_variant(info: *mut GstDiscovererInfo, flags: GstDiscovererSerializeFlags) -> *mut glib::GVariant;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -440,15 +445,15 @@ extern "C" {
|
||||||
pub fn gst_codec_utils_mpeg4video_caps_set_level_and_profile(caps: *mut gst::GstCaps, vis_obj_seq: *const u8, len: c_uint) -> gboolean;
|
pub fn gst_codec_utils_mpeg4video_caps_set_level_and_profile(caps: *mut gst::GstCaps, vis_obj_seq: *const u8, len: c_uint) -> gboolean;
|
||||||
pub fn gst_codec_utils_mpeg4video_get_level(vis_obj_seq: *const u8, len: c_uint) -> *const c_char;
|
pub fn gst_codec_utils_mpeg4video_get_level(vis_obj_seq: *const u8, len: c_uint) -> *const c_char;
|
||||||
pub fn gst_codec_utils_mpeg4video_get_profile(vis_obj_seq: *const u8, len: c_uint) -> *const c_char;
|
pub fn gst_codec_utils_mpeg4video_get_profile(vis_obj_seq: *const u8, len: c_uint) -> *const c_char;
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_codec_utils_opus_create_caps(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const u8) -> *mut gst::GstCaps;
|
pub fn gst_codec_utils_opus_create_caps(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const u8) -> *mut gst::GstCaps;
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_codec_utils_opus_create_caps_from_header(header: *mut gst::GstBuffer, comments: *mut gst::GstBuffer) -> *mut gst::GstCaps;
|
pub fn gst_codec_utils_opus_create_caps_from_header(header: *mut gst::GstBuffer, comments: *mut gst::GstBuffer) -> *mut gst::GstCaps;
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_codec_utils_opus_create_header(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const u8, pre_skip: u16, output_gain: i16) -> *mut gst::GstBuffer;
|
pub fn gst_codec_utils_opus_create_header(rate: u32, channels: u8, channel_mapping_family: u8, stream_count: u8, coupled_count: u8, channel_mapping: *const u8, pre_skip: u16, output_gain: i16) -> *mut gst::GstBuffer;
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_codec_utils_opus_parse_caps(caps: *mut gst::GstCaps, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: u8) -> gboolean;
|
pub fn gst_codec_utils_opus_parse_caps(caps: *mut gst::GstCaps, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: u8) -> gboolean;
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_codec_utils_opus_parse_header(header: *mut gst::GstBuffer, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: u8, pre_skip: *mut u16, output_gain: *mut i16) -> gboolean;
|
pub fn gst_codec_utils_opus_parse_header(header: *mut gst::GstBuffer, rate: *mut u32, channels: *mut u8, channel_mapping_family: *mut u8, stream_count: *mut u8, coupled_count: *mut u8, channel_mapping: u8, pre_skip: *mut u16, output_gain: *mut i16) -> gboolean;
|
||||||
pub fn gst_encoding_list_all_targets(categoryname: *const c_char) -> *mut glib::GList;
|
pub fn gst_encoding_list_all_targets(categoryname: *const c_char) -> *mut glib::GList;
|
||||||
pub fn gst_encoding_list_available_categories() -> *mut glib::GList;
|
pub fn gst_encoding_list_available_categories() -> *mut glib::GList;
|
||||||
|
|
|
@ -14,6 +14,7 @@ path = "../gstreamer-video-sys"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
v1_12 = []
|
v1_12 = []
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_player_sys"
|
name = "gstreamer_player_sys"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (9bd51ed) from gir-files (???)
|
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkg-config = "0.3.7"
|
pkg-config = "0.3.7"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.9"
|
bitflags = "1.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
|
@ -16,6 +16,7 @@ v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_sys"
|
name = "gstreamer_sys"
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -2,13 +2,15 @@
|
||||||
pkg-config = "0.3.7"
|
pkg-config = "0.3.7"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.9"
|
bitflags = "1.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
|
|
||||||
[dependencies.gstreamer-sys]
|
[dependencies.gstreamer-sys]
|
||||||
path = "../gstreamer-sys"
|
path = "../gstreamer-sys"
|
||||||
|
[dependencies.gstreamer-base-sys]
|
||||||
|
path = "../gstreamer-base-sys"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
v1_2 = []
|
v1_2 = []
|
||||||
|
@ -17,6 +19,7 @@ v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_tag_sys"
|
name = "gstreamer_tag_sys"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// This file was generated by gir (9bd51ed) from gir-files (???)
|
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_camel_case_types, non_upper_case_globals)]
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||||
|
@ -115,22 +115,36 @@ pub const GST_TAG_MUSICBRAINZ_TRMID: *const c_char = b"musicbrainz-trmid\0" as *
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstTagLicenseFlags: c_uint {
|
pub struct GstTagLicenseFlags: c_uint {
|
||||||
const GST_TAG_LICENSE_PERMITS_REPRODUCTION = 1;
|
const PERMITS_REPRODUCTION = 1;
|
||||||
const GST_TAG_LICENSE_PERMITS_DISTRIBUTION = 2;
|
const PERMITS_DISTRIBUTION = 2;
|
||||||
const GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS = 4;
|
const PERMITS_DERIVATIVE_WORKS = 4;
|
||||||
const GST_TAG_LICENSE_PERMITS_SHARING = 8;
|
const PERMITS_SHARING = 8;
|
||||||
const GST_TAG_LICENSE_REQUIRES_NOTICE = 256;
|
const REQUIRES_NOTICE = 256;
|
||||||
const GST_TAG_LICENSE_REQUIRES_ATTRIBUTION = 512;
|
const REQUIRES_ATTRIBUTION = 512;
|
||||||
const GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE = 1024;
|
const REQUIRES_SHARE_ALIKE = 1024;
|
||||||
const GST_TAG_LICENSE_REQUIRES_SOURCE_CODE = 2048;
|
const REQUIRES_SOURCE_CODE = 2048;
|
||||||
const GST_TAG_LICENSE_REQUIRES_COPYLEFT = 4096;
|
const REQUIRES_COPYLEFT = 4096;
|
||||||
const GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT = 8192;
|
const REQUIRES_LESSER_COPYLEFT = 8192;
|
||||||
const GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE = 65536;
|
const PROHIBITS_COMMERCIAL_USE = 65536;
|
||||||
const GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE = 131072;
|
const PROHIBITS_HIGH_INCOME_NATION_USE = 131072;
|
||||||
const GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE = 16777216;
|
const CREATIVE_COMMONS_LICENSE = 16777216;
|
||||||
const GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE = 33554432;
|
const FREE_SOFTWARE_FOUNDATION_LICENSE = 33554432;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_TAG_LICENSE_PERMITS_REPRODUCTION: GstTagLicenseFlags = GstTagLicenseFlags::PERMITS_REPRODUCTION;
|
||||||
|
pub const GST_TAG_LICENSE_PERMITS_DISTRIBUTION: GstTagLicenseFlags = GstTagLicenseFlags::PERMITS_DISTRIBUTION;
|
||||||
|
pub const GST_TAG_LICENSE_PERMITS_DERIVATIVE_WORKS: GstTagLicenseFlags = GstTagLicenseFlags::PERMITS_DERIVATIVE_WORKS;
|
||||||
|
pub const GST_TAG_LICENSE_PERMITS_SHARING: GstTagLicenseFlags = GstTagLicenseFlags::PERMITS_SHARING;
|
||||||
|
pub const GST_TAG_LICENSE_REQUIRES_NOTICE: GstTagLicenseFlags = GstTagLicenseFlags::REQUIRES_NOTICE;
|
||||||
|
pub const GST_TAG_LICENSE_REQUIRES_ATTRIBUTION: GstTagLicenseFlags = GstTagLicenseFlags::REQUIRES_ATTRIBUTION;
|
||||||
|
pub const GST_TAG_LICENSE_REQUIRES_SHARE_ALIKE: GstTagLicenseFlags = GstTagLicenseFlags::REQUIRES_SHARE_ALIKE;
|
||||||
|
pub const GST_TAG_LICENSE_REQUIRES_SOURCE_CODE: GstTagLicenseFlags = GstTagLicenseFlags::REQUIRES_SOURCE_CODE;
|
||||||
|
pub const GST_TAG_LICENSE_REQUIRES_COPYLEFT: GstTagLicenseFlags = GstTagLicenseFlags::REQUIRES_COPYLEFT;
|
||||||
|
pub const GST_TAG_LICENSE_REQUIRES_LESSER_COPYLEFT: GstTagLicenseFlags = GstTagLicenseFlags::REQUIRES_LESSER_COPYLEFT;
|
||||||
|
pub const GST_TAG_LICENSE_PROHIBITS_COMMERCIAL_USE: GstTagLicenseFlags = GstTagLicenseFlags::PROHIBITS_COMMERCIAL_USE;
|
||||||
|
pub const GST_TAG_LICENSE_PROHIBITS_HIGH_INCOME_NATION_USE: GstTagLicenseFlags = GstTagLicenseFlags::PROHIBITS_HIGH_INCOME_NATION_USE;
|
||||||
|
pub const GST_TAG_LICENSE_CREATIVE_COMMONS_LICENSE: GstTagLicenseFlags = GstTagLicenseFlags::CREATIVE_COMMONS_LICENSE;
|
||||||
|
pub const GST_TAG_LICENSE_FREE_SOFTWARE_FOUNDATION_LICENSE: GstTagLicenseFlags = GstTagLicenseFlags::FREE_SOFTWARE_FOUNDATION_LICENSE;
|
||||||
|
|
||||||
// Records
|
// Records
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
pkg-config = "0.3.7"
|
pkg-config = "0.3.7"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
bitflags = "0.9"
|
bitflags = "1.0"
|
||||||
libc = "0.2"
|
libc = "0.2"
|
||||||
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
glib-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
gobject-sys = { git = "https://github.com/gtk-rs/sys" }
|
||||||
|
@ -22,6 +22,7 @@ v1_6 = ["v1_4"]
|
||||||
v1_8 = ["v1_6"]
|
v1_8 = ["v1_6"]
|
||||||
v1_10 = ["v1_8"]
|
v1_10 = ["v1_8"]
|
||||||
v1_12 = ["v1_10"]
|
v1_12 = ["v1_10"]
|
||||||
|
dox = []
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
name = "gstreamer_video_sys"
|
name = "gstreamer_video_sys"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// This file was generated by gir (9bd51ed) from gir-files (???)
|
// This file was generated by gir (0fe730d) from gir-files (???)
|
||||||
// DO NOT EDIT
|
// DO NOT EDIT
|
||||||
|
|
||||||
#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals)]
|
#![allow(non_camel_case_types, non_upper_case_globals)]
|
||||||
|
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
#[macro_use] extern crate bitflags;
|
#[macro_use] extern crate bitflags;
|
||||||
|
@ -686,150 +686,214 @@ pub const GST_VIDEO_TILE_Y_TILES_SHIFT: c_int = 16;
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoBufferFlags: c_uint {
|
pub struct GstVideoBufferFlags: c_uint {
|
||||||
const GST_VIDEO_BUFFER_FLAG_INTERLACED = 1048576;
|
const INTERLACED = 1048576;
|
||||||
const GST_VIDEO_BUFFER_FLAG_TFF = 2097152;
|
const TFF = 2097152;
|
||||||
const GST_VIDEO_BUFFER_FLAG_RFF = 4194304;
|
const RFF = 4194304;
|
||||||
const GST_VIDEO_BUFFER_FLAG_ONEFIELD = 8388608;
|
const ONEFIELD = 8388608;
|
||||||
const GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW = 16777216;
|
const MULTIPLE_VIEW = 16777216;
|
||||||
const GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE = 33554432;
|
const FIRST_IN_BUNDLE = 33554432;
|
||||||
const GST_VIDEO_BUFFER_FLAG_LAST = 268435456;
|
const LAST = 268435456;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_BUFFER_FLAG_INTERLACED: GstVideoBufferFlags = GstVideoBufferFlags::INTERLACED;
|
||||||
|
pub const GST_VIDEO_BUFFER_FLAG_TFF: GstVideoBufferFlags = GstVideoBufferFlags::TFF;
|
||||||
|
pub const GST_VIDEO_BUFFER_FLAG_RFF: GstVideoBufferFlags = GstVideoBufferFlags::RFF;
|
||||||
|
pub const GST_VIDEO_BUFFER_FLAG_ONEFIELD: GstVideoBufferFlags = GstVideoBufferFlags::ONEFIELD;
|
||||||
|
pub const GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW: GstVideoBufferFlags = GstVideoBufferFlags::MULTIPLE_VIEW;
|
||||||
|
pub const GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE: GstVideoBufferFlags = GstVideoBufferFlags::FIRST_IN_BUNDLE;
|
||||||
|
pub const GST_VIDEO_BUFFER_FLAG_LAST: GstVideoBufferFlags = GstVideoBufferFlags::LAST;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoChromaFlags: c_uint {
|
pub struct GstVideoChromaFlags: c_uint {
|
||||||
const GST_VIDEO_CHROMA_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_CHROMA_FLAG_INTERLACED = 1;
|
const INTERLACED = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_CHROMA_FLAG_NONE: GstVideoChromaFlags = GstVideoChromaFlags::NONE;
|
||||||
|
pub const GST_VIDEO_CHROMA_FLAG_INTERLACED: GstVideoChromaFlags = GstVideoChromaFlags::INTERLACED;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoChromaSite: c_uint {
|
pub struct GstVideoChromaSite: c_uint {
|
||||||
const GST_VIDEO_CHROMA_SITE_UNKNOWN = 0;
|
const UNKNOWN = 0;
|
||||||
const GST_VIDEO_CHROMA_SITE_NONE = 1;
|
const NONE = 1;
|
||||||
const GST_VIDEO_CHROMA_SITE_H_COSITED = 2;
|
const H_COSITED = 2;
|
||||||
const GST_VIDEO_CHROMA_SITE_V_COSITED = 4;
|
const V_COSITED = 4;
|
||||||
const GST_VIDEO_CHROMA_SITE_ALT_LINE = 8;
|
const ALT_LINE = 8;
|
||||||
const GST_VIDEO_CHROMA_SITE_COSITED = 6;
|
const COSITED = 6;
|
||||||
const GST_VIDEO_CHROMA_SITE_JPEG = 1;
|
const JPEG = 1;
|
||||||
const GST_VIDEO_CHROMA_SITE_MPEG2 = 2;
|
const MPEG2 = 2;
|
||||||
const GST_VIDEO_CHROMA_SITE_DV = 14;
|
const DV = 14;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_UNKNOWN: GstVideoChromaSite = GstVideoChromaSite::UNKNOWN;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_NONE: GstVideoChromaSite = GstVideoChromaSite::JPEG;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_H_COSITED: GstVideoChromaSite = GstVideoChromaSite::MPEG2;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_V_COSITED: GstVideoChromaSite = GstVideoChromaSite::V_COSITED;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_ALT_LINE: GstVideoChromaSite = GstVideoChromaSite::ALT_LINE;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_COSITED: GstVideoChromaSite = GstVideoChromaSite::COSITED;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_JPEG: GstVideoChromaSite = GstVideoChromaSite::JPEG;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_MPEG2: GstVideoChromaSite = GstVideoChromaSite::MPEG2;
|
||||||
|
pub const GST_VIDEO_CHROMA_SITE_DV: GstVideoChromaSite = GstVideoChromaSite::DV;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoCodecFrameFlags: c_uint {
|
pub struct GstVideoCodecFrameFlags: c_uint {
|
||||||
const GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY = 1;
|
const DECODE_ONLY = 1;
|
||||||
const GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT = 2;
|
const SYNC_POINT = 2;
|
||||||
const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME = 4;
|
const FORCE_KEYFRAME = 4;
|
||||||
const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS = 8;
|
const FORCE_KEYFRAME_HEADERS = 8;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_CODEC_FRAME_FLAG_DECODE_ONLY: GstVideoCodecFrameFlags = GstVideoCodecFrameFlags::DECODE_ONLY;
|
||||||
|
pub const GST_VIDEO_CODEC_FRAME_FLAG_SYNC_POINT: GstVideoCodecFrameFlags = GstVideoCodecFrameFlags::SYNC_POINT;
|
||||||
|
pub const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME: GstVideoCodecFrameFlags = GstVideoCodecFrameFlags::FORCE_KEYFRAME;
|
||||||
|
pub const GST_VIDEO_CODEC_FRAME_FLAG_FORCE_KEYFRAME_HEADERS: GstVideoCodecFrameFlags = GstVideoCodecFrameFlags::FORCE_KEYFRAME_HEADERS;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoDitherFlags: c_uint {
|
pub struct GstVideoDitherFlags: c_uint {
|
||||||
const GST_VIDEO_DITHER_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_DITHER_FLAG_INTERLACED = 1;
|
const INTERLACED = 1;
|
||||||
const GST_VIDEO_DITHER_FLAG_QUANTIZE = 2;
|
const QUANTIZE = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_DITHER_FLAG_NONE: GstVideoDitherFlags = GstVideoDitherFlags::NONE;
|
||||||
|
pub const GST_VIDEO_DITHER_FLAG_INTERLACED: GstVideoDitherFlags = GstVideoDitherFlags::INTERLACED;
|
||||||
|
pub const GST_VIDEO_DITHER_FLAG_QUANTIZE: GstVideoDitherFlags = GstVideoDitherFlags::QUANTIZE;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoFlags: c_uint {
|
pub struct GstVideoFlags: c_uint {
|
||||||
const GST_VIDEO_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_FLAG_VARIABLE_FPS = 1;
|
const VARIABLE_FPS = 1;
|
||||||
const GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA = 2;
|
const PREMULTIPLIED_ALPHA = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_FLAG_NONE: GstVideoFlags = GstVideoFlags::NONE;
|
||||||
|
pub const GST_VIDEO_FLAG_VARIABLE_FPS: GstVideoFlags = GstVideoFlags::VARIABLE_FPS;
|
||||||
|
pub const GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA: GstVideoFlags = GstVideoFlags::PREMULTIPLIED_ALPHA;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoFormatFlags: c_uint {
|
pub struct GstVideoFormatFlags: c_uint {
|
||||||
const GST_VIDEO_FORMAT_FLAG_YUV = 1;
|
const YUV = 1;
|
||||||
const GST_VIDEO_FORMAT_FLAG_RGB = 2;
|
const RGB = 2;
|
||||||
const GST_VIDEO_FORMAT_FLAG_GRAY = 4;
|
const GRAY = 4;
|
||||||
const GST_VIDEO_FORMAT_FLAG_ALPHA = 8;
|
const ALPHA = 8;
|
||||||
const GST_VIDEO_FORMAT_FLAG_LE = 16;
|
const LE = 16;
|
||||||
const GST_VIDEO_FORMAT_FLAG_PALETTE = 32;
|
const PALETTE = 32;
|
||||||
const GST_VIDEO_FORMAT_FLAG_COMPLEX = 64;
|
const COMPLEX = 64;
|
||||||
const GST_VIDEO_FORMAT_FLAG_UNPACK = 128;
|
const UNPACK = 128;
|
||||||
const GST_VIDEO_FORMAT_FLAG_TILED = 256;
|
const TILED = 256;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_YUV: GstVideoFormatFlags = GstVideoFormatFlags::YUV;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_RGB: GstVideoFormatFlags = GstVideoFormatFlags::RGB;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_GRAY: GstVideoFormatFlags = GstVideoFormatFlags::GRAY;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_ALPHA: GstVideoFormatFlags = GstVideoFormatFlags::ALPHA;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_LE: GstVideoFormatFlags = GstVideoFormatFlags::LE;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_PALETTE: GstVideoFormatFlags = GstVideoFormatFlags::PALETTE;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_COMPLEX: GstVideoFormatFlags = GstVideoFormatFlags::COMPLEX;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_UNPACK: GstVideoFormatFlags = GstVideoFormatFlags::UNPACK;
|
||||||
|
pub const GST_VIDEO_FORMAT_FLAG_TILED: GstVideoFormatFlags = GstVideoFormatFlags::TILED;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoFrameFlags: c_uint {
|
pub struct GstVideoFrameFlags: c_uint {
|
||||||
const GST_VIDEO_FRAME_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_FRAME_FLAG_INTERLACED = 1;
|
const INTERLACED = 1;
|
||||||
const GST_VIDEO_FRAME_FLAG_TFF = 2;
|
const TFF = 2;
|
||||||
const GST_VIDEO_FRAME_FLAG_RFF = 4;
|
const RFF = 4;
|
||||||
const GST_VIDEO_FRAME_FLAG_ONEFIELD = 8;
|
const ONEFIELD = 8;
|
||||||
const GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW = 16;
|
const MULTIPLE_VIEW = 16;
|
||||||
const GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE = 32;
|
const FIRST_IN_BUNDLE = 32;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_FRAME_FLAG_NONE: GstVideoFrameFlags = GstVideoFrameFlags::NONE;
|
||||||
|
pub const GST_VIDEO_FRAME_FLAG_INTERLACED: GstVideoFrameFlags = GstVideoFrameFlags::INTERLACED;
|
||||||
|
pub const GST_VIDEO_FRAME_FLAG_TFF: GstVideoFrameFlags = GstVideoFrameFlags::TFF;
|
||||||
|
pub const GST_VIDEO_FRAME_FLAG_RFF: GstVideoFrameFlags = GstVideoFrameFlags::RFF;
|
||||||
|
pub const GST_VIDEO_FRAME_FLAG_ONEFIELD: GstVideoFrameFlags = GstVideoFrameFlags::ONEFIELD;
|
||||||
|
pub const GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW: GstVideoFrameFlags = GstVideoFrameFlags::MULTIPLE_VIEW;
|
||||||
|
pub const GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE: GstVideoFrameFlags = GstVideoFrameFlags::FIRST_IN_BUNDLE;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoFrameMapFlags: c_uint {
|
pub struct GstVideoFrameMapFlags: c_uint {
|
||||||
const GST_VIDEO_FRAME_MAP_FLAG_NO_REF = 65536;
|
const NO_REF = 65536;
|
||||||
const GST_VIDEO_FRAME_MAP_FLAG_LAST = 16777216;
|
const LAST = 16777216;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_FRAME_MAP_FLAG_NO_REF: GstVideoFrameMapFlags = GstVideoFrameMapFlags::NO_REF;
|
||||||
|
pub const GST_VIDEO_FRAME_MAP_FLAG_LAST: GstVideoFrameMapFlags = GstVideoFrameMapFlags::LAST;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoMultiviewFlags: c_uint {
|
pub struct GstVideoMultiviewFlags: c_uint {
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST = 1;
|
const RIGHT_VIEW_FIRST = 1;
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED = 2;
|
const LEFT_FLIPPED = 2;
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED = 4;
|
const LEFT_FLOPPED = 4;
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED = 8;
|
const RIGHT_FLIPPED = 8;
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED = 16;
|
const RIGHT_FLOPPED = 16;
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT = 16384;
|
const HALF_ASPECT = 16384;
|
||||||
const GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO = 32768;
|
const MIXED_MONO = 32768;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_NONE: GstVideoMultiviewFlags = GstVideoMultiviewFlags::NONE;
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST: GstVideoMultiviewFlags = GstVideoMultiviewFlags::RIGHT_VIEW_FIRST;
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED: GstVideoMultiviewFlags = GstVideoMultiviewFlags::LEFT_FLIPPED;
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED: GstVideoMultiviewFlags = GstVideoMultiviewFlags::LEFT_FLOPPED;
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED: GstVideoMultiviewFlags = GstVideoMultiviewFlags::RIGHT_FLIPPED;
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED: GstVideoMultiviewFlags = GstVideoMultiviewFlags::RIGHT_FLOPPED;
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT: GstVideoMultiviewFlags = GstVideoMultiviewFlags::HALF_ASPECT;
|
||||||
|
pub const GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO: GstVideoMultiviewFlags = GstVideoMultiviewFlags::MIXED_MONO;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoPackFlags: c_uint {
|
pub struct GstVideoPackFlags: c_uint {
|
||||||
const GST_VIDEO_PACK_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE = 1;
|
const TRUNCATE_RANGE = 1;
|
||||||
const GST_VIDEO_PACK_FLAG_INTERLACED = 2;
|
const INTERLACED = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_PACK_FLAG_NONE: GstVideoPackFlags = GstVideoPackFlags::NONE;
|
||||||
|
pub const GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE: GstVideoPackFlags = GstVideoPackFlags::TRUNCATE_RANGE;
|
||||||
|
pub const GST_VIDEO_PACK_FLAG_INTERLACED: GstVideoPackFlags = GstVideoPackFlags::INTERLACED;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoResamplerFlags: c_uint {
|
pub struct GstVideoResamplerFlags: c_uint {
|
||||||
const GST_VIDEO_RESAMPLER_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_RESAMPLER_FLAG_HALF_TAPS = 1;
|
const HALF_TAPS = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_RESAMPLER_FLAG_NONE: GstVideoResamplerFlags = GstVideoResamplerFlags::NONE;
|
||||||
|
pub const GST_VIDEO_RESAMPLER_FLAG_HALF_TAPS: GstVideoResamplerFlags = GstVideoResamplerFlags::HALF_TAPS;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoScalerFlags: c_uint {
|
pub struct GstVideoScalerFlags: c_uint {
|
||||||
const GST_VIDEO_SCALER_FLAG_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_SCALER_FLAG_INTERLACED = 1;
|
const INTERLACED = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_SCALER_FLAG_NONE: GstVideoScalerFlags = GstVideoScalerFlags::NONE;
|
||||||
|
pub const GST_VIDEO_SCALER_FLAG_INTERLACED: GstVideoScalerFlags = GstVideoScalerFlags::INTERLACED;
|
||||||
|
|
||||||
bitflags! {
|
bitflags! {
|
||||||
#[repr(C)]
|
#[repr(C)]
|
||||||
pub struct GstVideoTimeCodeFlags: c_uint {
|
pub struct GstVideoTimeCodeFlags: c_uint {
|
||||||
const GST_VIDEO_TIME_CODE_FLAGS_NONE = 0;
|
const NONE = 0;
|
||||||
const GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME = 1;
|
const DROP_FRAME = 1;
|
||||||
const GST_VIDEO_TIME_CODE_FLAGS_INTERLACED = 2;
|
const INTERLACED = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
pub const GST_VIDEO_TIME_CODE_FLAGS_NONE: GstVideoTimeCodeFlags = GstVideoTimeCodeFlags::NONE;
|
||||||
|
pub const GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME: GstVideoTimeCodeFlags = GstVideoTimeCodeFlags::DROP_FRAME;
|
||||||
|
pub const GST_VIDEO_TIME_CODE_FLAGS_INTERLACED: GstVideoTimeCodeFlags = GstVideoTimeCodeFlags::INTERLACED;
|
||||||
|
|
||||||
// Callbacks
|
// Callbacks
|
||||||
pub type GstVideoAffineTransformationGetMatrix = Option<unsafe extern "C" fn(*mut GstVideoAffineTransformationMeta, *mut c_float) -> gboolean>;
|
pub type GstVideoAffineTransformationGetMatrix = Option<unsafe extern "C" fn(*mut GstVideoAffineTransformationMeta, *mut c_float) -> gboolean>;
|
||||||
|
@ -1350,14 +1414,14 @@ extern "C" {
|
||||||
// GstVideoColorMatrix
|
// GstVideoColorMatrix
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_color_matrix_get_type() -> GType;
|
pub fn gst_video_color_matrix_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_color_matrix_get_Kr_Kb(matrix: GstVideoColorMatrix, Kr: *mut c_double, Kb: *mut c_double) -> gboolean;
|
pub fn gst_video_color_matrix_get_Kr_Kb(matrix: GstVideoColorMatrix, Kr: *mut c_double, Kb: *mut c_double) -> gboolean;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoColorPrimaries
|
// GstVideoColorPrimaries
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_color_primaries_get_type() -> GType;
|
pub fn gst_video_color_primaries_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_color_primaries_get_info(primaries: GstVideoColorPrimaries) -> *const GstVideoColorPrimariesInfo;
|
pub fn gst_video_color_primaries_get_info(primaries: GstVideoColorPrimaries) -> *const GstVideoColorPrimariesInfo;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1375,9 +1439,9 @@ extern "C" {
|
||||||
// GstVideoFieldOrder
|
// GstVideoFieldOrder
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_field_order_get_type() -> GType;
|
pub fn gst_video_field_order_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_field_order_from_string(order: *const c_char) -> GstVideoFieldOrder;
|
pub fn gst_video_field_order_from_string(order: *const c_char) -> GstVideoFieldOrder;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_field_order_to_string(order: GstVideoFieldOrder) -> *const c_char;
|
pub fn gst_video_field_order_to_string(order: GstVideoFieldOrder) -> *const c_char;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1388,7 +1452,7 @@ extern "C" {
|
||||||
pub fn gst_video_format_from_masks(depth: c_int, bpp: c_int, endianness: c_int, red_mask: c_uint, green_mask: c_uint, blue_mask: c_uint, alpha_mask: c_uint) -> GstVideoFormat;
|
pub fn gst_video_format_from_masks(depth: c_int, bpp: c_int, endianness: c_int, red_mask: c_uint, green_mask: c_uint, blue_mask: c_uint, alpha_mask: c_uint) -> GstVideoFormat;
|
||||||
pub fn gst_video_format_from_string(format: *const c_char) -> GstVideoFormat;
|
pub fn gst_video_format_from_string(format: *const c_char) -> GstVideoFormat;
|
||||||
pub fn gst_video_format_get_info(format: GstVideoFormat) -> *const GstVideoFormatInfo;
|
pub fn gst_video_format_get_info(format: GstVideoFormat) -> *const GstVideoFormatInfo;
|
||||||
#[cfg(feature = "v1_2")]
|
#[cfg(any(feature = "v1_2", feature = "dox"))]
|
||||||
pub fn gst_video_format_get_palette(format: GstVideoFormat, size: *mut size_t) -> gconstpointer;
|
pub fn gst_video_format_get_palette(format: GstVideoFormat, size: *mut size_t) -> gconstpointer;
|
||||||
pub fn gst_video_format_to_fourcc(format: GstVideoFormat) -> u32;
|
pub fn gst_video_format_to_fourcc(format: GstVideoFormat) -> u32;
|
||||||
pub fn gst_video_format_to_string(format: GstVideoFormat) -> *const c_char;
|
pub fn gst_video_format_to_string(format: GstVideoFormat) -> *const c_char;
|
||||||
|
@ -1402,9 +1466,9 @@ extern "C" {
|
||||||
// GstVideoInterlaceMode
|
// GstVideoInterlaceMode
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_interlace_mode_get_type() -> GType;
|
pub fn gst_video_interlace_mode_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_interlace_mode_from_string(mode: *const c_char) -> GstVideoInterlaceMode;
|
pub fn gst_video_interlace_mode_from_string(mode: *const c_char) -> GstVideoInterlaceMode;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_interlace_mode_to_string(mode: GstVideoInterlaceMode) -> *const c_char;
|
pub fn gst_video_interlace_mode_to_string(mode: GstVideoInterlaceMode) -> *const c_char;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1421,9 +1485,9 @@ extern "C" {
|
||||||
// GstVideoMultiviewMode
|
// GstVideoMultiviewMode
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_multiview_mode_get_type() -> GType;
|
pub fn gst_video_multiview_mode_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_mode_from_caps_string(caps_mview_mode: *const c_char) -> GstVideoMultiviewMode;
|
pub fn gst_video_multiview_mode_from_caps_string(caps_mview_mode: *const c_char) -> GstVideoMultiviewMode;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_mode_to_caps_string(mview_mode: GstVideoMultiviewMode) -> *const c_char;
|
pub fn gst_video_multiview_mode_to_caps_string(mview_mode: GstVideoMultiviewMode) -> *const c_char;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1519,7 +1583,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoAffineTransformationMeta
|
// GstVideoAffineTransformationMeta
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_video_affine_transformation_meta_apply_matrix(meta: *mut GstVideoAffineTransformationMeta, matrix: c_float);
|
pub fn gst_video_affine_transformation_meta_apply_matrix(meta: *mut GstVideoAffineTransformationMeta, matrix: c_float);
|
||||||
pub fn gst_video_affine_transformation_meta_get_info() -> *const gst::GstMetaInfo;
|
pub fn gst_video_affine_transformation_meta_get_info() -> *const gst::GstMetaInfo;
|
||||||
|
|
||||||
|
@ -1555,7 +1619,7 @@ extern "C" {
|
||||||
// GstVideoColorimetry
|
// GstVideoColorimetry
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_colorimetry_from_string(cinfo: *mut GstVideoColorimetry, color: *const c_char) -> gboolean;
|
pub fn gst_video_colorimetry_from_string(cinfo: *mut GstVideoColorimetry, color: *const c_char) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_colorimetry_is_equal(cinfo: *const GstVideoColorimetry, other: *const GstVideoColorimetry) -> gboolean;
|
pub fn gst_video_colorimetry_is_equal(cinfo: *const GstVideoColorimetry, other: *const GstVideoColorimetry) -> gboolean;
|
||||||
pub fn gst_video_colorimetry_matches(cinfo: *const GstVideoColorimetry, color: *const c_char) -> gboolean;
|
pub fn gst_video_colorimetry_matches(cinfo: *const GstVideoColorimetry, color: *const c_char) -> gboolean;
|
||||||
pub fn gst_video_colorimetry_to_string(cinfo: *const GstVideoColorimetry) -> *mut c_char;
|
pub fn gst_video_colorimetry_to_string(cinfo: *const GstVideoColorimetry) -> *mut c_char;
|
||||||
|
@ -1563,14 +1627,14 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoConverter
|
// GstVideoConverter
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_converter_frame(convert: *mut GstVideoConverter, src: *const GstVideoFrame, dest: *mut GstVideoFrame);
|
pub fn gst_video_converter_frame(convert: *mut GstVideoConverter, src: *const GstVideoFrame, dest: *mut GstVideoFrame);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_converter_free(convert: *mut GstVideoConverter);
|
pub fn gst_video_converter_free(convert: *mut GstVideoConverter);
|
||||||
pub fn gst_video_converter_get_config(convert: *mut GstVideoConverter) -> *const gst::GstStructure;
|
pub fn gst_video_converter_get_config(convert: *mut GstVideoConverter) -> *const gst::GstStructure;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_converter_set_config(convert: *mut GstVideoConverter, config: *mut gst::GstStructure) -> gboolean;
|
pub fn gst_video_converter_set_config(convert: *mut GstVideoConverter, config: *mut gst::GstStructure) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_converter_new(in_info: *mut GstVideoInfo, out_info: *mut GstVideoInfo, config: *mut gst::GstStructure) -> *mut GstVideoConverter;
|
pub fn gst_video_converter_new(in_info: *mut GstVideoInfo, out_info: *mut GstVideoInfo, config: *mut gst::GstStructure) -> *mut GstVideoConverter;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1604,13 +1668,13 @@ extern "C" {
|
||||||
// GstVideoInfo
|
// GstVideoInfo
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_info_get_type() -> GType;
|
pub fn gst_video_info_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_info_new() -> *mut GstVideoInfo;
|
pub fn gst_video_info_new() -> *mut GstVideoInfo;
|
||||||
pub fn gst_video_info_align(info: *mut GstVideoInfo, align: *mut GstVideoAlignment) -> gboolean;
|
pub fn gst_video_info_align(info: *mut GstVideoInfo, align: *mut GstVideoAlignment) -> gboolean;
|
||||||
pub fn gst_video_info_convert(info: *mut GstVideoInfo, src_format: gst::GstFormat, src_value: i64, dest_format: gst::GstFormat, dest_value: *mut i64) -> gboolean;
|
pub fn gst_video_info_convert(info: *mut GstVideoInfo, src_format: gst::GstFormat, src_value: i64, dest_format: gst::GstFormat, dest_value: *mut i64) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_info_copy(info: *const GstVideoInfo) -> *mut GstVideoInfo;
|
pub fn gst_video_info_copy(info: *const GstVideoInfo) -> *mut GstVideoInfo;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_info_free(info: *mut GstVideoInfo);
|
pub fn gst_video_info_free(info: *mut GstVideoInfo);
|
||||||
pub fn gst_video_info_from_caps(info: *mut GstVideoInfo, caps: *const gst::GstCaps) -> gboolean;
|
pub fn gst_video_info_from_caps(info: *mut GstVideoInfo, caps: *const gst::GstCaps) -> gboolean;
|
||||||
pub fn gst_video_info_init(info: *mut GstVideoInfo);
|
pub fn gst_video_info_init(info: *mut GstVideoInfo);
|
||||||
|
@ -1675,81 +1739,81 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoResampler
|
// GstVideoResampler
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_resampler_clear(resampler: *mut GstVideoResampler);
|
pub fn gst_video_resampler_clear(resampler: *mut GstVideoResampler);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_resampler_init(resampler: *mut GstVideoResampler, method: GstVideoResamplerMethod, flags: GstVideoResamplerFlags, n_phases: c_uint, n_taps: c_uint, shift: c_double, in_size: c_uint, out_size: c_uint, options: *mut gst::GstStructure) -> gboolean;
|
pub fn gst_video_resampler_init(resampler: *mut GstVideoResampler, method: GstVideoResamplerMethod, flags: GstVideoResamplerFlags, n_phases: c_uint, n_taps: c_uint, shift: c_double, in_size: c_uint, out_size: c_uint, options: *mut gst::GstStructure) -> gboolean;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoScaler
|
// GstVideoScaler
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_scaler_2d(hscale: *mut GstVideoScaler, vscale: *mut GstVideoScaler, format: GstVideoFormat, src: gpointer, src_stride: c_int, dest: gpointer, dest_stride: c_int, x: c_uint, y: c_uint, width: c_uint, height: c_uint);
|
pub fn gst_video_scaler_2d(hscale: *mut GstVideoScaler, vscale: *mut GstVideoScaler, format: GstVideoFormat, src: gpointer, src_stride: c_int, dest: gpointer, dest_stride: c_int, x: c_uint, y: c_uint, width: c_uint, height: c_uint);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_scaler_combine_packed_YUV(y_scale: *mut GstVideoScaler, uv_scale: *mut GstVideoScaler, in_format: GstVideoFormat, out_format: GstVideoFormat) -> *mut GstVideoScaler;
|
pub fn gst_video_scaler_combine_packed_YUV(y_scale: *mut GstVideoScaler, uv_scale: *mut GstVideoScaler, in_format: GstVideoFormat, out_format: GstVideoFormat) -> *mut GstVideoScaler;
|
||||||
pub fn gst_video_scaler_free(scale: *mut GstVideoScaler);
|
pub fn gst_video_scaler_free(scale: *mut GstVideoScaler);
|
||||||
pub fn gst_video_scaler_get_coeff(scale: *mut GstVideoScaler, out_offset: c_uint, in_offset: *mut c_uint, n_taps: *mut c_uint) -> *const c_double;
|
pub fn gst_video_scaler_get_coeff(scale: *mut GstVideoScaler, out_offset: c_uint, in_offset: *mut c_uint, n_taps: *mut c_uint) -> *const c_double;
|
||||||
pub fn gst_video_scaler_get_max_taps(scale: *mut GstVideoScaler) -> c_uint;
|
pub fn gst_video_scaler_get_max_taps(scale: *mut GstVideoScaler) -> c_uint;
|
||||||
pub fn gst_video_scaler_horizontal(scale: *mut GstVideoScaler, format: GstVideoFormat, src: gpointer, dest: gpointer, dest_offset: c_uint, width: c_uint);
|
pub fn gst_video_scaler_horizontal(scale: *mut GstVideoScaler, format: GstVideoFormat, src: gpointer, dest: gpointer, dest_offset: c_uint, width: c_uint);
|
||||||
pub fn gst_video_scaler_vertical(scale: *mut GstVideoScaler, format: GstVideoFormat, src_lines: gpointer, dest: gpointer, dest_offset: c_uint, width: c_uint);
|
pub fn gst_video_scaler_vertical(scale: *mut GstVideoScaler, format: GstVideoFormat, src_lines: gpointer, dest: gpointer, dest_offset: c_uint, width: c_uint);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_scaler_new(method: GstVideoResamplerMethod, flags: GstVideoScalerFlags, n_taps: c_uint, in_size: c_uint, out_size: c_uint, options: *mut gst::GstStructure) -> *mut GstVideoScaler;
|
pub fn gst_video_scaler_new(method: GstVideoResamplerMethod, flags: GstVideoScalerFlags, n_taps: c_uint, in_size: c_uint, out_size: c_uint, options: *mut gst::GstStructure) -> *mut GstVideoScaler;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoTimeCode
|
// GstVideoTimeCode
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_time_code_get_type() -> GType;
|
pub fn gst_video_time_code_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_new(fps_n: c_uint, fps_d: c_uint, latest_daily_jam: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint, field_count: c_uint) -> *mut GstVideoTimeCode;
|
pub fn gst_video_time_code_new(fps_n: c_uint, fps_d: c_uint, latest_daily_jam: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint, field_count: c_uint) -> *mut GstVideoTimeCode;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_new_empty() -> *mut GstVideoTimeCode;
|
pub fn gst_video_time_code_new_empty() -> *mut GstVideoTimeCode;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_new_from_date_time(fps_n: c_uint, fps_d: c_uint, dt: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, field_count: c_uint) -> *mut GstVideoTimeCode;
|
pub fn gst_video_time_code_new_from_date_time(fps_n: c_uint, fps_d: c_uint, dt: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, field_count: c_uint) -> *mut GstVideoTimeCode;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_new_from_string(tc_str: *const c_char) -> *mut GstVideoTimeCode;
|
pub fn gst_video_time_code_new_from_string(tc_str: *const c_char) -> *mut GstVideoTimeCode;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_add_frames(tc: *mut GstVideoTimeCode, frames: i64);
|
pub fn gst_video_time_code_add_frames(tc: *mut GstVideoTimeCode, frames: i64);
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_add_interval(tc: *const GstVideoTimeCode, tc_inter: *const GstVideoTimeCodeInterval) -> *mut GstVideoTimeCode;
|
pub fn gst_video_time_code_add_interval(tc: *const GstVideoTimeCode, tc_inter: *const GstVideoTimeCodeInterval) -> *mut GstVideoTimeCode;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_clear(tc: *mut GstVideoTimeCode);
|
pub fn gst_video_time_code_clear(tc: *mut GstVideoTimeCode);
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_compare(tc1: *const GstVideoTimeCode, tc2: *const GstVideoTimeCode) -> c_int;
|
pub fn gst_video_time_code_compare(tc1: *const GstVideoTimeCode, tc2: *const GstVideoTimeCode) -> c_int;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_copy(tc: *const GstVideoTimeCode) -> *mut GstVideoTimeCode;
|
pub fn gst_video_time_code_copy(tc: *const GstVideoTimeCode) -> *mut GstVideoTimeCode;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_frames_since_daily_jam(tc: *const GstVideoTimeCode) -> u64;
|
pub fn gst_video_time_code_frames_since_daily_jam(tc: *const GstVideoTimeCode) -> u64;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_free(tc: *mut GstVideoTimeCode);
|
pub fn gst_video_time_code_free(tc: *mut GstVideoTimeCode);
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_increment_frame(tc: *mut GstVideoTimeCode);
|
pub fn gst_video_time_code_increment_frame(tc: *mut GstVideoTimeCode);
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_init(tc: *mut GstVideoTimeCode, fps_n: c_uint, fps_d: c_uint, latest_daily_jam: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint, field_count: c_uint);
|
pub fn gst_video_time_code_init(tc: *mut GstVideoTimeCode, fps_n: c_uint, fps_d: c_uint, latest_daily_jam: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint, field_count: c_uint);
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_init_from_date_time(tc: *mut GstVideoTimeCode, fps_n: c_uint, fps_d: c_uint, dt: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, field_count: c_uint);
|
pub fn gst_video_time_code_init_from_date_time(tc: *mut GstVideoTimeCode, fps_n: c_uint, fps_d: c_uint, dt: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, field_count: c_uint);
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_is_valid(tc: *const GstVideoTimeCode) -> gboolean;
|
pub fn gst_video_time_code_is_valid(tc: *const GstVideoTimeCode) -> gboolean;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_nsec_since_daily_jam(tc: *const GstVideoTimeCode) -> u64;
|
pub fn gst_video_time_code_nsec_since_daily_jam(tc: *const GstVideoTimeCode) -> u64;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_to_date_time(tc: *const GstVideoTimeCode) -> *mut glib::GDateTime;
|
pub fn gst_video_time_code_to_date_time(tc: *const GstVideoTimeCode) -> *mut glib::GDateTime;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_to_string(tc: *const GstVideoTimeCode) -> *mut c_char;
|
pub fn gst_video_time_code_to_string(tc: *const GstVideoTimeCode) -> *mut c_char;
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// GstVideoTimeCodeInterval
|
// GstVideoTimeCodeInterval
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
pub fn gst_video_time_code_interval_get_type() -> GType;
|
pub fn gst_video_time_code_interval_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_new(hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint) -> *mut GstVideoTimeCodeInterval;
|
pub fn gst_video_time_code_interval_new(hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint) -> *mut GstVideoTimeCodeInterval;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_new_from_string(tc_inter_str: *const c_char) -> *mut GstVideoTimeCodeInterval;
|
pub fn gst_video_time_code_interval_new_from_string(tc_inter_str: *const c_char) -> *mut GstVideoTimeCodeInterval;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_clear(tc: *mut GstVideoTimeCodeInterval);
|
pub fn gst_video_time_code_interval_clear(tc: *mut GstVideoTimeCodeInterval);
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_copy(tc: *const GstVideoTimeCodeInterval) -> *mut GstVideoTimeCodeInterval;
|
pub fn gst_video_time_code_interval_copy(tc: *const GstVideoTimeCodeInterval) -> *mut GstVideoTimeCodeInterval;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_free(tc: *mut GstVideoTimeCodeInterval);
|
pub fn gst_video_time_code_interval_free(tc: *mut GstVideoTimeCodeInterval);
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_time_code_interval_init(tc: *mut GstVideoTimeCodeInterval, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint);
|
pub fn gst_video_time_code_interval_init(tc: *mut GstVideoTimeCodeInterval, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1775,7 +1839,7 @@ extern "C" {
|
||||||
pub fn gst_video_decoder_add_to_frame(decoder: *mut GstVideoDecoder, n_bytes: c_int);
|
pub fn gst_video_decoder_add_to_frame(decoder: *mut GstVideoDecoder, n_bytes: c_int);
|
||||||
pub fn gst_video_decoder_allocate_output_buffer(decoder: *mut GstVideoDecoder) -> *mut gst::GstBuffer;
|
pub fn gst_video_decoder_allocate_output_buffer(decoder: *mut GstVideoDecoder) -> *mut gst::GstBuffer;
|
||||||
pub fn gst_video_decoder_allocate_output_frame(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstFlowReturn;
|
pub fn gst_video_decoder_allocate_output_frame(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstFlowReturn;
|
||||||
#[cfg(feature = "v1_12")]
|
#[cfg(any(feature = "v1_12", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_allocate_output_frame_with_params(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame, params: *mut gst::GstBufferPoolAcquireParams) -> gst::GstFlowReturn;
|
pub fn gst_video_decoder_allocate_output_frame_with_params(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame, params: *mut gst::GstBufferPoolAcquireParams) -> gst::GstFlowReturn;
|
||||||
pub fn gst_video_decoder_drop_frame(dec: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstFlowReturn;
|
pub fn gst_video_decoder_drop_frame(dec: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstFlowReturn;
|
||||||
pub fn gst_video_decoder_finish_frame(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstFlowReturn;
|
pub fn gst_video_decoder_finish_frame(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstFlowReturn;
|
||||||
|
@ -1787,30 +1851,30 @@ extern "C" {
|
||||||
pub fn gst_video_decoder_get_latency(decoder: *mut GstVideoDecoder, min_latency: *mut gst::GstClockTime, max_latency: *mut gst::GstClockTime);
|
pub fn gst_video_decoder_get_latency(decoder: *mut GstVideoDecoder, min_latency: *mut gst::GstClockTime, max_latency: *mut gst::GstClockTime);
|
||||||
pub fn gst_video_decoder_get_max_decode_time(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstClockTimeDiff;
|
pub fn gst_video_decoder_get_max_decode_time(decoder: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame) -> gst::GstClockTimeDiff;
|
||||||
pub fn gst_video_decoder_get_max_errors(dec: *mut GstVideoDecoder) -> c_int;
|
pub fn gst_video_decoder_get_max_errors(dec: *mut GstVideoDecoder) -> c_int;
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_get_needs_format(dec: *mut GstVideoDecoder) -> gboolean;
|
pub fn gst_video_decoder_get_needs_format(dec: *mut GstVideoDecoder) -> gboolean;
|
||||||
pub fn gst_video_decoder_get_oldest_frame(decoder: *mut GstVideoDecoder) -> *mut GstVideoCodecFrame;
|
pub fn gst_video_decoder_get_oldest_frame(decoder: *mut GstVideoDecoder) -> *mut GstVideoCodecFrame;
|
||||||
pub fn gst_video_decoder_get_output_state(decoder: *mut GstVideoDecoder) -> *mut GstVideoCodecState;
|
pub fn gst_video_decoder_get_output_state(decoder: *mut GstVideoDecoder) -> *mut GstVideoCodecState;
|
||||||
pub fn gst_video_decoder_get_packetized(decoder: *mut GstVideoDecoder) -> gboolean;
|
pub fn gst_video_decoder_get_packetized(decoder: *mut GstVideoDecoder) -> gboolean;
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_get_pending_frame_size(decoder: *mut GstVideoDecoder) -> size_t;
|
pub fn gst_video_decoder_get_pending_frame_size(decoder: *mut GstVideoDecoder) -> size_t;
|
||||||
#[cfg(feature = "v1_0_3")]
|
#[cfg(any(feature = "v1_0_3", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_get_qos_proportion(decoder: *mut GstVideoDecoder) -> c_double;
|
pub fn gst_video_decoder_get_qos_proportion(decoder: *mut GstVideoDecoder) -> c_double;
|
||||||
pub fn gst_video_decoder_have_frame(decoder: *mut GstVideoDecoder) -> gst::GstFlowReturn;
|
pub fn gst_video_decoder_have_frame(decoder: *mut GstVideoDecoder) -> gst::GstFlowReturn;
|
||||||
pub fn gst_video_decoder_merge_tags(decoder: *mut GstVideoDecoder, tags: *const gst::GstTagList, mode: gst::GstTagMergeMode);
|
pub fn gst_video_decoder_merge_tags(decoder: *mut GstVideoDecoder, tags: *const gst::GstTagList, mode: gst::GstTagMergeMode);
|
||||||
pub fn gst_video_decoder_negotiate(decoder: *mut GstVideoDecoder) -> gboolean;
|
pub fn gst_video_decoder_negotiate(decoder: *mut GstVideoDecoder) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_proxy_getcaps(decoder: *mut GstVideoDecoder, caps: *mut gst::GstCaps, filter: *mut gst::GstCaps) -> *mut gst::GstCaps;
|
pub fn gst_video_decoder_proxy_getcaps(decoder: *mut GstVideoDecoder, caps: *mut gst::GstCaps, filter: *mut gst::GstCaps) -> *mut gst::GstCaps;
|
||||||
#[cfg(feature = "v1_2_2")]
|
#[cfg(any(feature = "v1_2_2", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_release_frame(dec: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame);
|
pub fn gst_video_decoder_release_frame(dec: *mut GstVideoDecoder, frame: *mut GstVideoCodecFrame);
|
||||||
pub fn gst_video_decoder_set_estimate_rate(dec: *mut GstVideoDecoder, enabled: gboolean);
|
pub fn gst_video_decoder_set_estimate_rate(dec: *mut GstVideoDecoder, enabled: gboolean);
|
||||||
pub fn gst_video_decoder_set_latency(decoder: *mut GstVideoDecoder, min_latency: gst::GstClockTime, max_latency: gst::GstClockTime);
|
pub fn gst_video_decoder_set_latency(decoder: *mut GstVideoDecoder, min_latency: gst::GstClockTime, max_latency: gst::GstClockTime);
|
||||||
pub fn gst_video_decoder_set_max_errors(dec: *mut GstVideoDecoder, num: c_int);
|
pub fn gst_video_decoder_set_max_errors(dec: *mut GstVideoDecoder, num: c_int);
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_set_needs_format(dec: *mut GstVideoDecoder, enabled: gboolean);
|
pub fn gst_video_decoder_set_needs_format(dec: *mut GstVideoDecoder, enabled: gboolean);
|
||||||
pub fn gst_video_decoder_set_output_state(decoder: *mut GstVideoDecoder, fmt: GstVideoFormat, width: c_uint, height: c_uint, reference: *mut GstVideoCodecState) -> *mut GstVideoCodecState;
|
pub fn gst_video_decoder_set_output_state(decoder: *mut GstVideoDecoder, fmt: GstVideoFormat, width: c_uint, height: c_uint, reference: *mut GstVideoCodecState) -> *mut GstVideoCodecState;
|
||||||
pub fn gst_video_decoder_set_packetized(decoder: *mut GstVideoDecoder, packetized: gboolean);
|
pub fn gst_video_decoder_set_packetized(decoder: *mut GstVideoDecoder, packetized: gboolean);
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_decoder_set_use_default_pad_acceptcaps(decoder: *mut GstVideoDecoder, use_: gboolean);
|
pub fn gst_video_decoder_set_use_default_pad_acceptcaps(decoder: *mut GstVideoDecoder, use_: gboolean);
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
@ -1872,11 +1936,11 @@ extern "C" {
|
||||||
pub fn gst_navigation_message_get_type(message: *mut gst::GstMessage) -> GstNavigationMessageType;
|
pub fn gst_navigation_message_get_type(message: *mut gst::GstMessage) -> GstNavigationMessageType;
|
||||||
pub fn gst_navigation_message_new_angles_changed(src: *mut gst::GstObject, cur_angle: c_uint, n_angles: c_uint) -> *mut gst::GstMessage;
|
pub fn gst_navigation_message_new_angles_changed(src: *mut gst::GstObject, cur_angle: c_uint, n_angles: c_uint) -> *mut gst::GstMessage;
|
||||||
pub fn gst_navigation_message_new_commands_changed(src: *mut gst::GstObject) -> *mut gst::GstMessage;
|
pub fn gst_navigation_message_new_commands_changed(src: *mut gst::GstObject) -> *mut gst::GstMessage;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_navigation_message_new_event(src: *mut gst::GstObject, event: *mut gst::GstEvent) -> *mut gst::GstMessage;
|
pub fn gst_navigation_message_new_event(src: *mut gst::GstObject, event: *mut gst::GstEvent) -> *mut gst::GstMessage;
|
||||||
pub fn gst_navigation_message_new_mouse_over(src: *mut gst::GstObject, active: gboolean) -> *mut gst::GstMessage;
|
pub fn gst_navigation_message_new_mouse_over(src: *mut gst::GstObject, active: gboolean) -> *mut gst::GstMessage;
|
||||||
pub fn gst_navigation_message_parse_angles_changed(message: *mut gst::GstMessage, cur_angle: *mut c_uint, n_angles: *mut c_uint) -> gboolean;
|
pub fn gst_navigation_message_parse_angles_changed(message: *mut gst::GstMessage, cur_angle: *mut c_uint, n_angles: *mut c_uint) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_navigation_message_parse_event(message: *mut gst::GstMessage, event: *mut *mut gst::GstEvent) -> gboolean;
|
pub fn gst_navigation_message_parse_event(message: *mut gst::GstMessage, event: *mut *mut gst::GstEvent) -> gboolean;
|
||||||
pub fn gst_navigation_message_parse_mouse_over(message: *mut gst::GstMessage, active: *mut gboolean) -> gboolean;
|
pub fn gst_navigation_message_parse_mouse_over(message: *mut gst::GstMessage, active: *mut gboolean) -> gboolean;
|
||||||
pub fn gst_navigation_query_get_type(query: *mut gst::GstQuery) -> GstNavigationQueryType;
|
pub fn gst_navigation_query_get_type(query: *mut gst::GstQuery) -> GstNavigationQueryType;
|
||||||
|
@ -1925,7 +1989,7 @@ extern "C" {
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
// Other functions
|
// Other functions
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
#[cfg(feature = "v1_8")]
|
#[cfg(any(feature = "v1_8", feature = "dox"))]
|
||||||
pub fn gst_buffer_add_video_affine_transformation_meta(buffer: *mut gst::GstBuffer) -> *mut GstVideoAffineTransformationMeta;
|
pub fn gst_buffer_add_video_affine_transformation_meta(buffer: *mut gst::GstBuffer) -> *mut GstVideoAffineTransformationMeta;
|
||||||
pub fn gst_buffer_add_video_gl_texture_upload_meta(buffer: *mut gst::GstBuffer, texture_orientation: GstVideoGLTextureOrientation, n_textures: c_uint, texture_type: GstVideoGLTextureType, upload: GstVideoGLTextureUpload, user_data: gpointer, user_data_copy: gobject::GBoxedCopyFunc, user_data_free: gobject::GBoxedFreeFunc) -> *mut GstVideoGLTextureUploadMeta;
|
pub fn gst_buffer_add_video_gl_texture_upload_meta(buffer: *mut gst::GstBuffer, texture_orientation: GstVideoGLTextureOrientation, n_textures: c_uint, texture_type: GstVideoGLTextureType, upload: GstVideoGLTextureUpload, user_data: gpointer, user_data_copy: gobject::GBoxedCopyFunc, user_data_free: gobject::GBoxedFreeFunc) -> *mut GstVideoGLTextureUploadMeta;
|
||||||
pub fn gst_buffer_add_video_meta(buffer: *mut gst::GstBuffer, flags: GstVideoFrameFlags, format: GstVideoFormat, width: c_uint, height: c_uint) -> *mut GstVideoMeta;
|
pub fn gst_buffer_add_video_meta(buffer: *mut gst::GstBuffer, flags: GstVideoFrameFlags, format: GstVideoFormat, width: c_uint, height: c_uint) -> *mut GstVideoMeta;
|
||||||
|
@ -1933,9 +1997,9 @@ extern "C" {
|
||||||
pub fn gst_buffer_add_video_overlay_composition_meta(buf: *mut gst::GstBuffer, comp: *mut GstVideoOverlayComposition) -> *mut GstVideoOverlayCompositionMeta;
|
pub fn gst_buffer_add_video_overlay_composition_meta(buf: *mut gst::GstBuffer, comp: *mut GstVideoOverlayComposition) -> *mut GstVideoOverlayCompositionMeta;
|
||||||
pub fn gst_buffer_add_video_region_of_interest_meta(buffer: *mut gst::GstBuffer, roi_type: *const c_char, x: c_uint, y: c_uint, w: c_uint, h: c_uint) -> *mut GstVideoRegionOfInterestMeta;
|
pub fn gst_buffer_add_video_region_of_interest_meta(buffer: *mut gst::GstBuffer, roi_type: *const c_char, x: c_uint, y: c_uint, w: c_uint, h: c_uint) -> *mut GstVideoRegionOfInterestMeta;
|
||||||
pub fn gst_buffer_add_video_region_of_interest_meta_id(buffer: *mut gst::GstBuffer, roi_type: glib::GQuark, x: c_uint, y: c_uint, w: c_uint, h: c_uint) -> *mut GstVideoRegionOfInterestMeta;
|
pub fn gst_buffer_add_video_region_of_interest_meta_id(buffer: *mut gst::GstBuffer, roi_type: glib::GQuark, x: c_uint, y: c_uint, w: c_uint, h: c_uint) -> *mut GstVideoRegionOfInterestMeta;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_buffer_add_video_time_code_meta(buffer: *mut gst::GstBuffer, tc: *mut GstVideoTimeCode) -> *mut GstVideoTimeCodeMeta;
|
pub fn gst_buffer_add_video_time_code_meta(buffer: *mut gst::GstBuffer, tc: *mut GstVideoTimeCode) -> *mut GstVideoTimeCodeMeta;
|
||||||
#[cfg(feature = "v1_10")]
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
pub fn gst_buffer_add_video_time_code_meta_full(buffer: *mut gst::GstBuffer, fps_n: c_uint, fps_d: c_uint, latest_daily_jam: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint, field_count: c_uint) -> *mut GstVideoTimeCodeMeta;
|
pub fn gst_buffer_add_video_time_code_meta_full(buffer: *mut gst::GstBuffer, fps_n: c_uint, fps_d: c_uint, latest_daily_jam: *mut glib::GDateTime, flags: GstVideoTimeCodeFlags, hours: c_uint, minutes: c_uint, seconds: c_uint, frames: c_uint, field_count: c_uint) -> *mut GstVideoTimeCodeMeta;
|
||||||
pub fn gst_buffer_get_video_meta(buffer: *mut gst::GstBuffer) -> *mut GstVideoMeta;
|
pub fn gst_buffer_get_video_meta(buffer: *mut gst::GstBuffer) -> *mut GstVideoMeta;
|
||||||
pub fn gst_buffer_get_video_meta_id(buffer: *mut gst::GstBuffer, id: c_int) -> *mut GstVideoMeta;
|
pub fn gst_buffer_get_video_meta_id(buffer: *mut gst::GstBuffer, id: c_int) -> *mut GstVideoMeta;
|
||||||
|
@ -1950,9 +2014,9 @@ extern "C" {
|
||||||
pub fn gst_video_chroma_from_string(s: *const c_char) -> GstVideoChromaSite;
|
pub fn gst_video_chroma_from_string(s: *const c_char) -> GstVideoChromaSite;
|
||||||
pub fn gst_video_chroma_resample(resample: *mut GstVideoChromaResample, lines: gpointer, width: c_int);
|
pub fn gst_video_chroma_resample(resample: *mut GstVideoChromaResample, lines: gpointer, width: c_int);
|
||||||
pub fn gst_video_chroma_to_string(site: GstVideoChromaSite) -> *const c_char;
|
pub fn gst_video_chroma_to_string(site: GstVideoChromaSite) -> *const c_char;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_color_transfer_decode(func: GstVideoTransferFunction, val: c_double) -> c_double;
|
pub fn gst_video_color_transfer_decode(func: GstVideoTransferFunction, val: c_double) -> c_double;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_color_transfer_encode(func: GstVideoTransferFunction, val: c_double) -> c_double;
|
pub fn gst_video_color_transfer_encode(func: GstVideoTransferFunction, val: c_double) -> c_double;
|
||||||
pub fn gst_video_convert_sample(sample: *mut gst::GstSample, to_caps: *const gst::GstCaps, timeout: gst::GstClockTime, error: *mut *mut glib::GError) -> *mut gst::GstSample;
|
pub fn gst_video_convert_sample(sample: *mut gst::GstSample, to_caps: *const gst::GstCaps, timeout: gst::GstClockTime, error: *mut *mut glib::GError) -> *mut gst::GstSample;
|
||||||
pub fn gst_video_convert_sample_async(sample: *mut gst::GstSample, to_caps: *const gst::GstCaps, timeout: gst::GstClockTime, callback: GstVideoConvertSampleCallback, user_data: gpointer, destroy_notify: glib::GDestroyNotify);
|
pub fn gst_video_convert_sample_async(sample: *mut gst::GstSample, to_caps: *const gst::GstCaps, timeout: gst::GstClockTime, callback: GstVideoConvertSampleCallback, user_data: gpointer, destroy_notify: glib::GDestroyNotify);
|
||||||
|
@ -1965,26 +2029,26 @@ extern "C" {
|
||||||
pub fn gst_video_event_parse_still_frame(event: *mut gst::GstEvent, in_still: *mut gboolean) -> gboolean;
|
pub fn gst_video_event_parse_still_frame(event: *mut gst::GstEvent, in_still: *mut gboolean) -> gboolean;
|
||||||
pub fn gst_video_event_parse_upstream_force_key_unit(event: *mut gst::GstEvent, running_time: *mut gst::GstClockTime, all_headers: *mut gboolean, count: *mut c_uint) -> gboolean;
|
pub fn gst_video_event_parse_upstream_force_key_unit(event: *mut gst::GstEvent, running_time: *mut gst::GstClockTime, all_headers: *mut gboolean, count: *mut c_uint) -> gboolean;
|
||||||
pub fn gst_video_gl_texture_upload_meta_api_get_type() -> GType;
|
pub fn gst_video_gl_texture_upload_meta_api_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_guess_framerate(duration: gst::GstClockTime, dest_n: *mut c_int, dest_d: *mut c_int) -> gboolean;
|
pub fn gst_video_guess_framerate(duration: gst::GstClockTime, dest_n: *mut c_int, dest_d: *mut c_int) -> gboolean;
|
||||||
pub fn gst_video_meta_api_get_type() -> GType;
|
pub fn gst_video_meta_api_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_get_doubled_height_modes() -> *const gobject::GValue;
|
pub fn gst_video_multiview_get_doubled_height_modes() -> *const gobject::GValue;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_get_doubled_size_modes() -> *const gobject::GValue;
|
pub fn gst_video_multiview_get_doubled_size_modes() -> *const gobject::GValue;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_get_doubled_width_modes() -> *const gobject::GValue;
|
pub fn gst_video_multiview_get_doubled_width_modes() -> *const gobject::GValue;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_get_mono_modes() -> *const gobject::GValue;
|
pub fn gst_video_multiview_get_mono_modes() -> *const gobject::GValue;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_get_unpacked_modes() -> *const gobject::GValue;
|
pub fn gst_video_multiview_get_unpacked_modes() -> *const gobject::GValue;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_guess_half_aspect(mv_mode: GstVideoMultiviewMode, width: c_uint, height: c_uint, par_n: c_uint, par_d: c_uint) -> gboolean;
|
pub fn gst_video_multiview_guess_half_aspect(mv_mode: GstVideoMultiviewMode, width: c_uint, height: c_uint, par_n: c_uint, par_d: c_uint) -> gboolean;
|
||||||
#[cfg(feature = "v1_6")]
|
#[cfg(any(feature = "v1_6", feature = "dox"))]
|
||||||
pub fn gst_video_multiview_video_info_change_mode(info: *mut GstVideoInfo, out_mview_mode: GstVideoMultiviewMode, out_mview_flags: GstVideoMultiviewFlags);
|
pub fn gst_video_multiview_video_info_change_mode(info: *mut GstVideoInfo, out_mview_mode: GstVideoMultiviewMode, out_mview_flags: GstVideoMultiviewFlags);
|
||||||
pub fn gst_video_overlay_composition_meta_api_get_type() -> GType;
|
pub fn gst_video_overlay_composition_meta_api_get_type() -> GType;
|
||||||
pub fn gst_video_region_of_interest_meta_api_get_type() -> GType;
|
pub fn gst_video_region_of_interest_meta_api_get_type() -> GType;
|
||||||
#[cfg(feature = "v1_4")]
|
#[cfg(any(feature = "v1_4", feature = "dox"))]
|
||||||
pub fn gst_video_tile_get_index(mode: GstVideoTileMode, x: c_int, y: c_int, x_tiles: c_int, y_tiles: c_int) -> c_uint;
|
pub fn gst_video_tile_get_index(mode: GstVideoTileMode, x: c_int, y: c_int, x_tiles: c_int, y_tiles: c_int) -> c_uint;
|
||||||
pub fn gst_video_time_code_meta_api_get_type() -> GType;
|
pub fn gst_video_time_code_meta_api_get_type() -> GType;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue