xvmc.h revision 1.2 1 1.1 mrg /*
2 1.1 mrg * This file generated automatically from xvmc.xml by c_client.py.
3 1.1 mrg * Edit at your peril.
4 1.1 mrg */
5 1.1 mrg
6 1.1 mrg /**
7 1.1 mrg * @defgroup XCB_XvMC_API XCB XvMC API
8 1.1 mrg * @brief XvMC XCB Protocol Implementation.
9 1.1 mrg * @{
10 1.1 mrg **/
11 1.1 mrg
12 1.1 mrg #ifndef __XVMC_H
13 1.1 mrg #define __XVMC_H
14 1.1 mrg
15 1.1 mrg #include "xcb.h"
16 1.1 mrg #include "xproto.h"
17 1.1 mrg #include "shm.h"
18 1.1 mrg #include "xv.h"
19 1.1 mrg
20 1.1 mrg #ifdef __cplusplus
21 1.1 mrg extern "C" {
22 1.1 mrg #endif
23 1.1 mrg
24 1.1 mrg #define XCB_XVMC_MAJOR_VERSION 1
25 1.1 mrg #define XCB_XVMC_MINOR_VERSION 1
26 1.1 mrg
27 1.1 mrg extern xcb_extension_t xcb_xvmc_id;
28 1.1 mrg
29 1.1 mrg typedef uint32_t xcb_xvmc_context_t;
30 1.1 mrg
31 1.1 mrg /**
32 1.1 mrg * @brief xcb_xvmc_context_iterator_t
33 1.1 mrg **/
34 1.1 mrg typedef struct xcb_xvmc_context_iterator_t {
35 1.1 mrg xcb_xvmc_context_t *data; /**< */
36 1.1 mrg int rem; /**< */
37 1.1 mrg int index; /**< */
38 1.1 mrg } xcb_xvmc_context_iterator_t;
39 1.1 mrg
40 1.1 mrg typedef uint32_t xcb_xvmc_surface_t;
41 1.1 mrg
42 1.1 mrg /**
43 1.1 mrg * @brief xcb_xvmc_surface_iterator_t
44 1.1 mrg **/
45 1.1 mrg typedef struct xcb_xvmc_surface_iterator_t {
46 1.1 mrg xcb_xvmc_surface_t *data; /**< */
47 1.1 mrg int rem; /**< */
48 1.1 mrg int index; /**< */
49 1.1 mrg } xcb_xvmc_surface_iterator_t;
50 1.1 mrg
51 1.1 mrg typedef uint32_t xcb_xvmc_subpicture_t;
52 1.1 mrg
53 1.1 mrg /**
54 1.1 mrg * @brief xcb_xvmc_subpicture_iterator_t
55 1.1 mrg **/
56 1.1 mrg typedef struct xcb_xvmc_subpicture_iterator_t {
57 1.1 mrg xcb_xvmc_subpicture_t *data; /**< */
58 1.1 mrg int rem; /**< */
59 1.1 mrg int index; /**< */
60 1.1 mrg } xcb_xvmc_subpicture_iterator_t;
61 1.1 mrg
62 1.1 mrg /**
63 1.1 mrg * @brief xcb_xvmc_surface_info_t
64 1.1 mrg **/
65 1.1 mrg typedef struct xcb_xvmc_surface_info_t {
66 1.1 mrg xcb_xvmc_surface_t id; /**< */
67 1.1 mrg uint16_t chroma_format; /**< */
68 1.1 mrg uint16_t pad0; /**< */
69 1.1 mrg uint16_t max_width; /**< */
70 1.1 mrg uint16_t max_height; /**< */
71 1.1 mrg uint16_t subpicture_max_width; /**< */
72 1.1 mrg uint16_t subpicture_max_height; /**< */
73 1.1 mrg uint32_t mc_type; /**< */
74 1.1 mrg uint32_t flags; /**< */
75 1.1 mrg } xcb_xvmc_surface_info_t;
76 1.1 mrg
77 1.1 mrg /**
78 1.1 mrg * @brief xcb_xvmc_surface_info_iterator_t
79 1.1 mrg **/
80 1.1 mrg typedef struct xcb_xvmc_surface_info_iterator_t {
81 1.1 mrg xcb_xvmc_surface_info_t *data; /**< */
82 1.1 mrg int rem; /**< */
83 1.1 mrg int index; /**< */
84 1.1 mrg } xcb_xvmc_surface_info_iterator_t;
85 1.1 mrg
86 1.1 mrg /**
87 1.1 mrg * @brief xcb_xvmc_query_version_cookie_t
88 1.1 mrg **/
89 1.1 mrg typedef struct xcb_xvmc_query_version_cookie_t {
90 1.1 mrg unsigned int sequence; /**< */
91 1.1 mrg } xcb_xvmc_query_version_cookie_t;
92 1.1 mrg
93 1.1 mrg /** Opcode for xcb_xvmc_query_version. */
94 1.1 mrg #define XCB_XVMC_QUERY_VERSION 0
95 1.1 mrg
96 1.1 mrg /**
97 1.1 mrg * @brief xcb_xvmc_query_version_request_t
98 1.1 mrg **/
99 1.1 mrg typedef struct xcb_xvmc_query_version_request_t {
100 1.1 mrg uint8_t major_opcode; /**< */
101 1.1 mrg uint8_t minor_opcode; /**< */
102 1.1 mrg uint16_t length; /**< */
103 1.1 mrg } xcb_xvmc_query_version_request_t;
104 1.1 mrg
105 1.1 mrg /**
106 1.1 mrg * @brief xcb_xvmc_query_version_reply_t
107 1.1 mrg **/
108 1.1 mrg typedef struct xcb_xvmc_query_version_reply_t {
109 1.1 mrg uint8_t response_type; /**< */
110 1.1 mrg uint8_t pad0; /**< */
111 1.1 mrg uint16_t sequence; /**< */
112 1.1 mrg uint32_t length; /**< */
113 1.1 mrg uint32_t major; /**< */
114 1.1 mrg uint32_t minor; /**< */
115 1.1 mrg } xcb_xvmc_query_version_reply_t;
116 1.1 mrg
117 1.1 mrg /**
118 1.1 mrg * @brief xcb_xvmc_list_surface_types_cookie_t
119 1.1 mrg **/
120 1.1 mrg typedef struct xcb_xvmc_list_surface_types_cookie_t {
121 1.1 mrg unsigned int sequence; /**< */
122 1.1 mrg } xcb_xvmc_list_surface_types_cookie_t;
123 1.1 mrg
124 1.1 mrg /** Opcode for xcb_xvmc_list_surface_types. */
125 1.1 mrg #define XCB_XVMC_LIST_SURFACE_TYPES 1
126 1.1 mrg
127 1.1 mrg /**
128 1.1 mrg * @brief xcb_xvmc_list_surface_types_request_t
129 1.1 mrg **/
130 1.1 mrg typedef struct xcb_xvmc_list_surface_types_request_t {
131 1.1 mrg uint8_t major_opcode; /**< */
132 1.1 mrg uint8_t minor_opcode; /**< */
133 1.1 mrg uint16_t length; /**< */
134 1.1 mrg xcb_xv_port_t port_id; /**< */
135 1.1 mrg } xcb_xvmc_list_surface_types_request_t;
136 1.1 mrg
137 1.1 mrg /**
138 1.1 mrg * @brief xcb_xvmc_list_surface_types_reply_t
139 1.1 mrg **/
140 1.1 mrg typedef struct xcb_xvmc_list_surface_types_reply_t {
141 1.1 mrg uint8_t response_type; /**< */
142 1.1 mrg uint8_t pad0; /**< */
143 1.1 mrg uint16_t sequence; /**< */
144 1.1 mrg uint32_t length; /**< */
145 1.1 mrg uint32_t num; /**< */
146 1.1 mrg uint8_t pad1[20]; /**< */
147 1.1 mrg } xcb_xvmc_list_surface_types_reply_t;
148 1.1 mrg
149 1.1 mrg /**
150 1.1 mrg * @brief xcb_xvmc_create_context_cookie_t
151 1.1 mrg **/
152 1.1 mrg typedef struct xcb_xvmc_create_context_cookie_t {
153 1.1 mrg unsigned int sequence; /**< */
154 1.1 mrg } xcb_xvmc_create_context_cookie_t;
155 1.1 mrg
156 1.1 mrg /** Opcode for xcb_xvmc_create_context. */
157 1.1 mrg #define XCB_XVMC_CREATE_CONTEXT 2
158 1.1 mrg
159 1.1 mrg /**
160 1.1 mrg * @brief xcb_xvmc_create_context_request_t
161 1.1 mrg **/
162 1.1 mrg typedef struct xcb_xvmc_create_context_request_t {
163 1.1 mrg uint8_t major_opcode; /**< */
164 1.1 mrg uint8_t minor_opcode; /**< */
165 1.1 mrg uint16_t length; /**< */
166 1.1 mrg xcb_xvmc_context_t context_id; /**< */
167 1.1 mrg xcb_xv_port_t port_id; /**< */
168 1.1 mrg xcb_xvmc_surface_t surface_id; /**< */
169 1.1 mrg uint16_t width; /**< */
170 1.1 mrg uint16_t height; /**< */
171 1.1 mrg uint32_t flags; /**< */
172 1.1 mrg } xcb_xvmc_create_context_request_t;
173 1.1 mrg
174 1.1 mrg /**
175 1.1 mrg * @brief xcb_xvmc_create_context_reply_t
176 1.1 mrg **/
177 1.1 mrg typedef struct xcb_xvmc_create_context_reply_t {
178 1.1 mrg uint8_t response_type; /**< */
179 1.1 mrg uint8_t pad0; /**< */
180 1.1 mrg uint16_t sequence; /**< */
181 1.1 mrg uint32_t length; /**< */
182 1.1 mrg uint16_t width_actual; /**< */
183 1.1 mrg uint16_t height_actual; /**< */
184 1.1 mrg uint32_t flags_return; /**< */
185 1.1 mrg uint8_t pad1[20]; /**< */
186 1.1 mrg } xcb_xvmc_create_context_reply_t;
187 1.1 mrg
188 1.1 mrg /** Opcode for xcb_xvmc_destroy_context. */
189 1.1 mrg #define XCB_XVMC_DESTROY_CONTEXT 3
190 1.1 mrg
191 1.1 mrg /**
192 1.1 mrg * @brief xcb_xvmc_destroy_context_request_t
193 1.1 mrg **/
194 1.1 mrg typedef struct xcb_xvmc_destroy_context_request_t {
195 1.1 mrg uint8_t major_opcode; /**< */
196 1.1 mrg uint8_t minor_opcode; /**< */
197 1.1 mrg uint16_t length; /**< */
198 1.1 mrg xcb_xvmc_context_t context_id; /**< */
199 1.1 mrg } xcb_xvmc_destroy_context_request_t;
200 1.1 mrg
201 1.1 mrg /**
202 1.1 mrg * @brief xcb_xvmc_create_surface_cookie_t
203 1.1 mrg **/
204 1.1 mrg typedef struct xcb_xvmc_create_surface_cookie_t {
205 1.1 mrg unsigned int sequence; /**< */
206 1.1 mrg } xcb_xvmc_create_surface_cookie_t;
207 1.1 mrg
208 1.1 mrg /** Opcode for xcb_xvmc_create_surface. */
209 1.1 mrg #define XCB_XVMC_CREATE_SURFACE 4
210 1.1 mrg
211 1.1 mrg /**
212 1.1 mrg * @brief xcb_xvmc_create_surface_request_t
213 1.1 mrg **/
214 1.1 mrg typedef struct xcb_xvmc_create_surface_request_t {
215 1.1 mrg uint8_t major_opcode; /**< */
216 1.1 mrg uint8_t minor_opcode; /**< */
217 1.1 mrg uint16_t length; /**< */
218 1.1 mrg xcb_xvmc_surface_t surface_id; /**< */
219 1.1 mrg xcb_xvmc_context_t context_id; /**< */
220 1.1 mrg } xcb_xvmc_create_surface_request_t;
221 1.1 mrg
222 1.1 mrg /**
223 1.1 mrg * @brief xcb_xvmc_create_surface_reply_t
224 1.1 mrg **/
225 1.1 mrg typedef struct xcb_xvmc_create_surface_reply_t {
226 1.1 mrg uint8_t response_type; /**< */
227 1.1 mrg uint8_t pad0; /**< */
228 1.1 mrg uint16_t sequence; /**< */
229 1.1 mrg uint32_t length; /**< */
230 1.1 mrg uint8_t pad1[24]; /**< */
231 1.1 mrg } xcb_xvmc_create_surface_reply_t;
232 1.1 mrg
233 1.1 mrg /** Opcode for xcb_xvmc_destroy_surface. */
234 1.1 mrg #define XCB_XVMC_DESTROY_SURFACE 5
235 1.1 mrg
236 1.1 mrg /**
237 1.1 mrg * @brief xcb_xvmc_destroy_surface_request_t
238 1.1 mrg **/
239 1.1 mrg typedef struct xcb_xvmc_destroy_surface_request_t {
240 1.1 mrg uint8_t major_opcode; /**< */
241 1.1 mrg uint8_t minor_opcode; /**< */
242 1.1 mrg uint16_t length; /**< */
243 1.1 mrg xcb_xvmc_surface_t surface_id; /**< */
244 1.1 mrg } xcb_xvmc_destroy_surface_request_t;
245 1.1 mrg
246 1.1 mrg /**
247 1.1 mrg * @brief xcb_xvmc_create_subpicture_cookie_t
248 1.1 mrg **/
249 1.1 mrg typedef struct xcb_xvmc_create_subpicture_cookie_t {
250 1.1 mrg unsigned int sequence; /**< */
251 1.1 mrg } xcb_xvmc_create_subpicture_cookie_t;
252 1.1 mrg
253 1.1 mrg /** Opcode for xcb_xvmc_create_subpicture. */
254 1.1 mrg #define XCB_XVMC_CREATE_SUBPICTURE 6
255 1.1 mrg
256 1.1 mrg /**
257 1.1 mrg * @brief xcb_xvmc_create_subpicture_request_t
258 1.1 mrg **/
259 1.1 mrg typedef struct xcb_xvmc_create_subpicture_request_t {
260 1.1 mrg uint8_t major_opcode; /**< */
261 1.1 mrg uint8_t minor_opcode; /**< */
262 1.1 mrg uint16_t length; /**< */
263 1.1 mrg xcb_xvmc_subpicture_t subpicture_id; /**< */
264 1.1 mrg xcb_xvmc_context_t context; /**< */
265 1.1 mrg uint32_t xvimage_id; /**< */
266 1.1 mrg uint16_t width; /**< */
267 1.1 mrg uint16_t height; /**< */
268 1.1 mrg } xcb_xvmc_create_subpicture_request_t;
269 1.1 mrg
270 1.1 mrg /**
271 1.1 mrg * @brief xcb_xvmc_create_subpicture_reply_t
272 1.1 mrg **/
273 1.1 mrg typedef struct xcb_xvmc_create_subpicture_reply_t {
274 1.1 mrg uint8_t response_type; /**< */
275 1.1 mrg uint8_t pad0; /**< */
276 1.1 mrg uint16_t sequence; /**< */
277 1.1 mrg uint32_t length; /**< */
278 1.1 mrg uint16_t width_actual; /**< */
279 1.1 mrg uint16_t height_actual; /**< */
280 1.1 mrg uint16_t num_palette_entries; /**< */
281 1.1 mrg uint16_t entry_bytes; /**< */
282 1.1 mrg uint8_t component_order[4]; /**< */
283 1.1 mrg uint8_t pad1[12]; /**< */
284 1.1 mrg } xcb_xvmc_create_subpicture_reply_t;
285 1.1 mrg
286 1.1 mrg /** Opcode for xcb_xvmc_destroy_subpicture. */
287 1.1 mrg #define XCB_XVMC_DESTROY_SUBPICTURE 7
288 1.1 mrg
289 1.1 mrg /**
290 1.1 mrg * @brief xcb_xvmc_destroy_subpicture_request_t
291 1.1 mrg **/
292 1.1 mrg typedef struct xcb_xvmc_destroy_subpicture_request_t {
293 1.1 mrg uint8_t major_opcode; /**< */
294 1.1 mrg uint8_t minor_opcode; /**< */
295 1.1 mrg uint16_t length; /**< */
296 1.1 mrg xcb_xvmc_subpicture_t subpicture_id; /**< */
297 1.1 mrg } xcb_xvmc_destroy_subpicture_request_t;
298 1.1 mrg
299 1.1 mrg /**
300 1.1 mrg * @brief xcb_xvmc_list_subpicture_types_cookie_t
301 1.1 mrg **/
302 1.1 mrg typedef struct xcb_xvmc_list_subpicture_types_cookie_t {
303 1.1 mrg unsigned int sequence; /**< */
304 1.1 mrg } xcb_xvmc_list_subpicture_types_cookie_t;
305 1.1 mrg
306 1.1 mrg /** Opcode for xcb_xvmc_list_subpicture_types. */
307 1.1 mrg #define XCB_XVMC_LIST_SUBPICTURE_TYPES 8
308 1.1 mrg
309 1.1 mrg /**
310 1.1 mrg * @brief xcb_xvmc_list_subpicture_types_request_t
311 1.1 mrg **/
312 1.1 mrg typedef struct xcb_xvmc_list_subpicture_types_request_t {
313 1.1 mrg uint8_t major_opcode; /**< */
314 1.1 mrg uint8_t minor_opcode; /**< */
315 1.1 mrg uint16_t length; /**< */
316 1.1 mrg xcb_xv_port_t port_id; /**< */
317 1.1 mrg xcb_xvmc_surface_t surface_id; /**< */
318 1.1 mrg } xcb_xvmc_list_subpicture_types_request_t;
319 1.1 mrg
320 1.1 mrg /**
321 1.1 mrg * @brief xcb_xvmc_list_subpicture_types_reply_t
322 1.1 mrg **/
323 1.1 mrg typedef struct xcb_xvmc_list_subpicture_types_reply_t {
324 1.1 mrg uint8_t response_type; /**< */
325 1.1 mrg uint8_t pad0; /**< */
326 1.1 mrg uint16_t sequence; /**< */
327 1.1 mrg uint32_t length; /**< */
328 1.1 mrg uint32_t num; /**< */
329 1.1 mrg uint8_t pad1[20]; /**< */
330 1.1 mrg } xcb_xvmc_list_subpicture_types_reply_t;
331 1.1 mrg
332 1.1 mrg /**
333 1.1 mrg * Get the next element of the iterator
334 1.1 mrg * @param i Pointer to a xcb_xvmc_context_iterator_t
335 1.1 mrg *
336 1.1 mrg * Get the next element in the iterator. The member rem is
337 1.1 mrg * decreased by one. The member data points to the next
338 1.1 mrg * element. The member index is increased by sizeof(xcb_xvmc_context_t)
339 1.1 mrg */
340 1.1 mrg
341 1.1 mrg /*****************************************************************************
342 1.1 mrg **
343 1.1 mrg ** void xcb_xvmc_context_next
344 1.1 mrg **
345 1.1 mrg ** @param xcb_xvmc_context_iterator_t *i
346 1.1 mrg ** @returns void
347 1.1 mrg **
348 1.1 mrg *****************************************************************************/
349 1.1 mrg
350 1.1 mrg void
351 1.1 mrg xcb_xvmc_context_next (xcb_xvmc_context_iterator_t *i /**< */);
352 1.1 mrg
353 1.1 mrg /**
354 1.1 mrg * Return the iterator pointing to the last element
355 1.1 mrg * @param i An xcb_xvmc_context_iterator_t
356 1.1 mrg * @return The iterator pointing to the last element
357 1.1 mrg *
358 1.1 mrg * Set the current element in the iterator to the last element.
359 1.1 mrg * The member rem is set to 0. The member data points to the
360 1.1 mrg * last element.
361 1.1 mrg */
362 1.1 mrg
363 1.1 mrg /*****************************************************************************
364 1.1 mrg **
365 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_context_end
366 1.1 mrg **
367 1.1 mrg ** @param xcb_xvmc_context_iterator_t i
368 1.1 mrg ** @returns xcb_generic_iterator_t
369 1.1 mrg **
370 1.1 mrg *****************************************************************************/
371 1.1 mrg
372 1.1 mrg xcb_generic_iterator_t
373 1.1 mrg xcb_xvmc_context_end (xcb_xvmc_context_iterator_t i /**< */);
374 1.1 mrg
375 1.1 mrg /**
376 1.1 mrg * Get the next element of the iterator
377 1.1 mrg * @param i Pointer to a xcb_xvmc_surface_iterator_t
378 1.1 mrg *
379 1.1 mrg * Get the next element in the iterator. The member rem is
380 1.1 mrg * decreased by one. The member data points to the next
381 1.1 mrg * element. The member index is increased by sizeof(xcb_xvmc_surface_t)
382 1.1 mrg */
383 1.1 mrg
384 1.1 mrg /*****************************************************************************
385 1.1 mrg **
386 1.1 mrg ** void xcb_xvmc_surface_next
387 1.1 mrg **
388 1.1 mrg ** @param xcb_xvmc_surface_iterator_t *i
389 1.1 mrg ** @returns void
390 1.1 mrg **
391 1.1 mrg *****************************************************************************/
392 1.1 mrg
393 1.1 mrg void
394 1.1 mrg xcb_xvmc_surface_next (xcb_xvmc_surface_iterator_t *i /**< */);
395 1.1 mrg
396 1.1 mrg /**
397 1.1 mrg * Return the iterator pointing to the last element
398 1.1 mrg * @param i An xcb_xvmc_surface_iterator_t
399 1.1 mrg * @return The iterator pointing to the last element
400 1.1 mrg *
401 1.1 mrg * Set the current element in the iterator to the last element.
402 1.1 mrg * The member rem is set to 0. The member data points to the
403 1.1 mrg * last element.
404 1.1 mrg */
405 1.1 mrg
406 1.1 mrg /*****************************************************************************
407 1.1 mrg **
408 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_surface_end
409 1.1 mrg **
410 1.1 mrg ** @param xcb_xvmc_surface_iterator_t i
411 1.1 mrg ** @returns xcb_generic_iterator_t
412 1.1 mrg **
413 1.1 mrg *****************************************************************************/
414 1.1 mrg
415 1.1 mrg xcb_generic_iterator_t
416 1.1 mrg xcb_xvmc_surface_end (xcb_xvmc_surface_iterator_t i /**< */);
417 1.1 mrg
418 1.1 mrg /**
419 1.1 mrg * Get the next element of the iterator
420 1.1 mrg * @param i Pointer to a xcb_xvmc_subpicture_iterator_t
421 1.1 mrg *
422 1.1 mrg * Get the next element in the iterator. The member rem is
423 1.1 mrg * decreased by one. The member data points to the next
424 1.1 mrg * element. The member index is increased by sizeof(xcb_xvmc_subpicture_t)
425 1.1 mrg */
426 1.1 mrg
427 1.1 mrg /*****************************************************************************
428 1.1 mrg **
429 1.1 mrg ** void xcb_xvmc_subpicture_next
430 1.1 mrg **
431 1.1 mrg ** @param xcb_xvmc_subpicture_iterator_t *i
432 1.1 mrg ** @returns void
433 1.1 mrg **
434 1.1 mrg *****************************************************************************/
435 1.1 mrg
436 1.1 mrg void
437 1.1 mrg xcb_xvmc_subpicture_next (xcb_xvmc_subpicture_iterator_t *i /**< */);
438 1.1 mrg
439 1.1 mrg /**
440 1.1 mrg * Return the iterator pointing to the last element
441 1.1 mrg * @param i An xcb_xvmc_subpicture_iterator_t
442 1.1 mrg * @return The iterator pointing to the last element
443 1.1 mrg *
444 1.1 mrg * Set the current element in the iterator to the last element.
445 1.1 mrg * The member rem is set to 0. The member data points to the
446 1.1 mrg * last element.
447 1.1 mrg */
448 1.1 mrg
449 1.1 mrg /*****************************************************************************
450 1.1 mrg **
451 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_subpicture_end
452 1.1 mrg **
453 1.1 mrg ** @param xcb_xvmc_subpicture_iterator_t i
454 1.1 mrg ** @returns xcb_generic_iterator_t
455 1.1 mrg **
456 1.1 mrg *****************************************************************************/
457 1.1 mrg
458 1.1 mrg xcb_generic_iterator_t
459 1.1 mrg xcb_xvmc_subpicture_end (xcb_xvmc_subpicture_iterator_t i /**< */);
460 1.1 mrg
461 1.1 mrg /**
462 1.1 mrg * Get the next element of the iterator
463 1.1 mrg * @param i Pointer to a xcb_xvmc_surface_info_iterator_t
464 1.1 mrg *
465 1.1 mrg * Get the next element in the iterator. The member rem is
466 1.1 mrg * decreased by one. The member data points to the next
467 1.1 mrg * element. The member index is increased by sizeof(xcb_xvmc_surface_info_t)
468 1.1 mrg */
469 1.1 mrg
470 1.1 mrg /*****************************************************************************
471 1.1 mrg **
472 1.1 mrg ** void xcb_xvmc_surface_info_next
473 1.1 mrg **
474 1.1 mrg ** @param xcb_xvmc_surface_info_iterator_t *i
475 1.1 mrg ** @returns void
476 1.1 mrg **
477 1.1 mrg *****************************************************************************/
478 1.1 mrg
479 1.1 mrg void
480 1.1 mrg xcb_xvmc_surface_info_next (xcb_xvmc_surface_info_iterator_t *i /**< */);
481 1.1 mrg
482 1.1 mrg /**
483 1.1 mrg * Return the iterator pointing to the last element
484 1.1 mrg * @param i An xcb_xvmc_surface_info_iterator_t
485 1.1 mrg * @return The iterator pointing to the last element
486 1.1 mrg *
487 1.1 mrg * Set the current element in the iterator to the last element.
488 1.1 mrg * The member rem is set to 0. The member data points to the
489 1.1 mrg * last element.
490 1.1 mrg */
491 1.1 mrg
492 1.1 mrg /*****************************************************************************
493 1.1 mrg **
494 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_surface_info_end
495 1.1 mrg **
496 1.1 mrg ** @param xcb_xvmc_surface_info_iterator_t i
497 1.1 mrg ** @returns xcb_generic_iterator_t
498 1.1 mrg **
499 1.1 mrg *****************************************************************************/
500 1.1 mrg
501 1.1 mrg xcb_generic_iterator_t
502 1.1 mrg xcb_xvmc_surface_info_end (xcb_xvmc_surface_info_iterator_t i /**< */);
503 1.1 mrg
504 1.1 mrg /**
505 1.2 mrg *
506 1.1 mrg * @param c The connection
507 1.1 mrg * @return A cookie
508 1.1 mrg *
509 1.1 mrg * Delivers a request to the X server.
510 1.1 mrg *
511 1.1 mrg */
512 1.1 mrg
513 1.1 mrg /*****************************************************************************
514 1.1 mrg **
515 1.1 mrg ** xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version
516 1.1 mrg **
517 1.1 mrg ** @param xcb_connection_t *c
518 1.1 mrg ** @returns xcb_xvmc_query_version_cookie_t
519 1.1 mrg **
520 1.1 mrg *****************************************************************************/
521 1.1 mrg
522 1.1 mrg xcb_xvmc_query_version_cookie_t
523 1.1 mrg xcb_xvmc_query_version (xcb_connection_t *c /**< */);
524 1.1 mrg
525 1.1 mrg /**
526 1.2 mrg *
527 1.1 mrg * @param c The connection
528 1.1 mrg * @return A cookie
529 1.1 mrg *
530 1.1 mrg * Delivers a request to the X server.
531 1.1 mrg *
532 1.1 mrg * This form can be used only if the request will cause
533 1.1 mrg * a reply to be generated. Any returned error will be
534 1.1 mrg * placed in the event queue.
535 1.1 mrg */
536 1.1 mrg
537 1.1 mrg /*****************************************************************************
538 1.1 mrg **
539 1.1 mrg ** xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version_unchecked
540 1.1 mrg **
541 1.1 mrg ** @param xcb_connection_t *c
542 1.1 mrg ** @returns xcb_xvmc_query_version_cookie_t
543 1.1 mrg **
544 1.1 mrg *****************************************************************************/
545 1.1 mrg
546 1.1 mrg xcb_xvmc_query_version_cookie_t
547 1.1 mrg xcb_xvmc_query_version_unchecked (xcb_connection_t *c /**< */);
548 1.1 mrg
549 1.1 mrg /**
550 1.1 mrg * Return the reply
551 1.1 mrg * @param c The connection
552 1.1 mrg * @param cookie The cookie
553 1.1 mrg * @param e The xcb_generic_error_t supplied
554 1.1 mrg *
555 1.1 mrg * Returns the reply of the request asked by
556 1.1 mrg *
557 1.1 mrg * The parameter @p e supplied to this function must be NULL if
558 1.1 mrg * xcb_xvmc_query_version_unchecked(). is used.
559 1.1 mrg * Otherwise, it stores the error if any.
560 1.1 mrg *
561 1.1 mrg * The returned value must be freed by the caller using free().
562 1.1 mrg */
563 1.1 mrg
564 1.1 mrg /*****************************************************************************
565 1.1 mrg **
566 1.1 mrg ** xcb_xvmc_query_version_reply_t * xcb_xvmc_query_version_reply
567 1.1 mrg **
568 1.1 mrg ** @param xcb_connection_t *c
569 1.1 mrg ** @param xcb_xvmc_query_version_cookie_t cookie
570 1.1 mrg ** @param xcb_generic_error_t **e
571 1.1 mrg ** @returns xcb_xvmc_query_version_reply_t *
572 1.1 mrg **
573 1.1 mrg *****************************************************************************/
574 1.1 mrg
575 1.1 mrg xcb_xvmc_query_version_reply_t *
576 1.1 mrg xcb_xvmc_query_version_reply (xcb_connection_t *c /**< */,
577 1.1 mrg xcb_xvmc_query_version_cookie_t cookie /**< */,
578 1.1 mrg xcb_generic_error_t **e /**< */);
579 1.1 mrg
580 1.2 mrg int
581 1.2 mrg xcb_xvmc_list_surface_types_sizeof (const void *_buffer /**< */);
582 1.2 mrg
583 1.1 mrg /**
584 1.2 mrg *
585 1.1 mrg * @param c The connection
586 1.1 mrg * @return A cookie
587 1.1 mrg *
588 1.1 mrg * Delivers a request to the X server.
589 1.1 mrg *
590 1.1 mrg */
591 1.1 mrg
592 1.1 mrg /*****************************************************************************
593 1.1 mrg **
594 1.1 mrg ** xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types
595 1.1 mrg **
596 1.1 mrg ** @param xcb_connection_t *c
597 1.1 mrg ** @param xcb_xv_port_t port_id
598 1.1 mrg ** @returns xcb_xvmc_list_surface_types_cookie_t
599 1.1 mrg **
600 1.1 mrg *****************************************************************************/
601 1.1 mrg
602 1.1 mrg xcb_xvmc_list_surface_types_cookie_t
603 1.1 mrg xcb_xvmc_list_surface_types (xcb_connection_t *c /**< */,
604 1.1 mrg xcb_xv_port_t port_id /**< */);
605 1.1 mrg
606 1.1 mrg /**
607 1.2 mrg *
608 1.1 mrg * @param c The connection
609 1.1 mrg * @return A cookie
610 1.1 mrg *
611 1.1 mrg * Delivers a request to the X server.
612 1.1 mrg *
613 1.1 mrg * This form can be used only if the request will cause
614 1.1 mrg * a reply to be generated. Any returned error will be
615 1.1 mrg * placed in the event queue.
616 1.1 mrg */
617 1.1 mrg
618 1.1 mrg /*****************************************************************************
619 1.1 mrg **
620 1.1 mrg ** xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types_unchecked
621 1.1 mrg **
622 1.1 mrg ** @param xcb_connection_t *c
623 1.1 mrg ** @param xcb_xv_port_t port_id
624 1.1 mrg ** @returns xcb_xvmc_list_surface_types_cookie_t
625 1.1 mrg **
626 1.1 mrg *****************************************************************************/
627 1.1 mrg
628 1.1 mrg xcb_xvmc_list_surface_types_cookie_t
629 1.1 mrg xcb_xvmc_list_surface_types_unchecked (xcb_connection_t *c /**< */,
630 1.1 mrg xcb_xv_port_t port_id /**< */);
631 1.1 mrg
632 1.1 mrg
633 1.1 mrg /*****************************************************************************
634 1.1 mrg **
635 1.1 mrg ** xcb_xvmc_surface_info_t * xcb_xvmc_list_surface_types_surfaces
636 1.1 mrg **
637 1.1 mrg ** @param const xcb_xvmc_list_surface_types_reply_t *R
638 1.1 mrg ** @returns xcb_xvmc_surface_info_t *
639 1.1 mrg **
640 1.1 mrg *****************************************************************************/
641 1.1 mrg
642 1.1 mrg xcb_xvmc_surface_info_t *
643 1.1 mrg xcb_xvmc_list_surface_types_surfaces (const xcb_xvmc_list_surface_types_reply_t *R /**< */);
644 1.1 mrg
645 1.1 mrg
646 1.1 mrg /*****************************************************************************
647 1.1 mrg **
648 1.1 mrg ** int xcb_xvmc_list_surface_types_surfaces_length
649 1.1 mrg **
650 1.1 mrg ** @param const xcb_xvmc_list_surface_types_reply_t *R
651 1.1 mrg ** @returns int
652 1.1 mrg **
653 1.1 mrg *****************************************************************************/
654 1.1 mrg
655 1.1 mrg int
656 1.1 mrg xcb_xvmc_list_surface_types_surfaces_length (const xcb_xvmc_list_surface_types_reply_t *R /**< */);
657 1.1 mrg
658 1.1 mrg
659 1.1 mrg /*****************************************************************************
660 1.1 mrg **
661 1.1 mrg ** xcb_xvmc_surface_info_iterator_t xcb_xvmc_list_surface_types_surfaces_iterator
662 1.1 mrg **
663 1.1 mrg ** @param const xcb_xvmc_list_surface_types_reply_t *R
664 1.1 mrg ** @returns xcb_xvmc_surface_info_iterator_t
665 1.1 mrg **
666 1.1 mrg *****************************************************************************/
667 1.1 mrg
668 1.1 mrg xcb_xvmc_surface_info_iterator_t
669 1.1 mrg xcb_xvmc_list_surface_types_surfaces_iterator (const xcb_xvmc_list_surface_types_reply_t *R /**< */);
670 1.1 mrg
671 1.1 mrg /**
672 1.1 mrg * Return the reply
673 1.1 mrg * @param c The connection
674 1.1 mrg * @param cookie The cookie
675 1.1 mrg * @param e The xcb_generic_error_t supplied
676 1.1 mrg *
677 1.1 mrg * Returns the reply of the request asked by
678 1.1 mrg *
679 1.1 mrg * The parameter @p e supplied to this function must be NULL if
680 1.1 mrg * xcb_xvmc_list_surface_types_unchecked(). is used.
681 1.1 mrg * Otherwise, it stores the error if any.
682 1.1 mrg *
683 1.1 mrg * The returned value must be freed by the caller using free().
684 1.1 mrg */
685 1.1 mrg
686 1.1 mrg /*****************************************************************************
687 1.1 mrg **
688 1.1 mrg ** xcb_xvmc_list_surface_types_reply_t * xcb_xvmc_list_surface_types_reply
689 1.1 mrg **
690 1.1 mrg ** @param xcb_connection_t *c
691 1.1 mrg ** @param xcb_xvmc_list_surface_types_cookie_t cookie
692 1.1 mrg ** @param xcb_generic_error_t **e
693 1.1 mrg ** @returns xcb_xvmc_list_surface_types_reply_t *
694 1.1 mrg **
695 1.1 mrg *****************************************************************************/
696 1.1 mrg
697 1.1 mrg xcb_xvmc_list_surface_types_reply_t *
698 1.1 mrg xcb_xvmc_list_surface_types_reply (xcb_connection_t *c /**< */,
699 1.1 mrg xcb_xvmc_list_surface_types_cookie_t cookie /**< */,
700 1.1 mrg xcb_generic_error_t **e /**< */);
701 1.1 mrg
702 1.2 mrg int
703 1.2 mrg xcb_xvmc_create_context_sizeof (const void *_buffer /**< */);
704 1.2 mrg
705 1.1 mrg /**
706 1.2 mrg *
707 1.1 mrg * @param c The connection
708 1.1 mrg * @return A cookie
709 1.1 mrg *
710 1.1 mrg * Delivers a request to the X server.
711 1.1 mrg *
712 1.1 mrg */
713 1.1 mrg
714 1.1 mrg /*****************************************************************************
715 1.1 mrg **
716 1.1 mrg ** xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context
717 1.1 mrg **
718 1.1 mrg ** @param xcb_connection_t *c
719 1.1 mrg ** @param xcb_xvmc_context_t context_id
720 1.1 mrg ** @param xcb_xv_port_t port_id
721 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
722 1.1 mrg ** @param uint16_t width
723 1.1 mrg ** @param uint16_t height
724 1.1 mrg ** @param uint32_t flags
725 1.1 mrg ** @returns xcb_xvmc_create_context_cookie_t
726 1.1 mrg **
727 1.1 mrg *****************************************************************************/
728 1.1 mrg
729 1.1 mrg xcb_xvmc_create_context_cookie_t
730 1.1 mrg xcb_xvmc_create_context (xcb_connection_t *c /**< */,
731 1.1 mrg xcb_xvmc_context_t context_id /**< */,
732 1.1 mrg xcb_xv_port_t port_id /**< */,
733 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
734 1.1 mrg uint16_t width /**< */,
735 1.1 mrg uint16_t height /**< */,
736 1.1 mrg uint32_t flags /**< */);
737 1.1 mrg
738 1.1 mrg /**
739 1.2 mrg *
740 1.1 mrg * @param c The connection
741 1.1 mrg * @return A cookie
742 1.1 mrg *
743 1.1 mrg * Delivers a request to the X server.
744 1.1 mrg *
745 1.1 mrg * This form can be used only if the request will cause
746 1.1 mrg * a reply to be generated. Any returned error will be
747 1.1 mrg * placed in the event queue.
748 1.1 mrg */
749 1.1 mrg
750 1.1 mrg /*****************************************************************************
751 1.1 mrg **
752 1.1 mrg ** xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context_unchecked
753 1.1 mrg **
754 1.1 mrg ** @param xcb_connection_t *c
755 1.1 mrg ** @param xcb_xvmc_context_t context_id
756 1.1 mrg ** @param xcb_xv_port_t port_id
757 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
758 1.1 mrg ** @param uint16_t width
759 1.1 mrg ** @param uint16_t height
760 1.1 mrg ** @param uint32_t flags
761 1.1 mrg ** @returns xcb_xvmc_create_context_cookie_t
762 1.1 mrg **
763 1.1 mrg *****************************************************************************/
764 1.1 mrg
765 1.1 mrg xcb_xvmc_create_context_cookie_t
766 1.1 mrg xcb_xvmc_create_context_unchecked (xcb_connection_t *c /**< */,
767 1.1 mrg xcb_xvmc_context_t context_id /**< */,
768 1.1 mrg xcb_xv_port_t port_id /**< */,
769 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
770 1.1 mrg uint16_t width /**< */,
771 1.1 mrg uint16_t height /**< */,
772 1.1 mrg uint32_t flags /**< */);
773 1.1 mrg
774 1.1 mrg
775 1.1 mrg /*****************************************************************************
776 1.1 mrg **
777 1.1 mrg ** uint32_t * xcb_xvmc_create_context_priv_data
778 1.1 mrg **
779 1.1 mrg ** @param const xcb_xvmc_create_context_reply_t *R
780 1.1 mrg ** @returns uint32_t *
781 1.1 mrg **
782 1.1 mrg *****************************************************************************/
783 1.1 mrg
784 1.1 mrg uint32_t *
785 1.1 mrg xcb_xvmc_create_context_priv_data (const xcb_xvmc_create_context_reply_t *R /**< */);
786 1.1 mrg
787 1.1 mrg
788 1.1 mrg /*****************************************************************************
789 1.1 mrg **
790 1.1 mrg ** int xcb_xvmc_create_context_priv_data_length
791 1.1 mrg **
792 1.1 mrg ** @param const xcb_xvmc_create_context_reply_t *R
793 1.1 mrg ** @returns int
794 1.1 mrg **
795 1.1 mrg *****************************************************************************/
796 1.1 mrg
797 1.1 mrg int
798 1.1 mrg xcb_xvmc_create_context_priv_data_length (const xcb_xvmc_create_context_reply_t *R /**< */);
799 1.1 mrg
800 1.1 mrg
801 1.1 mrg /*****************************************************************************
802 1.1 mrg **
803 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_create_context_priv_data_end
804 1.1 mrg **
805 1.1 mrg ** @param const xcb_xvmc_create_context_reply_t *R
806 1.1 mrg ** @returns xcb_generic_iterator_t
807 1.1 mrg **
808 1.1 mrg *****************************************************************************/
809 1.1 mrg
810 1.1 mrg xcb_generic_iterator_t
811 1.1 mrg xcb_xvmc_create_context_priv_data_end (const xcb_xvmc_create_context_reply_t *R /**< */);
812 1.1 mrg
813 1.1 mrg /**
814 1.1 mrg * Return the reply
815 1.1 mrg * @param c The connection
816 1.1 mrg * @param cookie The cookie
817 1.1 mrg * @param e The xcb_generic_error_t supplied
818 1.1 mrg *
819 1.1 mrg * Returns the reply of the request asked by
820 1.1 mrg *
821 1.1 mrg * The parameter @p e supplied to this function must be NULL if
822 1.1 mrg * xcb_xvmc_create_context_unchecked(). is used.
823 1.1 mrg * Otherwise, it stores the error if any.
824 1.1 mrg *
825 1.1 mrg * The returned value must be freed by the caller using free().
826 1.1 mrg */
827 1.1 mrg
828 1.1 mrg /*****************************************************************************
829 1.1 mrg **
830 1.1 mrg ** xcb_xvmc_create_context_reply_t * xcb_xvmc_create_context_reply
831 1.1 mrg **
832 1.1 mrg ** @param xcb_connection_t *c
833 1.1 mrg ** @param xcb_xvmc_create_context_cookie_t cookie
834 1.1 mrg ** @param xcb_generic_error_t **e
835 1.1 mrg ** @returns xcb_xvmc_create_context_reply_t *
836 1.1 mrg **
837 1.1 mrg *****************************************************************************/
838 1.1 mrg
839 1.1 mrg xcb_xvmc_create_context_reply_t *
840 1.1 mrg xcb_xvmc_create_context_reply (xcb_connection_t *c /**< */,
841 1.1 mrg xcb_xvmc_create_context_cookie_t cookie /**< */,
842 1.1 mrg xcb_generic_error_t **e /**< */);
843 1.1 mrg
844 1.1 mrg /**
845 1.2 mrg *
846 1.1 mrg * @param c The connection
847 1.1 mrg * @return A cookie
848 1.1 mrg *
849 1.1 mrg * Delivers a request to the X server.
850 1.1 mrg *
851 1.1 mrg * This form can be used only if the request will not cause
852 1.1 mrg * a reply to be generated. Any returned error will be
853 1.1 mrg * saved for handling by xcb_request_check().
854 1.1 mrg */
855 1.1 mrg
856 1.1 mrg /*****************************************************************************
857 1.1 mrg **
858 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_context_checked
859 1.1 mrg **
860 1.1 mrg ** @param xcb_connection_t *c
861 1.1 mrg ** @param xcb_xvmc_context_t context_id
862 1.1 mrg ** @returns xcb_void_cookie_t
863 1.1 mrg **
864 1.1 mrg *****************************************************************************/
865 1.1 mrg
866 1.1 mrg xcb_void_cookie_t
867 1.1 mrg xcb_xvmc_destroy_context_checked (xcb_connection_t *c /**< */,
868 1.1 mrg xcb_xvmc_context_t context_id /**< */);
869 1.1 mrg
870 1.1 mrg /**
871 1.2 mrg *
872 1.1 mrg * @param c The connection
873 1.1 mrg * @return A cookie
874 1.1 mrg *
875 1.1 mrg * Delivers a request to the X server.
876 1.1 mrg *
877 1.1 mrg */
878 1.1 mrg
879 1.1 mrg /*****************************************************************************
880 1.1 mrg **
881 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_context
882 1.1 mrg **
883 1.1 mrg ** @param xcb_connection_t *c
884 1.1 mrg ** @param xcb_xvmc_context_t context_id
885 1.1 mrg ** @returns xcb_void_cookie_t
886 1.1 mrg **
887 1.1 mrg *****************************************************************************/
888 1.1 mrg
889 1.1 mrg xcb_void_cookie_t
890 1.1 mrg xcb_xvmc_destroy_context (xcb_connection_t *c /**< */,
891 1.1 mrg xcb_xvmc_context_t context_id /**< */);
892 1.1 mrg
893 1.2 mrg int
894 1.2 mrg xcb_xvmc_create_surface_sizeof (const void *_buffer /**< */);
895 1.2 mrg
896 1.1 mrg /**
897 1.2 mrg *
898 1.1 mrg * @param c The connection
899 1.1 mrg * @return A cookie
900 1.1 mrg *
901 1.1 mrg * Delivers a request to the X server.
902 1.1 mrg *
903 1.1 mrg */
904 1.1 mrg
905 1.1 mrg /*****************************************************************************
906 1.1 mrg **
907 1.1 mrg ** xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface
908 1.1 mrg **
909 1.1 mrg ** @param xcb_connection_t *c
910 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
911 1.1 mrg ** @param xcb_xvmc_context_t context_id
912 1.1 mrg ** @returns xcb_xvmc_create_surface_cookie_t
913 1.1 mrg **
914 1.1 mrg *****************************************************************************/
915 1.1 mrg
916 1.1 mrg xcb_xvmc_create_surface_cookie_t
917 1.1 mrg xcb_xvmc_create_surface (xcb_connection_t *c /**< */,
918 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
919 1.1 mrg xcb_xvmc_context_t context_id /**< */);
920 1.1 mrg
921 1.1 mrg /**
922 1.2 mrg *
923 1.1 mrg * @param c The connection
924 1.1 mrg * @return A cookie
925 1.1 mrg *
926 1.1 mrg * Delivers a request to the X server.
927 1.1 mrg *
928 1.1 mrg * This form can be used only if the request will cause
929 1.1 mrg * a reply to be generated. Any returned error will be
930 1.1 mrg * placed in the event queue.
931 1.1 mrg */
932 1.1 mrg
933 1.1 mrg /*****************************************************************************
934 1.1 mrg **
935 1.1 mrg ** xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface_unchecked
936 1.1 mrg **
937 1.1 mrg ** @param xcb_connection_t *c
938 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
939 1.1 mrg ** @param xcb_xvmc_context_t context_id
940 1.1 mrg ** @returns xcb_xvmc_create_surface_cookie_t
941 1.1 mrg **
942 1.1 mrg *****************************************************************************/
943 1.1 mrg
944 1.1 mrg xcb_xvmc_create_surface_cookie_t
945 1.1 mrg xcb_xvmc_create_surface_unchecked (xcb_connection_t *c /**< */,
946 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
947 1.1 mrg xcb_xvmc_context_t context_id /**< */);
948 1.1 mrg
949 1.1 mrg
950 1.1 mrg /*****************************************************************************
951 1.1 mrg **
952 1.1 mrg ** uint32_t * xcb_xvmc_create_surface_priv_data
953 1.1 mrg **
954 1.1 mrg ** @param const xcb_xvmc_create_surface_reply_t *R
955 1.1 mrg ** @returns uint32_t *
956 1.1 mrg **
957 1.1 mrg *****************************************************************************/
958 1.1 mrg
959 1.1 mrg uint32_t *
960 1.1 mrg xcb_xvmc_create_surface_priv_data (const xcb_xvmc_create_surface_reply_t *R /**< */);
961 1.1 mrg
962 1.1 mrg
963 1.1 mrg /*****************************************************************************
964 1.1 mrg **
965 1.1 mrg ** int xcb_xvmc_create_surface_priv_data_length
966 1.1 mrg **
967 1.1 mrg ** @param const xcb_xvmc_create_surface_reply_t *R
968 1.1 mrg ** @returns int
969 1.1 mrg **
970 1.1 mrg *****************************************************************************/
971 1.1 mrg
972 1.1 mrg int
973 1.1 mrg xcb_xvmc_create_surface_priv_data_length (const xcb_xvmc_create_surface_reply_t *R /**< */);
974 1.1 mrg
975 1.1 mrg
976 1.1 mrg /*****************************************************************************
977 1.1 mrg **
978 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_create_surface_priv_data_end
979 1.1 mrg **
980 1.1 mrg ** @param const xcb_xvmc_create_surface_reply_t *R
981 1.1 mrg ** @returns xcb_generic_iterator_t
982 1.1 mrg **
983 1.1 mrg *****************************************************************************/
984 1.1 mrg
985 1.1 mrg xcb_generic_iterator_t
986 1.1 mrg xcb_xvmc_create_surface_priv_data_end (const xcb_xvmc_create_surface_reply_t *R /**< */);
987 1.1 mrg
988 1.1 mrg /**
989 1.1 mrg * Return the reply
990 1.1 mrg * @param c The connection
991 1.1 mrg * @param cookie The cookie
992 1.1 mrg * @param e The xcb_generic_error_t supplied
993 1.1 mrg *
994 1.1 mrg * Returns the reply of the request asked by
995 1.1 mrg *
996 1.1 mrg * The parameter @p e supplied to this function must be NULL if
997 1.1 mrg * xcb_xvmc_create_surface_unchecked(). is used.
998 1.1 mrg * Otherwise, it stores the error if any.
999 1.1 mrg *
1000 1.1 mrg * The returned value must be freed by the caller using free().
1001 1.1 mrg */
1002 1.1 mrg
1003 1.1 mrg /*****************************************************************************
1004 1.1 mrg **
1005 1.1 mrg ** xcb_xvmc_create_surface_reply_t * xcb_xvmc_create_surface_reply
1006 1.1 mrg **
1007 1.1 mrg ** @param xcb_connection_t *c
1008 1.1 mrg ** @param xcb_xvmc_create_surface_cookie_t cookie
1009 1.1 mrg ** @param xcb_generic_error_t **e
1010 1.1 mrg ** @returns xcb_xvmc_create_surface_reply_t *
1011 1.1 mrg **
1012 1.1 mrg *****************************************************************************/
1013 1.1 mrg
1014 1.1 mrg xcb_xvmc_create_surface_reply_t *
1015 1.1 mrg xcb_xvmc_create_surface_reply (xcb_connection_t *c /**< */,
1016 1.1 mrg xcb_xvmc_create_surface_cookie_t cookie /**< */,
1017 1.1 mrg xcb_generic_error_t **e /**< */);
1018 1.1 mrg
1019 1.1 mrg /**
1020 1.2 mrg *
1021 1.1 mrg * @param c The connection
1022 1.1 mrg * @return A cookie
1023 1.1 mrg *
1024 1.1 mrg * Delivers a request to the X server.
1025 1.1 mrg *
1026 1.1 mrg * This form can be used only if the request will not cause
1027 1.1 mrg * a reply to be generated. Any returned error will be
1028 1.1 mrg * saved for handling by xcb_request_check().
1029 1.1 mrg */
1030 1.1 mrg
1031 1.1 mrg /*****************************************************************************
1032 1.1 mrg **
1033 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_surface_checked
1034 1.1 mrg **
1035 1.1 mrg ** @param xcb_connection_t *c
1036 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1037 1.1 mrg ** @returns xcb_void_cookie_t
1038 1.1 mrg **
1039 1.1 mrg *****************************************************************************/
1040 1.1 mrg
1041 1.1 mrg xcb_void_cookie_t
1042 1.1 mrg xcb_xvmc_destroy_surface_checked (xcb_connection_t *c /**< */,
1043 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1044 1.1 mrg
1045 1.1 mrg /**
1046 1.2 mrg *
1047 1.1 mrg * @param c The connection
1048 1.1 mrg * @return A cookie
1049 1.1 mrg *
1050 1.1 mrg * Delivers a request to the X server.
1051 1.1 mrg *
1052 1.1 mrg */
1053 1.1 mrg
1054 1.1 mrg /*****************************************************************************
1055 1.1 mrg **
1056 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_surface
1057 1.1 mrg **
1058 1.1 mrg ** @param xcb_connection_t *c
1059 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1060 1.1 mrg ** @returns xcb_void_cookie_t
1061 1.1 mrg **
1062 1.1 mrg *****************************************************************************/
1063 1.1 mrg
1064 1.1 mrg xcb_void_cookie_t
1065 1.1 mrg xcb_xvmc_destroy_surface (xcb_connection_t *c /**< */,
1066 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1067 1.1 mrg
1068 1.2 mrg int
1069 1.2 mrg xcb_xvmc_create_subpicture_sizeof (const void *_buffer /**< */);
1070 1.2 mrg
1071 1.1 mrg /**
1072 1.2 mrg *
1073 1.1 mrg * @param c The connection
1074 1.1 mrg * @return A cookie
1075 1.1 mrg *
1076 1.1 mrg * Delivers a request to the X server.
1077 1.1 mrg *
1078 1.1 mrg */
1079 1.1 mrg
1080 1.1 mrg /*****************************************************************************
1081 1.1 mrg **
1082 1.1 mrg ** xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture
1083 1.1 mrg **
1084 1.1 mrg ** @param xcb_connection_t *c
1085 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1086 1.1 mrg ** @param xcb_xvmc_context_t context
1087 1.1 mrg ** @param uint32_t xvimage_id
1088 1.1 mrg ** @param uint16_t width
1089 1.1 mrg ** @param uint16_t height
1090 1.1 mrg ** @returns xcb_xvmc_create_subpicture_cookie_t
1091 1.1 mrg **
1092 1.1 mrg *****************************************************************************/
1093 1.1 mrg
1094 1.1 mrg xcb_xvmc_create_subpicture_cookie_t
1095 1.1 mrg xcb_xvmc_create_subpicture (xcb_connection_t *c /**< */,
1096 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */,
1097 1.1 mrg xcb_xvmc_context_t context /**< */,
1098 1.1 mrg uint32_t xvimage_id /**< */,
1099 1.1 mrg uint16_t width /**< */,
1100 1.1 mrg uint16_t height /**< */);
1101 1.1 mrg
1102 1.1 mrg /**
1103 1.2 mrg *
1104 1.1 mrg * @param c The connection
1105 1.1 mrg * @return A cookie
1106 1.1 mrg *
1107 1.1 mrg * Delivers a request to the X server.
1108 1.1 mrg *
1109 1.1 mrg * This form can be used only if the request will cause
1110 1.1 mrg * a reply to be generated. Any returned error will be
1111 1.1 mrg * placed in the event queue.
1112 1.1 mrg */
1113 1.1 mrg
1114 1.1 mrg /*****************************************************************************
1115 1.1 mrg **
1116 1.1 mrg ** xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture_unchecked
1117 1.1 mrg **
1118 1.1 mrg ** @param xcb_connection_t *c
1119 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1120 1.1 mrg ** @param xcb_xvmc_context_t context
1121 1.1 mrg ** @param uint32_t xvimage_id
1122 1.1 mrg ** @param uint16_t width
1123 1.1 mrg ** @param uint16_t height
1124 1.1 mrg ** @returns xcb_xvmc_create_subpicture_cookie_t
1125 1.1 mrg **
1126 1.1 mrg *****************************************************************************/
1127 1.1 mrg
1128 1.1 mrg xcb_xvmc_create_subpicture_cookie_t
1129 1.1 mrg xcb_xvmc_create_subpicture_unchecked (xcb_connection_t *c /**< */,
1130 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */,
1131 1.1 mrg xcb_xvmc_context_t context /**< */,
1132 1.1 mrg uint32_t xvimage_id /**< */,
1133 1.1 mrg uint16_t width /**< */,
1134 1.1 mrg uint16_t height /**< */);
1135 1.1 mrg
1136 1.1 mrg
1137 1.1 mrg /*****************************************************************************
1138 1.1 mrg **
1139 1.1 mrg ** uint32_t * xcb_xvmc_create_subpicture_priv_data
1140 1.1 mrg **
1141 1.1 mrg ** @param const xcb_xvmc_create_subpicture_reply_t *R
1142 1.1 mrg ** @returns uint32_t *
1143 1.1 mrg **
1144 1.1 mrg *****************************************************************************/
1145 1.1 mrg
1146 1.1 mrg uint32_t *
1147 1.1 mrg xcb_xvmc_create_subpicture_priv_data (const xcb_xvmc_create_subpicture_reply_t *R /**< */);
1148 1.1 mrg
1149 1.1 mrg
1150 1.1 mrg /*****************************************************************************
1151 1.1 mrg **
1152 1.1 mrg ** int xcb_xvmc_create_subpicture_priv_data_length
1153 1.1 mrg **
1154 1.1 mrg ** @param const xcb_xvmc_create_subpicture_reply_t *R
1155 1.1 mrg ** @returns int
1156 1.1 mrg **
1157 1.1 mrg *****************************************************************************/
1158 1.1 mrg
1159 1.1 mrg int
1160 1.1 mrg xcb_xvmc_create_subpicture_priv_data_length (const xcb_xvmc_create_subpicture_reply_t *R /**< */);
1161 1.1 mrg
1162 1.1 mrg
1163 1.1 mrg /*****************************************************************************
1164 1.1 mrg **
1165 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_create_subpicture_priv_data_end
1166 1.1 mrg **
1167 1.1 mrg ** @param const xcb_xvmc_create_subpicture_reply_t *R
1168 1.1 mrg ** @returns xcb_generic_iterator_t
1169 1.1 mrg **
1170 1.1 mrg *****************************************************************************/
1171 1.1 mrg
1172 1.1 mrg xcb_generic_iterator_t
1173 1.1 mrg xcb_xvmc_create_subpicture_priv_data_end (const xcb_xvmc_create_subpicture_reply_t *R /**< */);
1174 1.1 mrg
1175 1.1 mrg /**
1176 1.1 mrg * Return the reply
1177 1.1 mrg * @param c The connection
1178 1.1 mrg * @param cookie The cookie
1179 1.1 mrg * @param e The xcb_generic_error_t supplied
1180 1.1 mrg *
1181 1.1 mrg * Returns the reply of the request asked by
1182 1.1 mrg *
1183 1.1 mrg * The parameter @p e supplied to this function must be NULL if
1184 1.1 mrg * xcb_xvmc_create_subpicture_unchecked(). is used.
1185 1.1 mrg * Otherwise, it stores the error if any.
1186 1.1 mrg *
1187 1.1 mrg * The returned value must be freed by the caller using free().
1188 1.1 mrg */
1189 1.1 mrg
1190 1.1 mrg /*****************************************************************************
1191 1.1 mrg **
1192 1.1 mrg ** xcb_xvmc_create_subpicture_reply_t * xcb_xvmc_create_subpicture_reply
1193 1.1 mrg **
1194 1.1 mrg ** @param xcb_connection_t *c
1195 1.1 mrg ** @param xcb_xvmc_create_subpicture_cookie_t cookie
1196 1.1 mrg ** @param xcb_generic_error_t **e
1197 1.1 mrg ** @returns xcb_xvmc_create_subpicture_reply_t *
1198 1.1 mrg **
1199 1.1 mrg *****************************************************************************/
1200 1.1 mrg
1201 1.1 mrg xcb_xvmc_create_subpicture_reply_t *
1202 1.1 mrg xcb_xvmc_create_subpicture_reply (xcb_connection_t *c /**< */,
1203 1.1 mrg xcb_xvmc_create_subpicture_cookie_t cookie /**< */,
1204 1.1 mrg xcb_generic_error_t **e /**< */);
1205 1.1 mrg
1206 1.1 mrg /**
1207 1.2 mrg *
1208 1.1 mrg * @param c The connection
1209 1.1 mrg * @return A cookie
1210 1.1 mrg *
1211 1.1 mrg * Delivers a request to the X server.
1212 1.1 mrg *
1213 1.1 mrg * This form can be used only if the request will not cause
1214 1.1 mrg * a reply to be generated. Any returned error will be
1215 1.1 mrg * saved for handling by xcb_request_check().
1216 1.1 mrg */
1217 1.1 mrg
1218 1.1 mrg /*****************************************************************************
1219 1.1 mrg **
1220 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_subpicture_checked
1221 1.1 mrg **
1222 1.1 mrg ** @param xcb_connection_t *c
1223 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1224 1.1 mrg ** @returns xcb_void_cookie_t
1225 1.1 mrg **
1226 1.1 mrg *****************************************************************************/
1227 1.1 mrg
1228 1.1 mrg xcb_void_cookie_t
1229 1.1 mrg xcb_xvmc_destroy_subpicture_checked (xcb_connection_t *c /**< */,
1230 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */);
1231 1.1 mrg
1232 1.1 mrg /**
1233 1.2 mrg *
1234 1.1 mrg * @param c The connection
1235 1.1 mrg * @return A cookie
1236 1.1 mrg *
1237 1.1 mrg * Delivers a request to the X server.
1238 1.1 mrg *
1239 1.1 mrg */
1240 1.1 mrg
1241 1.1 mrg /*****************************************************************************
1242 1.1 mrg **
1243 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_subpicture
1244 1.1 mrg **
1245 1.1 mrg ** @param xcb_connection_t *c
1246 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1247 1.1 mrg ** @returns xcb_void_cookie_t
1248 1.1 mrg **
1249 1.1 mrg *****************************************************************************/
1250 1.1 mrg
1251 1.1 mrg xcb_void_cookie_t
1252 1.1 mrg xcb_xvmc_destroy_subpicture (xcb_connection_t *c /**< */,
1253 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */);
1254 1.1 mrg
1255 1.2 mrg int
1256 1.2 mrg xcb_xvmc_list_subpicture_types_sizeof (const void *_buffer /**< */);
1257 1.2 mrg
1258 1.1 mrg /**
1259 1.2 mrg *
1260 1.1 mrg * @param c The connection
1261 1.1 mrg * @return A cookie
1262 1.1 mrg *
1263 1.1 mrg * Delivers a request to the X server.
1264 1.1 mrg *
1265 1.1 mrg */
1266 1.1 mrg
1267 1.1 mrg /*****************************************************************************
1268 1.1 mrg **
1269 1.1 mrg ** xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types
1270 1.1 mrg **
1271 1.1 mrg ** @param xcb_connection_t *c
1272 1.1 mrg ** @param xcb_xv_port_t port_id
1273 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1274 1.1 mrg ** @returns xcb_xvmc_list_subpicture_types_cookie_t
1275 1.1 mrg **
1276 1.1 mrg *****************************************************************************/
1277 1.1 mrg
1278 1.1 mrg xcb_xvmc_list_subpicture_types_cookie_t
1279 1.1 mrg xcb_xvmc_list_subpicture_types (xcb_connection_t *c /**< */,
1280 1.1 mrg xcb_xv_port_t port_id /**< */,
1281 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1282 1.1 mrg
1283 1.1 mrg /**
1284 1.2 mrg *
1285 1.1 mrg * @param c The connection
1286 1.1 mrg * @return A cookie
1287 1.1 mrg *
1288 1.1 mrg * Delivers a request to the X server.
1289 1.1 mrg *
1290 1.1 mrg * This form can be used only if the request will cause
1291 1.1 mrg * a reply to be generated. Any returned error will be
1292 1.1 mrg * placed in the event queue.
1293 1.1 mrg */
1294 1.1 mrg
1295 1.1 mrg /*****************************************************************************
1296 1.1 mrg **
1297 1.1 mrg ** xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types_unchecked
1298 1.1 mrg **
1299 1.1 mrg ** @param xcb_connection_t *c
1300 1.1 mrg ** @param xcb_xv_port_t port_id
1301 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1302 1.1 mrg ** @returns xcb_xvmc_list_subpicture_types_cookie_t
1303 1.1 mrg **
1304 1.1 mrg *****************************************************************************/
1305 1.1 mrg
1306 1.1 mrg xcb_xvmc_list_subpicture_types_cookie_t
1307 1.1 mrg xcb_xvmc_list_subpicture_types_unchecked (xcb_connection_t *c /**< */,
1308 1.1 mrg xcb_xv_port_t port_id /**< */,
1309 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1310 1.1 mrg
1311 1.1 mrg
1312 1.1 mrg /*****************************************************************************
1313 1.1 mrg **
1314 1.1 mrg ** xcb_xv_image_format_info_t * xcb_xvmc_list_subpicture_types_types
1315 1.1 mrg **
1316 1.1 mrg ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
1317 1.1 mrg ** @returns xcb_xv_image_format_info_t *
1318 1.1 mrg **
1319 1.1 mrg *****************************************************************************/
1320 1.1 mrg
1321 1.1 mrg xcb_xv_image_format_info_t *
1322 1.1 mrg xcb_xvmc_list_subpicture_types_types (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */);
1323 1.1 mrg
1324 1.1 mrg
1325 1.1 mrg /*****************************************************************************
1326 1.1 mrg **
1327 1.1 mrg ** int xcb_xvmc_list_subpicture_types_types_length
1328 1.1 mrg **
1329 1.1 mrg ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
1330 1.1 mrg ** @returns int
1331 1.1 mrg **
1332 1.1 mrg *****************************************************************************/
1333 1.1 mrg
1334 1.1 mrg int
1335 1.1 mrg xcb_xvmc_list_subpicture_types_types_length (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */);
1336 1.1 mrg
1337 1.1 mrg
1338 1.1 mrg /*****************************************************************************
1339 1.1 mrg **
1340 1.1 mrg ** xcb_xv_image_format_info_iterator_t xcb_xvmc_list_subpicture_types_types_iterator
1341 1.1 mrg **
1342 1.1 mrg ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
1343 1.1 mrg ** @returns xcb_xv_image_format_info_iterator_t
1344 1.1 mrg **
1345 1.1 mrg *****************************************************************************/
1346 1.1 mrg
1347 1.1 mrg xcb_xv_image_format_info_iterator_t
1348 1.1 mrg xcb_xvmc_list_subpicture_types_types_iterator (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */);
1349 1.1 mrg
1350 1.1 mrg /**
1351 1.1 mrg * Return the reply
1352 1.1 mrg * @param c The connection
1353 1.1 mrg * @param cookie The cookie
1354 1.1 mrg * @param e The xcb_generic_error_t supplied
1355 1.1 mrg *
1356 1.1 mrg * Returns the reply of the request asked by
1357 1.1 mrg *
1358 1.1 mrg * The parameter @p e supplied to this function must be NULL if
1359 1.1 mrg * xcb_xvmc_list_subpicture_types_unchecked(). is used.
1360 1.1 mrg * Otherwise, it stores the error if any.
1361 1.1 mrg *
1362 1.1 mrg * The returned value must be freed by the caller using free().
1363 1.1 mrg */
1364 1.1 mrg
1365 1.1 mrg /*****************************************************************************
1366 1.1 mrg **
1367 1.1 mrg ** xcb_xvmc_list_subpicture_types_reply_t * xcb_xvmc_list_subpicture_types_reply
1368 1.1 mrg **
1369 1.1 mrg ** @param xcb_connection_t *c
1370 1.1 mrg ** @param xcb_xvmc_list_subpicture_types_cookie_t cookie
1371 1.1 mrg ** @param xcb_generic_error_t **e
1372 1.1 mrg ** @returns xcb_xvmc_list_subpicture_types_reply_t *
1373 1.1 mrg **
1374 1.1 mrg *****************************************************************************/
1375 1.1 mrg
1376 1.1 mrg xcb_xvmc_list_subpicture_types_reply_t *
1377 1.1 mrg xcb_xvmc_list_subpicture_types_reply (xcb_connection_t *c /**< */,
1378 1.1 mrg xcb_xvmc_list_subpicture_types_cookie_t cookie /**< */,
1379 1.1 mrg xcb_generic_error_t **e /**< */);
1380 1.1 mrg
1381 1.1 mrg
1382 1.1 mrg #ifdef __cplusplus
1383 1.1 mrg }
1384 1.1 mrg #endif
1385 1.1 mrg
1386 1.1 mrg #endif
1387 1.1 mrg
1388 1.1 mrg /**
1389 1.1 mrg * @}
1390 1.1 mrg */
1391