]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gstreamer: Update from 1.17.0+ git master
authorRico Tzschichholz <ricotz@ubuntu.com>
Mon, 22 Jul 2019 07:52:48 +0000 (09:52 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 22 Jul 2019 07:52:48 +0000 (09:52 +0200)
vapi/gstreamer-1.0.vapi
vapi/gstreamer-video-1.0.vapi

index e55f285a1ea800fa3e6c4a40d31829be477a5b28..85adfa4dcbaad70cc830eeb35c803982223a608e 100644 (file)
@@ -2777,6 +2777,7 @@ namespace Gst {
        }
        [CCode (cheader_filename = "gst/gst.h", has_type_id = false)]
        public struct DebugCategory {
+               [Version (deprecated = true)]
                public void free ();
                public uint get_color ();
                public unowned string get_description ();
index 7fd7494600b9ca21530e2bcf478d586bd924a2c4..4977e8973f07ab03fbfb176505f5e4ebeae656ce 100644 (file)
@@ -651,7 +651,7 @@ namespace Gst {
                        [Version (since = "1.6")]
                        public bool is_equal (Gst.Video.Colorimetry other);
                        public bool matches (string color);
-                       public string to_string ();
+                       public string? to_string ();
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoContentLightLevel")]
@@ -711,6 +711,8 @@ namespace Gst {
                        public Gst.Video.TileMode tile_mode;
                        public uint tile_ws;
                        public uint tile_hs;
+                       [Version (since = "1.18")]
+                       public void component (uint plane, out int components);
                }
                [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
                [GIR (name = "VideoFrame")]
@@ -1673,12 +1675,24 @@ namespace Gst {
                [CCode (cheader_filename = "gst/video/video.h")]
                public static unowned string chroma_to_string (Gst.Video.ChromaSite site);
                [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.18")]
+               public static Gst.Video.ColorMatrix color_matrix_from_iso (uint value);
+               [CCode (cheader_filename = "gst/video/video.h")]
                [Version (since = "1.6")]
                public static bool color_matrix_get_Kr_Kb (Gst.Video.ColorMatrix matrix, out double Kr, out double Kb);
                [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.18")]
+               public static uint color_matrix_to_iso (Gst.Video.ColorMatrix matrix);
+               [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.18")]
+               public static Gst.Video.ColorPrimaries color_primaries_from_iso (uint value);
+               [CCode (cheader_filename = "gst/video/video.h")]
                [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")]
+               [Version (since = "1.18")]
+               public static uint color_primaries_to_iso (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 unowned int offset[4], [CCode (array_length = false)] out unowned int scale[4]);
                [CCode (cheader_filename = "gst/video/video.h")]
                [Version (since = "1.6")]
@@ -1687,6 +1701,12 @@ namespace Gst {
                [Version (since = "1.6")]
                public static double color_transfer_encode (Gst.Video.TransferFunction func, double val);
                [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.18")]
+               public static Gst.Video.TransferFunction color_transfer_from_iso (uint value);
+               [CCode (cheader_filename = "gst/video/video.h")]
+               [Version (since = "1.18")]
+               public static uint color_transfer_to_iso (Gst.Video.TransferFunction func);
+               [CCode (cheader_filename = "gst/video/video.h")]
                public static Gst.Sample convert_sample (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout) throws GLib.Error;
                [CCode (cheader_filename = "gst/video/video.h")]
                public static void convert_sample_async (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout, owned Gst.Video.ConvertSampleCallback callback);