libgda-4.0, gedit-2.20: Fix gedit typo and GdaXaTransactionId.data
[vala-lang.git] / vapi / packages / gstreamer-video-0.10 / gstreamer-video-0.10.gi
blob012bc0ba31a4275a0a9f4849ab1365d2731844da
1 <?xml version="1.0"?>
2 <api version="1.0">
3 <namespace name="Gst">
4 <function name="video_calculate_display_ratio" symbol="gst_video_calculate_display_ratio">
5 <return-type type="gboolean"/>
6 <parameters>
7 <parameter name="dar_n" type="guint*"/>
8 <parameter name="dar_d" type="guint*"/>
9 <parameter name="video_width" type="guint"/>
10 <parameter name="video_height" type="guint"/>
11 <parameter name="video_par_n" type="guint"/>
12 <parameter name="video_par_d" type="guint"/>
13 <parameter name="display_par_n" type="guint"/>
14 <parameter name="display_par_d" type="guint"/>
15 </parameters>
16 </function>
17 <function name="video_event_new_still_frame" symbol="gst_video_event_new_still_frame">
18 <return-type type="GstEvent*"/>
19 <parameters>
20 <parameter name="in_still" type="gboolean"/>
21 </parameters>
22 </function>
23 <function name="video_event_parse_still_frame" symbol="gst_video_event_parse_still_frame">
24 <return-type type="gboolean"/>
25 <parameters>
26 <parameter name="event" type="GstEvent*"/>
27 <parameter name="in_still" type="gboolean*"/>
28 </parameters>
29 </function>
30 <function name="video_format_convert" symbol="gst_video_format_convert">
31 <return-type type="gboolean"/>
32 <parameters>
33 <parameter name="format" type="GstVideoFormat"/>
34 <parameter name="width" type="int"/>
35 <parameter name="height" type="int"/>
36 <parameter name="fps_n" type="int"/>
37 <parameter name="fps_d" type="int"/>
38 <parameter name="src_format" type="GstFormat"/>
39 <parameter name="src_value" type="gint64"/>
40 <parameter name="dest_format" type="GstFormat"/>
41 <parameter name="dest_value" type="gint64*"/>
42 </parameters>
43 </function>
44 <function name="video_format_from_fourcc" symbol="gst_video_format_from_fourcc">
45 <return-type type="GstVideoFormat"/>
46 <parameters>
47 <parameter name="fourcc" type="guint32"/>
48 </parameters>
49 </function>
50 <function name="video_format_get_component_height" symbol="gst_video_format_get_component_height">
51 <return-type type="int"/>
52 <parameters>
53 <parameter name="format" type="GstVideoFormat"/>
54 <parameter name="component" type="int"/>
55 <parameter name="height" type="int"/>
56 </parameters>
57 </function>
58 <function name="video_format_get_component_offset" symbol="gst_video_format_get_component_offset">
59 <return-type type="int"/>
60 <parameters>
61 <parameter name="format" type="GstVideoFormat"/>
62 <parameter name="component" type="int"/>
63 <parameter name="width" type="int"/>
64 <parameter name="height" type="int"/>
65 </parameters>
66 </function>
67 <function name="video_format_get_component_width" symbol="gst_video_format_get_component_width">
68 <return-type type="int"/>
69 <parameters>
70 <parameter name="format" type="GstVideoFormat"/>
71 <parameter name="component" type="int"/>
72 <parameter name="width" type="int"/>
73 </parameters>
74 </function>
75 <function name="video_format_get_pixel_stride" symbol="gst_video_format_get_pixel_stride">
76 <return-type type="int"/>
77 <parameters>
78 <parameter name="format" type="GstVideoFormat"/>
79 <parameter name="component" type="int"/>
80 </parameters>
81 </function>
82 <function name="video_format_get_row_stride" symbol="gst_video_format_get_row_stride">
83 <return-type type="int"/>
84 <parameters>
85 <parameter name="format" type="GstVideoFormat"/>
86 <parameter name="component" type="int"/>
87 <parameter name="width" type="int"/>
88 </parameters>
89 </function>
90 <function name="video_format_get_size" symbol="gst_video_format_get_size">
91 <return-type type="int"/>
92 <parameters>
93 <parameter name="format" type="GstVideoFormat"/>
94 <parameter name="width" type="int"/>
95 <parameter name="height" type="int"/>
96 </parameters>
97 </function>
98 <function name="video_format_has_alpha" symbol="gst_video_format_has_alpha">
99 <return-type type="gboolean"/>
100 <parameters>
101 <parameter name="format" type="GstVideoFormat"/>
102 </parameters>
103 </function>
104 <function name="video_format_is_rgb" symbol="gst_video_format_is_rgb">
105 <return-type type="gboolean"/>
106 <parameters>
107 <parameter name="format" type="GstVideoFormat"/>
108 </parameters>
109 </function>
110 <function name="video_format_is_yuv" symbol="gst_video_format_is_yuv">
111 <return-type type="gboolean"/>
112 <parameters>
113 <parameter name="format" type="GstVideoFormat"/>
114 </parameters>
115 </function>
116 <function name="video_format_new_caps" symbol="gst_video_format_new_caps">
117 <return-type type="GstCaps*"/>
118 <parameters>
119 <parameter name="format" type="GstVideoFormat"/>
120 <parameter name="width" type="int"/>
121 <parameter name="height" type="int"/>
122 <parameter name="framerate_n" type="int"/>
123 <parameter name="framerate_d" type="int"/>
124 <parameter name="par_n" type="int"/>
125 <parameter name="par_d" type="int"/>
126 </parameters>
127 </function>
128 <function name="video_format_new_caps_interlaced" symbol="gst_video_format_new_caps_interlaced">
129 <return-type type="GstCaps*"/>
130 <parameters>
131 <parameter name="format" type="GstVideoFormat"/>
132 <parameter name="width" type="int"/>
133 <parameter name="height" type="int"/>
134 <parameter name="framerate_n" type="int"/>
135 <parameter name="framerate_d" type="int"/>
136 <parameter name="par_n" type="int"/>
137 <parameter name="par_d" type="int"/>
138 <parameter name="interlaced" type="gboolean"/>
139 </parameters>
140 </function>
141 <function name="video_format_parse_caps" symbol="gst_video_format_parse_caps">
142 <return-type type="gboolean"/>
143 <parameters>
144 <parameter name="caps" type="GstCaps*"/>
145 <parameter name="format" type="GstVideoFormat*"/>
146 <parameter name="width" type="int*"/>
147 <parameter name="height" type="int*"/>
148 </parameters>
149 </function>
150 <function name="video_format_parse_caps_interlaced" symbol="gst_video_format_parse_caps_interlaced">
151 <return-type type="gboolean"/>
152 <parameters>
153 <parameter name="caps" type="GstCaps*"/>
154 <parameter name="interlaced" type="gboolean*"/>
155 </parameters>
156 </function>
157 <function name="video_format_to_fourcc" symbol="gst_video_format_to_fourcc">
158 <return-type type="guint32"/>
159 <parameters>
160 <parameter name="format" type="GstVideoFormat"/>
161 </parameters>
162 </function>
163 <function name="video_frame_rate" symbol="gst_video_frame_rate">
164 <return-type type="GValue*"/>
165 <parameters>
166 <parameter name="pad" type="GstPad*"/>
167 </parameters>
168 </function>
169 <function name="video_get_size" symbol="gst_video_get_size">
170 <return-type type="gboolean"/>
171 <parameters>
172 <parameter name="pad" type="GstPad*"/>
173 <parameter name="width" type="gint*"/>
174 <parameter name="height" type="gint*"/>
175 </parameters>
176 </function>
177 <function name="video_parse_caps_framerate" symbol="gst_video_parse_caps_framerate">
178 <return-type type="gboolean"/>
179 <parameters>
180 <parameter name="caps" type="GstCaps*"/>
181 <parameter name="fps_n" type="int*"/>
182 <parameter name="fps_d" type="int*"/>
183 </parameters>
184 </function>
185 <function name="video_parse_caps_pixel_aspect_ratio" symbol="gst_video_parse_caps_pixel_aspect_ratio">
186 <return-type type="gboolean"/>
187 <parameters>
188 <parameter name="caps" type="GstCaps*"/>
189 <parameter name="par_n" type="int*"/>
190 <parameter name="par_d" type="int*"/>
191 </parameters>
192 </function>
193 <struct name="GstVideoRectangle">
194 <field name="x" type="gint"/>
195 <field name="y" type="gint"/>
196 <field name="w" type="gint"/>
197 <field name="h" type="gint"/>
198 </struct>
199 <enum name="GstVideoFormat" type-name="GstVideoFormat" get-type="gst_video_format_get_type">
200 <member name="GST_VIDEO_FORMAT_UNKNOWN" value="0"/>
201 <member name="GST_VIDEO_FORMAT_I420" value="1"/>
202 <member name="GST_VIDEO_FORMAT_YV12" value="2"/>
203 <member name="GST_VIDEO_FORMAT_YUY2" value="3"/>
204 <member name="GST_VIDEO_FORMAT_UYVY" value="4"/>
205 <member name="GST_VIDEO_FORMAT_AYUV" value="5"/>
206 <member name="GST_VIDEO_FORMAT_RGBx" value="6"/>
207 <member name="GST_VIDEO_FORMAT_BGRx" value="7"/>
208 <member name="GST_VIDEO_FORMAT_xRGB" value="8"/>
209 <member name="GST_VIDEO_FORMAT_xBGR" value="9"/>
210 <member name="GST_VIDEO_FORMAT_RGBA" value="10"/>
211 <member name="GST_VIDEO_FORMAT_BGRA" value="11"/>
212 <member name="GST_VIDEO_FORMAT_ARGB" value="12"/>
213 <member name="GST_VIDEO_FORMAT_ABGR" value="13"/>
214 <member name="GST_VIDEO_FORMAT_RGB" value="14"/>
215 <member name="GST_VIDEO_FORMAT_BGR" value="15"/>
216 <member name="GST_VIDEO_FORMAT_Y41B" value="16"/>
217 <member name="GST_VIDEO_FORMAT_Y42B" value="17"/>
218 <member name="GST_VIDEO_FORMAT_YVYU" value="18"/>
219 <member name="GST_VIDEO_FORMAT_Y444" value="19"/>
220 <member name="GST_VIDEO_FORMAT_v210" value="20"/>
221 <member name="GST_VIDEO_FORMAT_v216" value="21"/>
222 <member name="GST_VIDEO_FORMAT_NV12" value="22"/>
223 <member name="GST_VIDEO_FORMAT_NV21" value="23"/>
224 </enum>
225 <object name="GstVideoFilter" parent="GstBaseTransform" type-name="GstVideoFilter" get-type="gst_video_filter_get_type">
226 <field name="inited" type="gboolean"/>
227 </object>
228 <object name="GstVideoSink" parent="GstBaseSink" type-name="GstVideoSink" get-type="gst_video_sink_get_type">
229 <method name="center_rect" symbol="gst_video_sink_center_rect">
230 <return-type type="void"/>
231 <parameters>
232 <parameter name="src" type="GstVideoRectangle"/>
233 <parameter name="dst" type="GstVideoRectangle"/>
234 <parameter name="result" type="GstVideoRectangle*"/>
235 <parameter name="scaling" type="gboolean"/>
236 </parameters>
237 </method>
238 <property name="show-preroll-frame" type="gboolean" readable="1" writable="1" construct="1" construct-only="0"/>
239 <vfunc name="show_frame">
240 <return-type type="GstFlowReturn"/>
241 <parameters>
242 <parameter name="video_sink" type="GstVideoSink*"/>
243 <parameter name="buf" type="GstBuffer*"/>
244 </parameters>
245 </vfunc>
246 <field name="width" type="gint"/>
247 <field name="height" type="gint"/>
248 </object>
249 <constant name="GST_VIDEO_BLUE_MASK_15" type="char*" value="0x001f"/>
250 <constant name="GST_VIDEO_BLUE_MASK_15_INT" type="int" value="31"/>
251 <constant name="GST_VIDEO_BLUE_MASK_16" type="char*" value="0x001f"/>
252 <constant name="GST_VIDEO_BLUE_MASK_16_INT" type="int" value="31"/>
253 <constant name="GST_VIDEO_BYTE1_MASK_24" type="char*" value="0x00FF0000"/>
254 <constant name="GST_VIDEO_BYTE1_MASK_24_INT" type="int" value="16711680"/>
255 <constant name="GST_VIDEO_BYTE1_MASK_32" type="char*" value="0xFF000000"/>
256 <constant name="GST_VIDEO_BYTE1_MASK_32_INT" type="int" value="-16777216"/>
257 <constant name="GST_VIDEO_BYTE2_MASK_24" type="char*" value="0x0000FF00"/>
258 <constant name="GST_VIDEO_BYTE2_MASK_24_INT" type="int" value="65280"/>
259 <constant name="GST_VIDEO_BYTE2_MASK_32" type="char*" value="0x00FF0000"/>
260 <constant name="GST_VIDEO_BYTE2_MASK_32_INT" type="int" value="16711680"/>
261 <constant name="GST_VIDEO_BYTE3_MASK_24" type="char*" value="0x000000FF"/>
262 <constant name="GST_VIDEO_BYTE3_MASK_24_INT" type="int" value="255"/>
263 <constant name="GST_VIDEO_BYTE3_MASK_32" type="char*" value="0x0000FF00"/>
264 <constant name="GST_VIDEO_BYTE3_MASK_32_INT" type="int" value="65280"/>
265 <constant name="GST_VIDEO_BYTE4_MASK_32" type="char*" value="0x000000FF"/>
266 <constant name="GST_VIDEO_BYTE4_MASK_32_INT" type="int" value="255"/>
267 <constant name="GST_VIDEO_CAPS_RGB_15" type="char*" value="video/x-raw-rgb, bpp = (int) 16, depth = (int) 15, endianness = (int) BYTE_ORDER, red_mask = (int) "/>
268 <constant name="GST_VIDEO_CAPS_RGB_16" type="char*" value="video/x-raw-rgb, bpp = (int) 16, depth = (int) 16, endianness = (int) BYTE_ORDER, red_mask = (int) "/>
269 <constant name="GST_VIDEO_FPS_RANGE" type="char*" value="(fraction) [ 0, max ]"/>
270 <constant name="GST_VIDEO_GREEN_MASK_15" type="char*" value="0x03e0"/>
271 <constant name="GST_VIDEO_GREEN_MASK_15_INT" type="int" value="992"/>
272 <constant name="GST_VIDEO_GREEN_MASK_16" type="char*" value="0x07e0"/>
273 <constant name="GST_VIDEO_GREEN_MASK_16_INT" type="int" value="2016"/>
274 <constant name="GST_VIDEO_RED_MASK_15" type="char*" value="0x7c00"/>
275 <constant name="GST_VIDEO_RED_MASK_15_INT" type="int" value="31744"/>
276 <constant name="GST_VIDEO_RED_MASK_16" type="char*" value="0xf800"/>
277 <constant name="GST_VIDEO_RED_MASK_16_INT" type="int" value="63488"/>
278 <constant name="GST_VIDEO_SIZE_RANGE" type="char*" value="(int) [ 1, max ]"/>
279 </namespace>
280 </api>