gstreamer-video-1.0.vapi 73.8 KB
Newer Older
1 2 3 4 5
/* gstreamer-video-1.0.vapi generated by vapigen, do not modify. */

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