1 /*
2  * This file generated automatically from xv.xml by d_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_Xv_API XCB Xv API
8  * @brief Xv XCB Protocol Implementation.
9  * @{
10  **/
11 
12 module xcb.xv;
13 
14 import xcb.xcb;
15 import xcb.xproto;
16 import xcb.shm;
17 
18 extern (C):
19 
20 enum int XCB_XV_MAJOR_VERSION = 2;
21 enum int XCB_XV_MINOR_VERSION = 2;
22 
23 extern (C) __gshared extern xcb_extension_t xcb_xv_id;
24 
25 alias xcb_xv_port_t = uint;
26 
27 /**
28  * @brief xcb_xv_port_iterator_t
29  **/
30 struct xcb_xv_port_iterator_t {
31 	xcb_xv_port_t* data; /**<  */
32 	int rem; /**<  */
33 	int index; /**<  */
34 }
35 
36 alias xcb_xv_encoding_t = uint;
37 
38 /**
39  * @brief xcb_xv_encoding_iterator_t
40  **/
41 struct xcb_xv_encoding_iterator_t {
42 	xcb_xv_encoding_t* data; /**<  */
43 	int rem; /**<  */
44 	int index; /**<  */
45 }
46 
47 enum xcb_xv_type_t {
48 	XCB_XV_TYPE_INPUT_MASK = 1,
49 	XCB_XV_TYPE_OUTPUT_MASK = 2,
50 	XCB_XV_TYPE_VIDEO_MASK = 4,
51 	XCB_XV_TYPE_STILL_MASK = 8,
52 	XCB_XV_TYPE_IMAGE_MASK = 16
53 }
54 
55 alias XCB_XV_TYPE_INPUT_MASK = xcb_xv_type_t.XCB_XV_TYPE_INPUT_MASK;
56 alias XCB_XV_TYPE_OUTPUT_MASK = xcb_xv_type_t.XCB_XV_TYPE_OUTPUT_MASK;
57 alias XCB_XV_TYPE_VIDEO_MASK = xcb_xv_type_t.XCB_XV_TYPE_VIDEO_MASK;
58 alias XCB_XV_TYPE_STILL_MASK = xcb_xv_type_t.XCB_XV_TYPE_STILL_MASK;
59 alias XCB_XV_TYPE_IMAGE_MASK = xcb_xv_type_t.XCB_XV_TYPE_IMAGE_MASK;
60 
61 enum xcb_xv_image_format_info_type_t {
62 	XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB = 0,
63 	XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV = 1
64 }
65 
66 alias XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB = xcb_xv_image_format_info_type_t.XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB;
67 alias XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV = xcb_xv_image_format_info_type_t.XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV;
68 
69 enum xcb_xv_image_format_info_format_t {
70 	XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED = 0,
71 	XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR = 1
72 }
73 
74 alias XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED = xcb_xv_image_format_info_format_t.XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED;
75 alias XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR = xcb_xv_image_format_info_format_t.XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR;
76 
77 enum xcb_xv_attribute_flag_t {
78 	XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 1,
79 	XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 2
80 }
81 
82 alias XCB_XV_ATTRIBUTE_FLAG_GETTABLE = xcb_xv_attribute_flag_t.XCB_XV_ATTRIBUTE_FLAG_GETTABLE;
83 alias XCB_XV_ATTRIBUTE_FLAG_SETTABLE = xcb_xv_attribute_flag_t.XCB_XV_ATTRIBUTE_FLAG_SETTABLE;
84 
85 enum xcb_xv_video_notify_reason_t {
86 	XCB_XV_VIDEO_NOTIFY_REASON_STARTED = 0,
87 	XCB_XV_VIDEO_NOTIFY_REASON_STOPPED = 1,
88 	XCB_XV_VIDEO_NOTIFY_REASON_BUSY = 2,
89 	XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED = 3,
90 	XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR = 4
91 }
92 
93 alias XCB_XV_VIDEO_NOTIFY_REASON_STARTED = xcb_xv_video_notify_reason_t.XCB_XV_VIDEO_NOTIFY_REASON_STARTED;
94 alias XCB_XV_VIDEO_NOTIFY_REASON_STOPPED = xcb_xv_video_notify_reason_t.XCB_XV_VIDEO_NOTIFY_REASON_STOPPED;
95 alias XCB_XV_VIDEO_NOTIFY_REASON_BUSY = xcb_xv_video_notify_reason_t.XCB_XV_VIDEO_NOTIFY_REASON_BUSY;
96 alias XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED = xcb_xv_video_notify_reason_t.XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED;
97 alias XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR = xcb_xv_video_notify_reason_t.XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR;
98 
99 enum xcb_xv_scanline_order_t {
100 	XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM = 0,
101 	XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP = 1
102 }
103 
104 alias XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM = xcb_xv_scanline_order_t.XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM;
105 alias XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP = xcb_xv_scanline_order_t.XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP;
106 
107 enum xcb_xv_grab_port_status_t {
108 	XCB_XV_GRAB_PORT_STATUS_SUCCESS = 0,
109 	XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION = 1,
110 	XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED = 2,
111 	XCB_XV_GRAB_PORT_STATUS_INVALID_TIME = 3,
112 	XCB_XV_GRAB_PORT_STATUS_BAD_REPLY = 4,
113 	XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC = 5
114 }
115 
116 alias XCB_XV_GRAB_PORT_STATUS_SUCCESS = xcb_xv_grab_port_status_t.XCB_XV_GRAB_PORT_STATUS_SUCCESS;
117 alias XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION = xcb_xv_grab_port_status_t.XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION;
118 alias XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED = xcb_xv_grab_port_status_t.XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED;
119 alias XCB_XV_GRAB_PORT_STATUS_INVALID_TIME = xcb_xv_grab_port_status_t.XCB_XV_GRAB_PORT_STATUS_INVALID_TIME;
120 alias XCB_XV_GRAB_PORT_STATUS_BAD_REPLY = xcb_xv_grab_port_status_t.XCB_XV_GRAB_PORT_STATUS_BAD_REPLY;
121 alias XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC = xcb_xv_grab_port_status_t.XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC;
122 
123 /**
124  * @brief xcb_xv_rational_t
125  **/
126 struct xcb_xv_rational_t {
127 	int numerator; /**<  */
128 	int denominator; /**<  */
129 }
130 
131 /**
132  * @brief xcb_xv_rational_iterator_t
133  **/
134 struct xcb_xv_rational_iterator_t {
135 	xcb_xv_rational_t* data; /**<  */
136 	int rem; /**<  */
137 	int index; /**<  */
138 }
139 
140 /**
141  * @brief xcb_xv_format_t
142  **/
143 struct xcb_xv_format_t {
144 	xcb_visualid_t visual; /**<  */
145 	ubyte depth; /**<  */
146 	ubyte[3] pad0; /**<  */
147 }
148 
149 /**
150  * @brief xcb_xv_format_iterator_t
151  **/
152 struct xcb_xv_format_iterator_t {
153 	xcb_xv_format_t* data; /**<  */
154 	int rem; /**<  */
155 	int index; /**<  */
156 }
157 
158 /**
159  * @brief xcb_xv_adaptor_info_t
160  **/
161 struct xcb_xv_adaptor_info_t {
162 	xcb_xv_port_t base_id; /**<  */
163 	ushort name_size; /**<  */
164 	ushort num_ports; /**<  */
165 	ushort num_formats; /**<  */
166 	ubyte type; /**<  */
167 	ubyte pad0; /**<  */
168 }
169 
170 /**
171  * @brief xcb_xv_adaptor_info_iterator_t
172  **/
173 struct xcb_xv_adaptor_info_iterator_t {
174 	xcb_xv_adaptor_info_t* data; /**<  */
175 	int rem; /**<  */
176 	int index; /**<  */
177 }
178 
179 /**
180  * @brief xcb_xv_encoding_info_t
181  **/
182 struct xcb_xv_encoding_info_t {
183 	xcb_xv_encoding_t encoding; /**<  */
184 	ushort name_size; /**<  */
185 	ushort width; /**<  */
186 	ushort height; /**<  */
187 	ubyte[2] pad0; /**<  */
188 	xcb_xv_rational_t rate; /**<  */
189 }
190 
191 /**
192  * @brief xcb_xv_encoding_info_iterator_t
193  **/
194 struct xcb_xv_encoding_info_iterator_t {
195 	xcb_xv_encoding_info_t* data; /**<  */
196 	int rem; /**<  */
197 	int index; /**<  */
198 }
199 
200 /**
201  * @brief xcb_xv_image_t
202  **/
203 struct xcb_xv_image_t {
204 	uint id; /**<  */
205 	ushort width; /**<  */
206 	ushort height; /**<  */
207 	uint data_size; /**<  */
208 	uint num_planes; /**<  */
209 }
210 
211 /**
212  * @brief xcb_xv_image_iterator_t
213  **/
214 struct xcb_xv_image_iterator_t {
215 	xcb_xv_image_t* data; /**<  */
216 	int rem; /**<  */
217 	int index; /**<  */
218 }
219 
220 /**
221  * @brief xcb_xv_attribute_info_t
222  **/
223 struct xcb_xv_attribute_info_t {
224 	uint flags; /**<  */
225 	int min; /**<  */
226 	int max; /**<  */
227 	uint size; /**<  */
228 }
229 
230 /**
231  * @brief xcb_xv_attribute_info_iterator_t
232  **/
233 struct xcb_xv_attribute_info_iterator_t {
234 	xcb_xv_attribute_info_t* data; /**<  */
235 	int rem; /**<  */
236 	int index; /**<  */
237 }
238 
239 /**
240  * @brief xcb_xv_image_format_info_t
241  **/
242 struct xcb_xv_image_format_info_t {
243 	uint id; /**<  */
244 	ubyte type; /**<  */
245 	ubyte byte_order; /**<  */
246 	ubyte[2] pad0; /**<  */
247 	ubyte[16] guid; /**<  */
248 	ubyte bpp; /**<  */
249 	ubyte num_planes; /**<  */
250 	ubyte[2] pad1; /**<  */
251 	ubyte depth; /**<  */
252 	ubyte[3] pad2; /**<  */
253 	uint red_mask; /**<  */
254 	uint green_mask; /**<  */
255 	uint blue_mask; /**<  */
256 	ubyte format; /**<  */
257 	ubyte[3] pad3; /**<  */
258 	uint y_sample_bits; /**<  */
259 	uint u_sample_bits; /**<  */
260 	uint v_sample_bits; /**<  */
261 	uint vhorz_y_period; /**<  */
262 	uint vhorz_u_period; /**<  */
263 	uint vhorz_v_period; /**<  */
264 	uint vvert_y_period; /**<  */
265 	uint vvert_u_period; /**<  */
266 	uint vvert_v_period; /**<  */
267 	ubyte[32] vcomp_order; /**<  */
268 	ubyte vscanline_order; /**<  */
269 	ubyte[11] pad4; /**<  */
270 }
271 
272 /**
273  * @brief xcb_xv_image_format_info_iterator_t
274  **/
275 struct xcb_xv_image_format_info_iterator_t {
276 	xcb_xv_image_format_info_t* data; /**<  */
277 	int rem; /**<  */
278 	int index; /**<  */
279 }
280 
281 /** Opcode for xcb_xv_bad_port. */
282 enum XCB_XV_BAD_PORT = 0;
283 
284 /**
285  * @brief xcb_xv_bad_port_error_t
286  **/
287 struct xcb_xv_bad_port_error_t {
288 	ubyte response_type; /**<  */
289 	ubyte error_code; /**<  */
290 	ushort sequence; /**<  */
291 }
292 
293 /** Opcode for xcb_xv_bad_encoding. */
294 enum XCB_XV_BAD_ENCODING = 1;
295 
296 /**
297  * @brief xcb_xv_bad_encoding_error_t
298  **/
299 struct xcb_xv_bad_encoding_error_t {
300 	ubyte response_type; /**<  */
301 	ubyte error_code; /**<  */
302 	ushort sequence; /**<  */
303 }
304 
305 /** Opcode for xcb_xv_bad_control. */
306 enum XCB_XV_BAD_CONTROL = 2;
307 
308 /**
309  * @brief xcb_xv_bad_control_error_t
310  **/
311 struct xcb_xv_bad_control_error_t {
312 	ubyte response_type; /**<  */
313 	ubyte error_code; /**<  */
314 	ushort sequence; /**<  */
315 }
316 
317 /** Opcode for xcb_xv_video_notify. */
318 enum XCB_XV_VIDEO_NOTIFY = 0;
319 
320 /**
321  * @brief xcb_xv_video_notify_event_t
322  **/
323 struct xcb_xv_video_notify_event_t {
324 	ubyte response_type; /**<  */
325 	ubyte reason; /**<  */
326 	ushort sequence; /**<  */
327 	xcb_timestamp_t time; /**<  */
328 	xcb_drawable_t drawable; /**<  */
329 	xcb_xv_port_t port; /**<  */
330 }
331 
332 /** Opcode for xcb_xv_port_notify. */
333 enum XCB_XV_PORT_NOTIFY = 1;
334 
335 /**
336  * @brief xcb_xv_port_notify_event_t
337  **/
338 struct xcb_xv_port_notify_event_t {
339 	ubyte response_type; /**<  */
340 	ubyte pad0; /**<  */
341 	ushort sequence; /**<  */
342 	xcb_timestamp_t time; /**<  */
343 	xcb_xv_port_t port; /**<  */
344 	xcb_atom_t attribute; /**<  */
345 	int value; /**<  */
346 }
347 
348 /**
349  * @brief xcb_xv_query_extension_cookie_t
350  **/
351 struct xcb_xv_query_extension_cookie_t {
352 	uint sequence; /**<  */
353 }
354 
355 /** Opcode for xcb_xv_query_extension. */
356 enum XCB_XV_QUERY_EXTENSION = 0;
357 
358 /**
359  * @brief xcb_xv_query_extension_request_t
360  **/
361 struct xcb_xv_query_extension_request_t {
362 	ubyte major_opcode; /**<  */
363 	ubyte minor_opcode; /**<  */
364 	ushort length; /**<  */
365 }
366 
367 /**
368  * @brief xcb_xv_query_extension_reply_t
369  **/
370 struct xcb_xv_query_extension_reply_t {
371 	ubyte response_type; /**<  */
372 	ubyte pad0; /**<  */
373 	ushort sequence; /**<  */
374 	uint length; /**<  */
375 	ushort major; /**<  */
376 	ushort minor; /**<  */
377 }
378 
379 /**
380  * @brief xcb_xv_query_adaptors_cookie_t
381  **/
382 struct xcb_xv_query_adaptors_cookie_t {
383 	uint sequence; /**<  */
384 }
385 
386 /** Opcode for xcb_xv_query_adaptors. */
387 enum XCB_XV_QUERY_ADAPTORS = 1;
388 
389 /**
390  * @brief xcb_xv_query_adaptors_request_t
391  **/
392 struct xcb_xv_query_adaptors_request_t {
393 	ubyte major_opcode; /**<  */
394 	ubyte minor_opcode; /**<  */
395 	ushort length; /**<  */
396 	xcb_window_t window; /**<  */
397 }
398 
399 /**
400  * @brief xcb_xv_query_adaptors_reply_t
401  **/
402 struct xcb_xv_query_adaptors_reply_t {
403 	ubyte response_type; /**<  */
404 	ubyte pad0; /**<  */
405 	ushort sequence; /**<  */
406 	uint length; /**<  */
407 	ushort num_adaptors; /**<  */
408 	ubyte[22] pad1; /**<  */
409 }
410 
411 /**
412  * @brief xcb_xv_query_encodings_cookie_t
413  **/
414 struct xcb_xv_query_encodings_cookie_t {
415 	uint sequence; /**<  */
416 }
417 
418 /** Opcode for xcb_xv_query_encodings. */
419 enum XCB_XV_QUERY_ENCODINGS = 2;
420 
421 /**
422  * @brief xcb_xv_query_encodings_request_t
423  **/
424 struct xcb_xv_query_encodings_request_t {
425 	ubyte major_opcode; /**<  */
426 	ubyte minor_opcode; /**<  */
427 	ushort length; /**<  */
428 	xcb_xv_port_t port; /**<  */
429 }
430 
431 /**
432  * @brief xcb_xv_query_encodings_reply_t
433  **/
434 struct xcb_xv_query_encodings_reply_t {
435 	ubyte response_type; /**<  */
436 	ubyte pad0; /**<  */
437 	ushort sequence; /**<  */
438 	uint length; /**<  */
439 	ushort num_encodings; /**<  */
440 	ubyte[22] pad1; /**<  */
441 }
442 
443 /**
444  * @brief xcb_xv_grab_port_cookie_t
445  **/
446 struct xcb_xv_grab_port_cookie_t {
447 	uint sequence; /**<  */
448 }
449 
450 /** Opcode for xcb_xv_grab_port. */
451 enum XCB_XV_GRAB_PORT = 3;
452 
453 /**
454  * @brief xcb_xv_grab_port_request_t
455  **/
456 struct xcb_xv_grab_port_request_t {
457 	ubyte major_opcode; /**<  */
458 	ubyte minor_opcode; /**<  */
459 	ushort length; /**<  */
460 	xcb_xv_port_t port; /**<  */
461 	xcb_timestamp_t time; /**<  */
462 }
463 
464 /**
465  * @brief xcb_xv_grab_port_reply_t
466  **/
467 struct xcb_xv_grab_port_reply_t {
468 	ubyte response_type; /**<  */
469 	ubyte result; /**<  */
470 	ushort sequence; /**<  */
471 	uint length; /**<  */
472 }
473 
474 /** Opcode for xcb_xv_ungrab_port. */
475 enum XCB_XV_UNGRAB_PORT = 4;
476 
477 /**
478  * @brief xcb_xv_ungrab_port_request_t
479  **/
480 struct xcb_xv_ungrab_port_request_t {
481 	ubyte major_opcode; /**<  */
482 	ubyte minor_opcode; /**<  */
483 	ushort length; /**<  */
484 	xcb_xv_port_t port; /**<  */
485 	xcb_timestamp_t time; /**<  */
486 }
487 
488 /** Opcode for xcb_xv_put_video. */
489 enum XCB_XV_PUT_VIDEO = 5;
490 
491 /**
492  * @brief xcb_xv_put_video_request_t
493  **/
494 struct xcb_xv_put_video_request_t {
495 	ubyte major_opcode; /**<  */
496 	ubyte minor_opcode; /**<  */
497 	ushort length; /**<  */
498 	xcb_xv_port_t port; /**<  */
499 	xcb_drawable_t drawable; /**<  */
500 	xcb_gcontext_t gc; /**<  */
501 	short vid_x; /**<  */
502 	short vid_y; /**<  */
503 	ushort vid_w; /**<  */
504 	ushort vid_h; /**<  */
505 	short drw_x; /**<  */
506 	short drw_y; /**<  */
507 	ushort drw_w; /**<  */
508 	ushort drw_h; /**<  */
509 }
510 
511 /** Opcode for xcb_xv_put_still. */
512 enum XCB_XV_PUT_STILL = 6;
513 
514 /**
515  * @brief xcb_xv_put_still_request_t
516  **/
517 struct xcb_xv_put_still_request_t {
518 	ubyte major_opcode; /**<  */
519 	ubyte minor_opcode; /**<  */
520 	ushort length; /**<  */
521 	xcb_xv_port_t port; /**<  */
522 	xcb_drawable_t drawable; /**<  */
523 	xcb_gcontext_t gc; /**<  */
524 	short vid_x; /**<  */
525 	short vid_y; /**<  */
526 	ushort vid_w; /**<  */
527 	ushort vid_h; /**<  */
528 	short drw_x; /**<  */
529 	short drw_y; /**<  */
530 	ushort drw_w; /**<  */
531 	ushort drw_h; /**<  */
532 }
533 
534 /** Opcode for xcb_xv_get_video. */
535 enum XCB_XV_GET_VIDEO = 7;
536 
537 /**
538  * @brief xcb_xv_get_video_request_t
539  **/
540 struct xcb_xv_get_video_request_t {
541 	ubyte major_opcode; /**<  */
542 	ubyte minor_opcode; /**<  */
543 	ushort length; /**<  */
544 	xcb_xv_port_t port; /**<  */
545 	xcb_drawable_t drawable; /**<  */
546 	xcb_gcontext_t gc; /**<  */
547 	short vid_x; /**<  */
548 	short vid_y; /**<  */
549 	ushort vid_w; /**<  */
550 	ushort vid_h; /**<  */
551 	short drw_x; /**<  */
552 	short drw_y; /**<  */
553 	ushort drw_w; /**<  */
554 	ushort drw_h; /**<  */
555 }
556 
557 /** Opcode for xcb_xv_get_still. */
558 enum XCB_XV_GET_STILL = 8;
559 
560 /**
561  * @brief xcb_xv_get_still_request_t
562  **/
563 struct xcb_xv_get_still_request_t {
564 	ubyte major_opcode; /**<  */
565 	ubyte minor_opcode; /**<  */
566 	ushort length; /**<  */
567 	xcb_xv_port_t port; /**<  */
568 	xcb_drawable_t drawable; /**<  */
569 	xcb_gcontext_t gc; /**<  */
570 	short vid_x; /**<  */
571 	short vid_y; /**<  */
572 	ushort vid_w; /**<  */
573 	ushort vid_h; /**<  */
574 	short drw_x; /**<  */
575 	short drw_y; /**<  */
576 	ushort drw_w; /**<  */
577 	ushort drw_h; /**<  */
578 }
579 
580 /** Opcode for xcb_xv_stop_video. */
581 enum XCB_XV_STOP_VIDEO = 9;
582 
583 /**
584  * @brief xcb_xv_stop_video_request_t
585  **/
586 struct xcb_xv_stop_video_request_t {
587 	ubyte major_opcode; /**<  */
588 	ubyte minor_opcode; /**<  */
589 	ushort length; /**<  */
590 	xcb_xv_port_t port; /**<  */
591 	xcb_drawable_t drawable; /**<  */
592 }
593 
594 /** Opcode for xcb_xv_select_video_notify. */
595 enum XCB_XV_SELECT_VIDEO_NOTIFY = 10;
596 
597 /**
598  * @brief xcb_xv_select_video_notify_request_t
599  **/
600 struct xcb_xv_select_video_notify_request_t {
601 	ubyte major_opcode; /**<  */
602 	ubyte minor_opcode; /**<  */
603 	ushort length; /**<  */
604 	xcb_drawable_t drawable; /**<  */
605 	ubyte onoff; /**<  */
606 	ubyte[3] pad0; /**<  */
607 }
608 
609 /** Opcode for xcb_xv_select_port_notify. */
610 enum XCB_XV_SELECT_PORT_NOTIFY = 11;
611 
612 /**
613  * @brief xcb_xv_select_port_notify_request_t
614  **/
615 struct xcb_xv_select_port_notify_request_t {
616 	ubyte major_opcode; /**<  */
617 	ubyte minor_opcode; /**<  */
618 	ushort length; /**<  */
619 	xcb_xv_port_t port; /**<  */
620 	ubyte onoff; /**<  */
621 	ubyte[3] pad0; /**<  */
622 }
623 
624 /**
625  * @brief xcb_xv_query_best_size_cookie_t
626  **/
627 struct xcb_xv_query_best_size_cookie_t {
628 	uint sequence; /**<  */
629 }
630 
631 /** Opcode for xcb_xv_query_best_size. */
632 enum XCB_XV_QUERY_BEST_SIZE = 12;
633 
634 /**
635  * @brief xcb_xv_query_best_size_request_t
636  **/
637 struct xcb_xv_query_best_size_request_t {
638 	ubyte major_opcode; /**<  */
639 	ubyte minor_opcode; /**<  */
640 	ushort length; /**<  */
641 	xcb_xv_port_t port; /**<  */
642 	ushort vid_w; /**<  */
643 	ushort vid_h; /**<  */
644 	ushort drw_w; /**<  */
645 	ushort drw_h; /**<  */
646 	ubyte motion; /**<  */
647 	ubyte[3] pad0; /**<  */
648 }
649 
650 /**
651  * @brief xcb_xv_query_best_size_reply_t
652  **/
653 struct xcb_xv_query_best_size_reply_t {
654 	ubyte response_type; /**<  */
655 	ubyte pad0; /**<  */
656 	ushort sequence; /**<  */
657 	uint length; /**<  */
658 	ushort actual_width; /**<  */
659 	ushort actual_height; /**<  */
660 }
661 
662 /** Opcode for xcb_xv_set_port_attribute. */
663 enum XCB_XV_SET_PORT_ATTRIBUTE = 13;
664 
665 /**
666  * @brief xcb_xv_set_port_attribute_request_t
667  **/
668 struct xcb_xv_set_port_attribute_request_t {
669 	ubyte major_opcode; /**<  */
670 	ubyte minor_opcode; /**<  */
671 	ushort length; /**<  */
672 	xcb_xv_port_t port; /**<  */
673 	xcb_atom_t attribute; /**<  */
674 	int value; /**<  */
675 }
676 
677 /**
678  * @brief xcb_xv_get_port_attribute_cookie_t
679  **/
680 struct xcb_xv_get_port_attribute_cookie_t {
681 	uint sequence; /**<  */
682 }
683 
684 /** Opcode for xcb_xv_get_port_attribute. */
685 enum XCB_XV_GET_PORT_ATTRIBUTE = 14;
686 
687 /**
688  * @brief xcb_xv_get_port_attribute_request_t
689  **/
690 struct xcb_xv_get_port_attribute_request_t {
691 	ubyte major_opcode; /**<  */
692 	ubyte minor_opcode; /**<  */
693 	ushort length; /**<  */
694 	xcb_xv_port_t port; /**<  */
695 	xcb_atom_t attribute; /**<  */
696 }
697 
698 /**
699  * @brief xcb_xv_get_port_attribute_reply_t
700  **/
701 struct xcb_xv_get_port_attribute_reply_t {
702 	ubyte response_type; /**<  */
703 	ubyte pad0; /**<  */
704 	ushort sequence; /**<  */
705 	uint length; /**<  */
706 	int value; /**<  */
707 }
708 
709 /**
710  * @brief xcb_xv_query_port_attributes_cookie_t
711  **/
712 struct xcb_xv_query_port_attributes_cookie_t {
713 	uint sequence; /**<  */
714 }
715 
716 /** Opcode for xcb_xv_query_port_attributes. */
717 enum XCB_XV_QUERY_PORT_ATTRIBUTES = 15;
718 
719 /**
720  * @brief xcb_xv_query_port_attributes_request_t
721  **/
722 struct xcb_xv_query_port_attributes_request_t {
723 	ubyte major_opcode; /**<  */
724 	ubyte minor_opcode; /**<  */
725 	ushort length; /**<  */
726 	xcb_xv_port_t port; /**<  */
727 }
728 
729 /**
730  * @brief xcb_xv_query_port_attributes_reply_t
731  **/
732 struct xcb_xv_query_port_attributes_reply_t {
733 	ubyte response_type; /**<  */
734 	ubyte pad0; /**<  */
735 	ushort sequence; /**<  */
736 	uint length; /**<  */
737 	uint num_attributes; /**<  */
738 	uint text_size; /**<  */
739 	ubyte[16] pad1; /**<  */
740 }
741 
742 /**
743  * @brief xcb_xv_list_image_formats_cookie_t
744  **/
745 struct xcb_xv_list_image_formats_cookie_t {
746 	uint sequence; /**<  */
747 }
748 
749 /** Opcode for xcb_xv_list_image_formats. */
750 enum XCB_XV_LIST_IMAGE_FORMATS = 16;
751 
752 /**
753  * @brief xcb_xv_list_image_formats_request_t
754  **/
755 struct xcb_xv_list_image_formats_request_t {
756 	ubyte major_opcode; /**<  */
757 	ubyte minor_opcode; /**<  */
758 	ushort length; /**<  */
759 	xcb_xv_port_t port; /**<  */
760 }
761 
762 /**
763  * @brief xcb_xv_list_image_formats_reply_t
764  **/
765 struct xcb_xv_list_image_formats_reply_t {
766 	ubyte response_type; /**<  */
767 	ubyte pad0; /**<  */
768 	ushort sequence; /**<  */
769 	uint length; /**<  */
770 	uint num_formats; /**<  */
771 	ubyte[20] pad1; /**<  */
772 }
773 
774 /**
775  * @brief xcb_xv_query_image_attributes_cookie_t
776  **/
777 struct xcb_xv_query_image_attributes_cookie_t {
778 	uint sequence; /**<  */
779 }
780 
781 /** Opcode for xcb_xv_query_image_attributes. */
782 enum XCB_XV_QUERY_IMAGE_ATTRIBUTES = 17;
783 
784 /**
785  * @brief xcb_xv_query_image_attributes_request_t
786  **/
787 struct xcb_xv_query_image_attributes_request_t {
788 	ubyte major_opcode; /**<  */
789 	ubyte minor_opcode; /**<  */
790 	ushort length; /**<  */
791 	xcb_xv_port_t port; /**<  */
792 	uint id; /**<  */
793 	ushort width; /**<  */
794 	ushort height; /**<  */
795 }
796 
797 /**
798  * @brief xcb_xv_query_image_attributes_reply_t
799  **/
800 struct xcb_xv_query_image_attributes_reply_t {
801 	ubyte response_type; /**<  */
802 	ubyte pad0; /**<  */
803 	ushort sequence; /**<  */
804 	uint length; /**<  */
805 	uint num_planes; /**<  */
806 	uint data_size; /**<  */
807 	ushort width; /**<  */
808 	ushort height; /**<  */
809 	ubyte[12] pad1; /**<  */
810 }
811 
812 /** Opcode for xcb_xv_put_image. */
813 enum XCB_XV_PUT_IMAGE = 18;
814 
815 /**
816  * @brief xcb_xv_put_image_request_t
817  **/
818 struct xcb_xv_put_image_request_t {
819 	ubyte major_opcode; /**<  */
820 	ubyte minor_opcode; /**<  */
821 	ushort length; /**<  */
822 	xcb_xv_port_t port; /**<  */
823 	xcb_drawable_t drawable; /**<  */
824 	xcb_gcontext_t gc; /**<  */
825 	uint id; /**<  */
826 	short src_x; /**<  */
827 	short src_y; /**<  */
828 	ushort src_w; /**<  */
829 	ushort src_h; /**<  */
830 	short drw_x; /**<  */
831 	short drw_y; /**<  */
832 	ushort drw_w; /**<  */
833 	ushort drw_h; /**<  */
834 	ushort width; /**<  */
835 	ushort height; /**<  */
836 }
837 
838 /** Opcode for xcb_xv_shm_put_image. */
839 enum XCB_XV_SHM_PUT_IMAGE = 19;
840 
841 /**
842  * @brief xcb_xv_shm_put_image_request_t
843  **/
844 struct xcb_xv_shm_put_image_request_t {
845 	ubyte major_opcode; /**<  */
846 	ubyte minor_opcode; /**<  */
847 	ushort length; /**<  */
848 	xcb_xv_port_t port; /**<  */
849 	xcb_drawable_t drawable; /**<  */
850 	xcb_gcontext_t gc; /**<  */
851 	xcb_shm_seg_t shmseg; /**<  */
852 	uint id; /**<  */
853 	uint offset; /**<  */
854 	short src_x; /**<  */
855 	short src_y; /**<  */
856 	ushort src_w; /**<  */
857 	ushort src_h; /**<  */
858 	short drw_x; /**<  */
859 	short drw_y; /**<  */
860 	ushort drw_w; /**<  */
861 	ushort drw_h; /**<  */
862 	ushort width; /**<  */
863 	ushort height; /**<  */
864 	ubyte send_event; /**<  */
865 	ubyte[3] pad0; /**<  */
866 }
867 
868 /**
869  * Get the next element of the iterator
870  * @param i Pointer to a xcb_xv_port_iterator_t
871  *
872  * Get the next element in the iterator. The member rem is
873  * decreased by one. The member data points to the next
874  * element. The member index is increased by sizeof(xcb_xv_port_t)
875  */
876 void xcb_xv_port_next(xcb_xv_port_iterator_t* i /**< */ );
877 
878 /**
879  * Return the iterator pointing to the last element
880  * @param i An xcb_xv_port_iterator_t
881  * @return  The iterator pointing to the last element
882  *
883  * Set the current element in the iterator to the last element.
884  * The member rem is set to 0. The member data points to the
885  * last element.
886  */
887 xcb_generic_iterator_t xcb_xv_port_end(xcb_xv_port_iterator_t i /**< */ );
888 
889 /**
890  * Get the next element of the iterator
891  * @param i Pointer to a xcb_xv_encoding_iterator_t
892  *
893  * Get the next element in the iterator. The member rem is
894  * decreased by one. The member data points to the next
895  * element. The member index is increased by sizeof(xcb_xv_encoding_t)
896  */
897 void xcb_xv_encoding_next(xcb_xv_encoding_iterator_t* i /**< */ );
898 
899 /**
900  * Return the iterator pointing to the last element
901  * @param i An xcb_xv_encoding_iterator_t
902  * @return  The iterator pointing to the last element
903  *
904  * Set the current element in the iterator to the last element.
905  * The member rem is set to 0. The member data points to the
906  * last element.
907  */
908 xcb_generic_iterator_t xcb_xv_encoding_end(xcb_xv_encoding_iterator_t i /**< */ );
909 
910 /**
911  * Get the next element of the iterator
912  * @param i Pointer to a xcb_xv_rational_iterator_t
913  *
914  * Get the next element in the iterator. The member rem is
915  * decreased by one. The member data points to the next
916  * element. The member index is increased by sizeof(xcb_xv_rational_t)
917  */
918 void xcb_xv_rational_next(xcb_xv_rational_iterator_t* i /**< */ );
919 
920 /**
921  * Return the iterator pointing to the last element
922  * @param i An xcb_xv_rational_iterator_t
923  * @return  The iterator pointing to the last element
924  *
925  * Set the current element in the iterator to the last element.
926  * The member rem is set to 0. The member data points to the
927  * last element.
928  */
929 xcb_generic_iterator_t xcb_xv_rational_end(xcb_xv_rational_iterator_t i /**< */ );
930 
931 /**
932  * Get the next element of the iterator
933  * @param i Pointer to a xcb_xv_format_iterator_t
934  *
935  * Get the next element in the iterator. The member rem is
936  * decreased by one. The member data points to the next
937  * element. The member index is increased by sizeof(xcb_xv_format_t)
938  */
939 void xcb_xv_format_next(xcb_xv_format_iterator_t* i /**< */ );
940 
941 /**
942  * Return the iterator pointing to the last element
943  * @param i An xcb_xv_format_iterator_t
944  * @return  The iterator pointing to the last element
945  *
946  * Set the current element in the iterator to the last element.
947  * The member rem is set to 0. The member data points to the
948  * last element.
949  */
950 xcb_generic_iterator_t xcb_xv_format_end(xcb_xv_format_iterator_t i /**< */ );
951 
952 int xcb_xv_adaptor_info_sizeof(const void* _buffer /**< */ );
953 
954 char* xcb_xv_adaptor_info_name(const xcb_xv_adaptor_info_t* R /**< */ );
955 
956 int xcb_xv_adaptor_info_name_length(const xcb_xv_adaptor_info_t* R /**< */ );
957 
958 xcb_generic_iterator_t xcb_xv_adaptor_info_name_end(const xcb_xv_adaptor_info_t* R /**< */ );
959 
960 xcb_xv_format_t* xcb_xv_adaptor_info_formats(const xcb_xv_adaptor_info_t* R /**< */ );
961 
962 int xcb_xv_adaptor_info_formats_length(const xcb_xv_adaptor_info_t* R /**< */ );
963 
964 xcb_xv_format_iterator_t xcb_xv_adaptor_info_formats_iterator(const xcb_xv_adaptor_info_t* R /**< */ );
965 
966 /**
967  * Get the next element of the iterator
968  * @param i Pointer to a xcb_xv_adaptor_info_iterator_t
969  *
970  * Get the next element in the iterator. The member rem is
971  * decreased by one. The member data points to the next
972  * element. The member index is increased by sizeof(xcb_xv_adaptor_info_t)
973  */
974 void xcb_xv_adaptor_info_next(xcb_xv_adaptor_info_iterator_t* i /**< */ );
975 
976 /**
977  * Return the iterator pointing to the last element
978  * @param i An xcb_xv_adaptor_info_iterator_t
979  * @return  The iterator pointing to the last element
980  *
981  * Set the current element in the iterator to the last element.
982  * The member rem is set to 0. The member data points to the
983  * last element.
984  */
985 xcb_generic_iterator_t xcb_xv_adaptor_info_end(xcb_xv_adaptor_info_iterator_t i /**< */ );
986 
987 int xcb_xv_encoding_info_sizeof(const void* _buffer /**< */ );
988 
989 char* xcb_xv_encoding_info_name(const xcb_xv_encoding_info_t* R /**< */ );
990 
991 int xcb_xv_encoding_info_name_length(const xcb_xv_encoding_info_t* R /**< */ );
992 
993 xcb_generic_iterator_t xcb_xv_encoding_info_name_end(const xcb_xv_encoding_info_t* R /**< */ );
994 
995 /**
996  * Get the next element of the iterator
997  * @param i Pointer to a xcb_xv_encoding_info_iterator_t
998  *
999  * Get the next element in the iterator. The member rem is
1000  * decreased by one. The member data points to the next
1001  * element. The member index is increased by sizeof(xcb_xv_encoding_info_t)
1002  */
1003 void xcb_xv_encoding_info_next(xcb_xv_encoding_info_iterator_t* i /**< */ );
1004 
1005 /**
1006  * Return the iterator pointing to the last element
1007  * @param i An xcb_xv_encoding_info_iterator_t
1008  * @return  The iterator pointing to the last element
1009  *
1010  * Set the current element in the iterator to the last element.
1011  * The member rem is set to 0. The member data points to the
1012  * last element.
1013  */
1014 xcb_generic_iterator_t xcb_xv_encoding_info_end(xcb_xv_encoding_info_iterator_t i /**< */ );
1015 
1016 int xcb_xv_image_sizeof(const void* _buffer /**< */ );
1017 
1018 uint* xcb_xv_image_pitches(const xcb_xv_image_t* R /**< */ );
1019 
1020 int xcb_xv_image_pitches_length(const xcb_xv_image_t* R /**< */ );
1021 
1022 xcb_generic_iterator_t xcb_xv_image_pitches_end(const xcb_xv_image_t* R /**< */ );
1023 
1024 uint* xcb_xv_image_offsets(const xcb_xv_image_t* R /**< */ );
1025 
1026 int xcb_xv_image_offsets_length(const xcb_xv_image_t* R /**< */ );
1027 
1028 xcb_generic_iterator_t xcb_xv_image_offsets_end(const xcb_xv_image_t* R /**< */ );
1029 
1030 ubyte* xcb_xv_image_data(const xcb_xv_image_t* R /**< */ );
1031 
1032 int xcb_xv_image_data_length(const xcb_xv_image_t* R /**< */ );
1033 
1034 xcb_generic_iterator_t xcb_xv_image_data_end(const xcb_xv_image_t* R /**< */ );
1035 
1036 /**
1037  * Get the next element of the iterator
1038  * @param i Pointer to a xcb_xv_image_iterator_t
1039  *
1040  * Get the next element in the iterator. The member rem is
1041  * decreased by one. The member data points to the next
1042  * element. The member index is increased by sizeof(xcb_xv_image_t)
1043  */
1044 void xcb_xv_image_next(xcb_xv_image_iterator_t* i /**< */ );
1045 
1046 /**
1047  * Return the iterator pointing to the last element
1048  * @param i An xcb_xv_image_iterator_t
1049  * @return  The iterator pointing to the last element
1050  *
1051  * Set the current element in the iterator to the last element.
1052  * The member rem is set to 0. The member data points to the
1053  * last element.
1054  */
1055 xcb_generic_iterator_t xcb_xv_image_end(xcb_xv_image_iterator_t i /**< */ );
1056 
1057 int xcb_xv_attribute_info_sizeof(const void* _buffer /**< */ );
1058 
1059 char* xcb_xv_attribute_info_name(const xcb_xv_attribute_info_t* R /**< */ );
1060 
1061 int xcb_xv_attribute_info_name_length(const xcb_xv_attribute_info_t* R /**< */ );
1062 
1063 xcb_generic_iterator_t xcb_xv_attribute_info_name_end(const xcb_xv_attribute_info_t* R /**< */ );
1064 
1065 /**
1066  * Get the next element of the iterator
1067  * @param i Pointer to a xcb_xv_attribute_info_iterator_t
1068  *
1069  * Get the next element in the iterator. The member rem is
1070  * decreased by one. The member data points to the next
1071  * element. The member index is increased by sizeof(xcb_xv_attribute_info_t)
1072  */
1073 void xcb_xv_attribute_info_next(xcb_xv_attribute_info_iterator_t* i /**< */ );
1074 
1075 /**
1076  * Return the iterator pointing to the last element
1077  * @param i An xcb_xv_attribute_info_iterator_t
1078  * @return  The iterator pointing to the last element
1079  *
1080  * Set the current element in the iterator to the last element.
1081  * The member rem is set to 0. The member data points to the
1082  * last element.
1083  */
1084 xcb_generic_iterator_t xcb_xv_attribute_info_end(xcb_xv_attribute_info_iterator_t i /**< */ );
1085 
1086 /**
1087  * Get the next element of the iterator
1088  * @param i Pointer to a xcb_xv_image_format_info_iterator_t
1089  *
1090  * Get the next element in the iterator. The member rem is
1091  * decreased by one. The member data points to the next
1092  * element. The member index is increased by sizeof(xcb_xv_image_format_info_t)
1093  */
1094 void xcb_xv_image_format_info_next(xcb_xv_image_format_info_iterator_t* i /**< */ );
1095 
1096 /**
1097  * Return the iterator pointing to the last element
1098  * @param i An xcb_xv_image_format_info_iterator_t
1099  * @return  The iterator pointing to the last element
1100  *
1101  * Set the current element in the iterator to the last element.
1102  * The member rem is set to 0. The member data points to the
1103  * last element.
1104  */
1105 xcb_generic_iterator_t xcb_xv_image_format_info_end(xcb_xv_image_format_info_iterator_t i /**< */ );
1106 
1107 /**
1108  *
1109  * @param c The connection
1110  * @return A cookie
1111  *
1112  * Delivers a request to the X server.
1113  *
1114  */
1115 xcb_xv_query_extension_cookie_t xcb_xv_query_extension(xcb_connection_t* c /**< */ );
1116 
1117 /**
1118  *
1119  * @param c The connection
1120  * @return A cookie
1121  *
1122  * Delivers a request to the X server.
1123  *
1124  * This form can be used only if the request will cause
1125  * a reply to be generated. Any returned error will be
1126  * placed in the event queue.
1127  */
1128 xcb_xv_query_extension_cookie_t xcb_xv_query_extension_unchecked(xcb_connection_t* c /**< */ );
1129 
1130 /**
1131  * Return the reply
1132  * @param c      The connection
1133  * @param cookie The cookie
1134  * @param e      The xcb_generic_error_t supplied
1135  *
1136  * Returns the reply of the request asked by
1137  *
1138  * The parameter @p e supplied to this function must be NULL if
1139  * xcb_xv_query_extension_unchecked(). is used.
1140  * Otherwise, it stores the error if any.
1141  *
1142  * The returned value must be freed by the caller using free().
1143  */
1144 xcb_xv_query_extension_reply_t* xcb_xv_query_extension_reply(xcb_connection_t* c /**< */ , xcb_xv_query_extension_cookie_t cookie /**< */ ,
1145 	xcb_generic_error_t** e /**< */ );
1146 
1147 int xcb_xv_query_adaptors_sizeof(const void* _buffer /**< */ );
1148 
1149 /**
1150  *
1151  * @param c The connection
1152  * @return A cookie
1153  *
1154  * Delivers a request to the X server.
1155  *
1156  */
1157 xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ );
1158 
1159 /**
1160  *
1161  * @param c The connection
1162  * @return A cookie
1163  *
1164  * Delivers a request to the X server.
1165  *
1166  * This form can be used only if the request will cause
1167  * a reply to be generated. Any returned error will be
1168  * placed in the event queue.
1169  */
1170 xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors_unchecked(xcb_connection_t* c /**< */ , xcb_window_t window /**< */ );
1171 
1172 int xcb_xv_query_adaptors_info_length(const xcb_xv_query_adaptors_reply_t* R /**< */ );
1173 
1174 xcb_xv_adaptor_info_iterator_t xcb_xv_query_adaptors_info_iterator(const xcb_xv_query_adaptors_reply_t* R /**< */ );
1175 
1176 /**
1177  * Return the reply
1178  * @param c      The connection
1179  * @param cookie The cookie
1180  * @param e      The xcb_generic_error_t supplied
1181  *
1182  * Returns the reply of the request asked by
1183  *
1184  * The parameter @p e supplied to this function must be NULL if
1185  * xcb_xv_query_adaptors_unchecked(). is used.
1186  * Otherwise, it stores the error if any.
1187  *
1188  * The returned value must be freed by the caller using free().
1189  */
1190 xcb_xv_query_adaptors_reply_t* xcb_xv_query_adaptors_reply(xcb_connection_t* c /**< */ ,
1191 	xcb_xv_query_adaptors_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1192 
1193 int xcb_xv_query_encodings_sizeof(const void* _buffer /**< */ );
1194 
1195 /**
1196  *
1197  * @param c The connection
1198  * @return A cookie
1199  *
1200  * Delivers a request to the X server.
1201  *
1202  */
1203 xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ );
1204 
1205 /**
1206  *
1207  * @param c The connection
1208  * @return A cookie
1209  *
1210  * Delivers a request to the X server.
1211  *
1212  * This form can be used only if the request will cause
1213  * a reply to be generated. Any returned error will be
1214  * placed in the event queue.
1215  */
1216 xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings_unchecked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ );
1217 
1218 int xcb_xv_query_encodings_info_length(const xcb_xv_query_encodings_reply_t* R /**< */ );
1219 
1220 xcb_xv_encoding_info_iterator_t xcb_xv_query_encodings_info_iterator(const xcb_xv_query_encodings_reply_t* R /**< */ );
1221 
1222 /**
1223  * Return the reply
1224  * @param c      The connection
1225  * @param cookie The cookie
1226  * @param e      The xcb_generic_error_t supplied
1227  *
1228  * Returns the reply of the request asked by
1229  *
1230  * The parameter @p e supplied to this function must be NULL if
1231  * xcb_xv_query_encodings_unchecked(). is used.
1232  * Otherwise, it stores the error if any.
1233  *
1234  * The returned value must be freed by the caller using free().
1235  */
1236 xcb_xv_query_encodings_reply_t* xcb_xv_query_encodings_reply(xcb_connection_t* c /**< */ , xcb_xv_query_encodings_cookie_t cookie /**< */ ,
1237 	xcb_generic_error_t** e /**< */ );
1238 
1239 /**
1240  *
1241  * @param c The connection
1242  * @return A cookie
1243  *
1244  * Delivers a request to the X server.
1245  *
1246  */
1247 xcb_xv_grab_port_cookie_t xcb_xv_grab_port(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_timestamp_t time /**< */ );
1248 
1249 /**
1250  *
1251  * @param c The connection
1252  * @return A cookie
1253  *
1254  * Delivers a request to the X server.
1255  *
1256  * This form can be used only if the request will cause
1257  * a reply to be generated. Any returned error will be
1258  * placed in the event queue.
1259  */
1260 xcb_xv_grab_port_cookie_t xcb_xv_grab_port_unchecked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_timestamp_t time /**< */ );
1261 
1262 /**
1263  * Return the reply
1264  * @param c      The connection
1265  * @param cookie The cookie
1266  * @param e      The xcb_generic_error_t supplied
1267  *
1268  * Returns the reply of the request asked by
1269  *
1270  * The parameter @p e supplied to this function must be NULL if
1271  * xcb_xv_grab_port_unchecked(). is used.
1272  * Otherwise, it stores the error if any.
1273  *
1274  * The returned value must be freed by the caller using free().
1275  */
1276 xcb_xv_grab_port_reply_t* xcb_xv_grab_port_reply(xcb_connection_t* c /**< */ , xcb_xv_grab_port_cookie_t cookie /**< */ ,
1277 	xcb_generic_error_t** e /**< */ );
1278 
1279 /**
1280  *
1281  * @param c The connection
1282  * @return A cookie
1283  *
1284  * Delivers a request to the X server.
1285  *
1286  * This form can be used only if the request will not cause
1287  * a reply to be generated. Any returned error will be
1288  * saved for handling by xcb_request_check().
1289  */
1290 xcb_void_cookie_t xcb_xv_ungrab_port_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_timestamp_t time /**< */ );
1291 
1292 /**
1293  *
1294  * @param c The connection
1295  * @return A cookie
1296  *
1297  * Delivers a request to the X server.
1298  *
1299  */
1300 xcb_void_cookie_t xcb_xv_ungrab_port(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_timestamp_t time /**< */ );
1301 
1302 /**
1303  *
1304  * @param c The connection
1305  * @return A cookie
1306  *
1307  * Delivers a request to the X server.
1308  *
1309  * This form can be used only if the request will not cause
1310  * a reply to be generated. Any returned error will be
1311  * saved for handling by xcb_request_check().
1312  */
1313 xcb_void_cookie_t xcb_xv_put_video_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ ,
1314 	xcb_gcontext_t gc /**< */ , short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ ,
1315 	short drw_y /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ );
1316 
1317 /**
1318  *
1319  * @param c The connection
1320  * @return A cookie
1321  *
1322  * Delivers a request to the X server.
1323  *
1324  */
1325 xcb_void_cookie_t xcb_xv_put_video(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ , xcb_gcontext_t gc /**< */ ,
1326 	short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ , short drw_y /**< */ ,
1327 	ushort drw_w /**< */ , ushort drw_h /**< */ );
1328 
1329 /**
1330  *
1331  * @param c The connection
1332  * @return A cookie
1333  *
1334  * Delivers a request to the X server.
1335  *
1336  * This form can be used only if the request will not cause
1337  * a reply to be generated. Any returned error will be
1338  * saved for handling by xcb_request_check().
1339  */
1340 xcb_void_cookie_t xcb_xv_put_still_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ ,
1341 	xcb_gcontext_t gc /**< */ , short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ ,
1342 	short drw_y /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ );
1343 
1344 /**
1345  *
1346  * @param c The connection
1347  * @return A cookie
1348  *
1349  * Delivers a request to the X server.
1350  *
1351  */
1352 xcb_void_cookie_t xcb_xv_put_still(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ , xcb_gcontext_t gc /**< */ ,
1353 	short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ , short drw_y /**< */ ,
1354 	ushort drw_w /**< */ , ushort drw_h /**< */ );
1355 
1356 /**
1357  *
1358  * @param c The connection
1359  * @return A cookie
1360  *
1361  * Delivers a request to the X server.
1362  *
1363  * This form can be used only if the request will not cause
1364  * a reply to be generated. Any returned error will be
1365  * saved for handling by xcb_request_check().
1366  */
1367 xcb_void_cookie_t xcb_xv_get_video_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ ,
1368 	xcb_gcontext_t gc /**< */ , short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ ,
1369 	short drw_y /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ );
1370 
1371 /**
1372  *
1373  * @param c The connection
1374  * @return A cookie
1375  *
1376  * Delivers a request to the X server.
1377  *
1378  */
1379 xcb_void_cookie_t xcb_xv_get_video(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ , xcb_gcontext_t gc /**< */ ,
1380 	short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ , short drw_y /**< */ ,
1381 	ushort drw_w /**< */ , ushort drw_h /**< */ );
1382 
1383 /**
1384  *
1385  * @param c The connection
1386  * @return A cookie
1387  *
1388  * Delivers a request to the X server.
1389  *
1390  * This form can be used only if the request will not cause
1391  * a reply to be generated. Any returned error will be
1392  * saved for handling by xcb_request_check().
1393  */
1394 xcb_void_cookie_t xcb_xv_get_still_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ ,
1395 	xcb_gcontext_t gc /**< */ , short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ ,
1396 	short drw_y /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ );
1397 
1398 /**
1399  *
1400  * @param c The connection
1401  * @return A cookie
1402  *
1403  * Delivers a request to the X server.
1404  *
1405  */
1406 xcb_void_cookie_t xcb_xv_get_still(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ , xcb_gcontext_t gc /**< */ ,
1407 	short vid_x /**< */ , short vid_y /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ , short drw_x /**< */ , short drw_y /**< */ ,
1408 	ushort drw_w /**< */ , ushort drw_h /**< */ );
1409 
1410 /**
1411  *
1412  * @param c The connection
1413  * @return A cookie
1414  *
1415  * Delivers a request to the X server.
1416  *
1417  * This form can be used only if the request will not cause
1418  * a reply to be generated. Any returned error will be
1419  * saved for handling by xcb_request_check().
1420  */
1421 xcb_void_cookie_t xcb_xv_stop_video_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ );
1422 
1423 /**
1424  *
1425  * @param c The connection
1426  * @return A cookie
1427  *
1428  * Delivers a request to the X server.
1429  *
1430  */
1431 xcb_void_cookie_t xcb_xv_stop_video(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ );
1432 
1433 /**
1434  *
1435  * @param c The connection
1436  * @return A cookie
1437  *
1438  * Delivers a request to the X server.
1439  *
1440  * This form can be used only if the request will not cause
1441  * a reply to be generated. Any returned error will be
1442  * saved for handling by xcb_request_check().
1443  */
1444 xcb_void_cookie_t xcb_xv_select_video_notify_checked(xcb_connection_t* c /**< */ , xcb_drawable_t drawable /**< */ , ubyte onoff /**< */ );
1445 
1446 /**
1447  *
1448  * @param c The connection
1449  * @return A cookie
1450  *
1451  * Delivers a request to the X server.
1452  *
1453  */
1454 xcb_void_cookie_t xcb_xv_select_video_notify(xcb_connection_t* c /**< */ , xcb_drawable_t drawable /**< */ , ubyte onoff /**< */ );
1455 
1456 /**
1457  *
1458  * @param c The connection
1459  * @return A cookie
1460  *
1461  * Delivers a request to the X server.
1462  *
1463  * This form can be used only if the request will not cause
1464  * a reply to be generated. Any returned error will be
1465  * saved for handling by xcb_request_check().
1466  */
1467 xcb_void_cookie_t xcb_xv_select_port_notify_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , ubyte onoff /**< */ );
1468 
1469 /**
1470  *
1471  * @param c The connection
1472  * @return A cookie
1473  *
1474  * Delivers a request to the X server.
1475  *
1476  */
1477 xcb_void_cookie_t xcb_xv_select_port_notify(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , ubyte onoff /**< */ );
1478 
1479 /**
1480  *
1481  * @param c The connection
1482  * @return A cookie
1483  *
1484  * Delivers a request to the X server.
1485  *
1486  */
1487 xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , ushort vid_w /**< */ , ushort vid_h /**< */ ,
1488 	ushort drw_w /**< */ , ushort drw_h /**< */ , ubyte motion /**< */ );
1489 
1490 /**
1491  *
1492  * @param c The connection
1493  * @return A cookie
1494  *
1495  * Delivers a request to the X server.
1496  *
1497  * This form can be used only if the request will cause
1498  * a reply to be generated. Any returned error will be
1499  * placed in the event queue.
1500  */
1501 xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size_unchecked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , ushort vid_w /**< */ ,
1502 	ushort vid_h /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ , ubyte motion /**< */ );
1503 
1504 /**
1505  * Return the reply
1506  * @param c      The connection
1507  * @param cookie The cookie
1508  * @param e      The xcb_generic_error_t supplied
1509  *
1510  * Returns the reply of the request asked by
1511  *
1512  * The parameter @p e supplied to this function must be NULL if
1513  * xcb_xv_query_best_size_unchecked(). is used.
1514  * Otherwise, it stores the error if any.
1515  *
1516  * The returned value must be freed by the caller using free().
1517  */
1518 xcb_xv_query_best_size_reply_t* xcb_xv_query_best_size_reply(xcb_connection_t* c /**< */ , xcb_xv_query_best_size_cookie_t cookie /**< */ ,
1519 	xcb_generic_error_t** e /**< */ );
1520 
1521 /**
1522  *
1523  * @param c The connection
1524  * @return A cookie
1525  *
1526  * Delivers a request to the X server.
1527  *
1528  * This form can be used only if the request will not cause
1529  * a reply to be generated. Any returned error will be
1530  * saved for handling by xcb_request_check().
1531  */
1532 xcb_void_cookie_t xcb_xv_set_port_attribute_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_atom_t attribute /**< */ ,
1533 	int value /**< */ );
1534 
1535 /**
1536  *
1537  * @param c The connection
1538  * @return A cookie
1539  *
1540  * Delivers a request to the X server.
1541  *
1542  */
1543 xcb_void_cookie_t xcb_xv_set_port_attribute(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_atom_t attribute /**< */ ,
1544 	int value /**< */ );
1545 
1546 /**
1547  *
1548  * @param c The connection
1549  * @return A cookie
1550  *
1551  * Delivers a request to the X server.
1552  *
1553  */
1554 xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_atom_t attribute /**< */ );
1555 
1556 /**
1557  *
1558  * @param c The connection
1559  * @return A cookie
1560  *
1561  * Delivers a request to the X server.
1562  *
1563  * This form can be used only if the request will cause
1564  * a reply to be generated. Any returned error will be
1565  * placed in the event queue.
1566  */
1567 xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute_unchecked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ ,
1568 	xcb_atom_t attribute /**< */ );
1569 
1570 /**
1571  * Return the reply
1572  * @param c      The connection
1573  * @param cookie The cookie
1574  * @param e      The xcb_generic_error_t supplied
1575  *
1576  * Returns the reply of the request asked by
1577  *
1578  * The parameter @p e supplied to this function must be NULL if
1579  * xcb_xv_get_port_attribute_unchecked(). is used.
1580  * Otherwise, it stores the error if any.
1581  *
1582  * The returned value must be freed by the caller using free().
1583  */
1584 xcb_xv_get_port_attribute_reply_t* xcb_xv_get_port_attribute_reply(xcb_connection_t* c /**< */ ,
1585 	xcb_xv_get_port_attribute_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1586 
1587 int xcb_xv_query_port_attributes_sizeof(const void* _buffer /**< */ );
1588 
1589 /**
1590  *
1591  * @param c The connection
1592  * @return A cookie
1593  *
1594  * Delivers a request to the X server.
1595  *
1596  */
1597 xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ );
1598 
1599 /**
1600  *
1601  * @param c The connection
1602  * @return A cookie
1603  *
1604  * Delivers a request to the X server.
1605  *
1606  * This form can be used only if the request will cause
1607  * a reply to be generated. Any returned error will be
1608  * placed in the event queue.
1609  */
1610 xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes_unchecked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ );
1611 
1612 int xcb_xv_query_port_attributes_attributes_length(const xcb_xv_query_port_attributes_reply_t* R /**< */ );
1613 
1614 xcb_xv_attribute_info_iterator_t xcb_xv_query_port_attributes_attributes_iterator(const xcb_xv_query_port_attributes_reply_t* R /**< */ );
1615 
1616 /**
1617  * Return the reply
1618  * @param c      The connection
1619  * @param cookie The cookie
1620  * @param e      The xcb_generic_error_t supplied
1621  *
1622  * Returns the reply of the request asked by
1623  *
1624  * The parameter @p e supplied to this function must be NULL if
1625  * xcb_xv_query_port_attributes_unchecked(). is used.
1626  * Otherwise, it stores the error if any.
1627  *
1628  * The returned value must be freed by the caller using free().
1629  */
1630 xcb_xv_query_port_attributes_reply_t* xcb_xv_query_port_attributes_reply(xcb_connection_t* c /**< */ ,
1631 	xcb_xv_query_port_attributes_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1632 
1633 int xcb_xv_list_image_formats_sizeof(const void* _buffer /**< */ );
1634 
1635 /**
1636  *
1637  * @param c The connection
1638  * @return A cookie
1639  *
1640  * Delivers a request to the X server.
1641  *
1642  */
1643 xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ );
1644 
1645 /**
1646  *
1647  * @param c The connection
1648  * @return A cookie
1649  *
1650  * Delivers a request to the X server.
1651  *
1652  * This form can be used only if the request will cause
1653  * a reply to be generated. Any returned error will be
1654  * placed in the event queue.
1655  */
1656 xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats_unchecked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ );
1657 
1658 xcb_xv_image_format_info_t* xcb_xv_list_image_formats_format(const xcb_xv_list_image_formats_reply_t* R /**< */ );
1659 
1660 int xcb_xv_list_image_formats_format_length(const xcb_xv_list_image_formats_reply_t* R /**< */ );
1661 
1662 xcb_xv_image_format_info_iterator_t xcb_xv_list_image_formats_format_iterator(const xcb_xv_list_image_formats_reply_t* R /**< */ );
1663 
1664 /**
1665  * Return the reply
1666  * @param c      The connection
1667  * @param cookie The cookie
1668  * @param e      The xcb_generic_error_t supplied
1669  *
1670  * Returns the reply of the request asked by
1671  *
1672  * The parameter @p e supplied to this function must be NULL if
1673  * xcb_xv_list_image_formats_unchecked(). is used.
1674  * Otherwise, it stores the error if any.
1675  *
1676  * The returned value must be freed by the caller using free().
1677  */
1678 xcb_xv_list_image_formats_reply_t* xcb_xv_list_image_formats_reply(xcb_connection_t* c /**< */ ,
1679 	xcb_xv_list_image_formats_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1680 
1681 int xcb_xv_query_image_attributes_sizeof(const void* _buffer /**< */ );
1682 
1683 /**
1684  *
1685  * @param c The connection
1686  * @return A cookie
1687  *
1688  * Delivers a request to the X server.
1689  *
1690  */
1691 xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ ,
1692 	uint id /**< */ , ushort width /**< */ , ushort height /**< */ );
1693 
1694 /**
1695  *
1696  * @param c The connection
1697  * @return A cookie
1698  *
1699  * Delivers a request to the X server.
1700  *
1701  * This form can be used only if the request will cause
1702  * a reply to be generated. Any returned error will be
1703  * placed in the event queue.
1704  */
1705 xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes_unchecked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ ,
1706 	uint id /**< */ , ushort width /**< */ , ushort height /**< */ );
1707 
1708 uint* xcb_xv_query_image_attributes_pitches(const xcb_xv_query_image_attributes_reply_t* R /**< */ );
1709 
1710 int xcb_xv_query_image_attributes_pitches_length(const xcb_xv_query_image_attributes_reply_t* R /**< */ );
1711 
1712 xcb_generic_iterator_t xcb_xv_query_image_attributes_pitches_end(const xcb_xv_query_image_attributes_reply_t* R /**< */ );
1713 
1714 uint* xcb_xv_query_image_attributes_offsets(const xcb_xv_query_image_attributes_reply_t* R /**< */ );
1715 
1716 int xcb_xv_query_image_attributes_offsets_length(const xcb_xv_query_image_attributes_reply_t* R /**< */ );
1717 
1718 xcb_generic_iterator_t xcb_xv_query_image_attributes_offsets_end(const xcb_xv_query_image_attributes_reply_t* R /**< */ );
1719 
1720 /**
1721  * Return the reply
1722  * @param c      The connection
1723  * @param cookie The cookie
1724  * @param e      The xcb_generic_error_t supplied
1725  *
1726  * Returns the reply of the request asked by
1727  *
1728  * The parameter @p e supplied to this function must be NULL if
1729  * xcb_xv_query_image_attributes_unchecked(). is used.
1730  * Otherwise, it stores the error if any.
1731  *
1732  * The returned value must be freed by the caller using free().
1733  */
1734 xcb_xv_query_image_attributes_reply_t* xcb_xv_query_image_attributes_reply(xcb_connection_t* c /**< */ ,
1735 	xcb_xv_query_image_attributes_cookie_t cookie /**< */ , xcb_generic_error_t** e /**< */ );
1736 
1737 int xcb_xv_put_image_sizeof(const void* _buffer /**< */ , uint data_len /**< */ );
1738 
1739 /**
1740  *
1741  * @param c The connection
1742  * @return A cookie
1743  *
1744  * Delivers a request to the X server.
1745  *
1746  * This form can be used only if the request will not cause
1747  * a reply to be generated. Any returned error will be
1748  * saved for handling by xcb_request_check().
1749  */
1750 xcb_void_cookie_t xcb_xv_put_image_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ ,
1751 	xcb_gcontext_t gc /**< */ , uint id /**< */ , short src_x /**< */ , short src_y /**< */ , ushort src_w /**< */ , ushort src_h /**< */ , short drw_x /**< */ , short drw_y /**< */ ,
1752 	ushort drw_w /**< */ , ushort drw_h /**< */ , ushort width /**< */ , ushort height /**< */ , uint data_len /**< */ , const ubyte* data /**< */ );
1753 
1754 /**
1755  *
1756  * @param c The connection
1757  * @return A cookie
1758  *
1759  * Delivers a request to the X server.
1760  *
1761  */
1762 xcb_void_cookie_t xcb_xv_put_image(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ , xcb_gcontext_t gc /**< */ , uint id /**< */ ,
1763 	short src_x /**< */ , short src_y /**< */ , ushort src_w /**< */ , ushort src_h /**< */ , short drw_x /**< */ , short drw_y /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ ,
1764 	ushort width /**< */ , ushort height /**< */ , uint data_len /**< */ , const ubyte* data /**< */ );
1765 
1766 /**
1767  *
1768  * @param c The connection
1769  * @return A cookie
1770  *
1771  * Delivers a request to the X server.
1772  *
1773  * This form can be used only if the request will not cause
1774  * a reply to be generated. Any returned error will be
1775  * saved for handling by xcb_request_check().
1776  */
1777 xcb_void_cookie_t xcb_xv_shm_put_image_checked(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ ,
1778 	xcb_gcontext_t gc /**< */ , xcb_shm_seg_t shmseg /**< */ , uint id /**< */ , uint offset /**< */ , short src_x /**< */ , short src_y /**< */ , ushort src_w /**< */ ,
1779 	ushort src_h /**< */ , short drw_x /**< */ , short drw_y /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ , ushort width /**< */ ,
1780 	ushort height /**< */ , ubyte send_event /**< */ );
1781 
1782 /**
1783  *
1784  * @param c The connection
1785  * @return A cookie
1786  *
1787  * Delivers a request to the X server.
1788  *
1789  */
1790 xcb_void_cookie_t xcb_xv_shm_put_image(xcb_connection_t* c /**< */ , xcb_xv_port_t port /**< */ , xcb_drawable_t drawable /**< */ , xcb_gcontext_t gc /**< */ ,
1791 	xcb_shm_seg_t shmseg /**< */ , uint id /**< */ , uint offset /**< */ , short src_x /**< */ , short src_y /**< */ , ushort src_w /**< */ , ushort src_h /**< */ ,
1792 	short drw_x /**< */ , short drw_y /**< */ , ushort drw_w /**< */ , ushort drw_h /**< */ , ushort width /**< */ ,
1793 	ushort height /**< */ , ubyte send_event /**< */ );
1794 
1795 /**
1796  * @}
1797  */