Commit 1acbe4f1 authored by Rico Tzschichholz's avatar Rico Tzschichholz

gstreamer: Update from 1.15+ git master

parent 2ce7517d
......@@ -2226,7 +2226,7 @@ namespace Gst {
[Version (since = "1.16")]
public void set_caps (Gst.Caps caps);
[Version (since = "1.16")]
public bool set_info (Gst.Structure info);
public bool set_info (owned Gst.Structure info);
[Version (since = "1.16")]
public void set_segment (Gst.Segment segment);
}
......@@ -2794,7 +2794,7 @@ namespace Gst {
[Version (since = "1.2")]
public static unowned string[] api_type_get_tags (GLib.Type api);
public static bool api_type_has_tag (GLib.Type api, GLib.Quark tag);
public static GLib.Type api_type_register (string api, string tags);
public static GLib.Type api_type_register (string api, [CCode (array_length = false, array_null_terminated = true)] string[] tags);
public static unowned Gst.MetaInfo? get_info (string impl);
public static unowned Gst.MetaInfo? register (GLib.Type api, string impl, size_t size, [CCode (scope = "async")] Gst.MetaInitFunction init_func, [CCode (scope = "async")] Gst.MetaFreeFunction free_func, [CCode (scope = "async")] Gst.MetaTransformFunction transform_func);
}
......@@ -4063,7 +4063,7 @@ namespace Gst {
public static bool preset_set_app_dir (string app_dir);
[CCode (array_length = false, array_null_terminated = true, cheader_filename = "gst/gst.h")]
[Version (since = "1.14")]
public static string[]? protection_filter_systems_by_available_decryptors (string system_identifiers);
public static string[]? protection_filter_systems_by_available_decryptors ([CCode (array_length = false, array_null_terminated = true)] string[] system_identifiers);
[CCode (cheader_filename = "gst/gst.h")]
[Version (since = "1.6")]
public static unowned string? protection_select_system ([CCode (array_length = false, array_null_terminated = true)] string[] system_identifiers);
......
......@@ -895,7 +895,7 @@ namespace Gst {
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_clip")]
public static Gst.Buffer audio_buffer_clip (owned Gst.Buffer buffer, Gst.Segment segment, int rate, int bpf);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_buffer_reorder_channels")]
public static bool audio_buffer_reorder_channels (Gst.Buffer buffer, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
public static bool audio_buffer_reorder_channels (Gst.Buffer buffer, Gst.Audio.Format format, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] to);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_channel_get_fallback_mask")]
[Version (since = "1.8")]
public static uint64 audio_channel_get_fallback_mask (int channels);
......@@ -930,13 +930,13 @@ namespace Gst {
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_format_to_string")]
public static unowned string audio_format_to_string (Gst.Audio.Format format);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_get_channel_reorder_map")]
public static bool audio_get_channel_reorder_map (int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to, [CCode (array_length = false)] int[] reorder_map);
public static bool audio_get_channel_reorder_map ([CCode (array_length_cname = "channels", array_length_pos = 0.5)] Gst.Audio.ChannelPosition[] from, [CCode (array_length_cname = "channels", array_length_pos = 0.5)] Gst.Audio.ChannelPosition[] to, [CCode (array_length_cname = "channels", array_length_pos = 0.5)] int[] reorder_map);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_iec61937_frame_size")]
public static uint audio_iec61937_frame_size (Gst.Audio.RingBufferSpec spec);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_iec61937_payload")]
public static bool audio_iec61937_payload ([CCode (array_length_cname = "src_n", array_length_pos = 1.5, array_length_type = "guint")] uint8[] src, [CCode (array_length_cname = "dst_n", array_length_pos = 2.5, array_length_type = "guint")] uint8[] dst, Gst.Audio.RingBufferSpec spec, int endianness);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_reorder_channels")]
public static bool audio_reorder_channels ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.Audio.Format format, int channels, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] from, [CCode (array_length = false)] Gst.Audio.ChannelPosition[] to);
public static bool audio_reorder_channels ([CCode (array_length_cname = "size", array_length_pos = 1.5, array_length_type = "gsize")] uint8[] data, Gst.Audio.Format format, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] from, [CCode (array_length_cname = "channels", array_length_pos = 2.5)] Gst.Audio.ChannelPosition[] to);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_audio_resampler_options_set_quality")]
public static void audio_resampler_options_set_quality (Gst.Audio.ResamplerMethod method, uint quality, int in_rate, int out_rate, Gst.Structure options);
[CCode (cheader_filename = "gst/audio/audio.h", cname = "gst_buffer_add_audio_clipping_meta")]
......
......@@ -972,7 +972,8 @@ namespace Gst {
Y444_12LE,
GRAY10_LE32,
NV12_10LE32,
NV16_10LE32
NV16_10LE32,
NV12_10LE40
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
[Flags]
......@@ -1464,7 +1465,7 @@ namespace Gst {
[Version (since = "1.6")]
public static unowned Gst.Video.ColorPrimariesInfo? color_primaries_get_info (Gst.Video.ColorPrimaries primaries);
[CCode (cheader_filename = "gst/video/video.h")]
public static void color_range_offsets (Gst.Video.ColorRange range, Gst.Video.FormatInfo info, [CCode (array_length = false)] out int offset[4], [CCode (array_length = false)] out int scale[4]);
public static void color_range_offsets (Gst.Video.ColorRange range, Gst.Video.FormatInfo info, [CCode (array_length = false)] out unowned int offset[4], [CCode (array_length = false)] out unowned int scale[4]);
[CCode (cheader_filename = "gst/video/video.h")]
[Version (since = "1.6")]
public static double color_transfer_decode (Gst.Video.TransferFunction func, double val);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment