mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
Regenerate with latest GStreamer gir files
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1286>
This commit is contained in:
parent
67b8c29274
commit
80abcf6ca3
59 changed files with 329 additions and 50 deletions
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -680,6 +680,10 @@ pub enum AudioRingBufferFormatType {
|
|||
Mpeg4AacRaw,
|
||||
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC")]
|
||||
Flac,
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
#[doc(alias = "GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD")]
|
||||
Dsd,
|
||||
#[doc(hidden)]
|
||||
__Unknown(i32),
|
||||
}
|
||||
|
@ -705,6 +709,8 @@ impl IntoGlib for AudioRingBufferFormatType {
|
|||
Self::Mpeg2AacRaw => ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW,
|
||||
Self::Mpeg4AacRaw => ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW,
|
||||
Self::Flac => ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC,
|
||||
#[cfg(feature = "v1_24")]
|
||||
Self::Dsd => ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD,
|
||||
Self::__Unknown(value) => value,
|
||||
}
|
||||
}
|
||||
|
@ -731,6 +737,8 @@ impl FromGlib<ffi::GstAudioRingBufferFormatType> for AudioRingBufferFormatType {
|
|||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW => Self::Mpeg2AacRaw,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW => Self::Mpeg4AacRaw,
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC => Self::Flac,
|
||||
#[cfg(feature = "v1_24")]
|
||||
ffi::GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD => Self::Dsd,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -163,6 +163,7 @@ pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC: GstAudioRingBufferFormatT
|
|||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG2_AAC_RAW: GstAudioRingBufferFormatType = 12;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_MPEG4_AAC_RAW: GstAudioRingBufferFormatType = 13;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC: GstAudioRingBufferFormatType = 14;
|
||||
pub const GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD: GstAudioRingBufferFormatType = 15;
|
||||
|
||||
pub type GstAudioRingBufferState = c_int;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_STOPPED: GstAudioRingBufferState = 0;
|
||||
|
@ -170,6 +171,17 @@ pub const GST_AUDIO_RING_BUFFER_STATE_PAUSED: GstAudioRingBufferState = 1;
|
|||
pub const GST_AUDIO_RING_BUFFER_STATE_STARTED: GstAudioRingBufferState = 2;
|
||||
pub const GST_AUDIO_RING_BUFFER_STATE_ERROR: GstAudioRingBufferState = 3;
|
||||
|
||||
pub type GstDsdFormat = c_int;
|
||||
pub const GST_DSD_FORMAT_UNKNOWN: GstDsdFormat = 0;
|
||||
pub const GST_DSD_FORMAT_U8: GstDsdFormat = 1;
|
||||
pub const GST_DSD_FORMAT_U16LE: GstDsdFormat = 2;
|
||||
pub const GST_DSD_FORMAT_U16BE: GstDsdFormat = 3;
|
||||
pub const GST_DSD_FORMAT_U32LE: GstDsdFormat = 4;
|
||||
pub const GST_DSD_FORMAT_U32BE: GstDsdFormat = 5;
|
||||
pub const GST_NUM_DSD_FORMATS: GstDsdFormat = 6;
|
||||
pub const GST_DSD_FORMAT_U16: GstDsdFormat = 2;
|
||||
pub const GST_DSD_FORMAT_U32: GstDsdFormat = 4;
|
||||
|
||||
pub type GstStreamVolumeFormat = c_int;
|
||||
pub const GST_STREAM_VOLUME_FORMAT_LINEAR: GstStreamVolumeFormat = 0;
|
||||
pub const GST_STREAM_VOLUME_FORMAT_CUBIC: GstStreamVolumeFormat = 1;
|
||||
|
@ -212,9 +224,13 @@ pub const GST_AUDIO_RESAMPLER_OPT_TRANSITION_BANDWIDTH: &[u8] =
|
|||
pub const GST_AUDIO_RESAMPLER_QUALITY_DEFAULT: c_int = 4;
|
||||
pub const GST_AUDIO_RESAMPLER_QUALITY_MAX: c_int = 10;
|
||||
pub const GST_AUDIO_RESAMPLER_QUALITY_MIN: c_int = 0;
|
||||
pub const GST_DSD_FORMATS_ALL: &[u8] = b"{ DSDU32BE, DSDU16BE, DSDU8, DSDU32LE, DSDU16LE }\0";
|
||||
pub const GST_DSD_MEDIA_TYPE: &[u8] = b"audio/x-dsd\0";
|
||||
pub const GST_DSD_SILENCE_PATTERN_BYTE: c_int = 105;
|
||||
pub const GST_META_TAG_AUDIO_CHANNELS_STR: &[u8] = b"channels\0";
|
||||
pub const GST_META_TAG_AUDIO_RATE_STR: &[u8] = b"rate\0";
|
||||
pub const GST_META_TAG_AUDIO_STR: &[u8] = b"audio\0";
|
||||
pub const GST_META_TAG_DSD_PLANE_OFFSETS_STR: &[u8] = b"dsdplaneoffsets\0";
|
||||
|
||||
// Flags
|
||||
pub type GstAudioChannelMixerFlags = c_uint;
|
||||
|
@ -254,6 +270,22 @@ pub const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_IN: GstAudioResamplerFlags =
|
|||
pub const GST_AUDIO_RESAMPLER_FLAG_NON_INTERLEAVED_OUT: GstAudioResamplerFlags = 2;
|
||||
pub const GST_AUDIO_RESAMPLER_FLAG_VARIABLE_RATE: GstAudioResamplerFlags = 4;
|
||||
|
||||
// Unions
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub union GstAudioRingBufferSpec_ABI {
|
||||
pub abi: GstAudioRingBufferSpec_ABI_abi,
|
||||
pub _gst_reserved: [gpointer; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAudioRingBufferSpec_ABI {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioRingBufferSpec_ABI @ {self:p}"))
|
||||
.field("abi", unsafe { &self.abi })
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
// Callbacks
|
||||
pub type GstAudioBaseSinkCustomSlavingCallback = Option<
|
||||
unsafe extern "C" fn(
|
||||
|
@ -955,7 +987,7 @@ pub struct GstAudioRingBufferSpec {
|
|||
pub segsize: c_int,
|
||||
pub segtotal: c_int,
|
||||
pub seglatency: c_int,
|
||||
pub _gst_reserved: [gpointer; 4],
|
||||
pub ABI: GstAudioRingBufferSpec_ABI,
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAudioRingBufferSpec {
|
||||
|
@ -969,6 +1001,21 @@ impl ::std::fmt::Debug for GstAudioRingBufferSpec {
|
|||
.field("segsize", &self.segsize)
|
||||
.field("segtotal", &self.segtotal)
|
||||
.field("seglatency", &self.seglatency)
|
||||
.field("ABI", &self.ABI)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstAudioRingBufferSpec_ABI_abi {
|
||||
pub dsd_format: GstDsdFormat,
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstAudioRingBufferSpec_ABI_abi {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstAudioRingBufferSpec_ABI_abi @ {self:p}"))
|
||||
.field("dsd_format", &self.dsd_format)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
@ -1069,6 +1116,54 @@ impl ::std::fmt::Debug for GstAudioStreamAlign {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstDsdInfo {
|
||||
pub format: GstDsdFormat,
|
||||
pub rate: c_int,
|
||||
pub channels: c_int,
|
||||
pub layout: GstAudioLayout,
|
||||
pub reversed_bytes: gboolean,
|
||||
pub positions: [GstAudioChannelPosition; 64],
|
||||
pub flags: GstAudioFlags,
|
||||
pub _gst_reserved: [gpointer; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstDsdInfo {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDsdInfo @ {self:p}"))
|
||||
.field("format", &self.format)
|
||||
.field("rate", &self.rate)
|
||||
.field("channels", &self.channels)
|
||||
.field("layout", &self.layout)
|
||||
.field("reversed_bytes", &self.reversed_bytes)
|
||||
.field("flags", &self.flags)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstDsdPlaneOffsetMeta {
|
||||
pub meta: gst::GstMeta,
|
||||
pub num_channels: c_int,
|
||||
pub num_bytes_per_channel: size_t,
|
||||
pub offsets: *mut size_t,
|
||||
pub priv_offsets_arr: [size_t; 8],
|
||||
pub _gst_reserved: [gpointer; 4],
|
||||
}
|
||||
|
||||
impl ::std::fmt::Debug for GstDsdPlaneOffsetMeta {
|
||||
fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result {
|
||||
f.debug_struct(&format!("GstDsdPlaneOffsetMeta @ {self:p}"))
|
||||
.field("meta", &self.meta)
|
||||
.field("num_channels", &self.num_channels)
|
||||
.field("num_bytes_per_channel", &self.num_bytes_per_channel)
|
||||
.field("offsets", &self.offsets)
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(C)]
|
||||
pub struct GstStreamVolumeInterface {
|
||||
|
@ -1480,6 +1575,22 @@ extern "C" {
|
|||
//=========================================================================
|
||||
pub fn gst_audio_ring_buffer_state_get_type() -> GType;
|
||||
|
||||
//=========================================================================
|
||||
// GstDsdFormat
|
||||
//=========================================================================
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_format_get_type() -> GType;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_format_from_string(str: *const c_char) -> GstDsdFormat;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_format_get_width(format: GstDsdFormat) -> c_uint;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_format_to_string(format: GstDsdFormat) -> *const c_char;
|
||||
|
||||
//=========================================================================
|
||||
// GstAudioChannelMixerFlags
|
||||
//=========================================================================
|
||||
|
@ -1817,6 +1928,53 @@ extern "C" {
|
|||
);
|
||||
pub fn gst_audio_stream_align_set_rate(align: *mut GstAudioStreamAlign, rate: c_int);
|
||||
|
||||
//=========================================================================
|
||||
// GstDsdInfo
|
||||
//=========================================================================
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_get_type() -> GType;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_new() -> *mut GstDsdInfo;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_new_from_caps(caps: *const gst::GstCaps) -> *mut GstDsdInfo;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_copy(info: *const GstDsdInfo) -> *mut GstDsdInfo;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_free(info: *mut GstDsdInfo);
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_is_equal(info: *const GstDsdInfo, other: *const GstDsdInfo) -> gboolean;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_set_format(
|
||||
info: *mut GstDsdInfo,
|
||||
format: GstDsdFormat,
|
||||
rate: c_int,
|
||||
channels: c_int,
|
||||
positions: *const GstAudioChannelPosition,
|
||||
);
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_to_caps(info: *const GstDsdInfo) -> *mut gst::GstCaps;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_from_caps(info: *mut GstDsdInfo, caps: *const gst::GstCaps) -> gboolean;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_info_init(info: *mut GstDsdInfo);
|
||||
|
||||
//=========================================================================
|
||||
// GstDsdPlaneOffsetMeta
|
||||
//=========================================================================
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_plane_offset_meta_get_info() -> *const gst::GstMetaInfo;
|
||||
|
||||
//=========================================================================
|
||||
// GstAudioAggregator
|
||||
//=========================================================================
|
||||
|
@ -2299,6 +2457,14 @@ extern "C" {
|
|||
samples: size_t,
|
||||
offsets: *mut size_t,
|
||||
) -> *mut GstAudioMeta;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_buffer_add_dsd_plane_offset_meta(
|
||||
buffer: *mut gst::GstBuffer,
|
||||
num_channels: c_int,
|
||||
num_bytes_per_channel: size_t,
|
||||
offsets: *mut size_t,
|
||||
) -> *mut GstDsdPlaneOffsetMeta;
|
||||
pub fn gst_buffer_get_audio_downmix_meta_for_channels(
|
||||
buffer: *mut gst::GstBuffer,
|
||||
to_position: *const GstAudioChannelPosition,
|
||||
|
@ -2307,5 +2473,21 @@ extern "C" {
|
|||
#[cfg(feature = "v1_20")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_20")))]
|
||||
pub fn gst_buffer_get_audio_level_meta(buffer: *mut gst::GstBuffer) -> *mut GstAudioLevelMeta;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_dsd_convert(
|
||||
input_data: *const u8,
|
||||
output_data: *mut u8,
|
||||
input_format: GstDsdFormat,
|
||||
output_format: GstDsdFormat,
|
||||
input_layout: GstAudioLayout,
|
||||
output_layout: GstAudioLayout,
|
||||
input_plane_offsets: *const size_t,
|
||||
output_plane_offsets: *const size_t,
|
||||
num_dsd_bytes: size_t,
|
||||
num_channels: c_int,
|
||||
reverse_bytes: gboolean,
|
||||
);
|
||||
pub fn gst_dsd_plane_offset_meta_api_get_type() -> GType;
|
||||
|
||||
}
|
||||
|
|
|
@ -597,6 +597,27 @@ const RUST_LAYOUTS: &[(&str, Layout)] = &[
|
|||
alignment: align_of::<GstAudioSrcClass>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstDsdFormat",
|
||||
Layout {
|
||||
size: size_of::<GstDsdFormat>(),
|
||||
alignment: align_of::<GstDsdFormat>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstDsdInfo",
|
||||
Layout {
|
||||
size: size_of::<GstDsdInfo>(),
|
||||
alignment: align_of::<GstDsdInfo>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstDsdPlaneOffsetMeta",
|
||||
Layout {
|
||||
size: size_of::<GstDsdPlaneOffsetMeta>(),
|
||||
alignment: align_of::<GstDsdPlaneOffsetMeta>(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"GstStreamVolumeFormat",
|
||||
Layout {
|
||||
|
@ -856,6 +877,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("GST_AUDIO_RESAMPLER_QUALITY_MIN", "0"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3", "7"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW", "2"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD", "15"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS", "9"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3", "8"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC", "14"),
|
||||
|
@ -879,9 +901,25 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_AUDIO_RING_BUFFER_STATE_PAUSED", "1"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_STATE_STARTED", "2"),
|
||||
("(gint) GST_AUDIO_RING_BUFFER_STATE_STOPPED", "0"),
|
||||
(
|
||||
"GST_DSD_FORMATS_ALL",
|
||||
"{ DSDU32BE, DSDU16BE, DSDU8, DSDU32LE, DSDU16LE }",
|
||||
),
|
||||
("(gint) GST_DSD_FORMAT_U16", "2"),
|
||||
("(gint) GST_DSD_FORMAT_U16BE", "3"),
|
||||
("(gint) GST_DSD_FORMAT_U16LE", "2"),
|
||||
("(gint) GST_DSD_FORMAT_U32", "4"),
|
||||
("(gint) GST_DSD_FORMAT_U32BE", "5"),
|
||||
("(gint) GST_DSD_FORMAT_U32LE", "4"),
|
||||
("(gint) GST_DSD_FORMAT_U8", "1"),
|
||||
("(gint) GST_DSD_FORMAT_UNKNOWN", "0"),
|
||||
("GST_DSD_MEDIA_TYPE", "audio/x-dsd"),
|
||||
("GST_DSD_SILENCE_PATTERN_BYTE", "105"),
|
||||
("GST_META_TAG_AUDIO_CHANNELS_STR", "channels"),
|
||||
("GST_META_TAG_AUDIO_RATE_STR", "rate"),
|
||||
("GST_META_TAG_AUDIO_STR", "audio"),
|
||||
("GST_META_TAG_DSD_PLANE_OFFSETS_STR", "dsdplaneoffsets"),
|
||||
("(gint) GST_NUM_DSD_FORMATS", "6"),
|
||||
("(gint) GST_STREAM_VOLUME_FORMAT_CUBIC", "1"),
|
||||
("(gint) GST_STREAM_VOLUME_FORMAT_DB", "2"),
|
||||
("(gint) GST_STREAM_VOLUME_FORMAT_LINEAR", "0"),
|
||||
|
|
|
@ -199,6 +199,7 @@ int main() {
|
|||
PRINT_CONSTANT(GST_AUDIO_RESAMPLER_QUALITY_MIN);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_AC3);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_A_LAW);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DSD);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_DTS);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_EAC3);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_FORMAT_TYPE_FLAC);
|
||||
|
@ -216,9 +217,22 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_STATE_PAUSED);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_STATE_STARTED);
|
||||
PRINT_CONSTANT((gint) GST_AUDIO_RING_BUFFER_STATE_STOPPED);
|
||||
PRINT_CONSTANT(GST_DSD_FORMATS_ALL);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_U16);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_U16BE);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_U16LE);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_U32);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_U32BE);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_U32LE);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_U8);
|
||||
PRINT_CONSTANT((gint) GST_DSD_FORMAT_UNKNOWN);
|
||||
PRINT_CONSTANT(GST_DSD_MEDIA_TYPE);
|
||||
PRINT_CONSTANT(GST_DSD_SILENCE_PATTERN_BYTE);
|
||||
PRINT_CONSTANT(GST_META_TAG_AUDIO_CHANNELS_STR);
|
||||
PRINT_CONSTANT(GST_META_TAG_AUDIO_RATE_STR);
|
||||
PRINT_CONSTANT(GST_META_TAG_AUDIO_STR);
|
||||
PRINT_CONSTANT(GST_META_TAG_DSD_PLANE_OFFSETS_STR);
|
||||
PRINT_CONSTANT((gint) GST_NUM_DSD_FORMATS);
|
||||
PRINT_CONSTANT((gint) GST_STREAM_VOLUME_FORMAT_CUBIC);
|
||||
PRINT_CONSTANT((gint) GST_STREAM_VOLUME_FORMAT_DB);
|
||||
PRINT_CONSTANT((gint) GST_STREAM_VOLUME_FORMAT_LINEAR);
|
||||
|
|
|
@ -65,6 +65,9 @@ int main() {
|
|||
printf("%s;%zu;%zu\n", "GstAudioSinkClassExtension", sizeof(GstAudioSinkClassExtension), alignof(GstAudioSinkClassExtension));
|
||||
printf("%s;%zu;%zu\n", "GstAudioSrc", sizeof(GstAudioSrc), alignof(GstAudioSrc));
|
||||
printf("%s;%zu;%zu\n", "GstAudioSrcClass", sizeof(GstAudioSrcClass), alignof(GstAudioSrcClass));
|
||||
printf("%s;%zu;%zu\n", "GstDsdFormat", sizeof(GstDsdFormat), alignof(GstDsdFormat));
|
||||
printf("%s;%zu;%zu\n", "GstDsdInfo", sizeof(GstDsdInfo), alignof(GstDsdInfo));
|
||||
printf("%s;%zu;%zu\n", "GstDsdPlaneOffsetMeta", sizeof(GstDsdPlaneOffsetMeta), alignof(GstDsdPlaneOffsetMeta));
|
||||
printf("%s;%zu;%zu\n", "GstStreamVolumeFormat", sizeof(GstStreamVolumeFormat), alignof(GstStreamVolumeFormat));
|
||||
printf("%s;%zu;%zu\n", "GstStreamVolumeInterface", sizeof(GstStreamVolumeInterface), alignof(GstStreamVolumeInterface));
|
||||
return 0;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -2059,6 +2059,10 @@ pub enum VideoFormat {
|
|||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
||||
#[doc(alias = "GST_VIDEO_FORMAT_NV12_10BE_8L128")]
|
||||
Nv1210be8l128,
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
#[doc(alias = "GST_VIDEO_FORMAT_NV12_10LE40_4L4")]
|
||||
Nv1210le404l4,
|
||||
#[doc(hidden)]
|
||||
__Unknown(i32),
|
||||
}
|
||||
|
@ -2247,6 +2251,8 @@ impl IntoGlib for VideoFormat {
|
|||
Self::Nv128l128 => ffi::GST_VIDEO_FORMAT_NV12_8L128,
|
||||
#[cfg(feature = "v1_22")]
|
||||
Self::Nv1210be8l128 => ffi::GST_VIDEO_FORMAT_NV12_10BE_8L128,
|
||||
#[cfg(feature = "v1_24")]
|
||||
Self::Nv1210le404l4 => ffi::GST_VIDEO_FORMAT_NV12_10LE40_4L4,
|
||||
Self::__Unknown(value) => value,
|
||||
}
|
||||
}
|
||||
|
@ -2403,6 +2409,8 @@ impl FromGlib<ffi::GstVideoFormat> for VideoFormat {
|
|||
ffi::GST_VIDEO_FORMAT_NV12_8L128 => Self::Nv128l128,
|
||||
#[cfg(feature = "v1_22")]
|
||||
ffi::GST_VIDEO_FORMAT_NV12_10BE_8L128 => Self::Nv1210be8l128,
|
||||
#[cfg(feature = "v1_24")]
|
||||
ffi::GST_VIDEO_FORMAT_NV12_10LE40_4L4 => Self::Nv1210le404l4,
|
||||
value => Self::__Unknown(value),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -328,6 +328,9 @@ pub const GST_VIDEO_FORMAT_NV12_8L128: GstVideoFormat = 111;
|
|||
#[cfg(feature = "v1_22")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
||||
pub const GST_VIDEO_FORMAT_NV12_10BE_8L128: GstVideoFormat = 112;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub const GST_VIDEO_FORMAT_NV12_10LE40_4L4: GstVideoFormat = 113;
|
||||
|
||||
pub type GstVideoGLTextureOrientation = c_int;
|
||||
pub const GST_VIDEO_GL_TEXTURE_ORIENTATION_X_NORMAL_Y_NORMAL: GstVideoGLTextureOrientation = 0;
|
||||
|
@ -3144,12 +3147,25 @@ extern "C" {
|
|||
-> *mut gst::GstCaps;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_video_info_dma_drm_to_video_info(
|
||||
drm_info: *const GstVideoInfoDmaDrm,
|
||||
info: *mut GstVideoInfo,
|
||||
) -> gboolean;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_video_info_dma_drm_from_caps(
|
||||
drm_info: *mut GstVideoInfoDmaDrm,
|
||||
caps: *const gst::GstCaps,
|
||||
) -> gboolean;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_video_info_dma_drm_from_video_info(
|
||||
drm_info: *mut GstVideoInfoDmaDrm,
|
||||
info: *const GstVideoInfo,
|
||||
modifier: u64,
|
||||
) -> gboolean;
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_video_info_dma_drm_init(drm_info: *mut GstVideoInfoDmaDrm);
|
||||
|
||||
//=========================================================================
|
||||
|
|
|
@ -1349,6 +1349,7 @@ const RUST_CONSTANTS: &[(&str, &str)] = &[
|
|||
("(gint) GST_VIDEO_FORMAT_NV12_10BE_8L128", "112"),
|
||||
("(gint) GST_VIDEO_FORMAT_NV12_10LE32", "79"),
|
||||
("(gint) GST_VIDEO_FORMAT_NV12_10LE40", "81"),
|
||||
("(gint) GST_VIDEO_FORMAT_NV12_10LE40_4L4", "113"),
|
||||
("(gint) GST_VIDEO_FORMAT_NV12_16L32S", "110"),
|
||||
("(gint) GST_VIDEO_FORMAT_NV12_32L32", "98"),
|
||||
("(gint) GST_VIDEO_FORMAT_NV12_4L4", "97"),
|
||||
|
|
|
@ -317,6 +317,7 @@ int main() {
|
|||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_10BE_8L128);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_10LE32);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_10LE40);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_10LE40_4L4);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_16L32S);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_32L32);
|
||||
PRINT_CONSTANT((gint) GST_VIDEO_FORMAT_NV12_4L4);
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Generated by gir (https://github.com/gtk-rs/gir @ 213af37c22d5)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ 1254daed0202)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ d6ac1b77b11e)
|
||||
from gst-gir-files (https://gitlab.freedesktop.org/gstreamer/gir-files-rs.git @ 438cdf944979)
|
||||
|
|
|
@ -9153,6 +9153,14 @@ extern "C" {
|
|||
array: *const gobject::GValueArray,
|
||||
) -> gboolean;
|
||||
pub fn gst_util_set_value_from_string(value: *mut gobject::GValue, value_str: *const c_char);
|
||||
#[cfg(feature = "v1_24")]
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_24")))]
|
||||
pub fn gst_util_simplify_fraction(
|
||||
numerator: *mut c_int,
|
||||
denominator: *mut c_int,
|
||||
n_terms: c_uint,
|
||||
threshold: c_uint,
|
||||
);
|
||||
pub fn gst_util_uint64_scale(val: u64, num: u64, denom: u64) -> u64;
|
||||
pub fn gst_util_uint64_scale_ceil(val: u64, num: u64, denom: u64) -> u64;
|
||||
pub fn gst_util_uint64_scale_int(val: u64, num: c_int, denom: c_int) -> u64;
|
||||
|
|
Loading…
Reference in a new issue