glib-2.0: add unichar.to_string method
[vala-lang.git] / vapi / gstreamer-video-0.10.vapi
blob43cceb2d9cfdea9c4943a5dccfeedaff104e4ddd
1 /* gstreamer-video-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
4 namespace Gst {
5         [CCode (cprefix = "GST_VIDEO_CAPS_", lower_case_cprefix = "gst_video_caps_")]
6         namespace VideoCaps {
7                 [CCode (cheader_filename = "gst/video/video.h")]
8                 public const string ABGR;
9                 [CCode (cheader_filename = "gst/video/video.h")]
10                 public const string ARGB;
11                 [CCode (cheader_filename = "gst/video/video.h")]
12                 public const string BGR;
13                 [CCode (cheader_filename = "gst/video/video.h")]
14                 public const string BGRA;
15                 [CCode (cheader_filename = "gst/video/video.h")]
16                 public const string BGRx;
17                 [CCode (cheader_filename = "gst/video/video.h")]
18                 public const string BGRx_HOST_ENDIAN;
19                 [CCode (cheader_filename = "gst/video/video.h")]
20                 public const string RGB;
21                 [CCode (cheader_filename = "gst/video/video.h")]
22                 public const string RGBA;
23                 [CCode (cheader_filename = "gst/video/video.h")]
24                 public const string RGB_15;
25                 [CCode (cheader_filename = "gst/video/video.h")]
26                 public const string RGB_16;
27                 [CCode (cheader_filename = "gst/video/video.h")]
28                 public const string RGBx;
29                 [CCode (cheader_filename = "gst/video/video.h")]
30                 public const string xBGR;
31                 [CCode (cheader_filename = "gst/video/video.h")]
32                 public const string xRGB;
33                 [CCode (cheader_filename = "gst/video/video.h")]
34                 public const string xRGB_HOST_ENDIAN;
35                 [CCode (cname = "GST_VIDEO_CAPS_YUV", cheader_filename = "gst/video/video.h")]
36                 public static unowned string YUV (string fourcc);
37         }
38         [CCode (cprefix = "GstVideoMask15", lower_case_cprefix = "gst_video_mask15_")]
39         namespace VideoMask15 {
40                 [CCode (cname = "GST_VIDEO_BLUE_MASK_15", cheader_filename = "gst/video/video.h")]
41                 public const string BLUE;
42                 [CCode (cname = "GST_VIDEO_BLUE_MASK_15_INT", cheader_filename = "gst/video/video.h")]
43                 public const int BLUE_INT;
44                 [CCode (cname = "GST_VIDEO_GREEN_MASK_15", cheader_filename = "gst/video/video.h")]
45                 public const string GREEN;
46                 [CCode (cname = "GST_VIDEO_GREEN_MASK_15_INT", cheader_filename = "gst/video/video.h")]
47                 public const int GREEN_INT;
48                 [CCode (cname = "GST_VIDEO_RED_MASK_15", cheader_filename = "gst/video/video.h")]
49                 public const string RED;
50                 [CCode (cname = "GST_VIDEO_RED_MASK_15_INT", cheader_filename = "gst/video/video.h")]
51                 public const int RED_INT;
52         }
53         [CCode (cprefix = "GstVideoMask16", lower_case_cprefix = "gst_video_mask16_")]
54         namespace VideoMask16 {
55                 [CCode (cname = "GST_VIDEO_BLUE_MASK_16", cheader_filename = "gst/video/video.h")]
56                 public const string BLUE;
57                 [CCode (cname = "GST_VIDEO_BLUE_MASK_16_INT", cheader_filename = "gst/video/video.h")]
58                 public const int BLUE_INT;
59                 [CCode (cname = "GST_VIDEO_GREEN_MASK_16", cheader_filename = "gst/video/video.h")]
60                 public const string GREEN;
61                 [CCode (cname = "GST_VIDEO_GREEN_MASK_16_INT", cheader_filename = "gst/video/video.h")]
62                 public const int GREEN_INT;
63                 [CCode (cname = "GST_VIDEO_RED_MASK_16", cheader_filename = "gst/video/video.h")]
64                 public const string RED;
65                 [CCode (cname = "GST_VIDEO_RED_MASK_16_INT", cheader_filename = "gst/video/video.h")]
66                 public const int RED_INT;
67         }
68         [CCode (cprefix = "GstVideoMask24", lower_case_cprefix = "gst_video_mask24_")]
69         namespace VideoMask24 {
70                 [CCode (cname = "GST_VIDEO_BYTE1_MASK_24", cheader_filename = "gst/video/video.h")]
71                 public const string BYTE1;
72                 [CCode (cname = "GST_VIDEO_BYTE1_MASK_24_INT", cheader_filename = "gst/video/video.h")]
73                 public const int BYTE1_INT;
74                 [CCode (cname = "GST_VIDEO_BYTE2_MASK_24", cheader_filename = "gst/video/video.h")]
75                 public const string BYTE2;
76                 [CCode (cname = "GST_VIDEO_BYTE2_MASK_24_INT", cheader_filename = "gst/video/video.h")]
77                 public const int BYTE2_INT;
78                 [CCode (cname = "GST_VIDEO_BYTE3_MASK_24", cheader_filename = "gst/video/video.h")]
79                 public const string BYTE3;
80                 [CCode (cname = "GST_VIDEO_BYTE3_MASK_24_INT", cheader_filename = "gst/video/video.h")]
81                 public const int BYTE3_INT;
82         }
83         [CCode (cprefix = "GstVideoMask32", lower_case_cprefix = "gst_video_mask32_")]
84         namespace VideoMask32 {
85                 [CCode (cname = "GST_VIDEO_BYTE1_MASK_32", cheader_filename = "gst/video/video.h")]
86                 public const string BYTE1;
87                 [CCode (cname = "GST_VIDEO_BYTE1_MASK_32_INT", cheader_filename = "gst/video/video.h")]
88                 public const int BYTE1_INT;
89                 [CCode (cname = "GST_VIDEO_BYTE2_MASK_32", cheader_filename = "gst/video/video.h")]
90                 public const string BYTE2;
91                 [CCode (cname = "GST_VIDEO_BYTE2_MASK_32_INT", cheader_filename = "gst/video/video.h")]
92                 public const int BYTE2_INT;
93                 [CCode (cname = "GST_VIDEO_BYTE3_MASK_32", cheader_filename = "gst/video/video.h")]
94                 public const string BYTE3;
95                 [CCode (cname = "GST_VIDEO_BYTE3_MASK_32_INT", cheader_filename = "gst/video/video.h")]
96                 public const int BYTE3_INT;
97                 [CCode (cname = "GST_VIDEO_BYTE4_MASK_32", cheader_filename = "gst/video/video.h")]
98                 public const string BYTE4;
99                 [CCode (cname = "GST_VIDEO_BYTE4_MASK_32_INT", cheader_filename = "gst/video/video.h")]
100                 public const int BYTE4_INT;
101         }
102         [CCode (cprefix = "GstVideoRange", lower_case_cprefix = "gst_video_range_")]
103         namespace VideoRange {
104                 [CCode (cname = "GST_VIDEO_FPS_RANGE", cheader_filename = "gst/video/video.h")]
105                 public const string FPS;
106                 [CCode (cname = "GST_VIDEO_SIZE_RANGE", cheader_filename = "gst/video/video.h")]
107                 public const string SIZE;
108         }
109         [CCode (cheader_filename = "gst/video/gstvideofilter.h")]
110         public class VideoFilter : Gst.BaseTransform {
111                 public bool inited;
112         }
113         [Compact]
114         [CCode (cheader_filename = "gst/video/gstvideosink.h")]
115         public class VideoRectangle {
116                 public int h;
117                 public int w;
118                 public int x;
119                 public int y;
120         }
121         [CCode (cheader_filename = "gst/video/gstvideosink.h")]
122         public class VideoSink : Gst.BaseSink {
123                 public int height;
124                 public int width;
125                 public static void center_rect (Gst.VideoRectangle src, Gst.VideoRectangle dst, Gst.VideoRectangle _result, bool scaling);
126                 [NoWrapper]
127                 public virtual Gst.FlowReturn show_frame (Gst.Buffer buf);
128                 [NoAccessorMethod]
129                 public bool show_preroll_frame { get; set construct; }
130         }
131         [CCode (cprefix = "GST_VIDEO_FORMAT_", cheader_filename = "gst/video/video.h")]
132         public enum VideoFormat {
133                 UNKNOWN,
134                 I420,
135                 YV12,
136                 YUY2,
137                 UYVY,
138                 AYUV,
139                 RGBx,
140                 BGRx,
141                 xRGB,
142                 xBGR,
143                 RGBA,
144                 BGRA,
145                 ARGB,
146                 ABGR,
147                 RGB,
148                 BGR,
149                 Y41B,
150                 Y42B,
151                 YVYU,
152                 Y444,
153                 v210,
154                 v216,
155                 NV12,
156                 NV21
157         }
158         [CCode (cheader_filename = "gst/video/video.h")]
159         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);
160         [CCode (cheader_filename = "gst/video/video.h")]
161         public static unowned Gst.Event video_event_new_still_frame (bool in_still);
162         [CCode (cheader_filename = "gst/video/video.h")]
163         public static bool video_event_parse_still_frame (Gst.Event event, bool in_still);
164         [CCode (cheader_filename = "gst/video/video.h")]
165         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);
166         [CCode (cheader_filename = "gst/video/video.h")]
167         public static Gst.VideoFormat video_format_from_fourcc (uint32 fourcc);
168         [CCode (cheader_filename = "gst/video/video.h")]
169         public static int video_format_get_component_height (Gst.VideoFormat format, ref int component, ref int height);
170         [CCode (cheader_filename = "gst/video/video.h")]
171         public static int video_format_get_component_offset (Gst.VideoFormat format, ref int component, ref int width, ref int height);
172         [CCode (cheader_filename = "gst/video/video.h")]
173         public static int video_format_get_component_width (Gst.VideoFormat format, ref int component, ref int width);
174         [CCode (cheader_filename = "gst/video/video.h")]
175         public static int video_format_get_pixel_stride (Gst.VideoFormat format, ref int component);
176         [CCode (cheader_filename = "gst/video/video.h")]
177         public static int video_format_get_row_stride (Gst.VideoFormat format, ref int component, ref int width);
178         [CCode (cheader_filename = "gst/video/video.h")]
179         public static int video_format_get_size (Gst.VideoFormat format, ref int width, ref int height);
180         [CCode (cheader_filename = "gst/video/video.h")]
181         public static bool video_format_has_alpha (Gst.VideoFormat format);
182         [CCode (cheader_filename = "gst/video/video.h")]
183         public static bool video_format_is_rgb (Gst.VideoFormat format);
184         [CCode (cheader_filename = "gst/video/video.h")]
185         public static bool video_format_is_yuv (Gst.VideoFormat format);
186         [CCode (cheader_filename = "gst/video/video.h")]
187         public static 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);
188         [CCode (cheader_filename = "gst/video/video.h")]
189         public static Gst.Caps video_format_new_caps_interlaced (Gst.VideoFormat format, int width, int height, int framerate_n, int framerate_d, int par_n, int par_d, bool interlaced);
190         [CCode (cheader_filename = "gst/video/video.h")]
191         public static bool video_format_parse_caps (Gst.Caps caps, ref Gst.VideoFormat format, ref int width, ref int height);
192         [CCode (cheader_filename = "gst/video/video.h")]
193         public static bool video_format_parse_caps_interlaced (Gst.Caps caps, bool interlaced);
194         [CCode (cheader_filename = "gst/video/video.h")]
195         public static uint32 video_format_to_fourcc (Gst.VideoFormat format);
196         [CCode (cheader_filename = "gst/video/video.h")]
197         public static Gst.Value video_frame_rate (Gst.Pad pad);
198         [CCode (cheader_filename = "gst/video/video.h")]
199         public static bool video_get_size (Gst.Pad pad, ref int width, ref int height);
200         [CCode (cheader_filename = "gst/video/video.h")]
201         public static bool video_parse_caps_framerate (Gst.Caps caps, ref int fps_n, ref int fps_d);
202         [CCode (cheader_filename = "gst/video/video.h")]
203         public static bool video_parse_caps_pixel_aspect_ratio (Gst.Caps caps, ref int par_n, ref int par_d);