summaryrefslogtreecommitdiff
path: root/vapi/gstreamer-video-1.0.vapi
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2019-05-01 16:35:53 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2019-05-01 16:38:25 +0200
commit6d63ab105ea6dc3d31d4a25eeb60e3db29685778 (patch)
treed5659ec86d39eb1c211ba5b2124c5b773be8a8da /vapi/gstreamer-video-1.0.vapi
parentb9085f2a309b7920dee2ae771d06b592bc5395ea (diff)
downloadvala-6d63ab105ea6dc3d31d4a25eeb60e3db29685778.tar.gz
gstreamer: Update from 1.17.0+ git master
Diffstat (limited to 'vapi/gstreamer-video-1.0.vapi')
-rw-r--r--vapi/gstreamer-video-1.0.vapi68
1 files changed, 65 insertions, 3 deletions
diff --git a/vapi/gstreamer-video-1.0.vapi b/vapi/gstreamer-video-1.0.vapi
index bdfed16ec..138de4979 100644
--- a/vapi/gstreamer-video-1.0.vapi
+++ b/vapi/gstreamer-video-1.0.vapi
@@ -5,6 +5,7 @@ namespace Gst {
namespace Video {
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_get_type ()")]
[GIR (name = "VideoAggregator")]
+ [Version (since = "1.16")]
public abstract class Aggregator : Gst.Base.Aggregator {
public weak Gst.Video.Info info;
[CCode (has_construct_function = false)]
@@ -20,6 +21,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_convert_pad_get_type ()")]
[GIR (name = "VideoAggregatorConvertPad")]
+ [Version (since = "1.16")]
public class AggregatorConvertPad : Gst.Video.AggregatorPad {
[CCode (has_construct_function = false)]
protected AggregatorConvertPad ();
@@ -31,6 +33,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_aggregator_pad_get_type ()")]
[GIR (name = "VideoAggregatorPad")]
+ [Version (since = "1.16")]
public class AggregatorPad : Gst.Base.AggregatorPad {
public weak Gst.Video.Info info;
[CCode (has_construct_function = false)]
@@ -256,6 +259,7 @@ namespace Gst {
public virtual bool set_format (Gst.Video.CodecState state);
public void set_headers (owned GLib.List<Gst.Buffer> headers);
public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
+ [Version (since = "1.6")]
public void set_min_pts (Gst.ClockTime min_pts);
public Gst.Video.CodecState set_output_state (owned Gst.Caps caps, Gst.Video.CodecState? reference);
[Version (since = "1.14")]
@@ -552,8 +556,10 @@ namespace Gst {
public abstract void expose ();
public void got_window_handle ([CCode (type = "guintptr")] uint* handle);
public abstract void handle_events (bool handle_events);
+ [Version (since = "1.14")]
public static void install_properties (GLib.ObjectClass oclass, int last_prop_id);
public void prepare_window_handle ();
+ [Version (since = "1.14")]
public static bool set_property (GLib.Object object, int last_prop_id, uint property_id, GLib.Value value);
[NoWrapper]
public virtual void set_render_rectangle (int x, int y, int width, int height);
@@ -629,6 +635,24 @@ namespace Gst {
public string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [GIR (name = "VideoContentLightLevel")]
+ public struct ContentLightLevel {
+ public uint maxCLL_n;
+ public uint maxCLL_d;
+ public uint maxFALL_n;
+ public uint maxFALL_d;
+ [Version (since = "1.18")]
+ public bool add_to_caps (Gst.Caps caps);
+ [Version (since = "1.18")]
+ public bool from_caps (Gst.Caps caps);
+ [Version (since = "1.18")]
+ public bool from_string (string level);
+ [Version (since = "1.18")]
+ public void init ();
+ [Version (since = "1.18")]
+ public string to_string ();
+ }
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoCropMeta")]
public struct CropMeta {
public Gst.Meta meta;
@@ -696,6 +720,37 @@ namespace Gst {
public bool upload (uint texture_id);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
+ [GIR (name = "VideoMasteringDisplayInfo")]
+ [Version (since = "1.18")]
+ public struct MasteringDisplayInfo {
+ public uint Rx_n;
+ public uint Rx_d;
+ public uint Ry_n;
+ public uint Ry_d;
+ public uint Gx_n;
+ public uint Gx_d;
+ public uint Gy_n;
+ public uint Gy_d;
+ public uint Bx_n;
+ public uint Bx_d;
+ public uint By_n;
+ public uint By_d;
+ public uint Wx_n;
+ public uint Wx_d;
+ public uint Wy_n;
+ public uint Wy_d;
+ public uint max_luma_n;
+ public uint max_luma_d;
+ public uint min_luma_n;
+ public uint min_luma_d;
+ public bool add_to_caps (Gst.Caps caps);
+ public bool from_caps (Gst.Caps caps);
+ public void init ();
+ public bool is_equal (Gst.Video.MasteringDisplayInfo other);
+ public bool is_valid ();
+ public string? to_string ();
+ }
+ [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoMeta")]
public struct Meta {
public Gst.Meta meta;
@@ -791,6 +846,7 @@ namespace Gst {
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ANCILLARY_DID_", type_id = "gst_video_ancillary_did_get_type ()")]
[GIR (name = "VideoAncillaryDID")]
+ [Version (since = "1.16")]
public enum AncillaryDID {
UNDEFINED,
DELETION,
@@ -805,12 +861,13 @@ namespace Gst {
HANC_SDTV_AUDIO_DATA_2_FIRST,
HANC_SDTV_AUDIO_DATA_2_LAST
}
- [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ANCILLARY_DID16_S334_EIA_", type_id = "gst_video_ancillary_di_d16_get_type ()")]
+ [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ANCILLARY_DID16_", type_id = "gst_video_ancillary_di_d16_get_type ()")]
[GIR (name = "VideoAncillaryDID16")]
[Version (since = "1.16")]
public enum AncillaryDID16 {
- @708,
- @608
+ S334_EIA_708,
+ S334_EIA_608,
+ S2016_3_AFD_BAR
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_BUFFER_FLAG_", type_id = "gst_video_buffer_flags_get_type ()")]
[Flags]
@@ -1622,6 +1679,9 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_is_video_overlay_prepare_window_handle_message")]
public static bool is_video_overlay_prepare_window_handle_message (Gst.Message msg);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.18")]
+ public static bool mastering_display_info_from_string (out Gst.Video.MasteringDisplayInfo minfo, string mastering);
+ [CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? meta_get_info ();
@@ -1703,8 +1763,10 @@ namespace Gst {
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? overlay_composition_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.14")]
public static void overlay_install_properties (GLib.ObjectClass oclass, int last_prop_id);
[CCode (cheader_filename = "gst/video/video.h")]
+ [Version (since = "1.14")]
public static bool overlay_set_property (GLib.Object object, int last_prop_id, uint property_id, GLib.Value value);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type region_of_interest_meta_api_get_type ();