/usr/share/vala-0.30/vapi/gstreamer-video-1.0.vapi is in valac-0.30-vapi 0.30.1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 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 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 | /* 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 {
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_buffer_pool_get_type ()")]
[GIR (name = "VideoBufferPool")]
public class BufferPool : Gst.BufferPool {
[CCode (has_construct_function = false, type = "GstBufferPool*")]
public BufferPool ();
}
[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);
}
[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")]
[Compact]
[GIR (name = "VideoCodecFrame")]
public class CodecFrame {
public Gst.ClockTime deadline;
public uint32 decode_frame_number;
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 uint32 presentation_frame_number;
public Gst.ClockTime pts;
public uint32 system_frame_number;
[CCode (simple_generics = true)]
public T get_user_data<T> ();
public Gst.Video.CodecFrame @ref ();
[CCode (simple_generics = true)]
public void set_user_data<T> (owned T user_data);
public void unref ();
}
[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")]
[Compact]
[GIR (name = "VideoCodecState")]
public class CodecState {
public weak Gst.Caps caps;
public weak Gst.Buffer codec_data;
public Gst.Video.Info info;
public Gst.Video.CodecState @ref ();
public void unref ();
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalanceChannel", lower_case_cprefix = "gst_color_balance_channel_", type_id = "gst_color_balance_channel_get_type ()")]
[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);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_decoder_get_type ()")]
[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);
[NoWrapper]
public virtual bool close ();
[NoWrapper]
public virtual bool decide_allocation (Gst.Query query);
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);
[NoWrapper]
public virtual bool flush ();
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.BufferPool get_buffer_pool ();
public int get_estimate_rate ();
public Gst.Video.CodecFrame get_frame (int frame_number);
public GLib.List<Gst.Video.CodecFrame> get_frames ();
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 ();
public bool get_needs_format ();
public Gst.Video.CodecFrame get_oldest_frame ();
public Gst.Video.CodecState get_output_state ();
public bool get_packetized ();
public size_t get_pending_frame_size ();
public double get_qos_proportion ();
[NoWrapper]
public virtual Gst.FlowReturn handle_frame (Gst.Video.CodecFrame frame);
public Gst.FlowReturn have_frame ();
public void merge_tags (Gst.TagList tags, Gst.TagMergeMode mode);
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);
public void release_frame (owned Gst.Video.CodecFrame frame);
[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);
public void set_needs_format (bool enabled);
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);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
[NoWrapper]
public virtual bool sink_query (Gst.Query query);
[NoWrapper]
public virtual bool src_event (Gst.Event event);
[NoWrapper]
public virtual bool src_query (Gst.Query query);
[NoWrapper]
public virtual bool start ();
[NoWrapper]
public virtual bool stop ();
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_encoder_get_type ()")]
[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);
[NoWrapper]
public virtual bool flush ();
public void get_allocator (out Gst.Allocator allocator, out Gst.AllocationParams @params);
public Gst.Video.CodecFrame get_frame (int frame_number);
public GLib.List<Gst.Video.CodecFrame> get_frames ();
public void get_latency (out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
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);
public void merge_tags (Gst.TagList tags, Gst.TagMergeMode mode);
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);
public Gst.Caps proxy_getcaps (Gst.Caps caps, Gst.Caps filter);
[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);
public Gst.Video.CodecState set_output_state (owned Gst.Caps caps, Gst.Video.CodecState? reference);
[NoWrapper]
public virtual bool sink_event (Gst.Event event);
[NoWrapper]
public virtual bool sink_query (Gst.Query query);
[NoWrapper]
public virtual bool src_event (Gst.Event event);
[NoWrapper]
public virtual bool src_query (Gst.Query query);
[NoWrapper]
public virtual bool start ();
[NoWrapper]
public virtual bool stop ();
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_filter_get_type ()")]
[GIR (name = "VideoFilter")]
public abstract class Filter : Gst.Base.Transform {
public Gst.Video.Info in_info;
public bool negotiated;
public Gst.Video.Info out_info;
[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);
}
[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")]
[Compact]
[GIR (name = "VideoOverlayComposition")]
public class OverlayComposition : Gst.MiniObject {
[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 ();
public Gst.Video.OverlayComposition make_writable ();
public uint n_rectangles ();
}
[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")]
[Compact]
[GIR (name = "VideoOverlayRectangle")]
public class OverlayRectangle : Gst.MiniObject {
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);
public unowned Gst.Buffer get_pixels_ayuv (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_raw (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_argb (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_ayuv (Gst.Video.OverlayFormatFlags flags);
public unowned Gst.Buffer get_pixels_unscaled_raw (Gst.Video.OverlayFormatFlags flags);
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 ();
[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);
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);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_sink_get_type ()")]
[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; }
}
[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 ()")]
[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);
public abstract unowned GLib.List<Gst.Video.ColorBalanceChannel> list_channels ();
public abstract void set_value (Gst.Video.ColorBalanceChannel channel, int value);
[HasEmitter]
public virtual signal void value_changed (Gst.Video.ColorBalanceChannel channel, int value);
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigation", lower_case_cprefix = "gst_navigation_", type_cname = "GstNavigationInterface", type_id = "gst_navigation_get_type ()")]
[GIR (name = "Navigation")]
public interface Navigation : GLib.Object {
public static Gst.Video.NavigationEventType event_get_type (Gst.Event event);
public static bool event_parse_command (Gst.Event event, Gst.Video.NavigationCommand command);
public static bool event_parse_key_event (Gst.Event event, string key);
public static bool event_parse_mouse_button_event (Gst.Event event, int button, double x, double y);
public static bool event_parse_mouse_move_event (Gst.Event event, double x, double y);
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);
public static Gst.Message message_new_mouse_over (Gst.Object src, bool active);
public static bool message_parse_angles_changed (Gst.Message message, uint cur_angle, uint n_angles);
public static bool message_parse_mouse_over (Gst.Message message, bool active);
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 ();
public static bool query_parse_angles (Gst.Query query, uint cur_angle, uint n_angles);
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);
public static void query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
public static void query_set_commandsv (Gst.Query query, int n_cmds, Gst.Video.NavigationCommand cmds);
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);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_orientation_get_type ()")]
[GIR (name = "VideoOrientation")]
public interface Orientation : GLib.Object {
public abstract bool get_hcenter (int center);
public abstract bool get_hflip (bool flip);
public abstract bool get_vcenter (int center);
public abstract bool get_vflip (bool flip);
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);
}
[CCode (cheader_filename = "gst/video/video.h", type_id = "gst_video_overlay_get_type ()")]
[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);
public void prepare_window_handle ();
[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);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoAlignment")]
public struct Alignment {
public uint padding_top;
public uint padding_bottom;
public uint padding_left;
public uint padding_right;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint[] stride_align;
public void reset ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[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);
public bool matches (string color);
public string to_string ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoCropMeta")]
public struct CropMeta {
public Gst.Meta meta;
public uint x;
public uint y;
public uint width;
public uint height;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[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;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint[] shift;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint[] depth;
[CCode (array_length = false, array_null_terminated = true)]
public weak int[] pixel_stride;
public uint n_planes;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint[] plane;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint[] poffset;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint[] w_sub;
[CCode (array_length = false, array_null_terminated = true)]
public weak uint[] h_sub;
public Gst.Video.Format unpack_format;
public weak Gst.Video.FormatUnpack unpack_func;
public int pack_lines;
public weak Gst.Video.FormatPack pack_func;
public Gst.Video.TileMode tile_mode;
public uint tile_ws;
public uint tile_hs;
[CCode (array_length = false, array_null_terminated = true)]
public weak void*[] _gst_reserved;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoFrame")]
public struct Frame {
public Gst.Video.Info info;
public Gst.Video.FrameFlags flags;
public weak Gst.Buffer buffer;
public void* meta;
public int id;
[CCode (array_length = false, array_null_terminated = true)]
public weak void*[] data;
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 ();
}
[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;
[CCode (array_length = false, array_null_terminated = true)]
public weak Gst.Video.GLTextureType[] texture_type;
public bool upload (uint texture_id);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoInfo")]
public struct Info {
public weak Gst.Video.FormatInfo? finfo;
public Gst.Video.InterlaceMode interlace_mode;
public Gst.Video.Flags flags;
public int width;
public int height;
public size_t size;
public int views;
public Gst.Video.ChromaSite chroma_site;
public Gst.Video.Colorimetry colorimetry;
public int par_n;
public int par_d;
public int fps_n;
public int fps_d;
[CCode (array_length = false, array_null_terminated = true)]
public weak size_t[] offset;
[CCode (array_length = false, array_null_terminated = true)]
public weak int[] stride;
public void align (Gst.Video.Alignment align);
public bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
public bool from_caps (Gst.Caps caps);
public void init ();
public bool is_equal (Gst.Video.Info other);
public void set_format (Gst.Video.Format format, uint width, uint height);
public Gst.Caps to_caps ();
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[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;
[CCode (array_length = false, array_null_terminated = true)]
public weak size_t[] offset;
[CCode (array_length = false, array_null_terminated = true)]
public weak int[] stride;
public bool map (uint plane, Gst.MapInfo info, void* data, int stride, Gst.MapFlags flags);
public bool unmap (uint plane, Gst.MapInfo info);
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoMetaTransform")]
public struct MetaTransform {
public Gst.Video.Info in_info;
public Gst.Video.Info out_info;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoOverlayCompositionMeta")]
public struct OverlayCompositionMeta {
public Gst.Meta meta;
public weak Gst.Video.OverlayComposition overlay;
}
[CCode (cheader_filename = "gst/video/video.h", has_type_id = false)]
[GIR (name = "VideoRectangle")]
public struct Rectangle {
public int x;
public int y;
public int w;
public int h;
}
[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;
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_BUFFER_FLAG_", has_type_id = false)]
[Flags]
[GIR (name = "VideoBufferFlags")]
public enum BufferFlags {
INTERLACED,
TFF,
RFF,
ONEFIELD,
LAST
}
[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
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CHROMA_SITE_", type_id = "gst_video_chroma_site_get_type ()")]
[Flags]
[GIR (name = "VideoChromaSite")]
public enum ChromaSite {
UNKNOWN,
NONE,
H_COSITED,
V_COSITED,
ALT_LINE,
COSITED,
JPEG,
MPEG2,
DV
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_CODEC_FRAME_FLAG_", has_type_id = false)]
[Flags]
[GIR (name = "VideoCodecFrameFlags")]
public enum CodecFrameFlags {
DECODE_ONLY,
SYNC_POINT,
FORCE_KEYFRAME,
FORCE_KEYFRAME_HEADERS
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstColorBalanceType", cprefix = "GST_COLOR_BALANCE_", type_id = "gst_color_balance_type_get_type ()")]
[GIR (name = "ColorBalanceType")]
public enum ColorBalanceType {
HARDWARE,
SOFTWARE
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_MATRIX_", type_id = "gst_video_color_matrix_get_type ()")]
[GIR (name = "VideoColorMatrix")]
public enum ColorMatrix {
UNKNOWN,
RGB,
FCC,
BT709,
BT601,
SMPTE240M
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_PRIMARIES_", type_id = "gst_video_color_primaries_get_type ()")]
[GIR (name = "VideoColorPrimaries")]
public enum ColorPrimaries {
UNKNOWN,
BT709,
BT470M,
BT470BG,
SMPTE170M,
SMPTE240M,
FILM
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_COLOR_RANGE_", type_id = "gst_video_color_range_get_type ()")]
[GIR (name = "VideoColorRange")]
public enum ColorRange {
UNKNOWN,
@0_255,
@16_235
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FLAG_", type_id = "gst_video_flags_get_type ()")]
[Flags]
[GIR (name = "VideoFlags")]
public enum Flags {
NONE,
VARIABLE_FPS,
PREMULTIPLIED_ALPHA
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_", type_id = "gst_video_format_get_type ()")]
[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,
I420_10LE,
I422_10BE,
I422_10LE,
Y444_10BE,
Y444_10LE,
GBR,
GBR_10BE,
GBR_10LE,
NV16,
NV24,
NV12_64Z32
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FORMAT_FLAG_", type_id = "gst_video_format_flags_get_type ()")]
[Flags]
[GIR (name = "VideoFormatFlags")]
public enum FormatFlags {
YUV,
RGB,
GRAY,
ALPHA,
LE,
PALETTE,
COMPLEX,
UNPACK,
TILED
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_FRAME_FLAG_", has_type_id = false)]
[Flags]
[GIR (name = "VideoFrameFlags")]
public enum FrameFlags {
NONE,
INTERLACED,
TFF,
RFF,
ONEFIELD
}
[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
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_INTERLACE_MODE_", type_id = "gst_video_interlace_mode_get_type ()")]
[GIR (name = "VideoInterlaceMode")]
public enum InterlaceMode {
PROGRESSIVE,
INTERLEAVED,
MIXED,
FIELDS
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationCommand", cprefix = "GST_NAVIGATION_COMMAND_", type_id = "gst_navigation_command_get_type ()")]
[GIR (name = "NavigationCommand")]
public enum NavigationCommand {
INVALID,
MENU1,
MENU2,
MENU3,
MENU4,
MENU5,
MENU6,
MENU7,
LEFT,
RIGHT,
UP,
DOWN,
ACTIVATE,
PREV_ANGLE,
NEXT_ANGLE
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationEventType", cprefix = "GST_NAVIGATION_EVENT_", type_id = "gst_navigation_event_type_get_type ()")]
[GIR (name = "NavigationEventType")]
public enum NavigationEventType {
INVALID,
KEY_PRESS,
KEY_RELEASE,
MOUSE_BUTTON_PRESS,
MOUSE_BUTTON_RELEASE,
MOUSE_MOVE,
COMMAND
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationMessageType", cprefix = "GST_NAVIGATION_MESSAGE_", type_id = "gst_navigation_message_type_get_type ()")]
[GIR (name = "NavigationMessageType")]
public enum NavigationMessageType {
INVALID,
MOUSE_OVER,
COMMANDS_CHANGED,
ANGLES_CHANGED
}
[CCode (cheader_filename = "gst/video/video.h", cname = "GstNavigationQueryType", cprefix = "GST_NAVIGATION_QUERY_", type_id = "gst_navigation_query_type_get_type ()")]
[GIR (name = "NavigationQueryType")]
public enum NavigationQueryType {
INVALID,
COMMANDS,
ANGLES
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_OVERLAY_FORMAT_FLAG_", has_type_id = false)]
[GIR (name = "VideoOverlayFormatFlags")]
public enum OverlayFormatFlags {
NONE,
PREMULTIPLIED_ALPHA,
GLOBAL_ALPHA
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_PACK_FLAG_", type_id = "gst_video_pack_flags_get_type ()")]
[Flags]
[GIR (name = "VideoPackFlags")]
public enum PackFlags {
NONE,
TRUNCATE_RANGE,
INTERLACED
}
[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
}
[CCode (cheader_filename = "gst/video/video.h", cprefix = "GST_VIDEO_TRANSFER_", type_id = "gst_video_transfer_function_get_type ()")]
[GIR (name = "VideoTransferFunction")]
public enum TransferFunction {
UNKNOWN,
GAMMA10,
GAMMA18,
GAMMA20,
GAMMA22,
BT709,
SMPTE240M,
SRGB,
GAMMA28,
LOG100,
LOG316
}
[CCode (cheader_filename = "gst/video/video.h", instance_pos = 2.9)]
public delegate void ConvertSampleCallback (Gst.Sample sample, GLib.Error error);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
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);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate void FormatUnpack (Gst.Video.FormatInfo info, Gst.Video.PackFlags flags, void* dest, void* data, int stride, int x, int y, int width);
[CCode (cheader_filename = "gst/video/video.h", has_target = false)]
public delegate bool GLTextureUpload (Gst.Video.GLTextureUploadMeta meta, uint texture_id);
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT")]
public const string BUFFER_POOL_OPTION_VIDEO_ALIGNMENT;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_BUFFER_POOL_OPTION_VIDEO_GL_TEXTURE_UPLOAD_META")]
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")]
public const string BUFFER_POOL_OPTION_VIDEO_META;
[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;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT601")]
public const string COLORIMETRY_BT601;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_BT709")]
public const string COLORIMETRY_BT709;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COLORIMETRY_SMPTE240M")]
public const string COLORIMETRY_SMPTE240M;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_A")]
public const int COMP_A;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_B")]
public const int COMP_B;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_G")]
public const int COMP_G;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_INDEX")]
public const int COMP_INDEX;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_PALETTE")]
public const int COMP_PALETTE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_R")]
public const int COMP_R;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_U")]
public const int COMP_U;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_V")]
public const int COMP_V;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_COMP_Y")]
public const int COMP_Y;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_MAX_ERRORS")]
public const int DECODER_MAX_ERRORS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_SINK_NAME")]
public const string DECODER_SINK_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_DECODER_SRC_NAME")]
public const string DECODER_SRC_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_ENCODER_SINK_NAME")]
public const string ENCODER_SINK_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_ENCODER_SRC_NAME")]
public const string ENCODER_SRC_NAME;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_FORMATS_ALL")]
public const string FORMATS_ALL;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_FPS_RANGE")]
public const string FPS_RANGE;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_MAX_COMPONENTS")]
public const int MAX_COMPONENTS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_MAX_PLANES")]
public const int MAX_PLANES;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_COLORSPACE_STR")]
public const string META_TAG_VIDEO_COLORSPACE_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_ORIENTATION_STR")]
public const string META_TAG_VIDEO_ORIENTATION_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_SIZE_STR")]
public const string META_TAG_VIDEO_SIZE_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_META_TAG_VIDEO_STR")]
public const string META_TAG_VIDEO_STR;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_OVERLAY_COMPOSITION_BLEND_FORMATS")]
public const string OVERLAY_COMPOSITION_BLEND_FORMATS;
[CCode (cheader_filename = "gst/video/video.h", cname = "GST_VIDEO_SIZE_RANGE")]
public const string SIZE_RANGE;
[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")]
public static bool blend (Gst.Video.Frame dest, Gst.Video.Frame src, int x, int y, float global_alpha);
[CCode (cheader_filename = "gst/video/video.h")]
public static void blend_scale_linear_RGBA (Gst.Video.Info src, Gst.Buffer src_buffer, int dest_height, int dest_width, out Gst.Video.Info dest, out Gst.Buffer dest_buffer);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_get_video_alignment")]
public static bool buffer_pool_config_get_video_alignment (Gst.Structure config, Gst.Video.Alignment align);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_buffer_pool_config_set_video_alignment")]
public static void buffer_pool_config_set_video_alignment (Gst.Structure config, Gst.Video.Alignment align);
[CCode (cheader_filename = "gst/video/video.h")]
public static bool calculate_display_ratio (uint dar_n, 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);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Video.ChromaSite chroma_from_string (string s);
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned string chroma_to_string (Gst.Video.ChromaSite site);
[CCode (cheader_filename = "gst/video/video.h")]
public static void color_range_offsets (Gst.Video.ColorRange range, Gst.Video.FormatInfo info, out int offset, out int scale);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Sample convert_sample (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout) throws GLib.Error;
[CCode (cheader_filename = "gst/video/video.h")]
public static void convert_sample_async (Gst.Sample sample, Gst.Caps to_caps, Gst.ClockTime timeout, owned Gst.Video.ConvertSampleCallback callback);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type crop_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? crop_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static bool event_is_force_key_unit (Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h")]
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);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Event event_new_still_frame (bool in_still);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Event event_new_upstream_force_key_unit (Gst.ClockTime running_time, bool all_headers, uint count);
[CCode (cheader_filename = "gst/video/video.h")]
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);
[CCode (cheader_filename = "gst/video/video.h")]
public static bool event_parse_still_frame (Gst.Event event, bool in_still);
[CCode (cheader_filename = "gst/video/video.h")]
public static bool event_parse_upstream_force_key_unit (Gst.Event event, out Gst.ClockTime running_time, out bool all_headers, out uint count);
[CCode (cheader_filename = "gst/video/video.h")]
public static Gst.Video.Format format_from_fourcc (uint32 fourcc);
[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")]
public static Gst.Video.Format format_from_string (string format);
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.Video.FormatInfo? format_get_info (Gst.Video.Format format);
[CCode (cheader_filename = "gst/video/video.h")]
public static void* format_get_palette (Gst.Video.Format format, out size_t size);
[CCode (cheader_filename = "gst/video/video.h")]
public static uint32 format_to_fourcc (Gst.Video.Format format);
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned string format_to_string (Gst.Video.Format format);
[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 ();
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_is_video_overlay_prepare_window_handle_message")]
public static bool is_video_overlay_prepare_window_handle_message (Gst.Message msg);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Quark meta_transform_scale_get_quark ();
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_get_type")]
public static Gst.Video.NavigationEventType navigation_event_get_type (Gst.Event event);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_command")]
public static bool navigation_event_parse_command (Gst.Event event, Gst.Video.NavigationCommand command);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_key_event")]
public static bool navigation_event_parse_key_event (Gst.Event event, string key);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_button_event")]
public static bool navigation_event_parse_mouse_button_event (Gst.Event event, int button, double x, double y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_event_parse_mouse_move_event")]
public static bool navigation_event_parse_mouse_move_event (Gst.Event event, double x, double y);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_get_type")]
public static Gst.Video.NavigationMessageType navigation_message_get_type (Gst.Message message);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_angles_changed")]
public static Gst.Message navigation_message_new_angles_changed (Gst.Object src, uint cur_angle, uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_commands_changed")]
public static Gst.Message navigation_message_new_commands_changed (Gst.Object src);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_new_mouse_over")]
public static Gst.Message navigation_message_new_mouse_over (Gst.Object src, bool active);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_angles_changed")]
public static bool navigation_message_parse_angles_changed (Gst.Message message, uint cur_angle, uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_message_parse_mouse_over")]
public static bool navigation_message_parse_mouse_over (Gst.Message message, bool active);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_get_type")]
public static Gst.Video.NavigationQueryType navigation_query_get_type (Gst.Query query);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_new_angles")]
public static Gst.Query navigation_query_new_angles ();
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_new_commands")]
public static Gst.Query navigation_query_new_commands ();
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_angles")]
public static bool navigation_query_parse_angles (Gst.Query query, uint cur_angle, uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_commands_length")]
public static bool navigation_query_parse_commands_length (Gst.Query query, out uint n_cmds);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_parse_commands_nth")]
public static bool navigation_query_parse_commands_nth (Gst.Query query, uint nth, out Gst.Video.NavigationCommand cmd);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_set_angles")]
public static void navigation_query_set_angles (Gst.Query query, uint cur_angle, uint n_angles);
[CCode (cheader_filename = "gst/video/video.h", cname = "gst_navigation_query_set_commandsv")]
public static void navigation_query_set_commandsv (Gst.Query query, int n_cmds, Gst.Video.NavigationCommand cmds);
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type overlay_composition_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? overlay_composition_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static GLib.Type region_of_interest_meta_api_get_type ();
[CCode (cheader_filename = "gst/video/video.h")]
public static unowned Gst.MetaInfo? region_of_interest_meta_get_info ();
[CCode (cheader_filename = "gst/video/video.h")]
public static uint tile_get_index (Gst.Video.TileMode mode, int x, int y, int x_tiles, int y_tiles);
}
}
|