jpayne@69
|
1 /*
|
jpayne@69
|
2 * This file generated automatically from xvmc.xml by c_client.py.
|
jpayne@69
|
3 * Edit at your peril.
|
jpayne@69
|
4 */
|
jpayne@69
|
5
|
jpayne@69
|
6 /**
|
jpayne@69
|
7 * @defgroup XCB_XvMC_API XCB XvMC API
|
jpayne@69
|
8 * @brief XvMC XCB Protocol Implementation.
|
jpayne@69
|
9 * @{
|
jpayne@69
|
10 **/
|
jpayne@69
|
11
|
jpayne@69
|
12 #ifndef __XVMC_H
|
jpayne@69
|
13 #define __XVMC_H
|
jpayne@69
|
14
|
jpayne@69
|
15 #include "xcb.h"
|
jpayne@69
|
16 #include "xv.h"
|
jpayne@69
|
17
|
jpayne@69
|
18 #ifdef __cplusplus
|
jpayne@69
|
19 extern "C" {
|
jpayne@69
|
20 #endif
|
jpayne@69
|
21
|
jpayne@69
|
22 #define XCB_XVMC_MAJOR_VERSION 1
|
jpayne@69
|
23 #define XCB_XVMC_MINOR_VERSION 1
|
jpayne@69
|
24
|
jpayne@69
|
25 extern xcb_extension_t xcb_xvmc_id;
|
jpayne@69
|
26
|
jpayne@69
|
27 typedef uint32_t xcb_xvmc_context_t;
|
jpayne@69
|
28
|
jpayne@69
|
29 /**
|
jpayne@69
|
30 * @brief xcb_xvmc_context_iterator_t
|
jpayne@69
|
31 **/
|
jpayne@69
|
32 typedef struct xcb_xvmc_context_iterator_t {
|
jpayne@69
|
33 xcb_xvmc_context_t *data;
|
jpayne@69
|
34 int rem;
|
jpayne@69
|
35 int index;
|
jpayne@69
|
36 } xcb_xvmc_context_iterator_t;
|
jpayne@69
|
37
|
jpayne@69
|
38 typedef uint32_t xcb_xvmc_surface_t;
|
jpayne@69
|
39
|
jpayne@69
|
40 /**
|
jpayne@69
|
41 * @brief xcb_xvmc_surface_iterator_t
|
jpayne@69
|
42 **/
|
jpayne@69
|
43 typedef struct xcb_xvmc_surface_iterator_t {
|
jpayne@69
|
44 xcb_xvmc_surface_t *data;
|
jpayne@69
|
45 int rem;
|
jpayne@69
|
46 int index;
|
jpayne@69
|
47 } xcb_xvmc_surface_iterator_t;
|
jpayne@69
|
48
|
jpayne@69
|
49 typedef uint32_t xcb_xvmc_subpicture_t;
|
jpayne@69
|
50
|
jpayne@69
|
51 /**
|
jpayne@69
|
52 * @brief xcb_xvmc_subpicture_iterator_t
|
jpayne@69
|
53 **/
|
jpayne@69
|
54 typedef struct xcb_xvmc_subpicture_iterator_t {
|
jpayne@69
|
55 xcb_xvmc_subpicture_t *data;
|
jpayne@69
|
56 int rem;
|
jpayne@69
|
57 int index;
|
jpayne@69
|
58 } xcb_xvmc_subpicture_iterator_t;
|
jpayne@69
|
59
|
jpayne@69
|
60 /**
|
jpayne@69
|
61 * @brief xcb_xvmc_surface_info_t
|
jpayne@69
|
62 **/
|
jpayne@69
|
63 typedef struct xcb_xvmc_surface_info_t {
|
jpayne@69
|
64 xcb_xvmc_surface_t id;
|
jpayne@69
|
65 uint16_t chroma_format;
|
jpayne@69
|
66 uint16_t pad0;
|
jpayne@69
|
67 uint16_t max_width;
|
jpayne@69
|
68 uint16_t max_height;
|
jpayne@69
|
69 uint16_t subpicture_max_width;
|
jpayne@69
|
70 uint16_t subpicture_max_height;
|
jpayne@69
|
71 uint32_t mc_type;
|
jpayne@69
|
72 uint32_t flags;
|
jpayne@69
|
73 } xcb_xvmc_surface_info_t;
|
jpayne@69
|
74
|
jpayne@69
|
75 /**
|
jpayne@69
|
76 * @brief xcb_xvmc_surface_info_iterator_t
|
jpayne@69
|
77 **/
|
jpayne@69
|
78 typedef struct xcb_xvmc_surface_info_iterator_t {
|
jpayne@69
|
79 xcb_xvmc_surface_info_t *data;
|
jpayne@69
|
80 int rem;
|
jpayne@69
|
81 int index;
|
jpayne@69
|
82 } xcb_xvmc_surface_info_iterator_t;
|
jpayne@69
|
83
|
jpayne@69
|
84 /**
|
jpayne@69
|
85 * @brief xcb_xvmc_query_version_cookie_t
|
jpayne@69
|
86 **/
|
jpayne@69
|
87 typedef struct xcb_xvmc_query_version_cookie_t {
|
jpayne@69
|
88 unsigned int sequence;
|
jpayne@69
|
89 } xcb_xvmc_query_version_cookie_t;
|
jpayne@69
|
90
|
jpayne@69
|
91 /** Opcode for xcb_xvmc_query_version. */
|
jpayne@69
|
92 #define XCB_XVMC_QUERY_VERSION 0
|
jpayne@69
|
93
|
jpayne@69
|
94 /**
|
jpayne@69
|
95 * @brief xcb_xvmc_query_version_request_t
|
jpayne@69
|
96 **/
|
jpayne@69
|
97 typedef struct xcb_xvmc_query_version_request_t {
|
jpayne@69
|
98 uint8_t major_opcode;
|
jpayne@69
|
99 uint8_t minor_opcode;
|
jpayne@69
|
100 uint16_t length;
|
jpayne@69
|
101 } xcb_xvmc_query_version_request_t;
|
jpayne@69
|
102
|
jpayne@69
|
103 /**
|
jpayne@69
|
104 * @brief xcb_xvmc_query_version_reply_t
|
jpayne@69
|
105 **/
|
jpayne@69
|
106 typedef struct xcb_xvmc_query_version_reply_t {
|
jpayne@69
|
107 uint8_t response_type;
|
jpayne@69
|
108 uint8_t pad0;
|
jpayne@69
|
109 uint16_t sequence;
|
jpayne@69
|
110 uint32_t length;
|
jpayne@69
|
111 uint32_t major;
|
jpayne@69
|
112 uint32_t minor;
|
jpayne@69
|
113 } xcb_xvmc_query_version_reply_t;
|
jpayne@69
|
114
|
jpayne@69
|
115 /**
|
jpayne@69
|
116 * @brief xcb_xvmc_list_surface_types_cookie_t
|
jpayne@69
|
117 **/
|
jpayne@69
|
118 typedef struct xcb_xvmc_list_surface_types_cookie_t {
|
jpayne@69
|
119 unsigned int sequence;
|
jpayne@69
|
120 } xcb_xvmc_list_surface_types_cookie_t;
|
jpayne@69
|
121
|
jpayne@69
|
122 /** Opcode for xcb_xvmc_list_surface_types. */
|
jpayne@69
|
123 #define XCB_XVMC_LIST_SURFACE_TYPES 1
|
jpayne@69
|
124
|
jpayne@69
|
125 /**
|
jpayne@69
|
126 * @brief xcb_xvmc_list_surface_types_request_t
|
jpayne@69
|
127 **/
|
jpayne@69
|
128 typedef struct xcb_xvmc_list_surface_types_request_t {
|
jpayne@69
|
129 uint8_t major_opcode;
|
jpayne@69
|
130 uint8_t minor_opcode;
|
jpayne@69
|
131 uint16_t length;
|
jpayne@69
|
132 xcb_xv_port_t port_id;
|
jpayne@69
|
133 } xcb_xvmc_list_surface_types_request_t;
|
jpayne@69
|
134
|
jpayne@69
|
135 /**
|
jpayne@69
|
136 * @brief xcb_xvmc_list_surface_types_reply_t
|
jpayne@69
|
137 **/
|
jpayne@69
|
138 typedef struct xcb_xvmc_list_surface_types_reply_t {
|
jpayne@69
|
139 uint8_t response_type;
|
jpayne@69
|
140 uint8_t pad0;
|
jpayne@69
|
141 uint16_t sequence;
|
jpayne@69
|
142 uint32_t length;
|
jpayne@69
|
143 uint32_t num;
|
jpayne@69
|
144 uint8_t pad1[20];
|
jpayne@69
|
145 } xcb_xvmc_list_surface_types_reply_t;
|
jpayne@69
|
146
|
jpayne@69
|
147 /**
|
jpayne@69
|
148 * @brief xcb_xvmc_create_context_cookie_t
|
jpayne@69
|
149 **/
|
jpayne@69
|
150 typedef struct xcb_xvmc_create_context_cookie_t {
|
jpayne@69
|
151 unsigned int sequence;
|
jpayne@69
|
152 } xcb_xvmc_create_context_cookie_t;
|
jpayne@69
|
153
|
jpayne@69
|
154 /** Opcode for xcb_xvmc_create_context. */
|
jpayne@69
|
155 #define XCB_XVMC_CREATE_CONTEXT 2
|
jpayne@69
|
156
|
jpayne@69
|
157 /**
|
jpayne@69
|
158 * @brief xcb_xvmc_create_context_request_t
|
jpayne@69
|
159 **/
|
jpayne@69
|
160 typedef struct xcb_xvmc_create_context_request_t {
|
jpayne@69
|
161 uint8_t major_opcode;
|
jpayne@69
|
162 uint8_t minor_opcode;
|
jpayne@69
|
163 uint16_t length;
|
jpayne@69
|
164 xcb_xvmc_context_t context_id;
|
jpayne@69
|
165 xcb_xv_port_t port_id;
|
jpayne@69
|
166 xcb_xvmc_surface_t surface_id;
|
jpayne@69
|
167 uint16_t width;
|
jpayne@69
|
168 uint16_t height;
|
jpayne@69
|
169 uint32_t flags;
|
jpayne@69
|
170 } xcb_xvmc_create_context_request_t;
|
jpayne@69
|
171
|
jpayne@69
|
172 /**
|
jpayne@69
|
173 * @brief xcb_xvmc_create_context_reply_t
|
jpayne@69
|
174 **/
|
jpayne@69
|
175 typedef struct xcb_xvmc_create_context_reply_t {
|
jpayne@69
|
176 uint8_t response_type;
|
jpayne@69
|
177 uint8_t pad0;
|
jpayne@69
|
178 uint16_t sequence;
|
jpayne@69
|
179 uint32_t length;
|
jpayne@69
|
180 uint16_t width_actual;
|
jpayne@69
|
181 uint16_t height_actual;
|
jpayne@69
|
182 uint32_t flags_return;
|
jpayne@69
|
183 uint8_t pad1[20];
|
jpayne@69
|
184 } xcb_xvmc_create_context_reply_t;
|
jpayne@69
|
185
|
jpayne@69
|
186 /** Opcode for xcb_xvmc_destroy_context. */
|
jpayne@69
|
187 #define XCB_XVMC_DESTROY_CONTEXT 3
|
jpayne@69
|
188
|
jpayne@69
|
189 /**
|
jpayne@69
|
190 * @brief xcb_xvmc_destroy_context_request_t
|
jpayne@69
|
191 **/
|
jpayne@69
|
192 typedef struct xcb_xvmc_destroy_context_request_t {
|
jpayne@69
|
193 uint8_t major_opcode;
|
jpayne@69
|
194 uint8_t minor_opcode;
|
jpayne@69
|
195 uint16_t length;
|
jpayne@69
|
196 xcb_xvmc_context_t context_id;
|
jpayne@69
|
197 } xcb_xvmc_destroy_context_request_t;
|
jpayne@69
|
198
|
jpayne@69
|
199 /**
|
jpayne@69
|
200 * @brief xcb_xvmc_create_surface_cookie_t
|
jpayne@69
|
201 **/
|
jpayne@69
|
202 typedef struct xcb_xvmc_create_surface_cookie_t {
|
jpayne@69
|
203 unsigned int sequence;
|
jpayne@69
|
204 } xcb_xvmc_create_surface_cookie_t;
|
jpayne@69
|
205
|
jpayne@69
|
206 /** Opcode for xcb_xvmc_create_surface. */
|
jpayne@69
|
207 #define XCB_XVMC_CREATE_SURFACE 4
|
jpayne@69
|
208
|
jpayne@69
|
209 /**
|
jpayne@69
|
210 * @brief xcb_xvmc_create_surface_request_t
|
jpayne@69
|
211 **/
|
jpayne@69
|
212 typedef struct xcb_xvmc_create_surface_request_t {
|
jpayne@69
|
213 uint8_t major_opcode;
|
jpayne@69
|
214 uint8_t minor_opcode;
|
jpayne@69
|
215 uint16_t length;
|
jpayne@69
|
216 xcb_xvmc_surface_t surface_id;
|
jpayne@69
|
217 xcb_xvmc_context_t context_id;
|
jpayne@69
|
218 } xcb_xvmc_create_surface_request_t;
|
jpayne@69
|
219
|
jpayne@69
|
220 /**
|
jpayne@69
|
221 * @brief xcb_xvmc_create_surface_reply_t
|
jpayne@69
|
222 **/
|
jpayne@69
|
223 typedef struct xcb_xvmc_create_surface_reply_t {
|
jpayne@69
|
224 uint8_t response_type;
|
jpayne@69
|
225 uint8_t pad0;
|
jpayne@69
|
226 uint16_t sequence;
|
jpayne@69
|
227 uint32_t length;
|
jpayne@69
|
228 uint8_t pad1[24];
|
jpayne@69
|
229 } xcb_xvmc_create_surface_reply_t;
|
jpayne@69
|
230
|
jpayne@69
|
231 /** Opcode for xcb_xvmc_destroy_surface. */
|
jpayne@69
|
232 #define XCB_XVMC_DESTROY_SURFACE 5
|
jpayne@69
|
233
|
jpayne@69
|
234 /**
|
jpayne@69
|
235 * @brief xcb_xvmc_destroy_surface_request_t
|
jpayne@69
|
236 **/
|
jpayne@69
|
237 typedef struct xcb_xvmc_destroy_surface_request_t {
|
jpayne@69
|
238 uint8_t major_opcode;
|
jpayne@69
|
239 uint8_t minor_opcode;
|
jpayne@69
|
240 uint16_t length;
|
jpayne@69
|
241 xcb_xvmc_surface_t surface_id;
|
jpayne@69
|
242 } xcb_xvmc_destroy_surface_request_t;
|
jpayne@69
|
243
|
jpayne@69
|
244 /**
|
jpayne@69
|
245 * @brief xcb_xvmc_create_subpicture_cookie_t
|
jpayne@69
|
246 **/
|
jpayne@69
|
247 typedef struct xcb_xvmc_create_subpicture_cookie_t {
|
jpayne@69
|
248 unsigned int sequence;
|
jpayne@69
|
249 } xcb_xvmc_create_subpicture_cookie_t;
|
jpayne@69
|
250
|
jpayne@69
|
251 /** Opcode for xcb_xvmc_create_subpicture. */
|
jpayne@69
|
252 #define XCB_XVMC_CREATE_SUBPICTURE 6
|
jpayne@69
|
253
|
jpayne@69
|
254 /**
|
jpayne@69
|
255 * @brief xcb_xvmc_create_subpicture_request_t
|
jpayne@69
|
256 **/
|
jpayne@69
|
257 typedef struct xcb_xvmc_create_subpicture_request_t {
|
jpayne@69
|
258 uint8_t major_opcode;
|
jpayne@69
|
259 uint8_t minor_opcode;
|
jpayne@69
|
260 uint16_t length;
|
jpayne@69
|
261 xcb_xvmc_subpicture_t subpicture_id;
|
jpayne@69
|
262 xcb_xvmc_context_t context;
|
jpayne@69
|
263 uint32_t xvimage_id;
|
jpayne@69
|
264 uint16_t width;
|
jpayne@69
|
265 uint16_t height;
|
jpayne@69
|
266 } xcb_xvmc_create_subpicture_request_t;
|
jpayne@69
|
267
|
jpayne@69
|
268 /**
|
jpayne@69
|
269 * @brief xcb_xvmc_create_subpicture_reply_t
|
jpayne@69
|
270 **/
|
jpayne@69
|
271 typedef struct xcb_xvmc_create_subpicture_reply_t {
|
jpayne@69
|
272 uint8_t response_type;
|
jpayne@69
|
273 uint8_t pad0;
|
jpayne@69
|
274 uint16_t sequence;
|
jpayne@69
|
275 uint32_t length;
|
jpayne@69
|
276 uint16_t width_actual;
|
jpayne@69
|
277 uint16_t height_actual;
|
jpayne@69
|
278 uint16_t num_palette_entries;
|
jpayne@69
|
279 uint16_t entry_bytes;
|
jpayne@69
|
280 uint8_t component_order[4];
|
jpayne@69
|
281 uint8_t pad1[12];
|
jpayne@69
|
282 } xcb_xvmc_create_subpicture_reply_t;
|
jpayne@69
|
283
|
jpayne@69
|
284 /** Opcode for xcb_xvmc_destroy_subpicture. */
|
jpayne@69
|
285 #define XCB_XVMC_DESTROY_SUBPICTURE 7
|
jpayne@69
|
286
|
jpayne@69
|
287 /**
|
jpayne@69
|
288 * @brief xcb_xvmc_destroy_subpicture_request_t
|
jpayne@69
|
289 **/
|
jpayne@69
|
290 typedef struct xcb_xvmc_destroy_subpicture_request_t {
|
jpayne@69
|
291 uint8_t major_opcode;
|
jpayne@69
|
292 uint8_t minor_opcode;
|
jpayne@69
|
293 uint16_t length;
|
jpayne@69
|
294 xcb_xvmc_subpicture_t subpicture_id;
|
jpayne@69
|
295 } xcb_xvmc_destroy_subpicture_request_t;
|
jpayne@69
|
296
|
jpayne@69
|
297 /**
|
jpayne@69
|
298 * @brief xcb_xvmc_list_subpicture_types_cookie_t
|
jpayne@69
|
299 **/
|
jpayne@69
|
300 typedef struct xcb_xvmc_list_subpicture_types_cookie_t {
|
jpayne@69
|
301 unsigned int sequence;
|
jpayne@69
|
302 } xcb_xvmc_list_subpicture_types_cookie_t;
|
jpayne@69
|
303
|
jpayne@69
|
304 /** Opcode for xcb_xvmc_list_subpicture_types. */
|
jpayne@69
|
305 #define XCB_XVMC_LIST_SUBPICTURE_TYPES 8
|
jpayne@69
|
306
|
jpayne@69
|
307 /**
|
jpayne@69
|
308 * @brief xcb_xvmc_list_subpicture_types_request_t
|
jpayne@69
|
309 **/
|
jpayne@69
|
310 typedef struct xcb_xvmc_list_subpicture_types_request_t {
|
jpayne@69
|
311 uint8_t major_opcode;
|
jpayne@69
|
312 uint8_t minor_opcode;
|
jpayne@69
|
313 uint16_t length;
|
jpayne@69
|
314 xcb_xv_port_t port_id;
|
jpayne@69
|
315 xcb_xvmc_surface_t surface_id;
|
jpayne@69
|
316 } xcb_xvmc_list_subpicture_types_request_t;
|
jpayne@69
|
317
|
jpayne@69
|
318 /**
|
jpayne@69
|
319 * @brief xcb_xvmc_list_subpicture_types_reply_t
|
jpayne@69
|
320 **/
|
jpayne@69
|
321 typedef struct xcb_xvmc_list_subpicture_types_reply_t {
|
jpayne@69
|
322 uint8_t response_type;
|
jpayne@69
|
323 uint8_t pad0;
|
jpayne@69
|
324 uint16_t sequence;
|
jpayne@69
|
325 uint32_t length;
|
jpayne@69
|
326 uint32_t num;
|
jpayne@69
|
327 uint8_t pad1[20];
|
jpayne@69
|
328 } xcb_xvmc_list_subpicture_types_reply_t;
|
jpayne@69
|
329
|
jpayne@69
|
330 /**
|
jpayne@69
|
331 * Get the next element of the iterator
|
jpayne@69
|
332 * @param i Pointer to a xcb_xvmc_context_iterator_t
|
jpayne@69
|
333 *
|
jpayne@69
|
334 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
335 * decreased by one. The member data points to the next
|
jpayne@69
|
336 * element. The member index is increased by sizeof(xcb_xvmc_context_t)
|
jpayne@69
|
337 */
|
jpayne@69
|
338 void
|
jpayne@69
|
339 xcb_xvmc_context_next (xcb_xvmc_context_iterator_t *i);
|
jpayne@69
|
340
|
jpayne@69
|
341 /**
|
jpayne@69
|
342 * Return the iterator pointing to the last element
|
jpayne@69
|
343 * @param i An xcb_xvmc_context_iterator_t
|
jpayne@69
|
344 * @return The iterator pointing to the last element
|
jpayne@69
|
345 *
|
jpayne@69
|
346 * Set the current element in the iterator to the last element.
|
jpayne@69
|
347 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
348 * last element.
|
jpayne@69
|
349 */
|
jpayne@69
|
350 xcb_generic_iterator_t
|
jpayne@69
|
351 xcb_xvmc_context_end (xcb_xvmc_context_iterator_t i);
|
jpayne@69
|
352
|
jpayne@69
|
353 /**
|
jpayne@69
|
354 * Get the next element of the iterator
|
jpayne@69
|
355 * @param i Pointer to a xcb_xvmc_surface_iterator_t
|
jpayne@69
|
356 *
|
jpayne@69
|
357 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
358 * decreased by one. The member data points to the next
|
jpayne@69
|
359 * element. The member index is increased by sizeof(xcb_xvmc_surface_t)
|
jpayne@69
|
360 */
|
jpayne@69
|
361 void
|
jpayne@69
|
362 xcb_xvmc_surface_next (xcb_xvmc_surface_iterator_t *i);
|
jpayne@69
|
363
|
jpayne@69
|
364 /**
|
jpayne@69
|
365 * Return the iterator pointing to the last element
|
jpayne@69
|
366 * @param i An xcb_xvmc_surface_iterator_t
|
jpayne@69
|
367 * @return The iterator pointing to the last element
|
jpayne@69
|
368 *
|
jpayne@69
|
369 * Set the current element in the iterator to the last element.
|
jpayne@69
|
370 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
371 * last element.
|
jpayne@69
|
372 */
|
jpayne@69
|
373 xcb_generic_iterator_t
|
jpayne@69
|
374 xcb_xvmc_surface_end (xcb_xvmc_surface_iterator_t i);
|
jpayne@69
|
375
|
jpayne@69
|
376 /**
|
jpayne@69
|
377 * Get the next element of the iterator
|
jpayne@69
|
378 * @param i Pointer to a xcb_xvmc_subpicture_iterator_t
|
jpayne@69
|
379 *
|
jpayne@69
|
380 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
381 * decreased by one. The member data points to the next
|
jpayne@69
|
382 * element. The member index is increased by sizeof(xcb_xvmc_subpicture_t)
|
jpayne@69
|
383 */
|
jpayne@69
|
384 void
|
jpayne@69
|
385 xcb_xvmc_subpicture_next (xcb_xvmc_subpicture_iterator_t *i);
|
jpayne@69
|
386
|
jpayne@69
|
387 /**
|
jpayne@69
|
388 * Return the iterator pointing to the last element
|
jpayne@69
|
389 * @param i An xcb_xvmc_subpicture_iterator_t
|
jpayne@69
|
390 * @return The iterator pointing to the last element
|
jpayne@69
|
391 *
|
jpayne@69
|
392 * Set the current element in the iterator to the last element.
|
jpayne@69
|
393 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
394 * last element.
|
jpayne@69
|
395 */
|
jpayne@69
|
396 xcb_generic_iterator_t
|
jpayne@69
|
397 xcb_xvmc_subpicture_end (xcb_xvmc_subpicture_iterator_t i);
|
jpayne@69
|
398
|
jpayne@69
|
399 /**
|
jpayne@69
|
400 * Get the next element of the iterator
|
jpayne@69
|
401 * @param i Pointer to a xcb_xvmc_surface_info_iterator_t
|
jpayne@69
|
402 *
|
jpayne@69
|
403 * Get the next element in the iterator. The member rem is
|
jpayne@69
|
404 * decreased by one. The member data points to the next
|
jpayne@69
|
405 * element. The member index is increased by sizeof(xcb_xvmc_surface_info_t)
|
jpayne@69
|
406 */
|
jpayne@69
|
407 void
|
jpayne@69
|
408 xcb_xvmc_surface_info_next (xcb_xvmc_surface_info_iterator_t *i);
|
jpayne@69
|
409
|
jpayne@69
|
410 /**
|
jpayne@69
|
411 * Return the iterator pointing to the last element
|
jpayne@69
|
412 * @param i An xcb_xvmc_surface_info_iterator_t
|
jpayne@69
|
413 * @return The iterator pointing to the last element
|
jpayne@69
|
414 *
|
jpayne@69
|
415 * Set the current element in the iterator to the last element.
|
jpayne@69
|
416 * The member rem is set to 0. The member data points to the
|
jpayne@69
|
417 * last element.
|
jpayne@69
|
418 */
|
jpayne@69
|
419 xcb_generic_iterator_t
|
jpayne@69
|
420 xcb_xvmc_surface_info_end (xcb_xvmc_surface_info_iterator_t i);
|
jpayne@69
|
421
|
jpayne@69
|
422 /**
|
jpayne@69
|
423 *
|
jpayne@69
|
424 * @param c The connection
|
jpayne@69
|
425 * @return A cookie
|
jpayne@69
|
426 *
|
jpayne@69
|
427 * Delivers a request to the X server.
|
jpayne@69
|
428 *
|
jpayne@69
|
429 */
|
jpayne@69
|
430 xcb_xvmc_query_version_cookie_t
|
jpayne@69
|
431 xcb_xvmc_query_version (xcb_connection_t *c);
|
jpayne@69
|
432
|
jpayne@69
|
433 /**
|
jpayne@69
|
434 *
|
jpayne@69
|
435 * @param c The connection
|
jpayne@69
|
436 * @return A cookie
|
jpayne@69
|
437 *
|
jpayne@69
|
438 * Delivers a request to the X server.
|
jpayne@69
|
439 *
|
jpayne@69
|
440 * This form can be used only if the request will cause
|
jpayne@69
|
441 * a reply to be generated. Any returned error will be
|
jpayne@69
|
442 * placed in the event queue.
|
jpayne@69
|
443 */
|
jpayne@69
|
444 xcb_xvmc_query_version_cookie_t
|
jpayne@69
|
445 xcb_xvmc_query_version_unchecked (xcb_connection_t *c);
|
jpayne@69
|
446
|
jpayne@69
|
447 /**
|
jpayne@69
|
448 * Return the reply
|
jpayne@69
|
449 * @param c The connection
|
jpayne@69
|
450 * @param cookie The cookie
|
jpayne@69
|
451 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
452 *
|
jpayne@69
|
453 * Returns the reply of the request asked by
|
jpayne@69
|
454 *
|
jpayne@69
|
455 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
456 * xcb_xvmc_query_version_unchecked(). is used.
|
jpayne@69
|
457 * Otherwise, it stores the error if any.
|
jpayne@69
|
458 *
|
jpayne@69
|
459 * The returned value must be freed by the caller using free().
|
jpayne@69
|
460 */
|
jpayne@69
|
461 xcb_xvmc_query_version_reply_t *
|
jpayne@69
|
462 xcb_xvmc_query_version_reply (xcb_connection_t *c,
|
jpayne@69
|
463 xcb_xvmc_query_version_cookie_t cookie /**< */,
|
jpayne@69
|
464 xcb_generic_error_t **e);
|
jpayne@69
|
465
|
jpayne@69
|
466 int
|
jpayne@69
|
467 xcb_xvmc_list_surface_types_sizeof (const void *_buffer);
|
jpayne@69
|
468
|
jpayne@69
|
469 /**
|
jpayne@69
|
470 *
|
jpayne@69
|
471 * @param c The connection
|
jpayne@69
|
472 * @return A cookie
|
jpayne@69
|
473 *
|
jpayne@69
|
474 * Delivers a request to the X server.
|
jpayne@69
|
475 *
|
jpayne@69
|
476 */
|
jpayne@69
|
477 xcb_xvmc_list_surface_types_cookie_t
|
jpayne@69
|
478 xcb_xvmc_list_surface_types (xcb_connection_t *c,
|
jpayne@69
|
479 xcb_xv_port_t port_id);
|
jpayne@69
|
480
|
jpayne@69
|
481 /**
|
jpayne@69
|
482 *
|
jpayne@69
|
483 * @param c The connection
|
jpayne@69
|
484 * @return A cookie
|
jpayne@69
|
485 *
|
jpayne@69
|
486 * Delivers a request to the X server.
|
jpayne@69
|
487 *
|
jpayne@69
|
488 * This form can be used only if the request will cause
|
jpayne@69
|
489 * a reply to be generated. Any returned error will be
|
jpayne@69
|
490 * placed in the event queue.
|
jpayne@69
|
491 */
|
jpayne@69
|
492 xcb_xvmc_list_surface_types_cookie_t
|
jpayne@69
|
493 xcb_xvmc_list_surface_types_unchecked (xcb_connection_t *c,
|
jpayne@69
|
494 xcb_xv_port_t port_id);
|
jpayne@69
|
495
|
jpayne@69
|
496 xcb_xvmc_surface_info_t *
|
jpayne@69
|
497 xcb_xvmc_list_surface_types_surfaces (const xcb_xvmc_list_surface_types_reply_t *R);
|
jpayne@69
|
498
|
jpayne@69
|
499 int
|
jpayne@69
|
500 xcb_xvmc_list_surface_types_surfaces_length (const xcb_xvmc_list_surface_types_reply_t *R);
|
jpayne@69
|
501
|
jpayne@69
|
502 xcb_xvmc_surface_info_iterator_t
|
jpayne@69
|
503 xcb_xvmc_list_surface_types_surfaces_iterator (const xcb_xvmc_list_surface_types_reply_t *R);
|
jpayne@69
|
504
|
jpayne@69
|
505 /**
|
jpayne@69
|
506 * Return the reply
|
jpayne@69
|
507 * @param c The connection
|
jpayne@69
|
508 * @param cookie The cookie
|
jpayne@69
|
509 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
510 *
|
jpayne@69
|
511 * Returns the reply of the request asked by
|
jpayne@69
|
512 *
|
jpayne@69
|
513 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
514 * xcb_xvmc_list_surface_types_unchecked(). is used.
|
jpayne@69
|
515 * Otherwise, it stores the error if any.
|
jpayne@69
|
516 *
|
jpayne@69
|
517 * The returned value must be freed by the caller using free().
|
jpayne@69
|
518 */
|
jpayne@69
|
519 xcb_xvmc_list_surface_types_reply_t *
|
jpayne@69
|
520 xcb_xvmc_list_surface_types_reply (xcb_connection_t *c,
|
jpayne@69
|
521 xcb_xvmc_list_surface_types_cookie_t cookie /**< */,
|
jpayne@69
|
522 xcb_generic_error_t **e);
|
jpayne@69
|
523
|
jpayne@69
|
524 int
|
jpayne@69
|
525 xcb_xvmc_create_context_sizeof (const void *_buffer);
|
jpayne@69
|
526
|
jpayne@69
|
527 /**
|
jpayne@69
|
528 *
|
jpayne@69
|
529 * @param c The connection
|
jpayne@69
|
530 * @return A cookie
|
jpayne@69
|
531 *
|
jpayne@69
|
532 * Delivers a request to the X server.
|
jpayne@69
|
533 *
|
jpayne@69
|
534 */
|
jpayne@69
|
535 xcb_xvmc_create_context_cookie_t
|
jpayne@69
|
536 xcb_xvmc_create_context (xcb_connection_t *c,
|
jpayne@69
|
537 xcb_xvmc_context_t context_id,
|
jpayne@69
|
538 xcb_xv_port_t port_id,
|
jpayne@69
|
539 xcb_xvmc_surface_t surface_id,
|
jpayne@69
|
540 uint16_t width,
|
jpayne@69
|
541 uint16_t height,
|
jpayne@69
|
542 uint32_t flags);
|
jpayne@69
|
543
|
jpayne@69
|
544 /**
|
jpayne@69
|
545 *
|
jpayne@69
|
546 * @param c The connection
|
jpayne@69
|
547 * @return A cookie
|
jpayne@69
|
548 *
|
jpayne@69
|
549 * Delivers a request to the X server.
|
jpayne@69
|
550 *
|
jpayne@69
|
551 * This form can be used only if the request will cause
|
jpayne@69
|
552 * a reply to be generated. Any returned error will be
|
jpayne@69
|
553 * placed in the event queue.
|
jpayne@69
|
554 */
|
jpayne@69
|
555 xcb_xvmc_create_context_cookie_t
|
jpayne@69
|
556 xcb_xvmc_create_context_unchecked (xcb_connection_t *c,
|
jpayne@69
|
557 xcb_xvmc_context_t context_id,
|
jpayne@69
|
558 xcb_xv_port_t port_id,
|
jpayne@69
|
559 xcb_xvmc_surface_t surface_id,
|
jpayne@69
|
560 uint16_t width,
|
jpayne@69
|
561 uint16_t height,
|
jpayne@69
|
562 uint32_t flags);
|
jpayne@69
|
563
|
jpayne@69
|
564 uint32_t *
|
jpayne@69
|
565 xcb_xvmc_create_context_priv_data (const xcb_xvmc_create_context_reply_t *R);
|
jpayne@69
|
566
|
jpayne@69
|
567 int
|
jpayne@69
|
568 xcb_xvmc_create_context_priv_data_length (const xcb_xvmc_create_context_reply_t *R);
|
jpayne@69
|
569
|
jpayne@69
|
570 xcb_generic_iterator_t
|
jpayne@69
|
571 xcb_xvmc_create_context_priv_data_end (const xcb_xvmc_create_context_reply_t *R);
|
jpayne@69
|
572
|
jpayne@69
|
573 /**
|
jpayne@69
|
574 * Return the reply
|
jpayne@69
|
575 * @param c The connection
|
jpayne@69
|
576 * @param cookie The cookie
|
jpayne@69
|
577 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
578 *
|
jpayne@69
|
579 * Returns the reply of the request asked by
|
jpayne@69
|
580 *
|
jpayne@69
|
581 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
582 * xcb_xvmc_create_context_unchecked(). is used.
|
jpayne@69
|
583 * Otherwise, it stores the error if any.
|
jpayne@69
|
584 *
|
jpayne@69
|
585 * The returned value must be freed by the caller using free().
|
jpayne@69
|
586 */
|
jpayne@69
|
587 xcb_xvmc_create_context_reply_t *
|
jpayne@69
|
588 xcb_xvmc_create_context_reply (xcb_connection_t *c,
|
jpayne@69
|
589 xcb_xvmc_create_context_cookie_t cookie /**< */,
|
jpayne@69
|
590 xcb_generic_error_t **e);
|
jpayne@69
|
591
|
jpayne@69
|
592 /**
|
jpayne@69
|
593 *
|
jpayne@69
|
594 * @param c The connection
|
jpayne@69
|
595 * @return A cookie
|
jpayne@69
|
596 *
|
jpayne@69
|
597 * Delivers a request to the X server.
|
jpayne@69
|
598 *
|
jpayne@69
|
599 * This form can be used only if the request will not cause
|
jpayne@69
|
600 * a reply to be generated. Any returned error will be
|
jpayne@69
|
601 * saved for handling by xcb_request_check().
|
jpayne@69
|
602 */
|
jpayne@69
|
603 xcb_void_cookie_t
|
jpayne@69
|
604 xcb_xvmc_destroy_context_checked (xcb_connection_t *c,
|
jpayne@69
|
605 xcb_xvmc_context_t context_id);
|
jpayne@69
|
606
|
jpayne@69
|
607 /**
|
jpayne@69
|
608 *
|
jpayne@69
|
609 * @param c The connection
|
jpayne@69
|
610 * @return A cookie
|
jpayne@69
|
611 *
|
jpayne@69
|
612 * Delivers a request to the X server.
|
jpayne@69
|
613 *
|
jpayne@69
|
614 */
|
jpayne@69
|
615 xcb_void_cookie_t
|
jpayne@69
|
616 xcb_xvmc_destroy_context (xcb_connection_t *c,
|
jpayne@69
|
617 xcb_xvmc_context_t context_id);
|
jpayne@69
|
618
|
jpayne@69
|
619 int
|
jpayne@69
|
620 xcb_xvmc_create_surface_sizeof (const void *_buffer);
|
jpayne@69
|
621
|
jpayne@69
|
622 /**
|
jpayne@69
|
623 *
|
jpayne@69
|
624 * @param c The connection
|
jpayne@69
|
625 * @return A cookie
|
jpayne@69
|
626 *
|
jpayne@69
|
627 * Delivers a request to the X server.
|
jpayne@69
|
628 *
|
jpayne@69
|
629 */
|
jpayne@69
|
630 xcb_xvmc_create_surface_cookie_t
|
jpayne@69
|
631 xcb_xvmc_create_surface (xcb_connection_t *c,
|
jpayne@69
|
632 xcb_xvmc_surface_t surface_id,
|
jpayne@69
|
633 xcb_xvmc_context_t context_id);
|
jpayne@69
|
634
|
jpayne@69
|
635 /**
|
jpayne@69
|
636 *
|
jpayne@69
|
637 * @param c The connection
|
jpayne@69
|
638 * @return A cookie
|
jpayne@69
|
639 *
|
jpayne@69
|
640 * Delivers a request to the X server.
|
jpayne@69
|
641 *
|
jpayne@69
|
642 * This form can be used only if the request will cause
|
jpayne@69
|
643 * a reply to be generated. Any returned error will be
|
jpayne@69
|
644 * placed in the event queue.
|
jpayne@69
|
645 */
|
jpayne@69
|
646 xcb_xvmc_create_surface_cookie_t
|
jpayne@69
|
647 xcb_xvmc_create_surface_unchecked (xcb_connection_t *c,
|
jpayne@69
|
648 xcb_xvmc_surface_t surface_id,
|
jpayne@69
|
649 xcb_xvmc_context_t context_id);
|
jpayne@69
|
650
|
jpayne@69
|
651 uint32_t *
|
jpayne@69
|
652 xcb_xvmc_create_surface_priv_data (const xcb_xvmc_create_surface_reply_t *R);
|
jpayne@69
|
653
|
jpayne@69
|
654 int
|
jpayne@69
|
655 xcb_xvmc_create_surface_priv_data_length (const xcb_xvmc_create_surface_reply_t *R);
|
jpayne@69
|
656
|
jpayne@69
|
657 xcb_generic_iterator_t
|
jpayne@69
|
658 xcb_xvmc_create_surface_priv_data_end (const xcb_xvmc_create_surface_reply_t *R);
|
jpayne@69
|
659
|
jpayne@69
|
660 /**
|
jpayne@69
|
661 * Return the reply
|
jpayne@69
|
662 * @param c The connection
|
jpayne@69
|
663 * @param cookie The cookie
|
jpayne@69
|
664 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
665 *
|
jpayne@69
|
666 * Returns the reply of the request asked by
|
jpayne@69
|
667 *
|
jpayne@69
|
668 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
669 * xcb_xvmc_create_surface_unchecked(). is used.
|
jpayne@69
|
670 * Otherwise, it stores the error if any.
|
jpayne@69
|
671 *
|
jpayne@69
|
672 * The returned value must be freed by the caller using free().
|
jpayne@69
|
673 */
|
jpayne@69
|
674 xcb_xvmc_create_surface_reply_t *
|
jpayne@69
|
675 xcb_xvmc_create_surface_reply (xcb_connection_t *c,
|
jpayne@69
|
676 xcb_xvmc_create_surface_cookie_t cookie /**< */,
|
jpayne@69
|
677 xcb_generic_error_t **e);
|
jpayne@69
|
678
|
jpayne@69
|
679 /**
|
jpayne@69
|
680 *
|
jpayne@69
|
681 * @param c The connection
|
jpayne@69
|
682 * @return A cookie
|
jpayne@69
|
683 *
|
jpayne@69
|
684 * Delivers a request to the X server.
|
jpayne@69
|
685 *
|
jpayne@69
|
686 * This form can be used only if the request will not cause
|
jpayne@69
|
687 * a reply to be generated. Any returned error will be
|
jpayne@69
|
688 * saved for handling by xcb_request_check().
|
jpayne@69
|
689 */
|
jpayne@69
|
690 xcb_void_cookie_t
|
jpayne@69
|
691 xcb_xvmc_destroy_surface_checked (xcb_connection_t *c,
|
jpayne@69
|
692 xcb_xvmc_surface_t surface_id);
|
jpayne@69
|
693
|
jpayne@69
|
694 /**
|
jpayne@69
|
695 *
|
jpayne@69
|
696 * @param c The connection
|
jpayne@69
|
697 * @return A cookie
|
jpayne@69
|
698 *
|
jpayne@69
|
699 * Delivers a request to the X server.
|
jpayne@69
|
700 *
|
jpayne@69
|
701 */
|
jpayne@69
|
702 xcb_void_cookie_t
|
jpayne@69
|
703 xcb_xvmc_destroy_surface (xcb_connection_t *c,
|
jpayne@69
|
704 xcb_xvmc_surface_t surface_id);
|
jpayne@69
|
705
|
jpayne@69
|
706 int
|
jpayne@69
|
707 xcb_xvmc_create_subpicture_sizeof (const void *_buffer);
|
jpayne@69
|
708
|
jpayne@69
|
709 /**
|
jpayne@69
|
710 *
|
jpayne@69
|
711 * @param c The connection
|
jpayne@69
|
712 * @return A cookie
|
jpayne@69
|
713 *
|
jpayne@69
|
714 * Delivers a request to the X server.
|
jpayne@69
|
715 *
|
jpayne@69
|
716 */
|
jpayne@69
|
717 xcb_xvmc_create_subpicture_cookie_t
|
jpayne@69
|
718 xcb_xvmc_create_subpicture (xcb_connection_t *c,
|
jpayne@69
|
719 xcb_xvmc_subpicture_t subpicture_id,
|
jpayne@69
|
720 xcb_xvmc_context_t context,
|
jpayne@69
|
721 uint32_t xvimage_id,
|
jpayne@69
|
722 uint16_t width,
|
jpayne@69
|
723 uint16_t height);
|
jpayne@69
|
724
|
jpayne@69
|
725 /**
|
jpayne@69
|
726 *
|
jpayne@69
|
727 * @param c The connection
|
jpayne@69
|
728 * @return A cookie
|
jpayne@69
|
729 *
|
jpayne@69
|
730 * Delivers a request to the X server.
|
jpayne@69
|
731 *
|
jpayne@69
|
732 * This form can be used only if the request will cause
|
jpayne@69
|
733 * a reply to be generated. Any returned error will be
|
jpayne@69
|
734 * placed in the event queue.
|
jpayne@69
|
735 */
|
jpayne@69
|
736 xcb_xvmc_create_subpicture_cookie_t
|
jpayne@69
|
737 xcb_xvmc_create_subpicture_unchecked (xcb_connection_t *c,
|
jpayne@69
|
738 xcb_xvmc_subpicture_t subpicture_id,
|
jpayne@69
|
739 xcb_xvmc_context_t context,
|
jpayne@69
|
740 uint32_t xvimage_id,
|
jpayne@69
|
741 uint16_t width,
|
jpayne@69
|
742 uint16_t height);
|
jpayne@69
|
743
|
jpayne@69
|
744 uint32_t *
|
jpayne@69
|
745 xcb_xvmc_create_subpicture_priv_data (const xcb_xvmc_create_subpicture_reply_t *R);
|
jpayne@69
|
746
|
jpayne@69
|
747 int
|
jpayne@69
|
748 xcb_xvmc_create_subpicture_priv_data_length (const xcb_xvmc_create_subpicture_reply_t *R);
|
jpayne@69
|
749
|
jpayne@69
|
750 xcb_generic_iterator_t
|
jpayne@69
|
751 xcb_xvmc_create_subpicture_priv_data_end (const xcb_xvmc_create_subpicture_reply_t *R);
|
jpayne@69
|
752
|
jpayne@69
|
753 /**
|
jpayne@69
|
754 * Return the reply
|
jpayne@69
|
755 * @param c The connection
|
jpayne@69
|
756 * @param cookie The cookie
|
jpayne@69
|
757 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
758 *
|
jpayne@69
|
759 * Returns the reply of the request asked by
|
jpayne@69
|
760 *
|
jpayne@69
|
761 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
762 * xcb_xvmc_create_subpicture_unchecked(). is used.
|
jpayne@69
|
763 * Otherwise, it stores the error if any.
|
jpayne@69
|
764 *
|
jpayne@69
|
765 * The returned value must be freed by the caller using free().
|
jpayne@69
|
766 */
|
jpayne@69
|
767 xcb_xvmc_create_subpicture_reply_t *
|
jpayne@69
|
768 xcb_xvmc_create_subpicture_reply (xcb_connection_t *c,
|
jpayne@69
|
769 xcb_xvmc_create_subpicture_cookie_t cookie /**< */,
|
jpayne@69
|
770 xcb_generic_error_t **e);
|
jpayne@69
|
771
|
jpayne@69
|
772 /**
|
jpayne@69
|
773 *
|
jpayne@69
|
774 * @param c The connection
|
jpayne@69
|
775 * @return A cookie
|
jpayne@69
|
776 *
|
jpayne@69
|
777 * Delivers a request to the X server.
|
jpayne@69
|
778 *
|
jpayne@69
|
779 * This form can be used only if the request will not cause
|
jpayne@69
|
780 * a reply to be generated. Any returned error will be
|
jpayne@69
|
781 * saved for handling by xcb_request_check().
|
jpayne@69
|
782 */
|
jpayne@69
|
783 xcb_void_cookie_t
|
jpayne@69
|
784 xcb_xvmc_destroy_subpicture_checked (xcb_connection_t *c,
|
jpayne@69
|
785 xcb_xvmc_subpicture_t subpicture_id);
|
jpayne@69
|
786
|
jpayne@69
|
787 /**
|
jpayne@69
|
788 *
|
jpayne@69
|
789 * @param c The connection
|
jpayne@69
|
790 * @return A cookie
|
jpayne@69
|
791 *
|
jpayne@69
|
792 * Delivers a request to the X server.
|
jpayne@69
|
793 *
|
jpayne@69
|
794 */
|
jpayne@69
|
795 xcb_void_cookie_t
|
jpayne@69
|
796 xcb_xvmc_destroy_subpicture (xcb_connection_t *c,
|
jpayne@69
|
797 xcb_xvmc_subpicture_t subpicture_id);
|
jpayne@69
|
798
|
jpayne@69
|
799 int
|
jpayne@69
|
800 xcb_xvmc_list_subpicture_types_sizeof (const void *_buffer);
|
jpayne@69
|
801
|
jpayne@69
|
802 /**
|
jpayne@69
|
803 *
|
jpayne@69
|
804 * @param c The connection
|
jpayne@69
|
805 * @return A cookie
|
jpayne@69
|
806 *
|
jpayne@69
|
807 * Delivers a request to the X server.
|
jpayne@69
|
808 *
|
jpayne@69
|
809 */
|
jpayne@69
|
810 xcb_xvmc_list_subpicture_types_cookie_t
|
jpayne@69
|
811 xcb_xvmc_list_subpicture_types (xcb_connection_t *c,
|
jpayne@69
|
812 xcb_xv_port_t port_id,
|
jpayne@69
|
813 xcb_xvmc_surface_t surface_id);
|
jpayne@69
|
814
|
jpayne@69
|
815 /**
|
jpayne@69
|
816 *
|
jpayne@69
|
817 * @param c The connection
|
jpayne@69
|
818 * @return A cookie
|
jpayne@69
|
819 *
|
jpayne@69
|
820 * Delivers a request to the X server.
|
jpayne@69
|
821 *
|
jpayne@69
|
822 * This form can be used only if the request will cause
|
jpayne@69
|
823 * a reply to be generated. Any returned error will be
|
jpayne@69
|
824 * placed in the event queue.
|
jpayne@69
|
825 */
|
jpayne@69
|
826 xcb_xvmc_list_subpicture_types_cookie_t
|
jpayne@69
|
827 xcb_xvmc_list_subpicture_types_unchecked (xcb_connection_t *c,
|
jpayne@69
|
828 xcb_xv_port_t port_id,
|
jpayne@69
|
829 xcb_xvmc_surface_t surface_id);
|
jpayne@69
|
830
|
jpayne@69
|
831 xcb_xv_image_format_info_t *
|
jpayne@69
|
832 xcb_xvmc_list_subpicture_types_types (const xcb_xvmc_list_subpicture_types_reply_t *R);
|
jpayne@69
|
833
|
jpayne@69
|
834 int
|
jpayne@69
|
835 xcb_xvmc_list_subpicture_types_types_length (const xcb_xvmc_list_subpicture_types_reply_t *R);
|
jpayne@69
|
836
|
jpayne@69
|
837 xcb_xv_image_format_info_iterator_t
|
jpayne@69
|
838 xcb_xvmc_list_subpicture_types_types_iterator (const xcb_xvmc_list_subpicture_types_reply_t *R);
|
jpayne@69
|
839
|
jpayne@69
|
840 /**
|
jpayne@69
|
841 * Return the reply
|
jpayne@69
|
842 * @param c The connection
|
jpayne@69
|
843 * @param cookie The cookie
|
jpayne@69
|
844 * @param e The xcb_generic_error_t supplied
|
jpayne@69
|
845 *
|
jpayne@69
|
846 * Returns the reply of the request asked by
|
jpayne@69
|
847 *
|
jpayne@69
|
848 * The parameter @p e supplied to this function must be NULL if
|
jpayne@69
|
849 * xcb_xvmc_list_subpicture_types_unchecked(). is used.
|
jpayne@69
|
850 * Otherwise, it stores the error if any.
|
jpayne@69
|
851 *
|
jpayne@69
|
852 * The returned value must be freed by the caller using free().
|
jpayne@69
|
853 */
|
jpayne@69
|
854 xcb_xvmc_list_subpicture_types_reply_t *
|
jpayne@69
|
855 xcb_xvmc_list_subpicture_types_reply (xcb_connection_t *c,
|
jpayne@69
|
856 xcb_xvmc_list_subpicture_types_cookie_t cookie /**< */,
|
jpayne@69
|
857 xcb_generic_error_t **e);
|
jpayne@69
|
858
|
jpayne@69
|
859
|
jpayne@69
|
860 #ifdef __cplusplus
|
jpayne@69
|
861 }
|
jpayne@69
|
862 #endif
|
jpayne@69
|
863
|
jpayne@69
|
864 #endif
|
jpayne@69
|
865
|
jpayne@69
|
866 /**
|
jpayne@69
|
867 * @}
|
jpayne@69
|
868 */
|