gobject-2.0: Add g_object_notify binding
[vala-lang.git] / vapi / gstreamer-video-0.10.vapi
blob22c162ee276a3e9e41d6822c84cfefbe674f5ea4
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         }
127         [CCode (cprefix = "GST_VIDEO_FORMAT_", cheader_filename = "gst/video/video.h")]
128         public enum VideoFormat {
129                 UNKNOWN,
130                 I420,
131                 YV12,
132                 YUY2,
133                 UYVY,
134                 AYUV,
135                 RGBx,
136                 BGRx,
137                 xRGB,
138                 xBGR,
139                 RGBA,
140                 BGRA,
141                 ARGB,
142                 ABGR,
143                 RGB,
144                 BGR,
145                 Y41B,
146                 Y42B
147         }
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 (uint32 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 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 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);
176         [CCode (cheader_filename = "gst/video/video.h")]
177         public static bool video_format_parse_caps (Gst.Caps caps, ref Gst.VideoFormat format, ref int width, ref int height);
178         [CCode (cheader_filename = "gst/video/video.h")]
179         public static bool video_format_parse_caps_interlaced (Gst.Caps caps, bool interlaced);
180         [CCode (cheader_filename = "gst/video/video.h")]
181         public static uint32 video_format_to_fourcc (Gst.VideoFormat format);
182         [CCode (cheader_filename = "gst/video/video.h")]
183         public static Gst.Value video_frame_rate (Gst.Pad pad);
184         [CCode (cheader_filename = "gst/video/video.h")]
185         public static bool video_get_size (Gst.Pad pad, ref int width, ref int height);
186         [CCode (cheader_filename = "gst/video/video.h")]
187         public static bool video_parse_caps_framerate (Gst.Caps caps, ref int fps_n, ref int fps_d);
188         [CCode (cheader_filename = "gst/video/video.h")]
189         public static bool video_parse_caps_pixel_aspect_ratio (Gst.Caps caps, ref int par_n, ref int par_d);