Release 0.40.3
[vala-gnome.git] / vapi / gstreamer-video-1.0.vapi
blobebd306181792f42d73548ec3c962c583f6982a22
1 /* gstreamer-video-1.0.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstVideo", gir_version = "1.0", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         namespace Video {
6                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_buffer_pool_get_type ()")]
7                 [GIR (name = "VideoBufferPool")]
8                 public class BufferPool : Gst.BufferPool {
9                         [CCode (has_construct_function = false, type = "GstBufferPool*")]
10                         public BufferPool ();
11                 }
12                 [CCode (cheader_filename = "gst/video/video.h")]
13                 [Compact]
14                 [GIR (name = "VideoChromaResample")]
15                 public class ChromaResample {
16                         public ChromaResample (Gst.Video.ChromaMethod method, Gst.Video.ChromaSite site, Gst.Video.ChromaFlags flags, Gst.Video.Format format, int h_factor, int v_factor);
17                         public void free ();
18                         public void get_info (uint n_lines, int offset);
19                         [CCode (cname = "gst_video_chroma_resample")]
20                         public void resample (void* lines, int width);
21                 }
22                 [CCode (cheader_filename = "gst/video/gstvideoutils.h", ref_function = "gst_video_codec_frame_ref", type_id = "gst_video_codec_frame_get_type ()", unref_function = "gst_video_codec_frame_unref")]
23                 [Compact]
24                 [GIR (name = "VideoCodecFrame")]
25                 public class CodecFrame {
26                         public Gst.ClockTime deadline;
27                         public int distance_from_sync;
28                         public Gst.ClockTime dts;
29                         public Gst.ClockTime duration;
30                         public weak Gst.Buffer input_buffer;
31                         public weak Gst.Buffer output_buffer;
32                         public Gst.ClockTime pts;
33                         public uint32 system_frame_number;
34                         [CCode (simple_generics = true)]
35                         public T get_user_data<T> ();
36                         public unowned Gst.Video.CodecFrame @ref ();
37                         [CCode (simple_generics = true)]
38                         public void set_user_data<T> (owned T user_data);
39                         public void unref ();
40                 }
41                 [CCode (cheader_filename = "gst/video/video.h", ref_function = "gst_video_codec_state_ref", type_id = "gst_video_codec_state_get_type ()", unref_function = "gst_video_codec_state_unref")]
42                 [Compact]
43                 [GIR (name = "VideoCodecState")]
44                 public class CodecState {
45                         public weak Gst.Caps allocation_caps;
46                         public weak Gst.Caps caps;
47                         public weak Gst.Buffer codec_data;
48                         public weak Gst.Video.Info info;
49                         public unowned Gst.Video.CodecState @ref ();
50                         public void unref ();
51                 }
52                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalanceChannel", lower_case_cprefix = "gst_color_balance_channel_", type_id = "gst_color_balance_channel_get_type ()")]
53                 [GIR (name = "ColorBalanceChannel")]
54                 public class ColorBalanceChannel : GLib.Object {
55                         public weak string label;
56                         public int max_value;
57                         public int min_value;
58                         [CCode (has_construct_function = false)]
59                         protected ColorBalanceChannel ();
60                         public virtual signal void value_changed (int value);
61                 }
62                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
63                 [Compact]
64                 [GIR (name = "VideoConverter")]
65                 public class Converter {
66                         [Version (since = "1.6")]
67                         public void frame (Gst.Video.Frame src, Gst.Video.Frame dest);
68                         [Version (since = "1.6")]
69                         public void free ();
70                         public unowned Gst.Structure get_config ();
71                         [Version (since = "1.6")]
72                         public bool set_config (owned Gst.Structure config);
73                 }
74                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_decoder_get_type ()")]
75                 [GIR (name = "VideoDecoder")]
76                 public abstract class Decoder : Gst.Element {
77                         [CCode (has_construct_function = false)]
78                         protected Decoder ();
79                         public void add_to_frame (int n_bytes);
80                         public Gst.Buffer allocate_output_buffer ();
81                         public Gst.FlowReturn allocate_output_frame (Gst.Video.CodecFrame frame);
82                         [Version (since = "1.12")]
83                         public Gst.FlowReturn allocate_output_frame_with_params (Gst.Video.CodecFrame frame, Gst.BufferPoolAcquireParams @params);
84                         [NoWrapper]
85                         public virtual bool close ();
86                         [NoWrapper]
87                         public virtual bool decide_allocation (Gst.Query query);
88                         [NoWrapper]
89                         public virtual Gst.FlowReturn drain ();
90                         public Gst.FlowReturn drop_frame (owned Gst.Video.CodecFrame frame);
91                         [NoWrapper]
92                         public virtual Gst.FlowReturn finish ();
93                         public Gst.FlowReturn finish_frame (owned Gst.Video.CodecFrame frame);
94                         [NoWrapper]
95                         public virtual bool flush ();
96                         public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
97                         public Gst.BufferPool get_buffer_pool ();
98                         public int get_estimate_rate ();
99                         public Gst.Video.CodecFrame get_frame (int frame_number);
100                         public GLib.List<Gst.Video.CodecFrame> get_frames ();
101                         public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
102                         public Gst.ClockTimeDiff get_max_decode_time (Gst.Video.CodecFrame frame);
103                         public int get_max_errors ();
104                         [Version (since = "1.4")]
105                         public bool get_needs_format ();
106                         public Gst.Video.CodecFrame get_oldest_frame ();
107                         public Gst.Video.CodecState get_output_state ();
108                         public bool get_packetized ();
109                         [Version (since = "1.4")]
110                         public size_t get_pending_frame_size ();
111                         [Version (since = "1.0.3")]
112                         public double get_qos_proportion ();
113                         [NoWrapper]
114                         public virtual Gst.Caps getcaps (Gst.Caps filter);
115                         [NoWrapper]
116                         public virtual Gst.FlowReturn handle_frame (Gst.Video.CodecFrame frame);
117                         public Gst.FlowReturn have_frame ();
118                         public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
119                         public virtual bool negotiate ();
120                         [NoWrapper]
121                         public virtual bool open ();
122                         [NoWrapper]
123                         public virtual Gst.FlowReturn parse (Gst.Video.CodecFrame frame, Gst.Base.Adapter adapter, bool at_eos);
124                         [NoWrapper]
125                         public virtual bool propose_allocation (Gst.Query query);
126                         [Version (since = "1.6")]
127                         public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
128                         [Version (since = "1.2.2")]
129                         public void release_frame (owned Gst.Video.CodecFrame frame);
130                         [NoWrapper]
131                         public virtual bool reset (bool hard);
132                         public void set_estimate_rate (bool enabled);
133                         [NoWrapper]
134                         public virtual bool set_format (Gst.Video.CodecState state);
135                         public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
136                         public void set_max_errors (int num);
137                         [Version (since = "1.4")]
138                         public void set_needs_format (bool enabled);
139                         public Gst.Video.CodecState set_output_state (Gst.Video.Format fmt, uint width, uint height, Gst.Video.CodecState? reference);
140                         public void set_packetized (bool packetized);
141                         [Version (since = "1.6")]
142                         public void set_use_default_pad_acceptcaps (bool use);
143                         [NoWrapper]
144                         public virtual bool sink_event (Gst.Event event);
145                         [NoWrapper]
146                         public virtual bool sink_query (Gst.Query query);
147                         [NoWrapper]
148                         public virtual bool src_event (Gst.Event event);
149                         [NoWrapper]
150                         public virtual bool src_query (Gst.Query query);
151                         [NoWrapper]
152                         public virtual bool start ();
153                         [NoWrapper]
154                         public virtual bool stop ();
155                         [NoWrapper]
156                         public virtual bool transform_meta (Gst.Video.CodecFrame frame, Gst.Meta meta);
157                 }
158                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
159                 [Compact]
160                 [GIR (name = "VideoDither")]
161                 public class Dither {
162                         public void free ();
163                         public void line (void* line, uint x, uint y, uint width);
164                 }
165                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_encoder_get_type ()")]
166                 [GIR (name = "VideoEncoder")]
167                 public abstract class Encoder : Gst.Element, Gst.Preset {
168                         [CCode (has_construct_function = false)]
169                         protected Encoder ();
170                         public Gst.Buffer allocate_output_buffer (size_t size);
171                         public Gst.FlowReturn allocate_output_frame (Gst.Video.CodecFrame frame, size_t size);
172                         [NoWrapper]
173                         public virtual bool close ();
174                         [NoWrapper]
175                         public virtual bool decide_allocation (Gst.Query query);
176                         [NoWrapper]
177                         public virtual Gst.FlowReturn finish ();
178                         public Gst.FlowReturn finish_frame (owned Gst.Video.CodecFrame frame);
179                         [NoWrapper]
180                         public virtual bool flush ();
181                         public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
182                         public Gst.Video.CodecFrame get_frame (int frame_number);
183                         public GLib.List<Gst.Video.CodecFrame> get_frames ();
184                         public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
185                         [Version (since = "1.14")]
186                         public Gst.ClockTimeDiff get_max_encode_time (Gst.Video.CodecFrame frame);
187                         public Gst.Video.CodecFrame get_oldest_frame ();
188                         public Gst.Video.CodecState get_output_state ();
189                         [NoWrapper]
190                         public virtual Gst.Caps getcaps (Gst.Caps filter);
191                         [NoWrapper]
192                         public virtual Gst.FlowReturn handle_frame (Gst.Video.CodecFrame frame);
193                         [Version (since = "1.14")]
194                         public bool is_qos_enabled ();
195                         public void merge_tags (Gst.TagList? tags, Gst.TagMergeMode mode);
196                         public virtual bool negotiate ();
197                         [NoWrapper]
198                         public virtual bool open ();
199                         [NoWrapper]
200                         public virtual Gst.FlowReturn pre_push (Gst.Video.CodecFrame frame);
201                         [NoWrapper]
202                         public virtual bool propose_allocation (Gst.Query query);
203                         public Gst.Caps proxy_getcaps (Gst.Caps? caps, Gst.Caps? filter);
204                         [NoWrapper]
205                         public virtual bool reset (bool hard);
206                         [NoWrapper]
207                         public virtual bool set_format (Gst.Video.CodecState state);
208                         public void set_headers (owned GLib.List<Gst.Buffer> headers);
209                         public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
210                         public void set_min_pts (Gst.ClockTime min_pts);
211                         public Gst.Video.CodecState set_output_state (owned Gst.Caps caps, Gst.Video.CodecState? reference);
212                         [Version (since = "1.14")]
213                         public void set_qos_enabled (bool enabled);
214                         [NoWrapper]
215                         public virtual bool sink_event (Gst.Event event);
216                         [NoWrapper]
217                         public virtual bool sink_query (Gst.Query query);
218                         [NoWrapper]
219                         public virtual bool src_event (Gst.Event event);
220                         [NoWrapper]
221                         public virtual bool src_query (Gst.Query query);
222                         [NoWrapper]
223                         public virtual bool start ();
224                         [NoWrapper]
225                         public virtual bool stop ();
226                         [NoWrapper]
227                         public virtual bool transform_meta (Gst.Video.CodecFrame frame, Gst.Meta meta);
228                         [NoAccessorMethod]
229                         public bool qos { get; set; }
230                 }
231                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_filter_get_type ()")]
232                 [GIR (name = "VideoFilter")]
233                 public abstract class Filter : Gst.Base.Transform {
234                         public weak Gst.Video.Info in_info;
235                         public bool negotiated;
236                         public weak Gst.Video.Info out_info;
237                         [CCode (has_construct_function = false)]
238                         protected Filter ();
239                         [NoWrapper]
240                         public virtual bool set_info (Gst.Caps incaps, Gst.Video.Info in_info, Gst.Caps outcaps, Gst.Video.Info out_info);
241                         [NoWrapper]
242                         public virtual Gst.FlowReturn transform_frame (Gst.Video.Frame inframe, Gst.Video.Frame outframe);
243                         [NoWrapper]
244                         public virtual Gst.FlowReturn transform_frame_ip (Gst.Video.Frame frame);
245                 }
246                 [CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_info_get_type ()")]
247                 [Compact]
248                 [GIR (name = "VideoInfo")]
249                 public class Info {
250                         [CCode (cname = "ABI.abi.field_order")]
251                         public Gst.Video.FieldOrder ABI_abi_field_order;
252                         [CCode (cname = "ABI.abi.multiview_flags")]
253                         public Gst.Video.MultiviewFlags ABI_abi_multiview_flags;
254                         [CCode (cname = "ABI.abi.multiview_mode")]
255                         public Gst.Video.MultiviewMode ABI_abi_multiview_mode;
256                         public Gst.Video.ChromaSite chroma_site;
257                         public Gst.Video.Colorimetry colorimetry;
258                         public weak Gst.Video.FormatInfo? finfo;
259                         public Gst.Video.Flags flags;
260                         public int fps_d;
261                         public int fps_n;
262                         public int height;
263                         public Gst.Video.InterlaceMode interlace_mode;
264                         [CCode (array_length = false)]
265                         public weak size_t offset[4];
266                         public int par_d;
267                         public int par_n;
268                         public size_t size;
269                         [CCode (array_length = false)]
270                         public weak int stride[4];
271                         public int views;
272                         public int width;
273                         [CCode (has_construct_function = false)]
274                         [Version (since = "1.6")]
275                         public Info ();
276                         public bool align (Gst.Video.Alignment align);
277                         public bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
278                         [Version (since = "1.6")]
279                         public Gst.Video.Info copy ();
280                         [Version (since = "1.6")]
281                         public void free ();
282                         public bool from_caps (Gst.Caps caps);
283                         public void init ();
284                         public bool is_equal (Gst.Video.Info other);
285                         public bool set_format (Gst.Video.Format format, uint width, uint height);
286                         public Gst.Caps to_caps ();
287                 }
288                 [CCode (cheader_filename = "gst/video/video.h", lower_case_cprefix = "gst_video_multiview_flagset_", type_id = "gst_video_multiview_flagset_get_type ()")]
289                 [GIR (name = "VideoMultiviewFlagsSet")]
290                 public class MultiviewFlagsSet : Gst.FlagSet {
291                         [CCode (has_construct_function = false)]
292                         protected MultiviewFlagsSet ();
293                 }
294                 [CCode (cheader_filename = "gst/video/video-overlay-composition.h", ref_function = "gst_video_overlay_composition_ref", type_id = "gst_video_overlay_composition_get_type ()", unref_function = "gst_video_overlay_composition_unref")]
295                 [Compact]
296                 [GIR (name = "VideoOverlayComposition")]
297                 public class OverlayComposition : Gst.MiniObject {
298                         [CCode (has_construct_function = false)]
299                         public OverlayComposition (Gst.Video.OverlayRectangle rectangle);
300                         public void add_rectangle (Gst.Video.OverlayRectangle rectangle);
301                         public bool blend (Gst.Video.Frame video_buf);
302                         public Gst.Video.OverlayComposition copy ();
303                         public unowned Gst.Video.OverlayRectangle get_rectangle (uint n);
304                         public uint get_seqnum ();
305                         [ReturnsModifiedPointer]
306                         public Gst.Video.OverlayComposition make_writable ();
307                         public uint n_rectangles ();
308                 }
309                 [CCode (cheader_filename = "gst/video/video-overlay-composition.h", ref_function = "gst_video_overlay_rectangle_ref", type_id = "gst_video_overlay_rectangle_get_type ()", unref_function = "gst_video_overlay_rectangle_unref")]
310                 [Compact]
311                 [GIR (name = "VideoOverlayRectangle")]
312                 public class OverlayRectangle : Gst.MiniObject {
313                         public Gst.Video.OverlayRectangle copy ();
314                         public Gst.Video.OverlayFormatFlags get_flags ();
315                         public float get_global_alpha ();
316                         public unowned Gst.Buffer get_pixels_argb (Gst.Video.OverlayFormatFlags flags);
317                         public unowned Gst.Buffer get_pixels_ayuv (Gst.Video.OverlayFormatFlags flags);
318                         public unowned Gst.Buffer get_pixels_raw (Gst.Video.OverlayFormatFlags flags);
319                         public unowned Gst.Buffer get_pixels_unscaled_argb (Gst.Video.OverlayFormatFlags flags);
320                         public unowned Gst.Buffer get_pixels_unscaled_ayuv (Gst.Video.OverlayFormatFlags flags);
321                         public unowned Gst.Buffer get_pixels_unscaled_raw (Gst.Video.OverlayFormatFlags flags);
322                         public bool get_render_rectangle (out int render_x, out int render_y, out uint render_width, out uint render_height);
323                         public uint get_seqnum ();
324                         [CCode (has_construct_function = false)]
325                         public OverlayRectangle.raw (Gst.Buffer pixels, int render_x, int render_y, uint render_width, uint render_height, Gst.Video.OverlayFormatFlags flags);
326                         public void set_global_alpha (float global_alpha);
327                         public void set_render_rectangle (int render_x, int render_y, uint render_width, uint render_height);
328                 }
329                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
330                 [Compact]
331                 [GIR (name = "VideoScaler")]
332                 public class Scaler {
333                         public void @2d (Gst.Video.Scaler vscale, Gst.Video.Format format, void* src, int src_stride, void* dest, int dest_stride, uint x, uint y, uint width, uint height);
334                         public void free ();
335                         public double get_coeff (uint out_offset, uint in_offset, uint n_taps);
336                         public uint get_max_taps ();
337                         public void horizontal (Gst.Video.Format format, void* src, void* dest, uint dest_offset, uint width);
338                         public void vertical (Gst.Video.Format format, void* src_lines, void* dest, uint dest_offset, uint width);
339                 }
340                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_sink_get_type ()")]
341                 [GIR (name = "VideoSink")]
342                 public class Sink : Gst.Base.Sink {
343                         public int height;
344                         public int width;
345                         [CCode (has_construct_function = false)]
346                         protected Sink ();
347                         public static void center_rect (Gst.Video.Rectangle src, Gst.Video.Rectangle dst, Gst.Video.Rectangle result, bool scaling);
348                         [NoWrapper]
349                         public virtual Gst.FlowReturn show_frame (Gst.Buffer buf);
350                         [NoAccessorMethod]
351                         public bool show_preroll_frame { get; set construct; }
352                 }
353                 [CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_time_code_get_type ()")]
354                 [Compact]
355                 [GIR (name = "VideoTimeCode")]
356                 [Version (since = "1.10")]
357                 public class TimeCode {
358                         public Gst.Video.TimeCodeConfig config;
359                         public uint field_count;
360                         public uint frames;
361                         public uint hours;
362                         public uint minutes;
363                         public uint seconds;
364                         [CCode (has_construct_function = false)]
365                         public TimeCode (uint fps_n, uint fps_d, GLib.DateTime latest_daily_jam, Gst.Video.TimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint field_count);
366                         public void add_frames (int64 frames);
367                         [Version (since = "1.12")]
368                         public Gst.Video.TimeCode add_interval (Gst.Video.TimeCodeInterval tc_inter);
369                         public void clear ();
370                         public int compare (Gst.Video.TimeCode tc2);
371                         public Gst.Video.TimeCode copy ();
372                         [CCode (has_construct_function = false)]
373                         public TimeCode.empty ();
374                         public uint64 frames_since_daily_jam ();
375                         public void free ();
376                         [CCode (has_construct_function = false)]
377                         [Version (since = "1.12")]
378                         public TimeCode.from_date_time (uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.TimeCodeFlags flags, uint field_count);
379                         [CCode (has_construct_function = false)]
380                         [Version (since = "1.12")]
381                         public TimeCode.from_string (string tc_str);
382                         public void increment_frame ();
383                         public void init (uint fps_n, uint fps_d, GLib.DateTime latest_daily_jam, Gst.Video.TimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint field_count);
384                         [Version (since = "1.12")]
385                         public void init_from_date_time (uint fps_n, uint fps_d, GLib.DateTime dt, Gst.Video.TimeCodeFlags flags, uint field_count);
386                         public bool is_valid ();
387                         public uint64 nsec_since_daily_jam ();
388                         public GLib.DateTime to_date_time ();
389                         public string to_string ();
390                 }
391                 [CCode (cheader_filename = "gst/video/video.h", copy_function = "g_boxed_copy", free_function = "g_boxed_free", type_id = "gst_video_time_code_interval_get_type ()")]
392                 [Compact]
393                 [GIR (name = "VideoTimeCodeInterval")]
394                 [Version (since = "1.12")]
395                 public class TimeCodeInterval {
396                         public uint frames;
397                         public uint hours;
398                         public uint minutes;
399                         public uint seconds;
400                         [CCode (has_construct_function = false)]
401                         public TimeCodeInterval (uint hours, uint minutes, uint seconds, uint frames);
402                         public void clear ();
403                         public Gst.Video.TimeCodeInterval copy ();
404                         public void free ();
405                         [CCode (has_construct_function = false)]
406                         public TimeCodeInterval.from_string (string tc_inter_str);
407                         public void init (uint hours, uint minutes, uint seconds, uint frames);
408                 }
409                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalance", lower_case_cprefix = "gst_color_balance_", type_cname = "GstColorBalanceInterface", type_id = "gst_color_balance_get_type ()")]
410                 [GIR (name = "ColorBalance")]
411                 public interface ColorBalance : GLib.Object {
412                         public abstract Gst.Video.ColorBalanceType get_balance_type ();
413                         public abstract int get_value (Gst.Video.ColorBalanceChannel channel);
414                         public abstract unowned GLib.List<Gst.Video.ColorBalanceChannel> list_channels ();
415                         public abstract void set_value (Gst.Video.ColorBalanceChannel channel, int value);
416                         [HasEmitter]
417                         public virtual signal void value_changed (Gst.Video.ColorBalanceChannel channel, int value);
418                 }
419                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_direction_get_type ()")]
420                 [GIR (name = "VideoDirection")]
421                 [Version (since = "1.10")]
422                 public interface Direction : GLib.Object {
423                         [NoAccessorMethod]
424                         public abstract Gst.Video.OrientationMethod video_direction { get; set construct; }
425                 }
426                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigation", lower_case_cprefix = "gst_navigation_", type_cname = "GstNavigationInterface", type_id = "gst_navigation_get_type ()")]
427                 [GIR (name = "Navigation")]
428                 public interface Navigation : GLib.Object {
429                         public static Gst.Video.NavigationEventType event_get_type (Gst.Event event);
430                         public static bool event_parse_command (Gst.Event event, out Gst.Video.NavigationCommand command);
431                         public static bool event_parse_key_event (Gst.Event event, out unowned string key);
432                         public static bool event_parse_mouse_button_event (Gst.Event event, out int button, out double x, out double y);
433                         public static bool event_parse_mouse_move_event (Gst.Event event, out double x, out double y);
434                         public static Gst.Video.NavigationMessageType message_get_type (Gst.Message message);
435                         public static Gst.Message message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
436                         public static Gst.Message message_new_commands_changed (Gst.Object src);
437                         [Version (since = "1.6")]
438                         public static Gst.Message message_new_event (Gst.Object src, Gst.Event event);
439                         public static Gst.Message message_new_mouse_over (Gst.Object src, bool active);
440                         public static bool message_parse_angles_changed (Gst.Message message, out uint cur_angle, out uint n_angles);
441                         [Version (since = "1.6")]
442                         public static bool message_parse_event (Gst.Message message, out Gst.Event event);
443                         public static bool message_parse_mouse_over (Gst.Message message, out bool active);
444                         public static Gst.Video.NavigationQueryType query_get_type (Gst.Query query);
445                         public static Gst.Query query_new_angles ();
446                         public static Gst.Query query_new_commands ();
447                         public static bool query_parse_angles (Gst.Query query, out uint cur_angle, out uint n_angles);
448                         public static bool query_parse_commands_length (Gst.Query query, out uint n_cmds);
449                         public static bool query_parse_commands_nth (Gst.Query query, uint nth, out Gst.Video.NavigationCommand cmd);
450                         public static void query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
451                         public static void query_set_commandsv (Gst.Query query, [CCode (array_length_cname = "n_cmds", array_length_pos = 1.5)] Gst.Video.NavigationCommand[] cmds);
452                         public void send_command (Gst.Video.NavigationCommand command);
453                         public abstract void send_event (Gst.Structure structure);
454                         public void send_key_event (string event, string key);
455                         public void send_mouse_event (string event, int button, double x, double y);
456                 }
457                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_orientation_get_type ()")]
458                 [GIR (name = "VideoOrientation")]
459                 public interface Orientation : GLib.Object {
460                         public abstract bool get_hcenter (int center);
461                         public abstract bool get_hflip (bool flip);
462                         public abstract bool get_vcenter (int center);
463                         public abstract bool get_vflip (bool flip);
464                         public abstract bool set_hcenter (int center);
465                         public abstract bool set_hflip (bool flip);
466                         public abstract bool set_vcenter (int center);
467                         public abstract bool set_vflip (bool flip);
468                 }
469                 [CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_overlay_get_type ()")]
470                 [GIR (name = "VideoOverlay")]
471                 public interface Overlay : GLib.Object {
472                         public abstract void expose ();
473                         public void got_window_handle ([CCode (type = "guintptr")] uint* handle);
474                         public abstract void handle_events (bool handle_events);
475                         public static void install_properties (GLib.ObjectClass oclass, int last_prop_id);
476                         public void prepare_window_handle ();
477                         public static bool set_property (GLib.Object object, int last_prop_id, uint property_id, GLib.Value value);
478                         [NoWrapper]
479                         public virtual void set_render_rectangle (int x, int y, int width, int height);
480                         public abstract void set_window_handle ([CCode (type = "guintptr")] uint* handle);
481                         [CCode (cname = "gst_video_overlay_set_render_rectangle")]
482                         public bool try_set_render_rectangle (int x, int y, int width, int height);
483                 }
484                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
485                 [GIR (name = "VideoAffineTransformationMeta")]
486                 [Version (since = "1.8")]
487                 public struct AffineTransformationMeta {
488                         public Gst.Meta meta;
489                         [CCode (array_length = false)]
490                         public weak float matrix[16];
491                         public void apply_matrix (float matrix);
492                 }
493                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
494                 [GIR (name = "VideoAlignment")]
495                 public struct Alignment {
496                         public uint padding_top;
497                         public uint padding_bottom;
498                         public uint padding_left;
499                         public uint padding_right;
500                         [CCode (array_length = false)]
501                         public weak uint stride_align[4];
502                         public void reset ();
503                 }
504                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
505                 [GIR (name = "VideoColorPrimariesInfo")]
506                 [Version (since = "1.6")]
507                 public struct ColorPrimariesInfo {
508                         public Gst.Video.ColorPrimaries primaries;
509                         public double Wx;
510                         public double Wy;
511                         public double Rx;
512                         public double Ry;
513                         public double Gx;
514                         public double Gy;
515                         public double Bx;
516                         public double By;
517                 }
518                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
519                 [GIR (name = "VideoColorimetry")]
520                 public struct Colorimetry {
521                         public Gst.Video.ColorRange range;
522                         public Gst.Video.ColorMatrix matrix;
523                         public Gst.Video.TransferFunction transfer;
524                         public Gst.Video.ColorPrimaries primaries;
525                         public bool from_string (string color);
526                         [Version (since = "1.6")]
527                         public bool is_equal (Gst.Video.Colorimetry other);
528                         public bool matches (string color);
529                         public string to_string ();
530                 }
531                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
532                 [GIR (name = "VideoCropMeta")]
533                 public struct CropMeta {
534                         public Gst.Meta meta;
535                         public uint x;
536                         public uint y;
537                         public uint width;
538                         public uint height;
539                 }
540                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
541                 [GIR (name = "VideoFormatInfo")]
542                 public struct FormatInfo {
543                         public Gst.Video.Format format;
544                         public weak string name;
545                         public weak string description;
546                         public Gst.Video.FormatFlags flags;
547                         public uint bits;
548                         public uint n_components;
549                         [CCode (array_length = false)]
550                         public weak uint shift[4];
551                         [CCode (array_length = false)]
552                         public weak uint depth[4];
553                         [CCode (array_length = false)]
554                         public weak int pixel_stride[4];
555                         public uint n_planes;
556                         [CCode (array_length = false)]
557                         public weak uint plane[4];
558                         [CCode (array_length = false)]
559                         public weak uint poffset[4];
560                         [CCode (array_length = false)]
561                         public weak uint w_sub[4];
562                         [CCode (array_length = false)]
563                         public weak uint h_sub[4];
564                         public Gst.Video.Format unpack_format;
565                         public weak Gst.Video.FormatUnpack unpack_func;
566                         public int pack_lines;
567                         public weak Gst.Video.FormatPack pack_func;
568                         public Gst.Video.TileMode tile_mode;
569                         public uint tile_ws;
570                         public uint tile_hs;
571                 }
572                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
573                 [GIR (name = "VideoFrame")]
574                 public struct Frame {
575                         public weak Gst.Video.Info info;
576                         public Gst.Video.FrameFlags flags;
577                         public weak Gst.Buffer buffer;
578                         public void* meta;
579                         public int id;
580                         [CCode (array_length = false)]
581                         public weak void* data[4];
582                         public bool copy (Gst.Video.Frame src);
583                         public bool copy_plane (Gst.Video.Frame src, uint plane);
584                         public bool map (Gst.Video.Info info, Gst.Buffer buffer, Gst.MapFlags flags);
585                         public bool map_id (Gst.Video.Info info, Gst.Buffer buffer, int id, Gst.MapFlags flags);
586                         public void unmap ();
587                 }
588                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
589                 [GIR (name = "VideoGLTextureUploadMeta")]
590                 public struct GLTextureUploadMeta {
591                         public Gst.Meta meta;
592                         public Gst.Video.GLTextureOrientation texture_orientation;
593                         public uint n_textures;
594                         [CCode (array_length = false)]
595                         public weak Gst.Video.GLTextureType texture_type[4];
596                         public bool upload (uint texture_id);
597                 }
598                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
599                 [GIR (name = "VideoMeta")]
600                 public struct Meta {
601                         public Gst.Meta meta;
602                         public weak Gst.Buffer buffer;
603                         public Gst.Video.FrameFlags flags;
604                         public Gst.Video.Format format;
605                         public int id;
606                         public uint width;
607                         public uint height;
608                         public uint n_planes;
609                         [CCode (array_length = false)]
610                         public weak size_t offset[4];
611                         [CCode (array_length = false)]
612                         public weak int stride[4];
613                         public bool map (uint plane, Gst.MapInfo info, void* data, int stride, Gst.MapFlags flags);
614                         public bool unmap (uint plane, Gst.MapInfo info);
615                 }
616                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
617                 [GIR (name = "VideoMetaTransform")]
618                 public struct MetaTransform {
619                         public weak Gst.Video.Info in_info;
620                         public weak Gst.Video.Info out_info;
621                 }
622                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
623                 [GIR (name = "VideoOverlayCompositionMeta")]
624                 public struct OverlayCompositionMeta {
625                         public Gst.Meta meta;
626                         public weak Gst.Video.OverlayComposition overlay;
627                 }
628                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
629                 [GIR (name = "VideoRectangle")]
630                 public struct Rectangle {
631                         public int x;
632                         public int y;
633                         public int w;
634                         public int h;
635                 }
636                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
637                 [GIR (name = "VideoRegionOfInterestMeta")]
638                 public struct RegionOfInterestMeta {
639                         public Gst.Meta meta;
640                         public GLib.Quark roi_type;
641                         public int id;
642                         public int parent_id;
643                         public uint x;
644                         public uint y;
645                         public uint w;
646                         public uint h;
647                         public weak GLib.List<void*> @params;
648                         [Version (since = "1.14")]
649                         public void add_param (owned Gst.Structure s);
650                         [Version (since = "1.14")]
651                         public unowned Gst.Structure? get_param (string name);
652                 }
653                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
654                 [GIR (name = "VideoResampler")]
655                 [Version (since = "1.6")]
656                 public struct Resampler {
657                         public int in_size;
658                         public int out_size;
659                         public uint max_taps;
660                         public uint n_phases;
661                         public uint32 offset;
662                         public uint32 phase;
663                         public uint32 n_taps;
664                         public double taps;
665                         public void clear ();
666                         public bool init (Gst.Video.ResamplerMethod method, Gst.Video.ResamplerFlags flags, uint n_phases, uint n_taps, double shift, uint in_size, uint out_size, Gst.Structure options);
667                 }
668                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
669                 [GIR (name = "VideoTimeCodeConfig")]
670                 [Version (since = "1.10")]
671                 public struct TimeCodeConfig {
672                         public uint fps_n;
673                         public uint fps_d;
674                         public Gst.Video.TimeCodeFlags flags;
675                         public weak GLib.DateTime latest_daily_jam;
676                 }
677                 [CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
678                 [GIR (name = "VideoTimeCodeMeta")]
679                 [Version (since = "1.10")]
680                 public struct TimeCodeMeta {
681                         public Gst.Meta meta;
682                         public weak Gst.Video.TimeCode tc;
683                 }
684                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ALPHA_MODE_", type_id = "gst_video_alpha_mode_get_type ()")]
685                 [GIR (name = "VideoAlphaMode")]
686                 [Version (since = "1.6")]
687                 public enum AlphaMode {
688                         COPY,
689                         SET,
690                         MULT
691                 }
692                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_BUFFER_FLAG_", type_id = "gst_video_buffer_flags_get_type ()")]
693                 [Flags]
694                 [GIR (name = "VideoBufferFlags")]
695                 public enum BufferFlags {
696                         INTERLACED,
697                         TFF,
698                         RFF,
699                         ONEFIELD,
700                         MULTIPLE_VIEW,
701                         FIRST_IN_BUNDLE,
702                         LAST
703                 }
704                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_FLAG_", type_id = "gst_video_chroma_flags_get_type ()")]
705                 [Flags]
706                 [GIR (name = "VideoChromaFlags")]
707                 public enum ChromaFlags {
708                         NONE,
709                         INTERLACED
710                 }
711                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_METHOD_", type_id = "gst_video_chroma_method_get_type ()")]
712                 [GIR (name = "VideoChromaMethod")]
713                 public enum ChromaMethod {
714                         NEAREST,
715                         LINEAR
716                 }
717                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_MODE_", type_id = "gst_video_chroma_mode_get_type ()")]
718                 [GIR (name = "VideoChromaMode")]
719                 [Version (since = "1.6")]
720                 public enum ChromaMode {
721                         FULL,
722                         UPSAMPLE_ONLY,
723                         DOWNSAMPLE_ONLY,
724                         NONE
725                 }
726                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_SITE_", type_id = "gst_video_chroma_site_get_type ()")]
727                 [Flags]
728                 [GIR (name = "VideoChromaSite")]
729                 public enum ChromaSite {
730                         UNKNOWN,
731                         NONE,
732                         H_COSITED,
733                         V_COSITED,
734                         ALT_LINE,
735                         COSITED,
736                         JPEG,
737                         MPEG2,
738                         DV
739                 }
740                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CODEC_FRAME_FLAG_", has_type_id = false)]
741                 [Flags]
742                 [GIR (name = "VideoCodecFrameFlags")]
743                 public enum CodecFrameFlags {
744                         DECODE_ONLY,
745                         SYNC_POINT,
746                         FORCE_KEYFRAME,
747                         FORCE_KEYFRAME_HEADERS
748                 }
749                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalanceType", cprefix = "GST_COLOR_BALANCE_", type_id = "gst_color_balance_type_get_type ()")]
750                 [GIR (name = "ColorBalanceType")]
751                 public enum ColorBalanceType {
752                         HARDWARE,
753                         SOFTWARE
754                 }
755                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_MATRIX_", type_id = "gst_video_color_matrix_get_type ()")]
756                 [GIR (name = "VideoColorMatrix")]
757                 public enum ColorMatrix {
758                         UNKNOWN,
759                         RGB,
760                         FCC,
761                         BT709,
762                         BT601,
763                         SMPTE240M,
764                         BT2020
765                 }
766                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_PRIMARIES_", type_id = "gst_video_color_primaries_get_type ()")]
767                 [GIR (name = "VideoColorPrimaries")]
768                 public enum ColorPrimaries {
769                         UNKNOWN,
770                         BT709,
771                         BT470M,
772                         BT470BG,
773                         SMPTE170M,
774                         SMPTE240M,
775                         FILM,
776                         BT2020,
777                         ADOBERGB
778                 }
779                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_RANGE_", type_id = "gst_video_color_range_get_type ()")]
780                 [GIR (name = "VideoColorRange")]
781                 public enum ColorRange {
782                         UNKNOWN,
783                         @0_255,
784                         @16_235
785                 }
786                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_DITHER_FLAG_", type_id = "gst_video_dither_flags_get_type ()")]
787                 [Flags]
788                 [GIR (name = "VideoDitherFlags")]
789                 public enum DitherFlags {
790                         NONE,
791                         INTERLACED,
792                         QUANTIZE
793                 }
794                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_DITHER_", type_id = "gst_video_dither_method_get_type ()")]
795                 [GIR (name = "VideoDitherMethod")]
796                 public enum DitherMethod {
797                         NONE,
798                         VERTERR,
799                         FLOYD_STEINBERG,
800                         SIERRA_LITE,
801                         BAYER
802                 }
803                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FIELD_ORDER_", type_id = "gst_video_field_order_get_type ()")]
804                 [GIR (name = "VideoFieldOrder")]
805                 [Version (since = "1.12")]
806                 public enum FieldOrder {
807                         UNKNOWN,
808                         TOP_FIELD_FIRST,
809                         BOTTOM_FIELD_FIRST
810                 }
811                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FLAG_", type_id = "gst_video_flags_get_type ()")]
812                 [Flags]
813                 [GIR (name = "VideoFlags")]
814                 public enum Flags {
815                         NONE,
816                         VARIABLE_FPS,
817                         PREMULTIPLIED_ALPHA
818                 }
819                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_", type_id = "gst_video_format_get_type ()")]
820                 [GIR (name = "VideoFormat")]
821                 public enum Format {
822                         UNKNOWN,
823                         ENCODED,
824                         I420,
825                         YV12,
826                         YUY2,
827                         UYVY,
828                         AYUV,
829                         [CCode (cname = "GST_VIDEO_FORMAT_RGBx")]
830                         RGBX,
831                         [CCode (cname = "GST_VIDEO_FORMAT_BGRx")]
832                         BGRX,
833                         [CCode (cname = "GST_VIDEO_FORMAT_xRGB")]
834                         XRGB,
835                         [CCode (cname = "GST_VIDEO_FORMAT_xBGR")]
836                         XBGR,
837                         RGBA,
838                         BGRA,
839                         ARGB,
840                         ABGR,
841                         RGB,
842                         BGR,
843                         Y41B,
844                         Y42B,
845                         YVYU,
846                         Y444,
847                         [CCode (cname = "GST_VIDEO_FORMAT_v210")]
848                         V210,
849                         [CCode (cname = "GST_VIDEO_FORMAT_v216")]
850                         V216,
851                         NV12,
852                         NV21,
853                         GRAY8,
854                         GRAY16_BE,
855                         GRAY16_LE,
856                         [CCode (cname = "GST_VIDEO_FORMAT_v308")]
857                         V308,
858                         RGB16,
859                         BGR16,
860                         RGB15,
861                         BGR15,
862                         UYVP,
863                         A420,
864                         RGB8P,
865                         YUV9,
866                         YVU9,
867                         IYU1,
868                         ARGB64,
869                         AYUV64,
870                         [CCode (cname = "GST_VIDEO_FORMAT_r210")]
871                         R210,
872                         I420_10BE,
873                         I420_10LE,
874                         I422_10BE,
875                         I422_10LE,
876                         Y444_10BE,
877                         Y444_10LE,
878                         GBR,
879                         GBR_10BE,
880                         GBR_10LE,
881                         NV16,
882                         NV24,
883                         NV12_64Z32,
884                         A420_10BE,
885                         A420_10LE,
886                         A422_10BE,
887                         A422_10LE,
888                         A444_10BE,
889                         A444_10LE,
890                         NV61,
891                         P010_10BE,
892                         P010_10LE,
893                         IYU2,
894                         VYUY,
895                         GBRA,
896                         GBRA_10BE,
897                         GBRA_10LE,
898                         GBR_12BE,
899                         GBR_12LE,
900                         GBRA_12BE,
901                         GBRA_12LE,
902                         I420_12BE,
903                         I420_12LE,
904                         I422_12BE,
905                         I422_12LE,
906                         Y444_12BE,
907                         Y444_12LE,
908                         GRAY10_LE32,
909                         NV12_10LE32,
910                         NV16_10LE32
911                 }
912                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
913                 [Flags]
914                 [GIR (name = "VideoFormatFlags")]
915                 public enum FormatFlags {
916                         YUV,
917                         RGB,
918                         GRAY,
919                         ALPHA,
920                         LE,
921                         PALETTE,
922                         COMPLEX,
923                         UNPACK,
924                         TILED
925                 }
926                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FRAME_FLAG_", type_id = "gst_video_frame_flags_get_type ()")]
927                 [Flags]
928                 [GIR (name = "VideoFrameFlags")]
929                 public enum FrameFlags {
930                         NONE,
931                         INTERLACED,
932                         TFF,
933                         RFF,
934                         ONEFIELD,
935                         MULTIPLE_VIEW,
936                         FIRST_IN_BUNDLE
937                 }
938                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FRAME_MAP_FLAG_", type_id = "gst_video_frame_map_flags_get_type ()")]
939                 [Flags]
940                 [GIR (name = "VideoFrameMapFlags")]
941                 [Version (since = "1.6")]
942                 public enum FrameMapFlags {
943                         NO_REF,
944                         LAST
945                 }
946                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_ORIENTATION_X_", has_type_id = false)]
947                 [GIR (name = "VideoGLTextureOrientation")]
948                 public enum GLTextureOrientation {
949                         NORMAL_Y_NORMAL,
950                         NORMAL_Y_FLIP,
951                         FLIP_Y_NORMAL,
952                         FLIP_Y_FLIP
953                 }
954                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GL_TEXTURE_TYPE_", has_type_id = false)]
955                 [GIR (name = "VideoGLTextureType")]
956                 public enum GLTextureType {
957                         LUMINANCE,
958                         LUMINANCE_ALPHA,
959                         RGB16,
960                         RGB,
961                         RGBA,
962                         R,
963                         RG
964                 }
965                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_GAMMA_MODE_", type_id = "gst_video_gamma_mode_get_type ()")]
966                 [GIR (name = "VideoGammaMode")]
967                 [Version (since = "1.6")]
968                 public enum GammaMode {
969                         NONE,
970                         REMAP
971                 }
972                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_INTERLACE_MODE_", type_id = "gst_video_interlace_mode_get_type ()")]
973                 [GIR (name = "VideoInterlaceMode")]
974                 public enum InterlaceMode {
975                         PROGRESSIVE,
976                         INTERLEAVED,
977                         MIXED,
978                         FIELDS
979                 }
980                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MATRIX_MODE_", type_id = "gst_video_matrix_mode_get_type ()")]
981                 [GIR (name = "VideoMatrixMode")]
982                 [Version (since = "1.6")]
983                 public enum MatrixMode {
984                         FULL,
985                         INPUT_ONLY,
986                         OUTPUT_ONLY,
987                         NONE
988                 }
989                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MULTIVIEW_FLAGS_", type_id = "gst_video_multiview_flags_get_type ()")]
990                 [Flags]
991                 [GIR (name = "VideoMultiviewFlags")]
992                 public enum MultiviewFlags {
993                         NONE,
994                         RIGHT_VIEW_FIRST,
995                         LEFT_FLIPPED,
996                         LEFT_FLOPPED,
997                         RIGHT_FLIPPED,
998                         RIGHT_FLOPPED,
999                         HALF_ASPECT,
1000                         MIXED_MONO
1001                 }
1002                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MULTIVIEW_FRAME_PACKING_", type_id = "gst_video_multiview_frame_packing_get_type ()")]
1003                 [GIR (name = "VideoMultiviewFramePacking")]
1004                 public enum MultiviewFramePacking {
1005                         NONE,
1006                         MONO,
1007                         LEFT,
1008                         RIGHT,
1009                         SIDE_BY_SIDE,
1010                         SIDE_BY_SIDE_QUINCUNX,
1011                         COLUMN_INTERLEAVED,
1012                         ROW_INTERLEAVED,
1013                         TOP_BOTTOM,
1014                         CHECKERBOARD
1015                 }
1016                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_MULTIVIEW_MODE_", type_id = "gst_video_multiview_mode_get_type ()")]
1017                 [GIR (name = "VideoMultiviewMode")]
1018                 public enum MultiviewMode {
1019                         NONE,
1020                         MONO,
1021                         LEFT,
1022                         RIGHT,
1023                         SIDE_BY_SIDE,
1024                         SIDE_BY_SIDE_QUINCUNX,
1025                         COLUMN_INTERLEAVED,
1026                         ROW_INTERLEAVED,
1027                         TOP_BOTTOM,
1028                         CHECKERBOARD,
1029                         FRAME_BY_FRAME,
1030                         MULTIVIEW_FRAME_BY_FRAME,
1031                         SEPARATED
1032                 }
1033                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationCommand", cprefix = "GST_NAVIGATION_COMMAND_", type_id = "gst_navigation_command_get_type ()")]
1034                 [GIR (name = "NavigationCommand")]
1035                 public enum NavigationCommand {
1036                         INVALID,
1037                         MENU1,
1038                         MENU2,
1039                         MENU3,
1040                         MENU4,
1041                         MENU5,
1042                         MENU6,
1043                         MENU7,
1044                         LEFT,
1045                         RIGHT,
1046                         UP,
1047                         DOWN,
1048                         ACTIVATE,
1049                         PREV_ANGLE,
1050                         NEXT_ANGLE
1051                 }
1052                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationEventType", cprefix = "GST_NAVIGATION_EVENT_", type_id = "gst_navigation_event_type_get_type ()")]
1053                 [GIR (name = "NavigationEventType")]
1054                 public enum NavigationEventType {
1055                         INVALID,
1056                         KEY_PRESS,
1057                         KEY_RELEASE,
1058                         MOUSE_BUTTON_PRESS,
1059                         MOUSE_BUTTON_RELEASE,
1060                         MOUSE_MOVE,
1061                         COMMAND
1062                 }
1063                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationMessageType", cprefix = "GST_NAVIGATION_MESSAGE_", type_id = "gst_navigation_message_type_get_type ()")]
1064                 [GIR (name = "NavigationMessageType")]
1065                 public enum NavigationMessageType {
1066                         INVALID,
1067                         MOUSE_OVER,
1068                         COMMANDS_CHANGED,
1069                         ANGLES_CHANGED,
1070                         EVENT
1071                 }
1072                 [CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationQueryType", cprefix = "GST_NAVIGATION_QUERY_", type_id = "gst_navigation_query_type_get_type ()")]
1073                 [GIR (name = "NavigationQueryType")]
1074                 public enum NavigationQueryType {
1075                         INVALID,
1076                         COMMANDS,
1077                         ANGLES
1078                 }
1079                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_ORIENTATION_", type_id = "gst_video_orientation_method_get_type ()")]
1080                 [GIR (name = "VideoOrientationMethod")]
1081                 [Version (since = "1.10")]
1082                 public enum OrientationMethod {
1083                         IDENTITY,
1084                         @90R,
1085                         @180,
1086                         @90L,
1087                         HORIZ,
1088                         VERT,
1089                         UL_LR,
1090                         UR_LL,
1091                         AUTO,
1092                         CUSTOM
1093                 }
1094                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_OVERLAY_FORMAT_FLAG_", has_type_id = false)]
1095                 [GIR (name = "VideoOverlayFormatFlags")]
1096                 public enum OverlayFormatFlags {
1097                         NONE,
1098                         PREMULTIPLIED_ALPHA,
1099                         GLOBAL_ALPHA
1100                 }
1101                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_PACK_FLAG_", type_id = "gst_video_pack_flags_get_type ()")]
1102                 [Flags]
1103                 [GIR (name = "VideoPackFlags")]
1104                 public enum PackFlags {
1105                         NONE,
1106                         TRUNCATE_RANGE,
1107                         INTERLACED
1108                 }
1109                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_PRIMARIES_MODE_", type_id = "gst_video_primaries_mode_get_type ()")]
1110                 [GIR (name = "VideoPrimariesMode")]
1111                 [Version (since = "1.6")]
1112                 public enum PrimariesMode {
1113                         NONE,
1114                         MERGE_ONLY,
1115                         FAST
1116                 }
1117                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_RESAMPLER_FLAG_", type_id = "gst_video_resampler_flags_get_type ()")]
1118                 [Flags]
1119                 [GIR (name = "VideoResamplerFlags")]
1120                 [Version (since = "1.6")]
1121                 public enum ResamplerFlags {
1122                         NONE,
1123                         HALF_TAPS
1124                 }
1125                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_RESAMPLER_METHOD_", type_id = "gst_video_resampler_method_get_type ()")]
1126                 [GIR (name = "VideoResamplerMethod")]
1127                 [Version (since = "1.6")]
1128                 public enum ResamplerMethod {
1129                         NEAREST,
1130                         LINEAR,
1131                         CUBIC,
1132                         SINC,
1133                         LANCZOS
1134                 }
1135                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_SCALER_FLAG_", type_id = "gst_video_scaler_flags_get_type ()")]
1136                 [Flags]
1137                 [GIR (name = "VideoScalerFlags")]
1138                 public enum ScalerFlags {
1139                         NONE,
1140                         INTERLACED
1141                 }
1142                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TILE_MODE_", type_id = "gst_video_tile_mode_get_type ()")]
1143                 [GIR (name = "VideoTileMode")]
1144                 public enum TileMode {
1145                         UNKNOWN,
1146                         ZFLIPZ_2X2
1147                 }
1148                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TILE_TYPE_", type_id = "gst_video_tile_type_get_type ()")]
1149                 [GIR (name = "VideoTileType")]
1150                 public enum TileType {
1151                         INDEXED
1152                 }
1153                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TIME_CODE_FLAGS_", has_type_id = false)]
1154                 [Flags]
1155                 [GIR (name = "VideoTimeCodeFlags")]
1156                 [Version (since = "1.10")]
1157                 public enum TimeCodeFlags {
1158                         NONE,
1159                         DROP_FRAME,
1160                         INTERLACED
1161                 }
1162                 [CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TRANSFER_", type_id = "gst_video_transfer_function_get_type ()")]
1163                 [GIR (name = "VideoTransferFunction")]
1164                 public enum TransferFunction {
1165                         UNKNOWN,
1166                         GAMMA10,
1167                         GAMMA18,
1168                         GAMMA20,
1169                         GAMMA22,
1170                         BT709,
1171                         SMPTE240M,
1172                         SRGB,
1173                         GAMMA28,
1174                         LOG100,
1175                         LOG316,
1176                         BT2020_12,
1177                         ADOBERGB
1178                 }
1179                 [CCode (cheader_filename = "gst/video/video.h", has_target = false)]
1180                 public delegate bool AffineTransformationGetMatrix (Gst.Video.AffineTransformationMeta meta, float matrix);
1181                 [CCode (cheader_filename = "gst/video/video.h", instance_pos = 2.9)]
1182                 public delegate void ConvertSampleCallback (Gst.Sample sample, GLib.Error error);
1183                 [CCode (cheader_filename = "gst/video/video.h", has_target = false)]
1184                 public delegate void FormatPack (Gst.Video.FormatInfo info, Gst.Video.PackFlags flags, void* src, int sstride, void* data, int stride, Gst.Video.ChromaSite chroma_site, int y, int width);
1185                 [CCode (cheader_filename = "gst/video/video.h", has_target = false)]
1186                 public delegate void FormatUnpack (Gst.Video.FormatInfo info, Gst.Video.PackFlags flags, void* dest, void* data, int stride, int x, int y, int width);
1187                 [CCode (cheader_filename = "gst/video/video.h", has_target = false)]
1188                 public delegate bool GLTextureUpload (Gst.Video.GLTextureUploadMeta meta, uint texture_id);
1189                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META")]
1190                 public const string BUFFER_POOL_OPTION_VIDEO_AFFINE_TRANSFORMATION_META;
1191                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT")]
1192                 public const string BUFFER_POOL_OPTION_VIDEO_ALIGNMENT;
1193                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META")]
1194                 [Version (since = "1.2.2")]
1195                 public const string BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META;
1196                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_META")]
1197                 public const string BUFFER_POOL_OPTION_VIDEO_META;
1198                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META")]
1199                 public const string CAPS_FEATURE_META_GST_VIDEO_AFFINE_TRANSFORMATION_META;
1200                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META")]
1201                 public const string CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META;
1202                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_META")]
1203                 public const string CAPS_FEATURE_META_GST_VIDEO_META;
1204                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION")]
1205                 public const string CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION;
1206                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT2020")]
1207                 public const string COLORIMETRY_BT2020;
1208                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT601")]
1209                 public const string COLORIMETRY_BT601;
1210                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT709")]
1211                 public const string COLORIMETRY_BT709;
1212                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_SMPTE240M")]
1213                 public const string COLORIMETRY_SMPTE240M;
1214                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_SRGB")]
1215                 public const string COLORIMETRY_SRGB;
1216                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_A")]
1217                 public const int COMP_A;
1218                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_B")]
1219                 public const int COMP_B;
1220                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_G")]
1221                 public const int COMP_G;
1222                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_INDEX")]
1223                 public const int COMP_INDEX;
1224                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_PALETTE")]
1225                 public const int COMP_PALETTE;
1226                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_R")]
1227                 public const int COMP_R;
1228                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_U")]
1229                 public const int COMP_U;
1230                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_V")]
1231                 public const int COMP_V;
1232                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_Y")]
1233                 public const int COMP_Y;
1234                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_ALPHA_MODE")]
1235                 public const string CONVERTER_OPT_ALPHA_MODE;
1236                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE")]
1237                 public const string CONVERTER_OPT_ALPHA_VALUE;
1238                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_BORDER_ARGB")]
1239                 public const string CONVERTER_OPT_BORDER_ARGB;
1240                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_CHROMA_MODE")]
1241                 public const string CONVERTER_OPT_CHROMA_MODE;
1242                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD")]
1243                 public const string CONVERTER_OPT_CHROMA_RESAMPLER_METHOD;
1244                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT")]
1245                 public const string CONVERTER_OPT_DEST_HEIGHT;
1246                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_WIDTH")]
1247                 public const string CONVERTER_OPT_DEST_WIDTH;
1248                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_X")]
1249                 public const string CONVERTER_OPT_DEST_X;
1250                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DEST_Y")]
1251                 public const string CONVERTER_OPT_DEST_Y;
1252                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DITHER_METHOD")]
1253                 public const string CONVERTER_OPT_DITHER_METHOD;
1254                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION")]
1255                 public const string CONVERTER_OPT_DITHER_QUANTIZATION;
1256                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_FILL_BORDER")]
1257                 public const string CONVERTER_OPT_FILL_BORDER;
1258                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_GAMMA_MODE")]
1259                 public const string CONVERTER_OPT_GAMMA_MODE;
1260                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_MATRIX_MODE")]
1261                 public const string CONVERTER_OPT_MATRIX_MODE;
1262                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE")]
1263                 public const string CONVERTER_OPT_PRIMARIES_MODE;
1264                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD")]
1265                 public const string CONVERTER_OPT_RESAMPLER_METHOD;
1266                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS")]
1267                 public const string CONVERTER_OPT_RESAMPLER_TAPS;
1268                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT")]
1269                 public const string CONVERTER_OPT_SRC_HEIGHT;
1270                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_WIDTH")]
1271                 public const string CONVERTER_OPT_SRC_WIDTH;
1272                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_X")]
1273                 public const string CONVERTER_OPT_SRC_X;
1274                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_SRC_Y")]
1275                 public const string CONVERTER_OPT_SRC_Y;
1276                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_CONVERTER_OPT_THREADS")]
1277                 public const string CONVERTER_OPT_THREADS;
1278                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_MAX_ERRORS")]
1279                 public const int DECODER_MAX_ERRORS;
1280                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_SINK_NAME")]
1281                 public const string DECODER_SINK_NAME;
1282                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_SRC_NAME")]
1283                 public const string DECODER_SRC_NAME;
1284                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_ENCODER_SINK_NAME")]
1285                 public const string ENCODER_SINK_NAME;
1286                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_ENCODER_SRC_NAME")]
1287                 public const string ENCODER_SRC_NAME;
1288                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_FORMATS_ALL")]
1289                 public const string FORMATS_ALL;
1290                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_FPS_RANGE")]
1291                 public const string FPS_RANGE;
1292                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_MAX_COMPONENTS")]
1293                 public const int MAX_COMPONENTS;
1294                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_MAX_PLANES")]
1295                 public const int MAX_PLANES;
1296                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_COLORSPACE_STR")]
1297                 [Version (since = "1.2")]
1298                 public const string META_TAG_VIDEO_COLORSPACE_STR;
1299                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_ORIENTATION_STR")]
1300                 [Version (since = "1.2")]
1301                 public const string META_TAG_VIDEO_ORIENTATION_STR;
1302                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_SIZE_STR")]
1303                 [Version (since = "1.2")]
1304                 public const string META_TAG_VIDEO_SIZE_STR;
1305                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_STR")]
1306                 [Version (since = "1.2")]
1307                 public const string META_TAG_VIDEO_STR;
1308                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS")]
1309                 [Version (since = "1.2")]
1310                 public const string OVERLAY_COMPOSITION_BLEND_FORMATS;
1311                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_CUBIC_B")]
1312                 public const string RESAMPLER_OPT_CUBIC_B;
1313                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_CUBIC_C")]
1314                 public const string RESAMPLER_OPT_CUBIC_C;
1315                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_ENVELOPE")]
1316                 public const string RESAMPLER_OPT_ENVELOPE;
1317                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_MAX_TAPS")]
1318                 public const string RESAMPLER_OPT_MAX_TAPS;
1319                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_SHARPEN")]
1320                 public const string RESAMPLER_OPT_SHARPEN;
1321                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_RESAMPLER_OPT_SHARPNESS")]
1322                 public const string RESAMPLER_OPT_SHARPNESS;
1323                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_SCALER_OPT_DITHER_METHOD")]
1324                 public const string SCALER_OPT_DITHER_METHOD;
1325                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_SIZE_RANGE")]
1326                 public const string SIZE_RANGE;
1327                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_TYPE_MASK")]
1328                 public const int TILE_TYPE_MASK;
1329                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_TYPE_SHIFT")]
1330                 public const int TILE_TYPE_SHIFT;
1331                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_X_TILES_MASK")]
1332                 public const int TILE_X_TILES_MASK;
1333                 [CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_TILE_Y_TILES_SHIFT")]
1334                 public const int TILE_Y_TILES_SHIFT;
1335                 [CCode (cheader_filename = "gst/video/video.h")]
1336                 public static GLib.Type affine_transformation_meta_api_get_type ();
1337                 [CCode (cheader_filename = "gst/video/video.h")]
1338                 public static unowned Gst.MetaInfo? affine_transformation_meta_get_info ();
1339                 [CCode (cheader_filename = "gst/video/video.h")]
1340                 public static bool blend (Gst.Video.Frame dest, Gst.Video.Frame src, int x, int y, float global_alpha);
1341                 [CCode (cheader_filename = "gst/video/video.h")]
1342                 public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, out unowned Gst.Video.Info dest, out Gst.Buffer dest_buffer);
1343                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_affine_transformation_meta")]
1344                 [Version (since = "1.8")]
1345                 public static unowned Gst.Video.AffineTransformationMeta? buffer_add_video_affine_transformation_meta (Gst.Buffer buffer);
1346                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_gl_texture_upload_meta")]
1347                 public static unowned Gst.Video.GLTextureUploadMeta? buffer_add_video_gl_texture_upload_meta (Gst.Buffer buffer, Gst.Video.GLTextureOrientation texture_orientation, uint n_textures, Gst.Video.GLTextureType texture_type, [CCode (delegate_target_pos = 5.5)] Gst.Video.GLTextureUpload upload, GLib.BoxedCopyFunc user_data_copy, GLib.BoxedFreeFunc user_data_free);
1348                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_meta")]
1349                 public static unowned Gst.Video.Meta? buffer_add_video_meta (Gst.Buffer buffer, Gst.Video.FrameFlags flags, Gst.Video.Format format, uint width, uint height);
1350                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_meta_full")]
1351                 public static unowned Gst.Video.Meta? buffer_add_video_meta_full (Gst.Buffer buffer, Gst.Video.FrameFlags flags, Gst.Video.Format format, uint width, uint height, uint n_planes, size_t offset, int stride);
1352                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_overlay_composition_meta")]
1353                 public static unowned Gst.Video.OverlayCompositionMeta? buffer_add_video_overlay_composition_meta (Gst.Buffer buf, Gst.Video.OverlayComposition? comp);
1354                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_region_of_interest_meta")]
1355                 public static unowned Gst.Video.RegionOfInterestMeta? buffer_add_video_region_of_interest_meta (Gst.Buffer buffer, string roi_type, uint x, uint y, uint w, uint h);
1356                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_region_of_interest_meta_id")]
1357                 public static unowned Gst.Video.RegionOfInterestMeta? buffer_add_video_region_of_interest_meta_id (Gst.Buffer buffer, GLib.Quark roi_type, uint x, uint y, uint w, uint h);
1358                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_time_code_meta")]
1359                 [Version (since = "1.10")]
1360                 public static unowned Gst.Video.TimeCodeMeta? buffer_add_video_time_code_meta (Gst.Buffer buffer, Gst.Video.TimeCode tc);
1361                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_add_video_time_code_meta_full")]
1362                 [Version (since = "1.10")]
1363                 public static unowned Gst.Video.TimeCodeMeta? buffer_add_video_time_code_meta_full (Gst.Buffer buffer, uint fps_n, uint fps_d, GLib.DateTime latest_daily_jam, Gst.Video.TimeCodeFlags flags, uint hours, uint minutes, uint seconds, uint frames, uint field_count);
1364                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_get_video_meta")]
1365                 public static unowned Gst.Video.Meta? buffer_get_video_meta (Gst.Buffer buffer);
1366                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_get_video_meta_id")]
1367                 public static unowned Gst.Video.Meta? buffer_get_video_meta_id (Gst.Buffer buffer, int id);
1368                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_get_video_region_of_interest_meta_id")]
1369                 public static unowned Gst.Video.RegionOfInterestMeta? buffer_get_video_region_of_interest_meta_id (Gst.Buffer buffer, int id);
1370                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_get_video_alignment")]
1371                 public static bool buffer_pool_config_get_video_alignment (Gst.Structure config, Gst.Video.Alignment align);
1372                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_set_video_alignment")]
1373                 public static void buffer_pool_config_set_video_alignment (Gst.Structure config, Gst.Video.Alignment align);
1374                 [CCode (cheader_filename = "gst/video/video.h")]
1375                 public static bool calculate_display_ratio (out uint dar_n, out uint dar_d, uint video_width, uint video_height, uint video_par_n, uint video_par_d, uint display_par_n, uint display_par_d);
1376                 [CCode (cheader_filename = "gst/video/video.h")]
1377                 public static Gst.Video.ChromaSite chroma_from_string (string s);
1378                 [CCode (cheader_filename = "gst/video/video.h")]
1379                 public static unowned string chroma_to_string (Gst.Video.ChromaSite site);
1380                 [CCode (cheader_filename = "gst/video/video.h")]
1381                 [Version (since = "1.6")]
1382                 public static bool color_matrix_get_Kr_Kb (Gst.Video.ColorMatrix matrix, double Kr, double Kb);
1383                 [CCode (cheader_filename = "gst/video/video.h")]
1384                 [Version (since = "1.6")]
1385                 public static unowned Gst.Video.ColorPrimariesInfo? color_primaries_get_info (Gst.Video.ColorPrimaries primaries);
1386                 [CCode (cheader_filename = "gst/video/video.h")]
1387                 public static void color_range_offsets (Gst.Video.ColorRange range, Gst.Video.FormatInfo info, out int offset, out int scale);
1388                 [CCode (cheader_filename = "gst/video/video.h")]
1389                 [Version (since = "1.6")]
1390                 public static double color_transfer_decode (Gst.Video.TransferFunction func, double val);
1391                 [CCode (cheader_filename = "gst/video/video.h")]
1392                 [Version (since = "1.6")]
1393                 public static double color_transfer_encode (Gst.Video.TransferFunction func, double val);
1394                 [CCode (cheader_filename = "gst/video/video.h")]
1395                 public static Gst.Sample convert_sample (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout) throws GLib.Error;
1396                 [CCode (cheader_filename = "gst/video/video.h")]
1397                 public static void convert_sample_async (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout, owned Gst.Video.ConvertSampleCallback callback);
1398                 [CCode (cheader_filename = "gst/video/video.h")]
1399                 public static GLib.Type crop_meta_api_get_type ();
1400                 [CCode (cheader_filename = "gst/video/video.h")]
1401                 public static unowned Gst.MetaInfo? crop_meta_get_info ();
1402                 [CCode (cheader_filename = "gst/video/video.h")]
1403                 public static bool event_is_force_key_unit (Gst.Event event);
1404                 [CCode (cheader_filename = "gst/video/video.h")]
1405                 public static Gst.Event event_new_downstream_force_key_unit (Gst.ClockTime timestamp, Gst.ClockTime stream_time, Gst.ClockTime running_time, bool all_headers, uint count);
1406                 [CCode (cheader_filename = "gst/video/video.h")]
1407                 public static Gst.Event event_new_still_frame (bool in_still);
1408                 [CCode (cheader_filename = "gst/video/video.h")]
1409                 public static Gst.Event event_new_upstream_force_key_unit (Gst.ClockTime running_time, bool all_headers, uint count);
1410                 [CCode (cheader_filename = "gst/video/video.h")]
1411                 public static bool event_parse_downstream_force_key_unit (Gst.Event event, out Gst.ClockTime timestamp, out Gst.ClockTime stream_time, out Gst.ClockTime running_time, out bool all_headers, out uint count);
1412                 [CCode (cheader_filename = "gst/video/video.h")]
1413                 public static bool event_parse_still_frame (Gst.Event event, bool in_still);
1414                 [CCode (cheader_filename = "gst/video/video.h")]
1415                 public static bool event_parse_upstream_force_key_unit (Gst.Event event, out Gst.ClockTime running_time, out bool all_headers, out uint count);
1416                 [CCode (cheader_filename = "gst/video/video.h")]
1417                 [Version (since = "1.12")]
1418                 public static Gst.Video.FieldOrder field_order_from_string (string order);
1419                 [CCode (cheader_filename = "gst/video/video.h")]
1420                 [Version (since = "1.12")]
1421                 public static unowned string field_order_to_string (Gst.Video.FieldOrder order);
1422                 [CCode (cheader_filename = "gst/video/video.h")]
1423                 public static Gst.Video.Format format_from_fourcc (uint32 fourcc);
1424                 [CCode (cheader_filename = "gst/video/video.h")]
1425                 public static Gst.Video.Format format_from_masks (int depth, int bpp, int endianness, uint red_mask, uint green_mask, uint blue_mask, uint alpha_mask);
1426                 [CCode (cheader_filename = "gst/video/video.h")]
1427                 public static Gst.Video.Format format_from_string (string format);
1428                 [CCode (cheader_filename = "gst/video/video.h")]
1429                 public static unowned Gst.Video.FormatInfo? format_get_info (Gst.Video.Format format);
1430                 [CCode (cheader_filename = "gst/video/video.h")]
1431                 [Version (since = "1.2")]
1432                 public static void* format_get_palette (Gst.Video.Format format, out size_t size);
1433                 [CCode (cheader_filename = "gst/video/video.h")]
1434                 public static uint32 format_to_fourcc (Gst.Video.Format format);
1435                 [CCode (cheader_filename = "gst/video/video.h")]
1436                 public static unowned string format_to_string (Gst.Video.Format format);
1437                 [CCode (cheader_filename = "gst/video/video.h")]
1438                 public static GLib.Type gl_texture_upload_meta_api_get_type ();
1439                 [CCode (cheader_filename = "gst/video/video.h")]
1440                 public static unowned Gst.MetaInfo? gl_texture_upload_meta_get_info ();
1441                 [CCode (cheader_filename = "gst/video/video.h")]
1442                 [Version (since = "1.6")]
1443                 public static bool guess_framerate (Gst.ClockTime duration, out int dest_n, out int dest_d);
1444                 [CCode (cheader_filename = "gst/video/video.h")]
1445                 [Version (since = "1.6")]
1446                 public static Gst.Video.InterlaceMode interlace_mode_from_string (string mode);
1447                 [CCode (cheader_filename = "gst/video/video.h")]
1448                 [Version (since = "1.6")]
1449                 public static unowned string interlace_mode_to_string (Gst.Video.InterlaceMode mode);
1450                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_is_video_overlay_prepare_window_handle_message")]
1451                 public static bool is_video_overlay_prepare_window_handle_message (Gst.Message msg);
1452                 [CCode (cheader_filename = "gst/video/video.h")]
1453                 public static GLib.Type meta_api_get_type ();
1454                 [CCode (cheader_filename = "gst/video/video.h")]
1455                 public static unowned Gst.MetaInfo? meta_get_info ();
1456                 [CCode (cheader_filename = "gst/video/video.h")]
1457                 public static GLib.Quark meta_transform_scale_get_quark ();
1458                 [CCode (cheader_filename = "gst/video/video.h")]
1459                 [Version (since = "1.6")]
1460                 public static unowned GLib.Value? multiview_get_doubled_height_modes ();
1461                 [CCode (cheader_filename = "gst/video/video.h")]
1462                 [Version (since = "1.6")]
1463                 public static unowned GLib.Value? multiview_get_doubled_size_modes ();
1464                 [CCode (cheader_filename = "gst/video/video.h")]
1465                 [Version (since = "1.6")]
1466                 public static unowned GLib.Value? multiview_get_doubled_width_modes ();
1467                 [CCode (cheader_filename = "gst/video/video.h")]
1468                 [Version (since = "1.6")]
1469                 public static unowned GLib.Value? multiview_get_mono_modes ();
1470                 [CCode (cheader_filename = "gst/video/video.h")]
1471                 [Version (since = "1.6")]
1472                 public static unowned GLib.Value? multiview_get_unpacked_modes ();
1473                 [CCode (cheader_filename = "gst/video/video.h")]
1474                 [Version (since = "1.6")]
1475                 public static bool multiview_guess_half_aspect (Gst.Video.MultiviewMode mv_mode, uint width, uint height, uint par_n, uint par_d);
1476                 [CCode (cheader_filename = "gst/video/video.h")]
1477                 [Version (since = "1.6")]
1478                 public static Gst.Video.MultiviewMode multiview_mode_from_caps_string (string caps_mview_mode);
1479                 [CCode (cheader_filename = "gst/video/video.h")]
1480                 [Version (since = "1.6")]
1481                 public static unowned string multiview_mode_to_caps_string (Gst.Video.MultiviewMode mview_mode);
1482                 [CCode (cheader_filename = "gst/video/video.h")]
1483                 [Version (since = "1.6")]
1484                 public static void multiview_video_info_change_mode (Gst.Video.Info info, Gst.Video.MultiviewMode out_mview_mode, Gst.Video.MultiviewFlags out_mview_flags);
1485                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_get_type")]
1486                 public static Gst.Video.NavigationEventType navigation_event_get_type (Gst.Event event);
1487                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_command")]
1488                 public static bool navigation_event_parse_command (Gst.Event event, out Gst.Video.NavigationCommand command);
1489                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_key_event")]
1490                 public static bool navigation_event_parse_key_event (Gst.Event event, out unowned string key);
1491                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_button_event")]
1492                 public static bool navigation_event_parse_mouse_button_event (Gst.Event event, out int button, out double x, out double y);
1493                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_move_event")]
1494                 public static bool navigation_event_parse_mouse_move_event (Gst.Event event, out double x, out double y);
1495                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_get_type")]
1496                 public static Gst.Video.NavigationMessageType navigation_message_get_type (Gst.Message message);
1497                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_angles_changed")]
1498                 public static Gst.Message navigation_message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
1499                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_commands_changed")]
1500                 public static Gst.Message navigation_message_new_commands_changed (Gst.Object src);
1501                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_event")]
1502                 [Version (since = "1.6")]
1503                 public static Gst.Message navigation_message_new_event (Gst.Object src, Gst.Event event);
1504                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_mouse_over")]
1505                 public static Gst.Message navigation_message_new_mouse_over (Gst.Object src, bool active);
1506                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_angles_changed")]
1507                 public static bool navigation_message_parse_angles_changed (Gst.Message message, out uint cur_angle, out uint n_angles);
1508                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_event")]
1509                 [Version (since = "1.6")]
1510                 public static bool navigation_message_parse_event (Gst.Message message, out Gst.Event event);
1511                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_mouse_over")]
1512                 public static bool navigation_message_parse_mouse_over (Gst.Message message, out bool active);
1513                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_get_type")]
1514                 public static Gst.Video.NavigationQueryType navigation_query_get_type (Gst.Query query);
1515                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_new_angles")]
1516                 public static Gst.Query navigation_query_new_angles ();
1517                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_new_commands")]
1518                 public static Gst.Query navigation_query_new_commands ();
1519                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_angles")]
1520                 public static bool navigation_query_parse_angles (Gst.Query query, out uint cur_angle, out uint n_angles);
1521                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_commands_length")]
1522                 public static bool navigation_query_parse_commands_length (Gst.Query query, out uint n_cmds);
1523                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_commands_nth")]
1524                 public static bool navigation_query_parse_commands_nth (Gst.Query query, uint nth, out Gst.Video.NavigationCommand cmd);
1525                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_set_angles")]
1526                 public static void navigation_query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
1527                 [CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_set_commandsv")]
1528                 public static void navigation_query_set_commandsv (Gst.Query query, [CCode (array_length_cname = "n_cmds", array_length_pos = 1.5)] Gst.Video.NavigationCommand[] cmds);
1529                 [CCode (cheader_filename = "gst/video/video.h")]
1530                 public static GLib.Type overlay_composition_meta_api_get_type ();
1531                 [CCode (cheader_filename = "gst/video/video.h")]
1532                 public static unowned Gst.MetaInfo? overlay_composition_meta_get_info ();
1533                 [CCode (cheader_filename = "gst/video/video.h")]
1534                 public static void overlay_install_properties (GLib.ObjectClass oclass, int last_prop_id);
1535                 [CCode (cheader_filename = "gst/video/video.h")]
1536                 public static bool overlay_set_property (GLib.Object object, int last_prop_id, uint property_id, GLib.Value value);
1537                 [CCode (cheader_filename = "gst/video/video.h")]
1538                 public static GLib.Type region_of_interest_meta_api_get_type ();
1539                 [CCode (cheader_filename = "gst/video/video.h")]
1540                 public static unowned Gst.MetaInfo? region_of_interest_meta_get_info ();
1541                 [CCode (cheader_filename = "gst/video/video.h")]
1542                 [Version (since = "1.4")]
1543                 public static uint tile_get_index (Gst.Video.TileMode mode, int x, int y, int x_tiles, int y_tiles);
1544                 [CCode (cheader_filename = "gst/video/video.h")]
1545                 public static GLib.Type time_code_meta_api_get_type ();
1546                 [CCode (cheader_filename = "gst/video/video.h")]
1547                 public static unowned Gst.MetaInfo? time_code_meta_get_info ();
1548         }