1 /* gstreamer-video-0.10.vapi generated by lt-vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
5 [CCode (cprefix = "GstVideoMask32", lower_case_cprefix = "gst_video_mask32_")]
6 namespace VideoMask32 {
7 [CCode (cname = "GST_VIDEO_BYTE1_MASK_32", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
8 public const string BYTE1;
9 [CCode (cname = "GST_VIDEO_BYTE2_MASK_32", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
10 public const string BYTE2;
11 [CCode (cname = "GST_VIDEO_BYTE3_MASK_32", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
12 public const string BYTE3;
13 [CCode (cname = "GST_VIDEO_BYTE4_MASK_32", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
14 public const string BYTE4;
15 [CCode (cname = "GST_VIDEO_BYTE1_MASK_32_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
16 public const int BYTE1_INT;
17 [CCode (cname = "GST_VIDEO_BYTE2_MASK_32_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
18 public const int BYTE2_INT;
19 [CCode (cname = "GST_VIDEO_BYTE3_MASK_32_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
20 public const int BYTE3_INT;
21 [CCode (cname = "GST_VIDEO_BYTE4_MASK_32_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
22 public const int BYTE4_INT;
24 [CCode (cprefix = "GstVideoMask24", lower_case_cprefix = "gst_video_mask24_")]
25 namespace VideoMask24 {
26 [CCode (cname = "GST_VIDEO_BYTE1_MASK_24", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
27 public const string BYTE1;
28 [CCode (cname = "GST_VIDEO_BYTE2_MASK_24", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
29 public const string BYTE2;
30 [CCode (cname = "GST_VIDEO_BYTE3_MASK_24", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
31 public const string BYTE3;
32 [CCode (cname = "GST_VIDEO_BYTE1_MASK_24_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
33 public const int BYTE1_INT;
34 [CCode (cname = "GST_VIDEO_BYTE2_MASK_24_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
35 public const int BYTE2_INT;
36 [CCode (cname = "GST_VIDEO_BYTE3_MASK_24_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
37 public const int BYTE3_INT;
39 [CCode (cprefix = "GstVideoMask16", lower_case_cprefix = "gst_video_mask16_")]
40 namespace VideoMask16 {
41 [CCode (cname = "GST_VIDEO_RED_MASK_16", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
42 public const string RED;
43 [CCode (cname = "GST_VIDEO_GREEN_MASK_16", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
44 public const string GREEN;
45 [CCode (cname = "GST_VIDEO_BLUE_MASK_16", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
46 public const string BLUE;
47 [CCode (cname = "GST_VIDEO_RED_MASK_16_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
48 public const int RED_INT;
49 [CCode (cname = "GST_VIDEO_GREEN_MASK_16_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
50 public const int GREEN_INT;
51 [CCode (cname = "GST_VIDEO_BLUE_MASK_16_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
52 public const int BLUE_INT;
54 [CCode (cprefix = "GstVideoMask15", lower_case_cprefix = "gst_video_mask15_")]
55 namespace VideoMask15 {
56 [CCode (cname = "GST_VIDEO_RED_MASK_15", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
57 public const string RED;
58 [CCode (cname = "GST_VIDEO_GREEN_MASK_15", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
59 public const string GREEN;
60 [CCode (cname = "GST_VIDEO_BLUE_MASK_15", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
61 public const string BLUE;
62 [CCode (cname = "GST_VIDEO_RED_MASK_15_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
63 public const int RED_INT;
64 [CCode (cname = "GST_VIDEO_GREEN_MASK_15_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
65 public const int GREEN_INT;
66 [CCode (cname = "GST_VIDEO_BLUE_MASK_15_INT", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
67 public const int BLUE_INT;
69 [CCode (cprefix = "GstVideoRange", lower_case_cprefix = "gst_video_range_")]
70 namespace VideoRange {
71 [CCode (cname = "GST_VIDEO_SIZE_RANGE", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
72 public const string SIZE;
73 [CCode (cname = "GST_VIDEO_FPS_RANGE", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
74 public const string FPS;
76 [CCode (cprefix = "GST_VIDEO_CAPS_", lower_case_cprefix = "gst_video_caps_")]
78 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
79 public const string RGB;
80 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
81 public const string BGR;
82 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
83 public const string RGBx;
84 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
85 public const string xRGB;
86 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
87 public const string BGRx;
88 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
89 public const string xBGR;
90 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
91 public const string RGBA;
92 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
93 public const string ARGB;
94 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
95 public const string BGRA;
96 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
97 public const string ABGR;
98 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
99 public const string xRGB_HOST_ENDIAN;
100 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
101 public const string BGRx_HOST_ENDIAN;
102 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
103 public const string RGB_16;
104 [CCode (cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
105 public const string RGB_15;
106 [CCode (cname = "GST_VIDEO_CAPS_YUV", cheader_filename = "gst/video/video.h,gst/video/video.h,gst/video/video.h,gst/video/video.h")]
107 public static weak string YUV (string fourcc);
109 [CCode (cprefix = "GST_VIDEO_FORMAT_", has_type_id = "0", cheader_filename = "gst/video/video.h")]
110 public enum VideoFormat {
131 [CCode (cheader_filename = "gst/video/gstvideosink.h")]
132 public class VideoRectangle {
138 [CCode (cheader_filename = "gst/video/gstvideofilter.h")]
139 public class VideoFilter : Gst.BaseTransform {
142 [CCode (cheader_filename = "gst/video/gstvideosink.h")]
143 public class VideoSink : Gst.BaseSink {
146 public static void center_rect (Gst.VideoRectangle src, Gst.VideoRectangle dst, Gst.VideoRectangle _result, bool scaling);
148 [CCode (cheader_filename = "gst/video/video.h")]
149 public static bool video_calculate_display_ratio (ref uint dar_n, ref 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);
150 [CCode (cheader_filename = "gst/video/video.h")]
151 public static bool video_format_convert (Gst.VideoFormat format, int width, int height, int fps_n, int fps_d, Gst.Format src_format, int64 src_value, Gst.Format dest_format, ref int64 dest_value);
152 [CCode (cheader_filename = "gst/video/video.h")]
153 public static Gst.VideoFormat video_format_from_fourcc (uint fourcc);
154 [CCode (cheader_filename = "gst/video/video.h")]
155 public static int video_format_get_component_height (Gst.VideoFormat format, ref int component, ref int height);
156 [CCode (cheader_filename = "gst/video/video.h")]
157 public static int video_format_get_component_offset (Gst.VideoFormat format, ref int component, ref int width, ref int height);
158 [CCode (cheader_filename = "gst/video/video.h")]
159 public static int video_format_get_component_width (Gst.VideoFormat format, ref int component, ref int width);
160 [CCode (cheader_filename = "gst/video/video.h")]
161 public static int video_format_get_pixel_stride (Gst.VideoFormat format, ref int component);
162 [CCode (cheader_filename = "gst/video/video.h")]
163 public static int video_format_get_row_stride (Gst.VideoFormat format, ref int component, ref int width);
164 [CCode (cheader_filename = "gst/video/video.h")]
165 public static int video_format_get_size (Gst.VideoFormat format, ref int width, ref int height);
166 [CCode (cheader_filename = "gst/video/video.h")]
167 public static bool video_format_has_alpha (Gst.VideoFormat format);
168 [CCode (cheader_filename = "gst/video/video.h")]
169 public static bool video_format_is_rgb (Gst.VideoFormat format);
170 [CCode (cheader_filename = "gst/video/video.h")]
171 public static bool video_format_is_yuv (Gst.VideoFormat format);
172 [CCode (cheader_filename = "gst/video/video.h")]
173 public static weak Gst.Caps video_format_new_caps (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d);
174 [CCode (cheader_filename = "gst/video/video.h")]
175 public static bool video_format_parse_caps (Gst.Caps caps, ref Gst.VideoFormat format, ref int width, ref int height);
176 [CCode (cheader_filename = "gst/video/video.h")]
177 public static uint video_format_to_fourcc (Gst.VideoFormat format);
178 [CCode (cheader_filename = "gst/video/video.h")]
179 public static GLib.Value video_frame_rate (Gst.Pad pad);
180 [CCode (cheader_filename = "gst/video/video.h")]
181 public static bool video_get_size (Gst.Pad pad, ref int width, ref int height);
182 [CCode (cheader_filename = "gst/video/video.h")]
183 public static bool video_parse_caps_framerate (Gst.Caps caps, ref int fps_n, ref int fps_d);
184 [CCode (cheader_filename = "gst/video/video.h")]
185 public static bool video_parse_caps_pixel_aspect_ratio (Gst.Caps caps, ref int par_n, ref int par_d);