summaryrefslogtreecommitdiff
path: root/vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-07-22 09:52:48 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-07-22 09:52:48 +0200
commit12cda9e3b569d21d82772eb4b649759ae84a421e (patch)
tree15443955caa18fff24779f1b56e062cf66457fe3 /vapi
parentf51d9dfdaf97ab5b8377d7e5bb78cfc9b232dc86 (diff)
downloadvala-12cda9e3b569d21d82772eb4b649759ae84a421e.tar.gz
gstreamer: Update from 1.17.0+ git master
Diffstat (limited to 'vapi')
-rw-r--r--vapi/gstreamer-1.0.vapi1
-rw-r--r--vapi/gstreamer-video-1.0.vapi22
2 files changed, 22 insertions, 1 deletions
diff --git a/vapi/gstreamer-1.0.vapi b/vapi/gstreamer-1.0.vapi
index e55f285a1..85adfa4dc 100644
--- a/vapi/gstreamer-1.0.vapi
+++ b/vapi/gstreamer-1.0.vapi
@@ -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 ();
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index 7fd749460..4977e8973 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -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);