xvmc.h revision 1.1 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.1 mrg * Delivers a request to the X server
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.1 mrg * Delivers a request to the X server
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.1 mrg /**
581 1.1 mrg * Delivers a request to the X server
582 1.1 mrg * @param c The connection
583 1.1 mrg * @return A cookie
584 1.1 mrg *
585 1.1 mrg * Delivers a request to the X server.
586 1.1 mrg *
587 1.1 mrg */
588 1.1 mrg
589 1.1 mrg /*****************************************************************************
590 1.1 mrg **
591 1.1 mrg ** xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types
592 1.1 mrg **
593 1.1 mrg ** @param xcb_connection_t *c
594 1.1 mrg ** @param xcb_xv_port_t port_id
595 1.1 mrg ** @returns xcb_xvmc_list_surface_types_cookie_t
596 1.1 mrg **
597 1.1 mrg *****************************************************************************/
598 1.1 mrg
599 1.1 mrg xcb_xvmc_list_surface_types_cookie_t
600 1.1 mrg xcb_xvmc_list_surface_types (xcb_connection_t *c /**< */,
601 1.1 mrg xcb_xv_port_t port_id /**< */);
602 1.1 mrg
603 1.1 mrg /**
604 1.1 mrg * Delivers a request to the X server
605 1.1 mrg * @param c The connection
606 1.1 mrg * @return A cookie
607 1.1 mrg *
608 1.1 mrg * Delivers a request to the X server.
609 1.1 mrg *
610 1.1 mrg * This form can be used only if the request will cause
611 1.1 mrg * a reply to be generated. Any returned error will be
612 1.1 mrg * placed in the event queue.
613 1.1 mrg */
614 1.1 mrg
615 1.1 mrg /*****************************************************************************
616 1.1 mrg **
617 1.1 mrg ** xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types_unchecked
618 1.1 mrg **
619 1.1 mrg ** @param xcb_connection_t *c
620 1.1 mrg ** @param xcb_xv_port_t port_id
621 1.1 mrg ** @returns xcb_xvmc_list_surface_types_cookie_t
622 1.1 mrg **
623 1.1 mrg *****************************************************************************/
624 1.1 mrg
625 1.1 mrg xcb_xvmc_list_surface_types_cookie_t
626 1.1 mrg xcb_xvmc_list_surface_types_unchecked (xcb_connection_t *c /**< */,
627 1.1 mrg xcb_xv_port_t port_id /**< */);
628 1.1 mrg
629 1.1 mrg
630 1.1 mrg /*****************************************************************************
631 1.1 mrg **
632 1.1 mrg ** xcb_xvmc_surface_info_t * xcb_xvmc_list_surface_types_surfaces
633 1.1 mrg **
634 1.1 mrg ** @param const xcb_xvmc_list_surface_types_reply_t *R
635 1.1 mrg ** @returns xcb_xvmc_surface_info_t *
636 1.1 mrg **
637 1.1 mrg *****************************************************************************/
638 1.1 mrg
639 1.1 mrg xcb_xvmc_surface_info_t *
640 1.1 mrg xcb_xvmc_list_surface_types_surfaces (const xcb_xvmc_list_surface_types_reply_t *R /**< */);
641 1.1 mrg
642 1.1 mrg
643 1.1 mrg /*****************************************************************************
644 1.1 mrg **
645 1.1 mrg ** int xcb_xvmc_list_surface_types_surfaces_length
646 1.1 mrg **
647 1.1 mrg ** @param const xcb_xvmc_list_surface_types_reply_t *R
648 1.1 mrg ** @returns int
649 1.1 mrg **
650 1.1 mrg *****************************************************************************/
651 1.1 mrg
652 1.1 mrg int
653 1.1 mrg xcb_xvmc_list_surface_types_surfaces_length (const xcb_xvmc_list_surface_types_reply_t *R /**< */);
654 1.1 mrg
655 1.1 mrg
656 1.1 mrg /*****************************************************************************
657 1.1 mrg **
658 1.1 mrg ** xcb_xvmc_surface_info_iterator_t xcb_xvmc_list_surface_types_surfaces_iterator
659 1.1 mrg **
660 1.1 mrg ** @param const xcb_xvmc_list_surface_types_reply_t *R
661 1.1 mrg ** @returns xcb_xvmc_surface_info_iterator_t
662 1.1 mrg **
663 1.1 mrg *****************************************************************************/
664 1.1 mrg
665 1.1 mrg xcb_xvmc_surface_info_iterator_t
666 1.1 mrg xcb_xvmc_list_surface_types_surfaces_iterator (const xcb_xvmc_list_surface_types_reply_t *R /**< */);
667 1.1 mrg
668 1.1 mrg /**
669 1.1 mrg * Return the reply
670 1.1 mrg * @param c The connection
671 1.1 mrg * @param cookie The cookie
672 1.1 mrg * @param e The xcb_generic_error_t supplied
673 1.1 mrg *
674 1.1 mrg * Returns the reply of the request asked by
675 1.1 mrg *
676 1.1 mrg * The parameter @p e supplied to this function must be NULL if
677 1.1 mrg * xcb_xvmc_list_surface_types_unchecked(). is used.
678 1.1 mrg * Otherwise, it stores the error if any.
679 1.1 mrg *
680 1.1 mrg * The returned value must be freed by the caller using free().
681 1.1 mrg */
682 1.1 mrg
683 1.1 mrg /*****************************************************************************
684 1.1 mrg **
685 1.1 mrg ** xcb_xvmc_list_surface_types_reply_t * xcb_xvmc_list_surface_types_reply
686 1.1 mrg **
687 1.1 mrg ** @param xcb_connection_t *c
688 1.1 mrg ** @param xcb_xvmc_list_surface_types_cookie_t cookie
689 1.1 mrg ** @param xcb_generic_error_t **e
690 1.1 mrg ** @returns xcb_xvmc_list_surface_types_reply_t *
691 1.1 mrg **
692 1.1 mrg *****************************************************************************/
693 1.1 mrg
694 1.1 mrg xcb_xvmc_list_surface_types_reply_t *
695 1.1 mrg xcb_xvmc_list_surface_types_reply (xcb_connection_t *c /**< */,
696 1.1 mrg xcb_xvmc_list_surface_types_cookie_t cookie /**< */,
697 1.1 mrg xcb_generic_error_t **e /**< */);
698 1.1 mrg
699 1.1 mrg /**
700 1.1 mrg * Delivers a request to the X server
701 1.1 mrg * @param c The connection
702 1.1 mrg * @return A cookie
703 1.1 mrg *
704 1.1 mrg * Delivers a request to the X server.
705 1.1 mrg *
706 1.1 mrg */
707 1.1 mrg
708 1.1 mrg /*****************************************************************************
709 1.1 mrg **
710 1.1 mrg ** xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context
711 1.1 mrg **
712 1.1 mrg ** @param xcb_connection_t *c
713 1.1 mrg ** @param xcb_xvmc_context_t context_id
714 1.1 mrg ** @param xcb_xv_port_t port_id
715 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
716 1.1 mrg ** @param uint16_t width
717 1.1 mrg ** @param uint16_t height
718 1.1 mrg ** @param uint32_t flags
719 1.1 mrg ** @returns xcb_xvmc_create_context_cookie_t
720 1.1 mrg **
721 1.1 mrg *****************************************************************************/
722 1.1 mrg
723 1.1 mrg xcb_xvmc_create_context_cookie_t
724 1.1 mrg xcb_xvmc_create_context (xcb_connection_t *c /**< */,
725 1.1 mrg xcb_xvmc_context_t context_id /**< */,
726 1.1 mrg xcb_xv_port_t port_id /**< */,
727 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
728 1.1 mrg uint16_t width /**< */,
729 1.1 mrg uint16_t height /**< */,
730 1.1 mrg uint32_t flags /**< */);
731 1.1 mrg
732 1.1 mrg /**
733 1.1 mrg * Delivers a request to the X server
734 1.1 mrg * @param c The connection
735 1.1 mrg * @return A cookie
736 1.1 mrg *
737 1.1 mrg * Delivers a request to the X server.
738 1.1 mrg *
739 1.1 mrg * This form can be used only if the request will cause
740 1.1 mrg * a reply to be generated. Any returned error will be
741 1.1 mrg * placed in the event queue.
742 1.1 mrg */
743 1.1 mrg
744 1.1 mrg /*****************************************************************************
745 1.1 mrg **
746 1.1 mrg ** xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context_unchecked
747 1.1 mrg **
748 1.1 mrg ** @param xcb_connection_t *c
749 1.1 mrg ** @param xcb_xvmc_context_t context_id
750 1.1 mrg ** @param xcb_xv_port_t port_id
751 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
752 1.1 mrg ** @param uint16_t width
753 1.1 mrg ** @param uint16_t height
754 1.1 mrg ** @param uint32_t flags
755 1.1 mrg ** @returns xcb_xvmc_create_context_cookie_t
756 1.1 mrg **
757 1.1 mrg *****************************************************************************/
758 1.1 mrg
759 1.1 mrg xcb_xvmc_create_context_cookie_t
760 1.1 mrg xcb_xvmc_create_context_unchecked (xcb_connection_t *c /**< */,
761 1.1 mrg xcb_xvmc_context_t context_id /**< */,
762 1.1 mrg xcb_xv_port_t port_id /**< */,
763 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
764 1.1 mrg uint16_t width /**< */,
765 1.1 mrg uint16_t height /**< */,
766 1.1 mrg uint32_t flags /**< */);
767 1.1 mrg
768 1.1 mrg
769 1.1 mrg /*****************************************************************************
770 1.1 mrg **
771 1.1 mrg ** uint32_t * xcb_xvmc_create_context_priv_data
772 1.1 mrg **
773 1.1 mrg ** @param const xcb_xvmc_create_context_reply_t *R
774 1.1 mrg ** @returns uint32_t *
775 1.1 mrg **
776 1.1 mrg *****************************************************************************/
777 1.1 mrg
778 1.1 mrg uint32_t *
779 1.1 mrg xcb_xvmc_create_context_priv_data (const xcb_xvmc_create_context_reply_t *R /**< */);
780 1.1 mrg
781 1.1 mrg
782 1.1 mrg /*****************************************************************************
783 1.1 mrg **
784 1.1 mrg ** int xcb_xvmc_create_context_priv_data_length
785 1.1 mrg **
786 1.1 mrg ** @param const xcb_xvmc_create_context_reply_t *R
787 1.1 mrg ** @returns int
788 1.1 mrg **
789 1.1 mrg *****************************************************************************/
790 1.1 mrg
791 1.1 mrg int
792 1.1 mrg xcb_xvmc_create_context_priv_data_length (const xcb_xvmc_create_context_reply_t *R /**< */);
793 1.1 mrg
794 1.1 mrg
795 1.1 mrg /*****************************************************************************
796 1.1 mrg **
797 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_create_context_priv_data_end
798 1.1 mrg **
799 1.1 mrg ** @param const xcb_xvmc_create_context_reply_t *R
800 1.1 mrg ** @returns xcb_generic_iterator_t
801 1.1 mrg **
802 1.1 mrg *****************************************************************************/
803 1.1 mrg
804 1.1 mrg xcb_generic_iterator_t
805 1.1 mrg xcb_xvmc_create_context_priv_data_end (const xcb_xvmc_create_context_reply_t *R /**< */);
806 1.1 mrg
807 1.1 mrg /**
808 1.1 mrg * Return the reply
809 1.1 mrg * @param c The connection
810 1.1 mrg * @param cookie The cookie
811 1.1 mrg * @param e The xcb_generic_error_t supplied
812 1.1 mrg *
813 1.1 mrg * Returns the reply of the request asked by
814 1.1 mrg *
815 1.1 mrg * The parameter @p e supplied to this function must be NULL if
816 1.1 mrg * xcb_xvmc_create_context_unchecked(). is used.
817 1.1 mrg * Otherwise, it stores the error if any.
818 1.1 mrg *
819 1.1 mrg * The returned value must be freed by the caller using free().
820 1.1 mrg */
821 1.1 mrg
822 1.1 mrg /*****************************************************************************
823 1.1 mrg **
824 1.1 mrg ** xcb_xvmc_create_context_reply_t * xcb_xvmc_create_context_reply
825 1.1 mrg **
826 1.1 mrg ** @param xcb_connection_t *c
827 1.1 mrg ** @param xcb_xvmc_create_context_cookie_t cookie
828 1.1 mrg ** @param xcb_generic_error_t **e
829 1.1 mrg ** @returns xcb_xvmc_create_context_reply_t *
830 1.1 mrg **
831 1.1 mrg *****************************************************************************/
832 1.1 mrg
833 1.1 mrg xcb_xvmc_create_context_reply_t *
834 1.1 mrg xcb_xvmc_create_context_reply (xcb_connection_t *c /**< */,
835 1.1 mrg xcb_xvmc_create_context_cookie_t cookie /**< */,
836 1.1 mrg xcb_generic_error_t **e /**< */);
837 1.1 mrg
838 1.1 mrg /**
839 1.1 mrg * Delivers a request to the X server
840 1.1 mrg * @param c The connection
841 1.1 mrg * @return A cookie
842 1.1 mrg *
843 1.1 mrg * Delivers a request to the X server.
844 1.1 mrg *
845 1.1 mrg * This form can be used only if the request will not cause
846 1.1 mrg * a reply to be generated. Any returned error will be
847 1.1 mrg * saved for handling by xcb_request_check().
848 1.1 mrg */
849 1.1 mrg
850 1.1 mrg /*****************************************************************************
851 1.1 mrg **
852 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_context_checked
853 1.1 mrg **
854 1.1 mrg ** @param xcb_connection_t *c
855 1.1 mrg ** @param xcb_xvmc_context_t context_id
856 1.1 mrg ** @returns xcb_void_cookie_t
857 1.1 mrg **
858 1.1 mrg *****************************************************************************/
859 1.1 mrg
860 1.1 mrg xcb_void_cookie_t
861 1.1 mrg xcb_xvmc_destroy_context_checked (xcb_connection_t *c /**< */,
862 1.1 mrg xcb_xvmc_context_t context_id /**< */);
863 1.1 mrg
864 1.1 mrg /**
865 1.1 mrg * Delivers a request to the X server
866 1.1 mrg * @param c The connection
867 1.1 mrg * @return A cookie
868 1.1 mrg *
869 1.1 mrg * Delivers a request to the X server.
870 1.1 mrg *
871 1.1 mrg */
872 1.1 mrg
873 1.1 mrg /*****************************************************************************
874 1.1 mrg **
875 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_context
876 1.1 mrg **
877 1.1 mrg ** @param xcb_connection_t *c
878 1.1 mrg ** @param xcb_xvmc_context_t context_id
879 1.1 mrg ** @returns xcb_void_cookie_t
880 1.1 mrg **
881 1.1 mrg *****************************************************************************/
882 1.1 mrg
883 1.1 mrg xcb_void_cookie_t
884 1.1 mrg xcb_xvmc_destroy_context (xcb_connection_t *c /**< */,
885 1.1 mrg xcb_xvmc_context_t context_id /**< */);
886 1.1 mrg
887 1.1 mrg /**
888 1.1 mrg * Delivers a request to the X server
889 1.1 mrg * @param c The connection
890 1.1 mrg * @return A cookie
891 1.1 mrg *
892 1.1 mrg * Delivers a request to the X server.
893 1.1 mrg *
894 1.1 mrg */
895 1.1 mrg
896 1.1 mrg /*****************************************************************************
897 1.1 mrg **
898 1.1 mrg ** xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface
899 1.1 mrg **
900 1.1 mrg ** @param xcb_connection_t *c
901 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
902 1.1 mrg ** @param xcb_xvmc_context_t context_id
903 1.1 mrg ** @returns xcb_xvmc_create_surface_cookie_t
904 1.1 mrg **
905 1.1 mrg *****************************************************************************/
906 1.1 mrg
907 1.1 mrg xcb_xvmc_create_surface_cookie_t
908 1.1 mrg xcb_xvmc_create_surface (xcb_connection_t *c /**< */,
909 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
910 1.1 mrg xcb_xvmc_context_t context_id /**< */);
911 1.1 mrg
912 1.1 mrg /**
913 1.1 mrg * Delivers a request to the X server
914 1.1 mrg * @param c The connection
915 1.1 mrg * @return A cookie
916 1.1 mrg *
917 1.1 mrg * Delivers a request to the X server.
918 1.1 mrg *
919 1.1 mrg * This form can be used only if the request will cause
920 1.1 mrg * a reply to be generated. Any returned error will be
921 1.1 mrg * placed in the event queue.
922 1.1 mrg */
923 1.1 mrg
924 1.1 mrg /*****************************************************************************
925 1.1 mrg **
926 1.1 mrg ** xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface_unchecked
927 1.1 mrg **
928 1.1 mrg ** @param xcb_connection_t *c
929 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
930 1.1 mrg ** @param xcb_xvmc_context_t context_id
931 1.1 mrg ** @returns xcb_xvmc_create_surface_cookie_t
932 1.1 mrg **
933 1.1 mrg *****************************************************************************/
934 1.1 mrg
935 1.1 mrg xcb_xvmc_create_surface_cookie_t
936 1.1 mrg xcb_xvmc_create_surface_unchecked (xcb_connection_t *c /**< */,
937 1.1 mrg xcb_xvmc_surface_t surface_id /**< */,
938 1.1 mrg xcb_xvmc_context_t context_id /**< */);
939 1.1 mrg
940 1.1 mrg
941 1.1 mrg /*****************************************************************************
942 1.1 mrg **
943 1.1 mrg ** uint32_t * xcb_xvmc_create_surface_priv_data
944 1.1 mrg **
945 1.1 mrg ** @param const xcb_xvmc_create_surface_reply_t *R
946 1.1 mrg ** @returns uint32_t *
947 1.1 mrg **
948 1.1 mrg *****************************************************************************/
949 1.1 mrg
950 1.1 mrg uint32_t *
951 1.1 mrg xcb_xvmc_create_surface_priv_data (const xcb_xvmc_create_surface_reply_t *R /**< */);
952 1.1 mrg
953 1.1 mrg
954 1.1 mrg /*****************************************************************************
955 1.1 mrg **
956 1.1 mrg ** int xcb_xvmc_create_surface_priv_data_length
957 1.1 mrg **
958 1.1 mrg ** @param const xcb_xvmc_create_surface_reply_t *R
959 1.1 mrg ** @returns int
960 1.1 mrg **
961 1.1 mrg *****************************************************************************/
962 1.1 mrg
963 1.1 mrg int
964 1.1 mrg xcb_xvmc_create_surface_priv_data_length (const xcb_xvmc_create_surface_reply_t *R /**< */);
965 1.1 mrg
966 1.1 mrg
967 1.1 mrg /*****************************************************************************
968 1.1 mrg **
969 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_create_surface_priv_data_end
970 1.1 mrg **
971 1.1 mrg ** @param const xcb_xvmc_create_surface_reply_t *R
972 1.1 mrg ** @returns xcb_generic_iterator_t
973 1.1 mrg **
974 1.1 mrg *****************************************************************************/
975 1.1 mrg
976 1.1 mrg xcb_generic_iterator_t
977 1.1 mrg xcb_xvmc_create_surface_priv_data_end (const xcb_xvmc_create_surface_reply_t *R /**< */);
978 1.1 mrg
979 1.1 mrg /**
980 1.1 mrg * Return the reply
981 1.1 mrg * @param c The connection
982 1.1 mrg * @param cookie The cookie
983 1.1 mrg * @param e The xcb_generic_error_t supplied
984 1.1 mrg *
985 1.1 mrg * Returns the reply of the request asked by
986 1.1 mrg *
987 1.1 mrg * The parameter @p e supplied to this function must be NULL if
988 1.1 mrg * xcb_xvmc_create_surface_unchecked(). is used.
989 1.1 mrg * Otherwise, it stores the error if any.
990 1.1 mrg *
991 1.1 mrg * The returned value must be freed by the caller using free().
992 1.1 mrg */
993 1.1 mrg
994 1.1 mrg /*****************************************************************************
995 1.1 mrg **
996 1.1 mrg ** xcb_xvmc_create_surface_reply_t * xcb_xvmc_create_surface_reply
997 1.1 mrg **
998 1.1 mrg ** @param xcb_connection_t *c
999 1.1 mrg ** @param xcb_xvmc_create_surface_cookie_t cookie
1000 1.1 mrg ** @param xcb_generic_error_t **e
1001 1.1 mrg ** @returns xcb_xvmc_create_surface_reply_t *
1002 1.1 mrg **
1003 1.1 mrg *****************************************************************************/
1004 1.1 mrg
1005 1.1 mrg xcb_xvmc_create_surface_reply_t *
1006 1.1 mrg xcb_xvmc_create_surface_reply (xcb_connection_t *c /**< */,
1007 1.1 mrg xcb_xvmc_create_surface_cookie_t cookie /**< */,
1008 1.1 mrg xcb_generic_error_t **e /**< */);
1009 1.1 mrg
1010 1.1 mrg /**
1011 1.1 mrg * Delivers a request to the X server
1012 1.1 mrg * @param c The connection
1013 1.1 mrg * @return A cookie
1014 1.1 mrg *
1015 1.1 mrg * Delivers a request to the X server.
1016 1.1 mrg *
1017 1.1 mrg * This form can be used only if the request will not cause
1018 1.1 mrg * a reply to be generated. Any returned error will be
1019 1.1 mrg * saved for handling by xcb_request_check().
1020 1.1 mrg */
1021 1.1 mrg
1022 1.1 mrg /*****************************************************************************
1023 1.1 mrg **
1024 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_surface_checked
1025 1.1 mrg **
1026 1.1 mrg ** @param xcb_connection_t *c
1027 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1028 1.1 mrg ** @returns xcb_void_cookie_t
1029 1.1 mrg **
1030 1.1 mrg *****************************************************************************/
1031 1.1 mrg
1032 1.1 mrg xcb_void_cookie_t
1033 1.1 mrg xcb_xvmc_destroy_surface_checked (xcb_connection_t *c /**< */,
1034 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1035 1.1 mrg
1036 1.1 mrg /**
1037 1.1 mrg * Delivers a request to the X server
1038 1.1 mrg * @param c The connection
1039 1.1 mrg * @return A cookie
1040 1.1 mrg *
1041 1.1 mrg * Delivers a request to the X server.
1042 1.1 mrg *
1043 1.1 mrg */
1044 1.1 mrg
1045 1.1 mrg /*****************************************************************************
1046 1.1 mrg **
1047 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_surface
1048 1.1 mrg **
1049 1.1 mrg ** @param xcb_connection_t *c
1050 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1051 1.1 mrg ** @returns xcb_void_cookie_t
1052 1.1 mrg **
1053 1.1 mrg *****************************************************************************/
1054 1.1 mrg
1055 1.1 mrg xcb_void_cookie_t
1056 1.1 mrg xcb_xvmc_destroy_surface (xcb_connection_t *c /**< */,
1057 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1058 1.1 mrg
1059 1.1 mrg /**
1060 1.1 mrg * Delivers a request to the X server
1061 1.1 mrg * @param c The connection
1062 1.1 mrg * @return A cookie
1063 1.1 mrg *
1064 1.1 mrg * Delivers a request to the X server.
1065 1.1 mrg *
1066 1.1 mrg */
1067 1.1 mrg
1068 1.1 mrg /*****************************************************************************
1069 1.1 mrg **
1070 1.1 mrg ** xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture
1071 1.1 mrg **
1072 1.1 mrg ** @param xcb_connection_t *c
1073 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1074 1.1 mrg ** @param xcb_xvmc_context_t context
1075 1.1 mrg ** @param uint32_t xvimage_id
1076 1.1 mrg ** @param uint16_t width
1077 1.1 mrg ** @param uint16_t height
1078 1.1 mrg ** @returns xcb_xvmc_create_subpicture_cookie_t
1079 1.1 mrg **
1080 1.1 mrg *****************************************************************************/
1081 1.1 mrg
1082 1.1 mrg xcb_xvmc_create_subpicture_cookie_t
1083 1.1 mrg xcb_xvmc_create_subpicture (xcb_connection_t *c /**< */,
1084 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */,
1085 1.1 mrg xcb_xvmc_context_t context /**< */,
1086 1.1 mrg uint32_t xvimage_id /**< */,
1087 1.1 mrg uint16_t width /**< */,
1088 1.1 mrg uint16_t height /**< */);
1089 1.1 mrg
1090 1.1 mrg /**
1091 1.1 mrg * Delivers a request to the X server
1092 1.1 mrg * @param c The connection
1093 1.1 mrg * @return A cookie
1094 1.1 mrg *
1095 1.1 mrg * Delivers a request to the X server.
1096 1.1 mrg *
1097 1.1 mrg * This form can be used only if the request will cause
1098 1.1 mrg * a reply to be generated. Any returned error will be
1099 1.1 mrg * placed in the event queue.
1100 1.1 mrg */
1101 1.1 mrg
1102 1.1 mrg /*****************************************************************************
1103 1.1 mrg **
1104 1.1 mrg ** xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture_unchecked
1105 1.1 mrg **
1106 1.1 mrg ** @param xcb_connection_t *c
1107 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1108 1.1 mrg ** @param xcb_xvmc_context_t context
1109 1.1 mrg ** @param uint32_t xvimage_id
1110 1.1 mrg ** @param uint16_t width
1111 1.1 mrg ** @param uint16_t height
1112 1.1 mrg ** @returns xcb_xvmc_create_subpicture_cookie_t
1113 1.1 mrg **
1114 1.1 mrg *****************************************************************************/
1115 1.1 mrg
1116 1.1 mrg xcb_xvmc_create_subpicture_cookie_t
1117 1.1 mrg xcb_xvmc_create_subpicture_unchecked (xcb_connection_t *c /**< */,
1118 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */,
1119 1.1 mrg xcb_xvmc_context_t context /**< */,
1120 1.1 mrg uint32_t xvimage_id /**< */,
1121 1.1 mrg uint16_t width /**< */,
1122 1.1 mrg uint16_t height /**< */);
1123 1.1 mrg
1124 1.1 mrg
1125 1.1 mrg /*****************************************************************************
1126 1.1 mrg **
1127 1.1 mrg ** uint32_t * xcb_xvmc_create_subpicture_priv_data
1128 1.1 mrg **
1129 1.1 mrg ** @param const xcb_xvmc_create_subpicture_reply_t *R
1130 1.1 mrg ** @returns uint32_t *
1131 1.1 mrg **
1132 1.1 mrg *****************************************************************************/
1133 1.1 mrg
1134 1.1 mrg uint32_t *
1135 1.1 mrg xcb_xvmc_create_subpicture_priv_data (const xcb_xvmc_create_subpicture_reply_t *R /**< */);
1136 1.1 mrg
1137 1.1 mrg
1138 1.1 mrg /*****************************************************************************
1139 1.1 mrg **
1140 1.1 mrg ** int xcb_xvmc_create_subpicture_priv_data_length
1141 1.1 mrg **
1142 1.1 mrg ** @param const xcb_xvmc_create_subpicture_reply_t *R
1143 1.1 mrg ** @returns int
1144 1.1 mrg **
1145 1.1 mrg *****************************************************************************/
1146 1.1 mrg
1147 1.1 mrg int
1148 1.1 mrg xcb_xvmc_create_subpicture_priv_data_length (const xcb_xvmc_create_subpicture_reply_t *R /**< */);
1149 1.1 mrg
1150 1.1 mrg
1151 1.1 mrg /*****************************************************************************
1152 1.1 mrg **
1153 1.1 mrg ** xcb_generic_iterator_t xcb_xvmc_create_subpicture_priv_data_end
1154 1.1 mrg **
1155 1.1 mrg ** @param const xcb_xvmc_create_subpicture_reply_t *R
1156 1.1 mrg ** @returns xcb_generic_iterator_t
1157 1.1 mrg **
1158 1.1 mrg *****************************************************************************/
1159 1.1 mrg
1160 1.1 mrg xcb_generic_iterator_t
1161 1.1 mrg xcb_xvmc_create_subpicture_priv_data_end (const xcb_xvmc_create_subpicture_reply_t *R /**< */);
1162 1.1 mrg
1163 1.1 mrg /**
1164 1.1 mrg * Return the reply
1165 1.1 mrg * @param c The connection
1166 1.1 mrg * @param cookie The cookie
1167 1.1 mrg * @param e The xcb_generic_error_t supplied
1168 1.1 mrg *
1169 1.1 mrg * Returns the reply of the request asked by
1170 1.1 mrg *
1171 1.1 mrg * The parameter @p e supplied to this function must be NULL if
1172 1.1 mrg * xcb_xvmc_create_subpicture_unchecked(). is used.
1173 1.1 mrg * Otherwise, it stores the error if any.
1174 1.1 mrg *
1175 1.1 mrg * The returned value must be freed by the caller using free().
1176 1.1 mrg */
1177 1.1 mrg
1178 1.1 mrg /*****************************************************************************
1179 1.1 mrg **
1180 1.1 mrg ** xcb_xvmc_create_subpicture_reply_t * xcb_xvmc_create_subpicture_reply
1181 1.1 mrg **
1182 1.1 mrg ** @param xcb_connection_t *c
1183 1.1 mrg ** @param xcb_xvmc_create_subpicture_cookie_t cookie
1184 1.1 mrg ** @param xcb_generic_error_t **e
1185 1.1 mrg ** @returns xcb_xvmc_create_subpicture_reply_t *
1186 1.1 mrg **
1187 1.1 mrg *****************************************************************************/
1188 1.1 mrg
1189 1.1 mrg xcb_xvmc_create_subpicture_reply_t *
1190 1.1 mrg xcb_xvmc_create_subpicture_reply (xcb_connection_t *c /**< */,
1191 1.1 mrg xcb_xvmc_create_subpicture_cookie_t cookie /**< */,
1192 1.1 mrg xcb_generic_error_t **e /**< */);
1193 1.1 mrg
1194 1.1 mrg /**
1195 1.1 mrg * Delivers a request to the X server
1196 1.1 mrg * @param c The connection
1197 1.1 mrg * @return A cookie
1198 1.1 mrg *
1199 1.1 mrg * Delivers a request to the X server.
1200 1.1 mrg *
1201 1.1 mrg * This form can be used only if the request will not cause
1202 1.1 mrg * a reply to be generated. Any returned error will be
1203 1.1 mrg * saved for handling by xcb_request_check().
1204 1.1 mrg */
1205 1.1 mrg
1206 1.1 mrg /*****************************************************************************
1207 1.1 mrg **
1208 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_subpicture_checked
1209 1.1 mrg **
1210 1.1 mrg ** @param xcb_connection_t *c
1211 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1212 1.1 mrg ** @returns xcb_void_cookie_t
1213 1.1 mrg **
1214 1.1 mrg *****************************************************************************/
1215 1.1 mrg
1216 1.1 mrg xcb_void_cookie_t
1217 1.1 mrg xcb_xvmc_destroy_subpicture_checked (xcb_connection_t *c /**< */,
1218 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */);
1219 1.1 mrg
1220 1.1 mrg /**
1221 1.1 mrg * Delivers a request to the X server
1222 1.1 mrg * @param c The connection
1223 1.1 mrg * @return A cookie
1224 1.1 mrg *
1225 1.1 mrg * Delivers a request to the X server.
1226 1.1 mrg *
1227 1.1 mrg */
1228 1.1 mrg
1229 1.1 mrg /*****************************************************************************
1230 1.1 mrg **
1231 1.1 mrg ** xcb_void_cookie_t xcb_xvmc_destroy_subpicture
1232 1.1 mrg **
1233 1.1 mrg ** @param xcb_connection_t *c
1234 1.1 mrg ** @param xcb_xvmc_subpicture_t subpicture_id
1235 1.1 mrg ** @returns xcb_void_cookie_t
1236 1.1 mrg **
1237 1.1 mrg *****************************************************************************/
1238 1.1 mrg
1239 1.1 mrg xcb_void_cookie_t
1240 1.1 mrg xcb_xvmc_destroy_subpicture (xcb_connection_t *c /**< */,
1241 1.1 mrg xcb_xvmc_subpicture_t subpicture_id /**< */);
1242 1.1 mrg
1243 1.1 mrg /**
1244 1.1 mrg * Delivers a request to the X server
1245 1.1 mrg * @param c The connection
1246 1.1 mrg * @return A cookie
1247 1.1 mrg *
1248 1.1 mrg * Delivers a request to the X server.
1249 1.1 mrg *
1250 1.1 mrg */
1251 1.1 mrg
1252 1.1 mrg /*****************************************************************************
1253 1.1 mrg **
1254 1.1 mrg ** xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types
1255 1.1 mrg **
1256 1.1 mrg ** @param xcb_connection_t *c
1257 1.1 mrg ** @param xcb_xv_port_t port_id
1258 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1259 1.1 mrg ** @returns xcb_xvmc_list_subpicture_types_cookie_t
1260 1.1 mrg **
1261 1.1 mrg *****************************************************************************/
1262 1.1 mrg
1263 1.1 mrg xcb_xvmc_list_subpicture_types_cookie_t
1264 1.1 mrg xcb_xvmc_list_subpicture_types (xcb_connection_t *c /**< */,
1265 1.1 mrg xcb_xv_port_t port_id /**< */,
1266 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1267 1.1 mrg
1268 1.1 mrg /**
1269 1.1 mrg * Delivers a request to the X server
1270 1.1 mrg * @param c The connection
1271 1.1 mrg * @return A cookie
1272 1.1 mrg *
1273 1.1 mrg * Delivers a request to the X server.
1274 1.1 mrg *
1275 1.1 mrg * This form can be used only if the request will cause
1276 1.1 mrg * a reply to be generated. Any returned error will be
1277 1.1 mrg * placed in the event queue.
1278 1.1 mrg */
1279 1.1 mrg
1280 1.1 mrg /*****************************************************************************
1281 1.1 mrg **
1282 1.1 mrg ** xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types_unchecked
1283 1.1 mrg **
1284 1.1 mrg ** @param xcb_connection_t *c
1285 1.1 mrg ** @param xcb_xv_port_t port_id
1286 1.1 mrg ** @param xcb_xvmc_surface_t surface_id
1287 1.1 mrg ** @returns xcb_xvmc_list_subpicture_types_cookie_t
1288 1.1 mrg **
1289 1.1 mrg *****************************************************************************/
1290 1.1 mrg
1291 1.1 mrg xcb_xvmc_list_subpicture_types_cookie_t
1292 1.1 mrg xcb_xvmc_list_subpicture_types_unchecked (xcb_connection_t *c /**< */,
1293 1.1 mrg xcb_xv_port_t port_id /**< */,
1294 1.1 mrg xcb_xvmc_surface_t surface_id /**< */);
1295 1.1 mrg
1296 1.1 mrg
1297 1.1 mrg /*****************************************************************************
1298 1.1 mrg **
1299 1.1 mrg ** xcb_xv_image_format_info_t * xcb_xvmc_list_subpicture_types_types
1300 1.1 mrg **
1301 1.1 mrg ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
1302 1.1 mrg ** @returns xcb_xv_image_format_info_t *
1303 1.1 mrg **
1304 1.1 mrg *****************************************************************************/
1305 1.1 mrg
1306 1.1 mrg xcb_xv_image_format_info_t *
1307 1.1 mrg xcb_xvmc_list_subpicture_types_types (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */);
1308 1.1 mrg
1309 1.1 mrg
1310 1.1 mrg /*****************************************************************************
1311 1.1 mrg **
1312 1.1 mrg ** int xcb_xvmc_list_subpicture_types_types_length
1313 1.1 mrg **
1314 1.1 mrg ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
1315 1.1 mrg ** @returns int
1316 1.1 mrg **
1317 1.1 mrg *****************************************************************************/
1318 1.1 mrg
1319 1.1 mrg int
1320 1.1 mrg xcb_xvmc_list_subpicture_types_types_length (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */);
1321 1.1 mrg
1322 1.1 mrg
1323 1.1 mrg /*****************************************************************************
1324 1.1 mrg **
1325 1.1 mrg ** xcb_xv_image_format_info_iterator_t xcb_xvmc_list_subpicture_types_types_iterator
1326 1.1 mrg **
1327 1.1 mrg ** @param const xcb_xvmc_list_subpicture_types_reply_t *R
1328 1.1 mrg ** @returns xcb_xv_image_format_info_iterator_t
1329 1.1 mrg **
1330 1.1 mrg *****************************************************************************/
1331 1.1 mrg
1332 1.1 mrg xcb_xv_image_format_info_iterator_t
1333 1.1 mrg xcb_xvmc_list_subpicture_types_types_iterator (const xcb_xvmc_list_subpicture_types_reply_t *R /**< */);
1334 1.1 mrg
1335 1.1 mrg /**
1336 1.1 mrg * Return the reply
1337 1.1 mrg * @param c The connection
1338 1.1 mrg * @param cookie The cookie
1339 1.1 mrg * @param e The xcb_generic_error_t supplied
1340 1.1 mrg *
1341 1.1 mrg * Returns the reply of the request asked by
1342 1.1 mrg *
1343 1.1 mrg * The parameter @p e supplied to this function must be NULL if
1344 1.1 mrg * xcb_xvmc_list_subpicture_types_unchecked(). is used.
1345 1.1 mrg * Otherwise, it stores the error if any.
1346 1.1 mrg *
1347 1.1 mrg * The returned value must be freed by the caller using free().
1348 1.1 mrg */
1349 1.1 mrg
1350 1.1 mrg /*****************************************************************************
1351 1.1 mrg **
1352 1.1 mrg ** xcb_xvmc_list_subpicture_types_reply_t * xcb_xvmc_list_subpicture_types_reply
1353 1.1 mrg **
1354 1.1 mrg ** @param xcb_connection_t *c
1355 1.1 mrg ** @param xcb_xvmc_list_subpicture_types_cookie_t cookie
1356 1.1 mrg ** @param xcb_generic_error_t **e
1357 1.1 mrg ** @returns xcb_xvmc_list_subpicture_types_reply_t *
1358 1.1 mrg **
1359 1.1 mrg *****************************************************************************/
1360 1.1 mrg
1361 1.1 mrg xcb_xvmc_list_subpicture_types_reply_t *
1362 1.1 mrg xcb_xvmc_list_subpicture_types_reply (xcb_connection_t *c /**< */,
1363 1.1 mrg xcb_xvmc_list_subpicture_types_cookie_t cookie /**< */,
1364 1.1 mrg xcb_generic_error_t **e /**< */);
1365 1.1 mrg
1366 1.1 mrg
1367 1.1 mrg #ifdef __cplusplus
1368 1.1 mrg }
1369 1.1 mrg #endif
1370 1.1 mrg
1371 1.1 mrg #endif
1372 1.1 mrg
1373 1.1 mrg /**
1374 1.1 mrg * @}
1375 1.1 mrg */
1376