1 /*
2  * This file generated automatically from xv.xml by c-client.xsl using XSLT.
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 
13 module std.c.linux.X11.xcb.xv;
14 
15 import std.c.linux.X11.xcb.xcb;
16 import std.c.linux.X11.xcb.xproto;
17 import std.c.linux.X11.xcb.shm;
18 
19 const int XCB_XV_MAJOR_VERSION =2;
20 const int XCB_XV_MINOR_VERSION =2;
21   
22 extern(C) extern xcb_extension_t xcb_xv_id;
23 
24 alias uint xcb_xv_port_t;
25 
26 /**
27  * @brief xcb_xv_port_iterator_t
28  **/
29 struct xcb_xv_port_iterator_t {
30     xcb_xv_port_t *data; /**<  */
31     int            rem; /**<  */
32     int            index; /**<  */
33 } ;
34 
35 alias uint xcb_xv_encoding_t;
36 
37 /**
38  * @brief xcb_xv_encoding_iterator_t
39  **/
40 struct xcb_xv_encoding_iterator_t {
41     xcb_xv_encoding_t *data; /**<  */
42     int                rem; /**<  */
43     int                index; /**<  */
44 } ;
45 
46 enum :int{
47     XCB_XV_TYPE_INPUT_MASK = 0x00000001,
48     XCB_XV_TYPE_OUTPUT_MASK = 0x00000002,
49     XCB_XV_TYPE_VIDEO_MASK = 0x00000004,
50     XCB_XV_TYPE_STILL_MASK = 0x00000008,
51     XCB_XV_TYPE_IMAGE_MASK = 0x00000010
52 };
53 
54 enum :int{
55     XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB,
56     XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV
57 };
58 
59 enum :int{
60     XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED,
61     XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR
62 };
63 
64 enum :int{
65     XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 0x01,
66     XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 0x02
67 };
68 
69 /**
70  * @brief xcb_xv_rational_t
71  **/
72 struct xcb_xv_rational_t {
73     int numerator; /**<  */
74     int denominator; /**<  */
75 } ;
76 
77 /**
78  * @brief xcb_xv_rational_iterator_t
79  **/
80 struct xcb_xv_rational_iterator_t {
81     xcb_xv_rational_t *data; /**<  */
82     int                rem; /**<  */
83     int                index; /**<  */
84 } ;
85 
86 /**
87  * @brief xcb_xv_adaptor_info_t
88  **/
89 struct xcb_xv_adaptor_info_t {
90     xcb_xv_port_t base_id; /**<  */
91     ushort        name_size; /**<  */
92     ushort        num_ports; /**<  */
93     ushort        num_formats; /**<  */
94     ubyte         type; /**<  */
95     ubyte         pad; /**<  */
96 } ;
97 
98 /**
99  * @brief xcb_xv_adaptor_info_iterator_t
100  **/
101 struct xcb_xv_adaptor_info_iterator_t {
102     xcb_xv_adaptor_info_t *data; /**<  */
103     int                    rem; /**<  */
104     int                    index; /**<  */
105 } ;
106 
107 /**
108  * @brief xcb_xv_encoding_info_t
109  **/
110 struct xcb_xv_encoding_info_t {
111     xcb_xv_encoding_t encoding; /**<  */
112     ushort            name_size; /**<  */
113     ushort            width; /**<  */
114     ushort            height; /**<  */
115     xcb_xv_rational_t rate; /**<  */
116 } ;
117 
118 /**
119  * @brief xcb_xv_encoding_info_iterator_t
120  **/
121 struct xcb_xv_encoding_info_iterator_t {
122     xcb_xv_encoding_info_t *data; /**<  */
123     int                     rem; /**<  */
124     int                     index; /**<  */
125 } ;
126 
127 /**
128  * @brief xcb_xv_format_t
129  **/
130 struct xcb_xv_format_t {
131     xcb_visualid_t visual; /**<  */
132     ubyte          depth; /**<  */
133 } ;
134 
135 /**
136  * @brief xcb_xv_format_iterator_t
137  **/
138 struct xcb_xv_format_iterator_t {
139     xcb_xv_format_t *data; /**<  */
140     int              rem; /**<  */
141     int              index; /**<  */
142 } ;
143 
144 /**
145  * @brief xcb_xv_image_t
146  **/
147 struct xcb_xv_image_t {
148     uint   id; /**<  */
149     ushort width; /**<  */
150     ushort height; /**<  */
151     uint   data_size; /**<  */
152     uint   num_planes; /**<  */
153 } ;
154 
155 /**
156  * @brief xcb_xv_image_iterator_t
157  **/
158 struct xcb_xv_image_iterator_t {
159     xcb_xv_image_t *data; /**<  */
160     int             rem; /**<  */
161     int             index; /**<  */
162 } ;
163 
164 /**
165  * @brief xcb_xv_attribute_info_t
166  **/
167 struct xcb_xv_attribute_info_t {
168     uint flags; /**<  */
169     int  min; /**<  */
170     int  max; /**<  */
171     uint size; /**<  */
172 } ;
173 
174 /**
175  * @brief xcb_xv_attribute_info_iterator_t
176  **/
177 struct xcb_xv_attribute_info_iterator_t {
178     xcb_xv_attribute_info_t *data; /**<  */
179     int                      rem; /**<  */
180     int                      index; /**<  */
181 } ;
182 
183 /**
184  * @brief xcb_xv_image_format_info_t
185  **/
186 struct xcb_xv_image_format_info_t {
187     uint   id; /**<  */
188     ubyte  type; /**<  */
189     ubyte  byte_order; /**<  */
190     ushort pad1; /**<  */
191     ubyte  guid[16]; /**<  */
192     ubyte  bpp; /**<  */
193     ubyte  num_planes; /**<  */
194     ushort pad2; /**<  */
195     ubyte  depth; /**<  */
196     ubyte  pad3; /**<  */
197     ushort pad4; /**<  */
198     uint   red_mask; /**<  */
199     uint   green_mask; /**<  */
200     uint   blue_mask; /**<  */
201     ubyte  format; /**<  */
202     ubyte  pad5; /**<  */
203     ushort pad6; /**<  */
204     uint   y_sample_bits; /**<  */
205     uint   u_sample_bits; /**<  */
206     uint   v_sample_bits; /**<  */
207     uint   vhorz_y_period; /**<  */
208     uint   vhorz_u_period; /**<  */
209     uint   vhorz_v_period; /**<  */
210     uint   vvert_y_period; /**<  */
211     uint   vvert_u_period; /**<  */
212     uint   vvert_v_period; /**<  */
213     ubyte  vcomp_order[32]; /**<  */
214     ubyte  vscanline_order; /**<  */
215     ubyte  vpad7; /**<  */
216     ushort vpad8; /**<  */
217     uint   vpad9; /**<  */
218     uint   vpad10; /**<  */
219 } ;
220 
221 /**
222  * @brief xcb_xv_image_format_info_iterator_t
223  **/
224 struct xcb_xv_image_format_info_iterator_t {
225     xcb_xv_image_format_info_t *data; /**<  */
226     int                         rem; /**<  */
227     int                         index; /**<  */
228 } ;
229 
230 /** Opcode for xcb_xv_bad_port. */
231 const uint XCB_XV_BAD_PORT = 0;
232 
233 /**
234  * @brief xcb_xv_bad_port_error_t
235  **/
236 struct xcb_xv_bad_port_error_t {
237     ubyte  response_type; /**<  */
238     ubyte  error_code; /**<  */
239     ushort sequence; /**<  */
240 } ;
241 
242 /** Opcode for xcb_xv_bad_encoding. */
243 const uint XCB_XV_BAD_ENCODING = 1;
244 
245 /**
246  * @brief xcb_xv_bad_encoding_error_t
247  **/
248 struct xcb_xv_bad_encoding_error_t {
249     ubyte  response_type; /**<  */
250     ubyte  error_code; /**<  */
251     ushort sequence; /**<  */
252 } ;
253 
254 /** Opcode for xcb_xv_bad_control. */
255 const uint XCB_XV_BAD_CONTROL = 2;
256 
257 /**
258  * @brief xcb_xv_bad_control_error_t
259  **/
260 struct xcb_xv_bad_control_error_t {
261     ubyte  response_type; /**<  */
262     ubyte  error_code; /**<  */
263     ushort sequence; /**<  */
264 } ;
265 
266 /** Opcode for xcb_xv_video_notify. */
267 const uint XCB_XV_VIDEO_NOTIFY = 0;
268 
269 /**
270  * @brief xcb_xv_video_notify_event_t
271  **/
272 struct xcb_xv_video_notify_event_t {
273     ubyte           response_type; /**<  */
274     ubyte           reason; /**<  */
275     ushort          sequence; /**<  */
276     xcb_timestamp_t time; /**<  */
277     xcb_drawable_t  drawable; /**<  */
278     xcb_xv_port_t   port; /**<  */
279 } ;
280 
281 /** Opcode for xcb_xv_port_notify. */
282 const uint XCB_XV_PORT_NOTIFY = 1;
283 
284 /**
285  * @brief xcb_xv_port_notify_event_t
286  **/
287 struct xcb_xv_port_notify_event_t {
288     ubyte           response_type; /**<  */
289     ubyte           pad0; /**<  */
290     ushort          sequence; /**<  */
291     xcb_timestamp_t time; /**<  */
292     xcb_xv_port_t   port; /**<  */
293     xcb_atom_t      attribute; /**<  */
294     int             value; /**<  */
295 } ;
296 
297 /**
298  * @brief xcb_xv_query_extension_cookie_t
299  **/
300 struct xcb_xv_query_extension_cookie_t {
301     uint sequence; /**<  */
302 } ;
303 
304 /** Opcode for xcb_xv_query_extension. */
305 const uint XCB_XV_QUERY_EXTENSION = 0;
306 
307 /**
308  * @brief xcb_xv_query_extension_request_t
309  **/
310 struct xcb_xv_query_extension_request_t {
311     ubyte  major_opcode; /**<  */
312     ubyte  minor_opcode; /**<  */
313     ushort length; /**<  */
314 } ;
315 
316 /**
317  * @brief xcb_xv_query_extension_reply_t
318  **/
319 struct xcb_xv_query_extension_reply_t {
320     ubyte  response_type; /**<  */
321     ubyte  pad0; /**<  */
322     ushort sequence; /**<  */
323     uint   length; /**<  */
324     ushort major; /**<  */
325     ushort minor; /**<  */
326 } ;
327 
328 /**
329  * @brief xcb_xv_query_adaptors_cookie_t
330  **/
331 struct xcb_xv_query_adaptors_cookie_t {
332     uint sequence; /**<  */
333 } ;
334 
335 /** Opcode for xcb_xv_query_adaptors. */
336 const uint XCB_XV_QUERY_ADAPTORS = 1;
337 
338 /**
339  * @brief xcb_xv_query_adaptors_request_t
340  **/
341 struct xcb_xv_query_adaptors_request_t {
342     ubyte        major_opcode; /**<  */
343     ubyte        minor_opcode; /**<  */
344     ushort       length; /**<  */
345     xcb_window_t window; /**<  */
346 } ;
347 
348 /**
349  * @brief xcb_xv_query_adaptors_reply_t
350  **/
351 struct xcb_xv_query_adaptors_reply_t {
352     ubyte  response_type; /**<  */
353     ubyte  pad0; /**<  */
354     ushort sequence; /**<  */
355     uint   length; /**<  */
356     ushort num_adaptors; /**<  */
357     ubyte  pad1[22]; /**<  */
358 } ;
359 
360 /**
361  * @brief xcb_xv_query_encodings_cookie_t
362  **/
363 struct xcb_xv_query_encodings_cookie_t {
364     uint sequence; /**<  */
365 } ;
366 
367 /** Opcode for xcb_xv_query_encodings. */
368 const uint XCB_XV_QUERY_ENCODINGS = 2;
369 
370 /**
371  * @brief xcb_xv_query_encodings_request_t
372  **/
373 struct xcb_xv_query_encodings_request_t {
374     ubyte         major_opcode; /**<  */
375     ubyte         minor_opcode; /**<  */
376     ushort        length; /**<  */
377     xcb_xv_port_t port; /**<  */
378 } ;
379 
380 /**
381  * @brief xcb_xv_query_encodings_reply_t
382  **/
383 struct xcb_xv_query_encodings_reply_t {
384     ubyte  response_type; /**<  */
385     ubyte  pad0; /**<  */
386     ushort sequence; /**<  */
387     uint   length; /**<  */
388     ushort num_encodings; /**<  */
389     ubyte  pad1[22]; /**<  */
390 } ;
391 
392 /**
393  * @brief xcb_xv_grab_port_cookie_t
394  **/
395 struct xcb_xv_grab_port_cookie_t {
396     uint sequence; /**<  */
397 } ;
398 
399 /** Opcode for xcb_xv_grab_port. */
400 const uint XCB_XV_GRAB_PORT = 3;
401 
402 /**
403  * @brief xcb_xv_grab_port_request_t
404  **/
405 struct xcb_xv_grab_port_request_t {
406     ubyte           major_opcode; /**<  */
407     ubyte           minor_opcode; /**<  */
408     ushort          length; /**<  */
409     xcb_xv_port_t   port; /**<  */
410     xcb_timestamp_t time; /**<  */
411 } ;
412 
413 /**
414  * @brief xcb_xv_grab_port_reply_t
415  **/
416 struct xcb_xv_grab_port_reply_t {
417     ubyte  response_type; /**<  */
418     ubyte  result; /**<  */
419     ushort sequence; /**<  */
420     uint   length; /**<  */
421 } ;
422 
423 /** Opcode for xcb_xv_ungrab_port. */
424 const uint XCB_XV_UNGRAB_PORT = 4;
425 
426 /**
427  * @brief xcb_xv_ungrab_port_request_t
428  **/
429 struct xcb_xv_ungrab_port_request_t {
430     ubyte           major_opcode; /**<  */
431     ubyte           minor_opcode; /**<  */
432     ushort          length; /**<  */
433     xcb_xv_port_t   port; /**<  */
434     xcb_timestamp_t time; /**<  */
435 } ;
436 
437 /** Opcode for xcb_xv_put_video. */
438 const uint XCB_XV_PUT_VIDEO = 5;
439 
440 /**
441  * @brief xcb_xv_put_video_request_t
442  **/
443 struct xcb_xv_put_video_request_t {
444     ubyte          major_opcode; /**<  */
445     ubyte          minor_opcode; /**<  */
446     ushort         length; /**<  */
447     xcb_xv_port_t  port; /**<  */
448     xcb_drawable_t drawable; /**<  */
449     xcb_gcontext_t gc; /**<  */
450     short          vid_x; /**<  */
451     short          vid_y; /**<  */
452     ushort         vid_w; /**<  */
453     ushort         vid_h; /**<  */
454     short          drw_x; /**<  */
455     short          drw_y; /**<  */
456     ushort         drw_w; /**<  */
457     ushort         drw_h; /**<  */
458 } ;
459 
460 /** Opcode for xcb_xv_put_still. */
461 const uint XCB_XV_PUT_STILL = 6;
462 
463 /**
464  * @brief xcb_xv_put_still_request_t
465  **/
466 struct xcb_xv_put_still_request_t {
467     ubyte          major_opcode; /**<  */
468     ubyte          minor_opcode; /**<  */
469     ushort         length; /**<  */
470     xcb_xv_port_t  port; /**<  */
471     xcb_drawable_t drawable; /**<  */
472     xcb_gcontext_t gc; /**<  */
473     short          vid_x; /**<  */
474     short          vid_y; /**<  */
475     ushort         vid_w; /**<  */
476     ushort         vid_h; /**<  */
477     short          drw_x; /**<  */
478     short          drw_y; /**<  */
479     ushort         drw_w; /**<  */
480     ushort         drw_h; /**<  */
481 } ;
482 
483 /** Opcode for xcb_xv_get_video. */
484 const uint XCB_XV_GET_VIDEO = 7;
485 
486 /**
487  * @brief xcb_xv_get_video_request_t
488  **/
489 struct xcb_xv_get_video_request_t {
490     ubyte          major_opcode; /**<  */
491     ubyte          minor_opcode; /**<  */
492     ushort         length; /**<  */
493     xcb_xv_port_t  port; /**<  */
494     xcb_drawable_t drawable; /**<  */
495     xcb_gcontext_t gc; /**<  */
496     short          vid_x; /**<  */
497     short          vid_y; /**<  */
498     ushort         vid_w; /**<  */
499     ushort         vid_h; /**<  */
500     short          drw_x; /**<  */
501     short          drw_y; /**<  */
502     ushort         drw_w; /**<  */
503     ushort         drw_h; /**<  */
504 } ;
505 
506 /** Opcode for xcb_xv_get_still. */
507 const uint XCB_XV_GET_STILL = 8;
508 
509 /**
510  * @brief xcb_xv_get_still_request_t
511  **/
512 struct xcb_xv_get_still_request_t {
513     ubyte          major_opcode; /**<  */
514     ubyte          minor_opcode; /**<  */
515     ushort         length; /**<  */
516     xcb_xv_port_t  port; /**<  */
517     xcb_drawable_t drawable; /**<  */
518     xcb_gcontext_t gc; /**<  */
519     short          vid_x; /**<  */
520     short          vid_y; /**<  */
521     ushort         vid_w; /**<  */
522     ushort         vid_h; /**<  */
523     short          drw_x; /**<  */
524     short          drw_y; /**<  */
525     ushort         drw_w; /**<  */
526     ushort         drw_h; /**<  */
527 } ;
528 
529 /** Opcode for xcb_xv_stop_video. */
530 const uint XCB_XV_STOP_VIDEO = 9;
531 
532 /**
533  * @brief xcb_xv_stop_video_request_t
534  **/
535 struct xcb_xv_stop_video_request_t {
536     ubyte          major_opcode; /**<  */
537     ubyte          minor_opcode; /**<  */
538     ushort         length; /**<  */
539     xcb_xv_port_t  port; /**<  */
540     xcb_drawable_t drawable; /**<  */
541 } ;
542 
543 /** Opcode for xcb_xv_select_video_notify. */
544 const uint XCB_XV_SELECT_VIDEO_NOTIFY = 10;
545 
546 /**
547  * @brief xcb_xv_select_video_notify_request_t
548  **/
549 struct xcb_xv_select_video_notify_request_t {
550     ubyte          major_opcode; /**<  */
551     ubyte          minor_opcode; /**<  */
552     ushort         length; /**<  */
553     xcb_drawable_t drawable; /**<  */
554     bool           onoff; /**<  */
555 } ;
556 
557 /** Opcode for xcb_xv_select_port_notify. */
558 const uint XCB_XV_SELECT_PORT_NOTIFY = 11;
559 
560 /**
561  * @brief xcb_xv_select_port_notify_request_t
562  **/
563 struct xcb_xv_select_port_notify_request_t {
564     ubyte          major_opcode; /**<  */
565     ubyte          minor_opcode; /**<  */
566     ushort         length; /**<  */
567     xcb_drawable_t drawable; /**<  */
568     bool           onoff; /**<  */
569 } ;
570 
571 /**
572  * @brief xcb_xv_query_best_size_cookie_t
573  **/
574 struct xcb_xv_query_best_size_cookie_t {
575     uint sequence; /**<  */
576 } ;
577 
578 /** Opcode for xcb_xv_query_best_size. */
579 const uint XCB_XV_QUERY_BEST_SIZE = 12;
580 
581 /**
582  * @brief xcb_xv_query_best_size_request_t
583  **/
584 struct xcb_xv_query_best_size_request_t {
585     ubyte         major_opcode; /**<  */
586     ubyte         minor_opcode; /**<  */
587     ushort        length; /**<  */
588     xcb_xv_port_t port; /**<  */
589     ushort        vid_w; /**<  */
590     ushort        vid_h; /**<  */
591     ushort        drw_w; /**<  */
592     ushort        drw_h; /**<  */
593     bool          motion; /**<  */
594 } ;
595 
596 /**
597  * @brief xcb_xv_query_best_size_reply_t
598  **/
599 struct xcb_xv_query_best_size_reply_t {
600     ubyte  response_type; /**<  */
601     ubyte  pad0; /**<  */
602     ushort sequence; /**<  */
603     uint   length; /**<  */
604     ushort actual_width; /**<  */
605     ushort actual_height; /**<  */
606 } ;
607 
608 /** Opcode for xcb_xv_set_port_attribute. */
609 const uint XCB_XV_SET_PORT_ATTRIBUTE = 13;
610 
611 /**
612  * @brief xcb_xv_set_port_attribute_request_t
613  **/
614 struct xcb_xv_set_port_attribute_request_t {
615     ubyte         major_opcode; /**<  */
616     ubyte         minor_opcode; /**<  */
617     ushort        length; /**<  */
618     xcb_xv_port_t port; /**<  */
619     xcb_atom_t    attribute; /**<  */
620     int           value; /**<  */
621 } ;
622 
623 /**
624  * @brief xcb_xv_get_port_attribute_cookie_t
625  **/
626 struct xcb_xv_get_port_attribute_cookie_t {
627     uint sequence; /**<  */
628 } ;
629 
630 /** Opcode for xcb_xv_get_port_attribute. */
631 const uint XCB_XV_GET_PORT_ATTRIBUTE = 14;
632 
633 /**
634  * @brief xcb_xv_get_port_attribute_request_t
635  **/
636 struct xcb_xv_get_port_attribute_request_t {
637     ubyte         major_opcode; /**<  */
638     ubyte         minor_opcode; /**<  */
639     ushort        length; /**<  */
640     xcb_xv_port_t port; /**<  */
641     xcb_atom_t    attribute; /**<  */
642 } ;
643 
644 /**
645  * @brief xcb_xv_get_port_attribute_reply_t
646  **/
647 struct xcb_xv_get_port_attribute_reply_t {
648     ubyte  response_type; /**<  */
649     ubyte  pad0; /**<  */
650     ushort sequence; /**<  */
651     uint   length; /**<  */
652     int    value; /**<  */
653 } ;
654 
655 /**
656  * @brief xcb_xv_query_port_attributes_cookie_t
657  **/
658 struct xcb_xv_query_port_attributes_cookie_t {
659     uint sequence; /**<  */
660 } ;
661 
662 /** Opcode for xcb_xv_query_port_attributes. */
663 const uint XCB_XV_QUERY_PORT_ATTRIBUTES = 15;
664 
665 /**
666  * @brief xcb_xv_query_port_attributes_request_t
667  **/
668 struct xcb_xv_query_port_attributes_request_t {
669     ubyte         major_opcode; /**<  */
670     ubyte         minor_opcode; /**<  */
671     ushort        length; /**<  */
672     xcb_xv_port_t port; /**<  */
673 } ;
674 
675 /**
676  * @brief xcb_xv_query_port_attributes_reply_t
677  **/
678 struct xcb_xv_query_port_attributes_reply_t {
679     ubyte  response_type; /**<  */
680     ubyte  pad0; /**<  */
681     ushort sequence; /**<  */
682     uint   length; /**<  */
683     uint   num_attributes; /**<  */
684     uint   text_size; /**<  */
685     ubyte  pad1[16]; /**<  */
686 } ;
687 
688 /**
689  * @brief xcb_xv_list_image_formats_cookie_t
690  **/
691 struct xcb_xv_list_image_formats_cookie_t {
692     uint sequence; /**<  */
693 } ;
694 
695 /** Opcode for xcb_xv_list_image_formats. */
696 const uint XCB_XV_LIST_IMAGE_FORMATS = 16;
697 
698 /**
699  * @brief xcb_xv_list_image_formats_request_t
700  **/
701 struct xcb_xv_list_image_formats_request_t {
702     ubyte         major_opcode; /**<  */
703     ubyte         minor_opcode; /**<  */
704     ushort        length; /**<  */
705     xcb_xv_port_t port; /**<  */
706 } ;
707 
708 /**
709  * @brief xcb_xv_list_image_formats_reply_t
710  **/
711 struct xcb_xv_list_image_formats_reply_t {
712     ubyte  response_type; /**<  */
713     ubyte  pad0; /**<  */
714     ushort sequence; /**<  */
715     uint   length; /**<  */
716     uint   num_formats; /**<  */
717     ubyte  pad1[20]; /**<  */
718 } ;
719 
720 /**
721  * @brief xcb_xv_query_image_attributes_cookie_t
722  **/
723 struct xcb_xv_query_image_attributes_cookie_t {
724     uint sequence; /**<  */
725 } ;
726 
727 /** Opcode for xcb_xv_query_image_attributes. */
728 const uint XCB_XV_QUERY_IMAGE_ATTRIBUTES = 17;
729 
730 /**
731  * @brief xcb_xv_query_image_attributes_request_t
732  **/
733 struct xcb_xv_query_image_attributes_request_t {
734     ubyte         major_opcode; /**<  */
735     ubyte         minor_opcode; /**<  */
736     ushort        length; /**<  */
737     xcb_xv_port_t port; /**<  */
738     uint          id; /**<  */
739     ushort        width; /**<  */
740     ushort        height; /**<  */
741 } ;
742 
743 /**
744  * @brief xcb_xv_query_image_attributes_reply_t
745  **/
746 struct xcb_xv_query_image_attributes_reply_t {
747     ubyte  response_type; /**<  */
748     ubyte  pad0; /**<  */
749     ushort sequence; /**<  */
750     uint   length; /**<  */
751     uint   num_planes; /**<  */
752     uint   data_size; /**<  */
753     ushort width; /**<  */
754     ushort height; /**<  */
755     ubyte  pad1[12]; /**<  */
756 } ;
757 
758 /** Opcode for xcb_xv_put_image. */
759 const uint XCB_XV_PUT_IMAGE = 18;
760 
761 /**
762  * @brief xcb_xv_put_image_request_t
763  **/
764 struct xcb_xv_put_image_request_t {
765     ubyte          major_opcode; /**<  */
766     ubyte          minor_opcode; /**<  */
767     ushort         length; /**<  */
768     xcb_xv_port_t  port; /**<  */
769     xcb_drawable_t drawable; /**<  */
770     xcb_gcontext_t gc; /**<  */
771     uint           id; /**<  */
772     short          src_x; /**<  */
773     short          src_y; /**<  */
774     ushort         src_w; /**<  */
775     ushort         src_h; /**<  */
776     short          drw_x; /**<  */
777     short          drw_y; /**<  */
778     ushort         drw_w; /**<  */
779     ushort         drw_h; /**<  */
780     ushort         width; /**<  */
781     ushort         height; /**<  */
782 } ;
783 
784 /** Opcode for xcb_xv_shm_put_image. */
785 const uint XCB_XV_SHM_PUT_IMAGE = 19;
786 
787 /**
788  * @brief xcb_xv_shm_put_image_request_t
789  **/
790 struct xcb_xv_shm_put_image_request_t {
791     ubyte          major_opcode; /**<  */
792     ubyte          minor_opcode; /**<  */
793     ushort         length; /**<  */
794     xcb_xv_port_t  port; /**<  */
795     xcb_drawable_t drawable; /**<  */
796     xcb_gcontext_t gc; /**<  */
797     xcb_shm_seg_t  shmseg; /**<  */
798     uint           id; /**<  */
799     uint           offset; /**<  */
800     short          src_x; /**<  */
801     short          src_y; /**<  */
802     ushort         src_w; /**<  */
803     ushort         src_h; /**<  */
804     short          drw_x; /**<  */
805     short          drw_y; /**<  */
806     ushort         drw_w; /**<  */
807     ushort         drw_h; /**<  */
808     ushort         width; /**<  */
809     ushort         height; /**<  */
810     ubyte          send_event; /**<  */
811 } ;
812 
813 
814 /*****************************************************************************
815  **
816  ** void xcb_xv_port_next
817  ** 
818  ** @param xcb_xv_port_iterator_t *i
819  ** @returns void
820  **
821  *****************************************************************************/
822  
823 extern(C) void
824 xcb_xv_port_next (xcb_xv_port_iterator_t *i  /**< */);
825 
826 
827 /*****************************************************************************
828  **
829  ** xcb_generic_iterator_t xcb_xv_port_end
830  ** 
831  ** @param xcb_xv_port_iterator_t i
832  ** @returns xcb_generic_iterator_t
833  **
834  *****************************************************************************/
835  
836 extern(C) xcb_generic_iterator_t
837 xcb_xv_port_end (xcb_xv_port_iterator_t i  /**< */);
838 
839 
840 /*****************************************************************************
841  **
842  ** void xcb_xv_encoding_next
843  ** 
844  ** @param xcb_xv_encoding_iterator_t *i
845  ** @returns void
846  **
847  *****************************************************************************/
848  
849 extern(C) void
850 xcb_xv_encoding_next (xcb_xv_encoding_iterator_t *i  /**< */);
851 
852 
853 /*****************************************************************************
854  **
855  ** xcb_generic_iterator_t xcb_xv_encoding_end
856  ** 
857  ** @param xcb_xv_encoding_iterator_t i
858  ** @returns xcb_generic_iterator_t
859  **
860  *****************************************************************************/
861  
862 extern(C) xcb_generic_iterator_t
863 xcb_xv_encoding_end (xcb_xv_encoding_iterator_t i  /**< */);
864 
865 
866 /*****************************************************************************
867  **
868  ** void xcb_xv_rational_next
869  ** 
870  ** @param xcb_xv_rational_iterator_t *i
871  ** @returns void
872  **
873  *****************************************************************************/
874  
875 extern(C) void
876 xcb_xv_rational_next (xcb_xv_rational_iterator_t *i  /**< */);
877 
878 
879 /*****************************************************************************
880  **
881  ** xcb_generic_iterator_t xcb_xv_rational_end
882  ** 
883  ** @param xcb_xv_rational_iterator_t i
884  ** @returns xcb_generic_iterator_t
885  **
886  *****************************************************************************/
887  
888 extern(C) xcb_generic_iterator_t
889 xcb_xv_rational_end (xcb_xv_rational_iterator_t i  /**< */);
890 
891 
892 /*****************************************************************************
893  **
894  ** char * xcb_xv_adaptor_info_name
895  ** 
896  ** @param /+const+/ xcb_xv_adaptor_info_t *R
897  ** @returns char *
898  **
899  *****************************************************************************/
900  
901 extern(C) char *
902 xcb_xv_adaptor_info_name (/+const+/ xcb_xv_adaptor_info_t *R  /**< */);
903 
904 
905 /*****************************************************************************
906  **
907  ** int xcb_xv_adaptor_info_name_length
908  ** 
909  ** @param /+const+/ xcb_xv_adaptor_info_t *R
910  ** @returns int
911  **
912  *****************************************************************************/
913  
914 extern(C) int
915 xcb_xv_adaptor_info_name_length (/+const+/ xcb_xv_adaptor_info_t *R  /**< */);
916 
917 
918 /*****************************************************************************
919  **
920  ** xcb_generic_iterator_t xcb_xv_adaptor_info_name_end
921  ** 
922  ** @param /+const+/ xcb_xv_adaptor_info_t *R
923  ** @returns xcb_generic_iterator_t
924  **
925  *****************************************************************************/
926  
927 extern(C) xcb_generic_iterator_t
928 xcb_xv_adaptor_info_name_end (/+const+/ xcb_xv_adaptor_info_t *R  /**< */);
929 
930 
931 /*****************************************************************************
932  **
933  ** xcb_xv_format_t * xcb_xv_adaptor_info_formats
934  ** 
935  ** @param /+const+/ xcb_xv_adaptor_info_t *R
936  ** @returns xcb_xv_format_t *
937  **
938  *****************************************************************************/
939  
940 extern(C) xcb_xv_format_t *
941 xcb_xv_adaptor_info_formats (/+const+/ xcb_xv_adaptor_info_t *R  /**< */);
942 
943 
944 /*****************************************************************************
945  **
946  ** int xcb_xv_adaptor_info_formats_length
947  ** 
948  ** @param /+const+/ xcb_xv_adaptor_info_t *R
949  ** @returns int
950  **
951  *****************************************************************************/
952  
953 extern(C) int
954 xcb_xv_adaptor_info_formats_length (/+const+/ xcb_xv_adaptor_info_t *R  /**< */);
955 
956 
957 /*****************************************************************************
958  **
959  ** xcb_xv_format_iterator_t xcb_xv_adaptor_info_formats_iterator
960  ** 
961  ** @param /+const+/ xcb_xv_adaptor_info_t *R
962  ** @returns xcb_xv_format_iterator_t
963  **
964  *****************************************************************************/
965  
966 extern(C) xcb_xv_format_iterator_t
967 xcb_xv_adaptor_info_formats_iterator (/+const+/ xcb_xv_adaptor_info_t *R  /**< */);
968 
969 
970 /*****************************************************************************
971  **
972  ** void xcb_xv_adaptor_info_next
973  ** 
974  ** @param xcb_xv_adaptor_info_iterator_t *i
975  ** @returns void
976  **
977  *****************************************************************************/
978  
979 extern(C) void
980 xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i  /**< */);
981 
982 
983 /*****************************************************************************
984  **
985  ** xcb_generic_iterator_t xcb_xv_adaptor_info_end
986  ** 
987  ** @param xcb_xv_adaptor_info_iterator_t i
988  ** @returns xcb_generic_iterator_t
989  **
990  *****************************************************************************/
991  
992 extern(C) xcb_generic_iterator_t
993 xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i  /**< */);
994 
995 
996 /*****************************************************************************
997  **
998  ** char * xcb_xv_encoding_info_name
999  ** 
1000  ** @param /+const+/ xcb_xv_encoding_info_t *R
1001  ** @returns char *
1002  **
1003  *****************************************************************************/
1004  
1005 extern(C) char *
1006 xcb_xv_encoding_info_name (/+const+/ xcb_xv_encoding_info_t *R  /**< */);
1007 
1008 
1009 /*****************************************************************************
1010  **
1011  ** int xcb_xv_encoding_info_name_length
1012  ** 
1013  ** @param /+const+/ xcb_xv_encoding_info_t *R
1014  ** @returns int
1015  **
1016  *****************************************************************************/
1017  
1018 extern(C) int
1019 xcb_xv_encoding_info_name_length (/+const+/ xcb_xv_encoding_info_t *R  /**< */);
1020 
1021 
1022 /*****************************************************************************
1023  **
1024  ** xcb_generic_iterator_t xcb_xv_encoding_info_name_end
1025  ** 
1026  ** @param /+const+/ xcb_xv_encoding_info_t *R
1027  ** @returns xcb_generic_iterator_t
1028  **
1029  *****************************************************************************/
1030  
1031 extern(C) xcb_generic_iterator_t
1032 xcb_xv_encoding_info_name_end (/+const+/ xcb_xv_encoding_info_t *R  /**< */);
1033 
1034 
1035 /*****************************************************************************
1036  **
1037  ** void xcb_xv_encoding_info_next
1038  ** 
1039  ** @param xcb_xv_encoding_info_iterator_t *i
1040  ** @returns void
1041  **
1042  *****************************************************************************/
1043  
1044 extern(C) void
1045 xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i  /**< */);
1046 
1047 
1048 /*****************************************************************************
1049  **
1050  ** xcb_generic_iterator_t xcb_xv_encoding_info_end
1051  ** 
1052  ** @param xcb_xv_encoding_info_iterator_t i
1053  ** @returns xcb_generic_iterator_t
1054  **
1055  *****************************************************************************/
1056  
1057 extern(C) xcb_generic_iterator_t
1058 xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i  /**< */);
1059 
1060 
1061 /*****************************************************************************
1062  **
1063  ** void xcb_xv_format_next
1064  ** 
1065  ** @param xcb_xv_format_iterator_t *i
1066  ** @returns void
1067  **
1068  *****************************************************************************/
1069  
1070 extern(C) void
1071 xcb_xv_format_next (xcb_xv_format_iterator_t *i  /**< */);
1072 
1073 
1074 /*****************************************************************************
1075  **
1076  ** xcb_generic_iterator_t xcb_xv_format_end
1077  ** 
1078  ** @param xcb_xv_format_iterator_t i
1079  ** @returns xcb_generic_iterator_t
1080  **
1081  *****************************************************************************/
1082  
1083 extern(C) xcb_generic_iterator_t
1084 xcb_xv_format_end (xcb_xv_format_iterator_t i  /**< */);
1085 
1086 
1087 /*****************************************************************************
1088  **
1089  ** uint * xcb_xv_image_pitches
1090  ** 
1091  ** @param /+const+/ xcb_xv_image_t *R
1092  ** @returns uint *
1093  **
1094  *****************************************************************************/
1095  
1096 extern(C) uint *
1097 xcb_xv_image_pitches (/+const+/ xcb_xv_image_t *R  /**< */);
1098 
1099 
1100 /*****************************************************************************
1101  **
1102  ** int xcb_xv_image_pitches_length
1103  ** 
1104  ** @param /+const+/ xcb_xv_image_t *R
1105  ** @returns int
1106  **
1107  *****************************************************************************/
1108  
1109 extern(C) int
1110 xcb_xv_image_pitches_length (/+const+/ xcb_xv_image_t *R  /**< */);
1111 
1112 
1113 /*****************************************************************************
1114  **
1115  ** xcb_generic_iterator_t xcb_xv_image_pitches_end
1116  ** 
1117  ** @param /+const+/ xcb_xv_image_t *R
1118  ** @returns xcb_generic_iterator_t
1119  **
1120  *****************************************************************************/
1121  
1122 extern(C) xcb_generic_iterator_t
1123 xcb_xv_image_pitches_end (/+const+/ xcb_xv_image_t *R  /**< */);
1124 
1125 
1126 /*****************************************************************************
1127  **
1128  ** uint * xcb_xv_image_offsets
1129  ** 
1130  ** @param /+const+/ xcb_xv_image_t *R
1131  ** @returns uint *
1132  **
1133  *****************************************************************************/
1134  
1135 extern(C) uint *
1136 xcb_xv_image_offsets (/+const+/ xcb_xv_image_t *R  /**< */);
1137 
1138 
1139 /*****************************************************************************
1140  **
1141  ** int xcb_xv_image_offsets_length
1142  ** 
1143  ** @param /+const+/ xcb_xv_image_t *R
1144  ** @returns int
1145  **
1146  *****************************************************************************/
1147  
1148 extern(C) int
1149 xcb_xv_image_offsets_length (/+const+/ xcb_xv_image_t *R  /**< */);
1150 
1151 
1152 /*****************************************************************************
1153  **
1154  ** xcb_generic_iterator_t xcb_xv_image_offsets_end
1155  ** 
1156  ** @param /+const+/ xcb_xv_image_t *R
1157  ** @returns xcb_generic_iterator_t
1158  **
1159  *****************************************************************************/
1160  
1161 extern(C) xcb_generic_iterator_t
1162 xcb_xv_image_offsets_end (/+const+/ xcb_xv_image_t *R  /**< */);
1163 
1164 
1165 /*****************************************************************************
1166  **
1167  ** ubyte * xcb_xv_image_data
1168  ** 
1169  ** @param /+const+/ xcb_xv_image_t *R
1170  ** @returns ubyte *
1171  **
1172  *****************************************************************************/
1173  
1174 extern(C) ubyte *
1175 xcb_xv_image_data (/+const+/ xcb_xv_image_t *R  /**< */);
1176 
1177 
1178 /*****************************************************************************
1179  **
1180  ** int xcb_xv_image_data_length
1181  ** 
1182  ** @param /+const+/ xcb_xv_image_t *R
1183  ** @returns int
1184  **
1185  *****************************************************************************/
1186  
1187 extern(C) int
1188 xcb_xv_image_data_length (/+const+/ xcb_xv_image_t *R  /**< */);
1189 
1190 
1191 /*****************************************************************************
1192  **
1193  ** xcb_generic_iterator_t xcb_xv_image_data_end
1194  ** 
1195  ** @param /+const+/ xcb_xv_image_t *R
1196  ** @returns xcb_generic_iterator_t
1197  **
1198  *****************************************************************************/
1199  
1200 extern(C) xcb_generic_iterator_t
1201 xcb_xv_image_data_end (/+const+/ xcb_xv_image_t *R  /**< */);
1202 
1203 
1204 /*****************************************************************************
1205  **
1206  ** void xcb_xv_image_next
1207  ** 
1208  ** @param xcb_xv_image_iterator_t *i
1209  ** @returns void
1210  **
1211  *****************************************************************************/
1212  
1213 extern(C) void
1214 xcb_xv_image_next (xcb_xv_image_iterator_t *i  /**< */);
1215 
1216 
1217 /*****************************************************************************
1218  **
1219  ** xcb_generic_iterator_t xcb_xv_image_end
1220  ** 
1221  ** @param xcb_xv_image_iterator_t i
1222  ** @returns xcb_generic_iterator_t
1223  **
1224  *****************************************************************************/
1225  
1226 extern(C) xcb_generic_iterator_t
1227 xcb_xv_image_end (xcb_xv_image_iterator_t i  /**< */);
1228 
1229 
1230 /*****************************************************************************
1231  **
1232  ** char * xcb_xv_attribute_info_name
1233  ** 
1234  ** @param /+const+/ xcb_xv_attribute_info_t *R
1235  ** @returns char *
1236  **
1237  *****************************************************************************/
1238  
1239 extern(C) char *
1240 xcb_xv_attribute_info_name (/+const+/ xcb_xv_attribute_info_t *R  /**< */);
1241 
1242 
1243 /*****************************************************************************
1244  **
1245  ** int xcb_xv_attribute_info_name_length
1246  ** 
1247  ** @param /+const+/ xcb_xv_attribute_info_t *R
1248  ** @returns int
1249  **
1250  *****************************************************************************/
1251  
1252 extern(C) int
1253 xcb_xv_attribute_info_name_length (/+const+/ xcb_xv_attribute_info_t *R  /**< */);
1254 
1255 
1256 /*****************************************************************************
1257  **
1258  ** xcb_generic_iterator_t xcb_xv_attribute_info_name_end
1259  ** 
1260  ** @param /+const+/ xcb_xv_attribute_info_t *R
1261  ** @returns xcb_generic_iterator_t
1262  **
1263  *****************************************************************************/
1264  
1265 extern(C) xcb_generic_iterator_t
1266 xcb_xv_attribute_info_name_end (/+const+/ xcb_xv_attribute_info_t *R  /**< */);
1267 
1268 
1269 /*****************************************************************************
1270  **
1271  ** void xcb_xv_attribute_info_next
1272  ** 
1273  ** @param xcb_xv_attribute_info_iterator_t *i
1274  ** @returns void
1275  **
1276  *****************************************************************************/
1277  
1278 extern(C) void
1279 xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i  /**< */);
1280 
1281 
1282 /*****************************************************************************
1283  **
1284  ** xcb_generic_iterator_t xcb_xv_attribute_info_end
1285  ** 
1286  ** @param xcb_xv_attribute_info_iterator_t i
1287  ** @returns xcb_generic_iterator_t
1288  **
1289  *****************************************************************************/
1290  
1291 extern(C) xcb_generic_iterator_t
1292 xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i  /**< */);
1293 
1294 
1295 /*****************************************************************************
1296  **
1297  ** void xcb_xv_image_format_info_next
1298  ** 
1299  ** @param xcb_xv_image_format_info_iterator_t *i
1300  ** @returns void
1301  **
1302  *****************************************************************************/
1303  
1304 extern(C) void
1305 xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i  /**< */);
1306 
1307 
1308 /*****************************************************************************
1309  **
1310  ** xcb_generic_iterator_t xcb_xv_image_format_info_end
1311  ** 
1312  ** @param xcb_xv_image_format_info_iterator_t i
1313  ** @returns xcb_generic_iterator_t
1314  **
1315  *****************************************************************************/
1316  
1317 extern(C) xcb_generic_iterator_t
1318 xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i  /**< */);
1319 
1320 
1321 /*****************************************************************************
1322  **
1323  ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension
1324  ** 
1325  ** @param xcb_connection_t *c
1326  ** @returns xcb_xv_query_extension_cookie_t
1327  **
1328  *****************************************************************************/
1329  
1330 extern(C) xcb_xv_query_extension_cookie_t
1331 xcb_xv_query_extension (xcb_connection_t *c  /**< */);
1332 
1333 
1334 /*****************************************************************************
1335  **
1336  ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension_unchecked
1337  ** 
1338  ** @param xcb_connection_t *c
1339  ** @returns xcb_xv_query_extension_cookie_t
1340  **
1341  *****************************************************************************/
1342  
1343 extern(C) xcb_xv_query_extension_cookie_t
1344 xcb_xv_query_extension_unchecked (xcb_connection_t *c  /**< */);
1345 
1346 
1347 /*****************************************************************************
1348  **
1349  ** xcb_xv_query_extension_reply_t * xcb_xv_query_extension_reply
1350  ** 
1351  ** @param xcb_connection_t                 *c
1352  ** @param xcb_xv_query_extension_cookie_t   cookie
1353  ** @param xcb_generic_error_t             **e
1354  ** @returns xcb_xv_query_extension_reply_t *
1355  **
1356  *****************************************************************************/
1357  
1358 extern(C) xcb_xv_query_extension_reply_t *
1359 xcb_xv_query_extension_reply (xcb_connection_t                 *c  /**< */,
1360                               xcb_xv_query_extension_cookie_t   cookie  /**< */,
1361                               xcb_generic_error_t             **e  /**< */);
1362 
1363 
1364 /*****************************************************************************
1365  **
1366  ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors
1367  ** 
1368  ** @param xcb_connection_t *c
1369  ** @param xcb_window_t      window
1370  ** @returns xcb_xv_query_adaptors_cookie_t
1371  **
1372  *****************************************************************************/
1373  
1374 extern(C) xcb_xv_query_adaptors_cookie_t
1375 xcb_xv_query_adaptors (xcb_connection_t *c  /**< */,
1376                        xcb_window_t      window  /**< */);
1377 
1378 
1379 /*****************************************************************************
1380  **
1381  ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors_unchecked
1382  ** 
1383  ** @param xcb_connection_t *c
1384  ** @param xcb_window_t      window
1385  ** @returns xcb_xv_query_adaptors_cookie_t
1386  **
1387  *****************************************************************************/
1388  
1389 extern(C) xcb_xv_query_adaptors_cookie_t
1390 xcb_xv_query_adaptors_unchecked (xcb_connection_t *c  /**< */,
1391                                  xcb_window_t      window  /**< */);
1392 
1393 
1394 /*****************************************************************************
1395  **
1396  ** int xcb_xv_query_adaptors_info_length
1397  ** 
1398  ** @param /+const+/ xcb_xv_query_adaptors_reply_t *R
1399  ** @returns int
1400  **
1401  *****************************************************************************/
1402  
1403 extern(C) int
1404 xcb_xv_query_adaptors_info_length (/+const+/ xcb_xv_query_adaptors_reply_t *R  /**< */);
1405 
1406 
1407 /*****************************************************************************
1408  **
1409  ** xcb_xv_adaptor_info_iterator_t xcb_xv_query_adaptors_info_iterator
1410  ** 
1411  ** @param /+const+/ xcb_xv_query_adaptors_reply_t *R
1412  ** @returns xcb_xv_adaptor_info_iterator_t
1413  **
1414  *****************************************************************************/
1415  
1416 extern(C) xcb_xv_adaptor_info_iterator_t
1417 xcb_xv_query_adaptors_info_iterator (/+const+/ xcb_xv_query_adaptors_reply_t *R  /**< */);
1418 
1419 
1420 /*****************************************************************************
1421  **
1422  ** xcb_xv_query_adaptors_reply_t * xcb_xv_query_adaptors_reply
1423  ** 
1424  ** @param xcb_connection_t                *c
1425  ** @param xcb_xv_query_adaptors_cookie_t   cookie
1426  ** @param xcb_generic_error_t            **e
1427  ** @returns xcb_xv_query_adaptors_reply_t *
1428  **
1429  *****************************************************************************/
1430  
1431 extern(C) xcb_xv_query_adaptors_reply_t *
1432 xcb_xv_query_adaptors_reply (xcb_connection_t                *c  /**< */,
1433                              xcb_xv_query_adaptors_cookie_t   cookie  /**< */,
1434                              xcb_generic_error_t            **e  /**< */);
1435 
1436 
1437 /*****************************************************************************
1438  **
1439  ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings
1440  ** 
1441  ** @param xcb_connection_t *c
1442  ** @param xcb_xv_port_t     port
1443  ** @returns xcb_xv_query_encodings_cookie_t
1444  **
1445  *****************************************************************************/
1446  
1447 extern(C) xcb_xv_query_encodings_cookie_t
1448 xcb_xv_query_encodings (xcb_connection_t *c  /**< */,
1449                         xcb_xv_port_t     port  /**< */);
1450 
1451 
1452 /*****************************************************************************
1453  **
1454  ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings_unchecked
1455  ** 
1456  ** @param xcb_connection_t *c
1457  ** @param xcb_xv_port_t     port
1458  ** @returns xcb_xv_query_encodings_cookie_t
1459  **
1460  *****************************************************************************/
1461  
1462 extern(C) xcb_xv_query_encodings_cookie_t
1463 xcb_xv_query_encodings_unchecked (xcb_connection_t *c  /**< */,
1464                                   xcb_xv_port_t     port  /**< */);
1465 
1466 
1467 /*****************************************************************************
1468  **
1469  ** int xcb_xv_query_encodings_info_length
1470  ** 
1471  ** @param /+const+/ xcb_xv_query_encodings_reply_t *R
1472  ** @returns int
1473  **
1474  *****************************************************************************/
1475  
1476 extern(C) int
1477 xcb_xv_query_encodings_info_length (/+const+/ xcb_xv_query_encodings_reply_t *R  /**< */);
1478 
1479 
1480 /*****************************************************************************
1481  **
1482  ** xcb_xv_encoding_info_iterator_t xcb_xv_query_encodings_info_iterator
1483  ** 
1484  ** @param /+const+/ xcb_xv_query_encodings_reply_t *R
1485  ** @returns xcb_xv_encoding_info_iterator_t
1486  **
1487  *****************************************************************************/
1488  
1489 extern(C) xcb_xv_encoding_info_iterator_t
1490 xcb_xv_query_encodings_info_iterator (/+const+/ xcb_xv_query_encodings_reply_t *R  /**< */);
1491 
1492 
1493 /*****************************************************************************
1494  **
1495  ** xcb_xv_query_encodings_reply_t * xcb_xv_query_encodings_reply
1496  ** 
1497  ** @param xcb_connection_t                 *c
1498  ** @param xcb_xv_query_encodings_cookie_t   cookie
1499  ** @param xcb_generic_error_t             **e
1500  ** @returns xcb_xv_query_encodings_reply_t *
1501  **
1502  *****************************************************************************/
1503  
1504 extern(C) xcb_xv_query_encodings_reply_t *
1505 xcb_xv_query_encodings_reply (xcb_connection_t                 *c  /**< */,
1506                               xcb_xv_query_encodings_cookie_t   cookie  /**< */,
1507                               xcb_generic_error_t             **e  /**< */);
1508 
1509 
1510 /*****************************************************************************
1511  **
1512  ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port
1513  ** 
1514  ** @param xcb_connection_t *c
1515  ** @param xcb_xv_port_t     port
1516  ** @param xcb_timestamp_t   time
1517  ** @returns xcb_xv_grab_port_cookie_t
1518  **
1519  *****************************************************************************/
1520  
1521 extern(C) xcb_xv_grab_port_cookie_t
1522 xcb_xv_grab_port (xcb_connection_t *c  /**< */,
1523                   xcb_xv_port_t     port  /**< */,
1524                   xcb_timestamp_t   time  /**< */);
1525 
1526 
1527 /*****************************************************************************
1528  **
1529  ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port_unchecked
1530  ** 
1531  ** @param xcb_connection_t *c
1532  ** @param xcb_xv_port_t     port
1533  ** @param xcb_timestamp_t   time
1534  ** @returns xcb_xv_grab_port_cookie_t
1535  **
1536  *****************************************************************************/
1537  
1538 extern(C) xcb_xv_grab_port_cookie_t
1539 xcb_xv_grab_port_unchecked (xcb_connection_t *c  /**< */,
1540                             xcb_xv_port_t     port  /**< */,
1541                             xcb_timestamp_t   time  /**< */);
1542 
1543 
1544 /*****************************************************************************
1545  **
1546  ** xcb_xv_grab_port_reply_t * xcb_xv_grab_port_reply
1547  ** 
1548  ** @param xcb_connection_t           *c
1549  ** @param xcb_xv_grab_port_cookie_t   cookie
1550  ** @param xcb_generic_error_t       **e
1551  ** @returns xcb_xv_grab_port_reply_t *
1552  **
1553  *****************************************************************************/
1554  
1555 extern(C) xcb_xv_grab_port_reply_t *
1556 xcb_xv_grab_port_reply (xcb_connection_t           *c  /**< */,
1557                         xcb_xv_grab_port_cookie_t   cookie  /**< */,
1558                         xcb_generic_error_t       **e  /**< */);
1559 
1560 
1561 /*****************************************************************************
1562  **
1563  ** xcb_void_cookie_t xcb_xv_ungrab_port_checked
1564  ** 
1565  ** @param xcb_connection_t *c
1566  ** @param xcb_xv_port_t     port
1567  ** @param xcb_timestamp_t   time
1568  ** @returns xcb_void_cookie_t
1569  **
1570  *****************************************************************************/
1571  
1572 extern(C) xcb_void_cookie_t
1573 xcb_xv_ungrab_port_checked (xcb_connection_t *c  /**< */,
1574                             xcb_xv_port_t     port  /**< */,
1575                             xcb_timestamp_t   time  /**< */);
1576 
1577 
1578 /*****************************************************************************
1579  **
1580  ** xcb_void_cookie_t xcb_xv_ungrab_port
1581  ** 
1582  ** @param xcb_connection_t *c
1583  ** @param xcb_xv_port_t     port
1584  ** @param xcb_timestamp_t   time
1585  ** @returns xcb_void_cookie_t
1586  **
1587  *****************************************************************************/
1588  
1589 extern(C) xcb_void_cookie_t
1590 xcb_xv_ungrab_port (xcb_connection_t *c  /**< */,
1591                     xcb_xv_port_t     port  /**< */,
1592                     xcb_timestamp_t   time  /**< */);
1593 
1594 
1595 /*****************************************************************************
1596  **
1597  ** xcb_void_cookie_t xcb_xv_put_video_checked
1598  ** 
1599  ** @param xcb_connection_t *c
1600  ** @param xcb_xv_port_t     port
1601  ** @param xcb_drawable_t    drawable
1602  ** @param xcb_gcontext_t    gc
1603  ** @param short             vid_x
1604  ** @param short             vid_y
1605  ** @param ushort            vid_w
1606  ** @param ushort            vid_h
1607  ** @param short             drw_x
1608  ** @param short             drw_y
1609  ** @param ushort            drw_w
1610  ** @param ushort            drw_h
1611  ** @returns xcb_void_cookie_t
1612  **
1613  *****************************************************************************/
1614  
1615 extern(C) xcb_void_cookie_t
1616 xcb_xv_put_video_checked (xcb_connection_t *c  /**< */,
1617                           xcb_xv_port_t     port  /**< */,
1618                           xcb_drawable_t    drawable  /**< */,
1619                           xcb_gcontext_t    gc  /**< */,
1620                           short             vid_x  /**< */,
1621                           short             vid_y  /**< */,
1622                           ushort            vid_w  /**< */,
1623                           ushort            vid_h  /**< */,
1624                           short             drw_x  /**< */,
1625                           short             drw_y  /**< */,
1626                           ushort            drw_w  /**< */,
1627                           ushort            drw_h  /**< */);
1628 
1629 
1630 /*****************************************************************************
1631  **
1632  ** xcb_void_cookie_t xcb_xv_put_video
1633  ** 
1634  ** @param xcb_connection_t *c
1635  ** @param xcb_xv_port_t     port
1636  ** @param xcb_drawable_t    drawable
1637  ** @param xcb_gcontext_t    gc
1638  ** @param short             vid_x
1639  ** @param short             vid_y
1640  ** @param ushort            vid_w
1641  ** @param ushort            vid_h
1642  ** @param short             drw_x
1643  ** @param short             drw_y
1644  ** @param ushort            drw_w
1645  ** @param ushort            drw_h
1646  ** @returns xcb_void_cookie_t
1647  **
1648  *****************************************************************************/
1649  
1650 extern(C) xcb_void_cookie_t
1651 xcb_xv_put_video (xcb_connection_t *c  /**< */,
1652                   xcb_xv_port_t     port  /**< */,
1653                   xcb_drawable_t    drawable  /**< */,
1654                   xcb_gcontext_t    gc  /**< */,
1655                   short             vid_x  /**< */,
1656                   short             vid_y  /**< */,
1657                   ushort            vid_w  /**< */,
1658                   ushort            vid_h  /**< */,
1659                   short             drw_x  /**< */,
1660                   short             drw_y  /**< */,
1661                   ushort            drw_w  /**< */,
1662                   ushort            drw_h  /**< */);
1663 
1664 
1665 /*****************************************************************************
1666  **
1667  ** xcb_void_cookie_t xcb_xv_put_still_checked
1668  ** 
1669  ** @param xcb_connection_t *c
1670  ** @param xcb_xv_port_t     port
1671  ** @param xcb_drawable_t    drawable
1672  ** @param xcb_gcontext_t    gc
1673  ** @param short             vid_x
1674  ** @param short             vid_y
1675  ** @param ushort            vid_w
1676  ** @param ushort            vid_h
1677  ** @param short             drw_x
1678  ** @param short             drw_y
1679  ** @param ushort            drw_w
1680  ** @param ushort            drw_h
1681  ** @returns xcb_void_cookie_t
1682  **
1683  *****************************************************************************/
1684  
1685 extern(C) xcb_void_cookie_t
1686 xcb_xv_put_still_checked (xcb_connection_t *c  /**< */,
1687                           xcb_xv_port_t     port  /**< */,
1688                           xcb_drawable_t    drawable  /**< */,
1689                           xcb_gcontext_t    gc  /**< */,
1690                           short             vid_x  /**< */,
1691                           short             vid_y  /**< */,
1692                           ushort            vid_w  /**< */,
1693                           ushort            vid_h  /**< */,
1694                           short             drw_x  /**< */,
1695                           short             drw_y  /**< */,
1696                           ushort            drw_w  /**< */,
1697                           ushort            drw_h  /**< */);
1698 
1699 
1700 /*****************************************************************************
1701  **
1702  ** xcb_void_cookie_t xcb_xv_put_still
1703  ** 
1704  ** @param xcb_connection_t *c
1705  ** @param xcb_xv_port_t     port
1706  ** @param xcb_drawable_t    drawable
1707  ** @param xcb_gcontext_t    gc
1708  ** @param short             vid_x
1709  ** @param short             vid_y
1710  ** @param ushort            vid_w
1711  ** @param ushort            vid_h
1712  ** @param short             drw_x
1713  ** @param short             drw_y
1714  ** @param ushort            drw_w
1715  ** @param ushort            drw_h
1716  ** @returns xcb_void_cookie_t
1717  **
1718  *****************************************************************************/
1719  
1720 extern(C) xcb_void_cookie_t
1721 xcb_xv_put_still (xcb_connection_t *c  /**< */,
1722                   xcb_xv_port_t     port  /**< */,
1723                   xcb_drawable_t    drawable  /**< */,
1724                   xcb_gcontext_t    gc  /**< */,
1725                   short             vid_x  /**< */,
1726                   short             vid_y  /**< */,
1727                   ushort            vid_w  /**< */,
1728                   ushort            vid_h  /**< */,
1729                   short             drw_x  /**< */,
1730                   short             drw_y  /**< */,
1731                   ushort            drw_w  /**< */,
1732                   ushort            drw_h  /**< */);
1733 
1734 
1735 /*****************************************************************************
1736  **
1737  ** xcb_void_cookie_t xcb_xv_get_video_checked
1738  ** 
1739  ** @param xcb_connection_t *c
1740  ** @param xcb_xv_port_t     port
1741  ** @param xcb_drawable_t    drawable
1742  ** @param xcb_gcontext_t    gc
1743  ** @param short             vid_x
1744  ** @param short             vid_y
1745  ** @param ushort            vid_w
1746  ** @param ushort            vid_h
1747  ** @param short             drw_x
1748  ** @param short             drw_y
1749  ** @param ushort            drw_w
1750  ** @param ushort            drw_h
1751  ** @returns xcb_void_cookie_t
1752  **
1753  *****************************************************************************/
1754  
1755 extern(C) xcb_void_cookie_t
1756 xcb_xv_get_video_checked (xcb_connection_t *c  /**< */,
1757                           xcb_xv_port_t     port  /**< */,
1758                           xcb_drawable_t    drawable  /**< */,
1759                           xcb_gcontext_t    gc  /**< */,
1760                           short             vid_x  /**< */,
1761                           short             vid_y  /**< */,
1762                           ushort            vid_w  /**< */,
1763                           ushort            vid_h  /**< */,
1764                           short             drw_x  /**< */,
1765                           short             drw_y  /**< */,
1766                           ushort            drw_w  /**< */,
1767                           ushort            drw_h  /**< */);
1768 
1769 
1770 /*****************************************************************************
1771  **
1772  ** xcb_void_cookie_t xcb_xv_get_video
1773  ** 
1774  ** @param xcb_connection_t *c
1775  ** @param xcb_xv_port_t     port
1776  ** @param xcb_drawable_t    drawable
1777  ** @param xcb_gcontext_t    gc
1778  ** @param short             vid_x
1779  ** @param short             vid_y
1780  ** @param ushort            vid_w
1781  ** @param ushort            vid_h
1782  ** @param short             drw_x
1783  ** @param short             drw_y
1784  ** @param ushort            drw_w
1785  ** @param ushort            drw_h
1786  ** @returns xcb_void_cookie_t
1787  **
1788  *****************************************************************************/
1789  
1790 extern(C) xcb_void_cookie_t
1791 xcb_xv_get_video (xcb_connection_t *c  /**< */,
1792                   xcb_xv_port_t     port  /**< */,
1793                   xcb_drawable_t    drawable  /**< */,
1794                   xcb_gcontext_t    gc  /**< */,
1795                   short             vid_x  /**< */,
1796                   short             vid_y  /**< */,
1797                   ushort            vid_w  /**< */,
1798                   ushort            vid_h  /**< */,
1799                   short             drw_x  /**< */,
1800                   short             drw_y  /**< */,
1801                   ushort            drw_w  /**< */,
1802                   ushort            drw_h  /**< */);
1803 
1804 
1805 /*****************************************************************************
1806  **
1807  ** xcb_void_cookie_t xcb_xv_get_still_checked
1808  ** 
1809  ** @param xcb_connection_t *c
1810  ** @param xcb_xv_port_t     port
1811  ** @param xcb_drawable_t    drawable
1812  ** @param xcb_gcontext_t    gc
1813  ** @param short             vid_x
1814  ** @param short             vid_y
1815  ** @param ushort            vid_w
1816  ** @param ushort            vid_h
1817  ** @param short             drw_x
1818  ** @param short             drw_y
1819  ** @param ushort            drw_w
1820  ** @param ushort            drw_h
1821  ** @returns xcb_void_cookie_t
1822  **
1823  *****************************************************************************/
1824  
1825 extern(C) xcb_void_cookie_t
1826 xcb_xv_get_still_checked (xcb_connection_t *c  /**< */,
1827                           xcb_xv_port_t     port  /**< */,
1828                           xcb_drawable_t    drawable  /**< */,
1829                           xcb_gcontext_t    gc  /**< */,
1830                           short             vid_x  /**< */,
1831                           short             vid_y  /**< */,
1832                           ushort            vid_w  /**< */,
1833                           ushort            vid_h  /**< */,
1834                           short             drw_x  /**< */,
1835                           short             drw_y  /**< */,
1836                           ushort            drw_w  /**< */,
1837                           ushort            drw_h  /**< */);
1838 
1839 
1840 /*****************************************************************************
1841  **
1842  ** xcb_void_cookie_t xcb_xv_get_still
1843  ** 
1844  ** @param xcb_connection_t *c
1845  ** @param xcb_xv_port_t     port
1846  ** @param xcb_drawable_t    drawable
1847  ** @param xcb_gcontext_t    gc
1848  ** @param short             vid_x
1849  ** @param short             vid_y
1850  ** @param ushort            vid_w
1851  ** @param ushort            vid_h
1852  ** @param short             drw_x
1853  ** @param short             drw_y
1854  ** @param ushort            drw_w
1855  ** @param ushort            drw_h
1856  ** @returns xcb_void_cookie_t
1857  **
1858  *****************************************************************************/
1859  
1860 extern(C) xcb_void_cookie_t
1861 xcb_xv_get_still (xcb_connection_t *c  /**< */,
1862                   xcb_xv_port_t     port  /**< */,
1863                   xcb_drawable_t    drawable  /**< */,
1864                   xcb_gcontext_t    gc  /**< */,
1865                   short             vid_x  /**< */,
1866                   short             vid_y  /**< */,
1867                   ushort            vid_w  /**< */,
1868                   ushort            vid_h  /**< */,
1869                   short             drw_x  /**< */,
1870                   short             drw_y  /**< */,
1871                   ushort            drw_w  /**< */,
1872                   ushort            drw_h  /**< */);
1873 
1874 
1875 /*****************************************************************************
1876  **
1877  ** xcb_void_cookie_t xcb_xv_stop_video_checked
1878  ** 
1879  ** @param xcb_connection_t *c
1880  ** @param xcb_xv_port_t     port
1881  ** @param xcb_drawable_t    drawable
1882  ** @returns xcb_void_cookie_t
1883  **
1884  *****************************************************************************/
1885  
1886 extern(C) xcb_void_cookie_t
1887 xcb_xv_stop_video_checked (xcb_connection_t *c  /**< */,
1888                            xcb_xv_port_t     port  /**< */,
1889                            xcb_drawable_t    drawable  /**< */);
1890 
1891 
1892 /*****************************************************************************
1893  **
1894  ** xcb_void_cookie_t xcb_xv_stop_video
1895  ** 
1896  ** @param xcb_connection_t *c
1897  ** @param xcb_xv_port_t     port
1898  ** @param xcb_drawable_t    drawable
1899  ** @returns xcb_void_cookie_t
1900  **
1901  *****************************************************************************/
1902  
1903 extern(C) xcb_void_cookie_t
1904 xcb_xv_stop_video (xcb_connection_t *c  /**< */,
1905                    xcb_xv_port_t     port  /**< */,
1906                    xcb_drawable_t    drawable  /**< */);
1907 
1908 
1909 /*****************************************************************************
1910  **
1911  ** xcb_void_cookie_t xcb_xv_select_video_notify_checked
1912  ** 
1913  ** @param xcb_connection_t *c
1914  ** @param xcb_drawable_t    drawable
1915  ** @param bool              onoff
1916  ** @returns xcb_void_cookie_t
1917  **
1918  *****************************************************************************/
1919  
1920 extern(C) xcb_void_cookie_t
1921 xcb_xv_select_video_notify_checked (xcb_connection_t *c  /**< */,
1922                                     xcb_drawable_t    drawable  /**< */,
1923                                     bool              onoff  /**< */);
1924 
1925 
1926 /*****************************************************************************
1927  **
1928  ** xcb_void_cookie_t xcb_xv_select_video_notify
1929  ** 
1930  ** @param xcb_connection_t *c
1931  ** @param xcb_drawable_t    drawable
1932  ** @param bool              onoff
1933  ** @returns xcb_void_cookie_t
1934  **
1935  *****************************************************************************/
1936  
1937 extern(C) xcb_void_cookie_t
1938 xcb_xv_select_video_notify (xcb_connection_t *c  /**< */,
1939                             xcb_drawable_t    drawable  /**< */,
1940                             bool              onoff  /**< */);
1941 
1942 
1943 /*****************************************************************************
1944  **
1945  ** xcb_void_cookie_t xcb_xv_select_port_notify_checked
1946  ** 
1947  ** @param xcb_connection_t *c
1948  ** @param xcb_drawable_t    drawable
1949  ** @param bool              onoff
1950  ** @returns xcb_void_cookie_t
1951  **
1952  *****************************************************************************/
1953  
1954 extern(C) xcb_void_cookie_t
1955 xcb_xv_select_port_notify_checked (xcb_connection_t *c  /**< */,
1956                                    xcb_drawable_t    drawable  /**< */,
1957                                    bool              onoff  /**< */);
1958 
1959 
1960 /*****************************************************************************
1961  **
1962  ** xcb_void_cookie_t xcb_xv_select_port_notify
1963  ** 
1964  ** @param xcb_connection_t *c
1965  ** @param xcb_drawable_t    drawable
1966  ** @param bool              onoff
1967  ** @returns xcb_void_cookie_t
1968  **
1969  *****************************************************************************/
1970  
1971 extern(C) xcb_void_cookie_t
1972 xcb_xv_select_port_notify (xcb_connection_t *c  /**< */,
1973                            xcb_drawable_t    drawable  /**< */,
1974                            bool              onoff  /**< */);
1975 
1976 
1977 /*****************************************************************************
1978  **
1979  ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size
1980  ** 
1981  ** @param xcb_connection_t *c
1982  ** @param xcb_xv_port_t     port
1983  ** @param ushort            vid_w
1984  ** @param ushort            vid_h
1985  ** @param ushort            drw_w
1986  ** @param ushort            drw_h
1987  ** @param bool              motion
1988  ** @returns xcb_xv_query_best_size_cookie_t
1989  **
1990  *****************************************************************************/
1991  
1992 extern(C) xcb_xv_query_best_size_cookie_t
1993 xcb_xv_query_best_size (xcb_connection_t *c  /**< */,
1994                         xcb_xv_port_t     port  /**< */,
1995                         ushort            vid_w  /**< */,
1996                         ushort            vid_h  /**< */,
1997                         ushort            drw_w  /**< */,
1998                         ushort            drw_h  /**< */,
1999                         bool              motion  /**< */);
2000 
2001 
2002 /*****************************************************************************
2003  **
2004  ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size_unchecked
2005  ** 
2006  ** @param xcb_connection_t *c
2007  ** @param xcb_xv_port_t     port
2008  ** @param ushort            vid_w
2009  ** @param ushort            vid_h
2010  ** @param ushort            drw_w
2011  ** @param ushort            drw_h
2012  ** @param bool              motion
2013  ** @returns xcb_xv_query_best_size_cookie_t
2014  **
2015  *****************************************************************************/
2016  
2017 extern(C) xcb_xv_query_best_size_cookie_t
2018 xcb_xv_query_best_size_unchecked (xcb_connection_t *c  /**< */,
2019                                   xcb_xv_port_t     port  /**< */,
2020                                   ushort            vid_w  /**< */,
2021                                   ushort            vid_h  /**< */,
2022                                   ushort            drw_w  /**< */,
2023                                   ushort            drw_h  /**< */,
2024                                   bool              motion  /**< */);
2025 
2026 
2027 /*****************************************************************************
2028  **
2029  ** xcb_xv_query_best_size_reply_t * xcb_xv_query_best_size_reply
2030  ** 
2031  ** @param xcb_connection_t                 *c
2032  ** @param xcb_xv_query_best_size_cookie_t   cookie
2033  ** @param xcb_generic_error_t             **e
2034  ** @returns xcb_xv_query_best_size_reply_t *
2035  **
2036  *****************************************************************************/
2037  
2038 extern(C) xcb_xv_query_best_size_reply_t *
2039 xcb_xv_query_best_size_reply (xcb_connection_t                 *c  /**< */,
2040                               xcb_xv_query_best_size_cookie_t   cookie  /**< */,
2041                               xcb_generic_error_t             **e  /**< */);
2042 
2043 
2044 /*****************************************************************************
2045  **
2046  ** xcb_void_cookie_t xcb_xv_set_port_attribute_checked
2047  ** 
2048  ** @param xcb_connection_t *c
2049  ** @param xcb_xv_port_t     port
2050  ** @param xcb_atom_t        attribute
2051  ** @param int               value
2052  ** @returns xcb_void_cookie_t
2053  **
2054  *****************************************************************************/
2055  
2056 extern(C) xcb_void_cookie_t
2057 xcb_xv_set_port_attribute_checked (xcb_connection_t *c  /**< */,
2058                                    xcb_xv_port_t     port  /**< */,
2059                                    xcb_atom_t        attribute  /**< */,
2060                                    int               value  /**< */);
2061 
2062 
2063 /*****************************************************************************
2064  **
2065  ** xcb_void_cookie_t xcb_xv_set_port_attribute
2066  ** 
2067  ** @param xcb_connection_t *c
2068  ** @param xcb_xv_port_t     port
2069  ** @param xcb_atom_t        attribute
2070  ** @param int               value
2071  ** @returns xcb_void_cookie_t
2072  **
2073  *****************************************************************************/
2074  
2075 extern(C) xcb_void_cookie_t
2076 xcb_xv_set_port_attribute (xcb_connection_t *c  /**< */,
2077                            xcb_xv_port_t     port  /**< */,
2078                            xcb_atom_t        attribute  /**< */,
2079                            int               value  /**< */);
2080 
2081 
2082 /*****************************************************************************
2083  **
2084  ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute
2085  ** 
2086  ** @param xcb_connection_t *c
2087  ** @param xcb_xv_port_t     port
2088  ** @param xcb_atom_t        attribute
2089  ** @returns xcb_xv_get_port_attribute_cookie_t
2090  **
2091  *****************************************************************************/
2092  
2093 extern(C) xcb_xv_get_port_attribute_cookie_t
2094 xcb_xv_get_port_attribute (xcb_connection_t *c  /**< */,
2095                            xcb_xv_port_t     port  /**< */,
2096                            xcb_atom_t        attribute  /**< */);
2097 
2098 
2099 /*****************************************************************************
2100  **
2101  ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute_unchecked
2102  ** 
2103  ** @param xcb_connection_t *c
2104  ** @param xcb_xv_port_t     port
2105  ** @param xcb_atom_t        attribute
2106  ** @returns xcb_xv_get_port_attribute_cookie_t
2107  **
2108  *****************************************************************************/
2109  
2110 extern(C) xcb_xv_get_port_attribute_cookie_t
2111 xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c  /**< */,
2112                                      xcb_xv_port_t     port  /**< */,
2113                                      xcb_atom_t        attribute  /**< */);
2114 
2115 
2116 /*****************************************************************************
2117  **
2118  ** xcb_xv_get_port_attribute_reply_t * xcb_xv_get_port_attribute_reply
2119  ** 
2120  ** @param xcb_connection_t                    *c
2121  ** @param xcb_xv_get_port_attribute_cookie_t   cookie
2122  ** @param xcb_generic_error_t                **e
2123  ** @returns xcb_xv_get_port_attribute_reply_t *
2124  **
2125  *****************************************************************************/
2126  
2127 extern(C) xcb_xv_get_port_attribute_reply_t *
2128 xcb_xv_get_port_attribute_reply (xcb_connection_t                    *c  /**< */,
2129                                  xcb_xv_get_port_attribute_cookie_t   cookie  /**< */,
2130                                  xcb_generic_error_t                **e  /**< */);
2131 
2132 
2133 /*****************************************************************************
2134  **
2135  ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes
2136  ** 
2137  ** @param xcb_connection_t *c
2138  ** @param xcb_xv_port_t     port
2139  ** @returns xcb_xv_query_port_attributes_cookie_t
2140  **
2141  *****************************************************************************/
2142  
2143 extern(C) xcb_xv_query_port_attributes_cookie_t
2144 xcb_xv_query_port_attributes (xcb_connection_t *c  /**< */,
2145                               xcb_xv_port_t     port  /**< */);
2146 
2147 
2148 /*****************************************************************************
2149  **
2150  ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes_unchecked
2151  ** 
2152  ** @param xcb_connection_t *c
2153  ** @param xcb_xv_port_t     port
2154  ** @returns xcb_xv_query_port_attributes_cookie_t
2155  **
2156  *****************************************************************************/
2157  
2158 extern(C) xcb_xv_query_port_attributes_cookie_t
2159 xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c  /**< */,
2160                                         xcb_xv_port_t     port  /**< */);
2161 
2162 
2163 /*****************************************************************************
2164  **
2165  ** int xcb_xv_query_port_attributes_attributes_length
2166  ** 
2167  ** @param /+const+/ xcb_xv_query_port_attributes_reply_t *R
2168  ** @returns int
2169  **
2170  *****************************************************************************/
2171  
2172 extern(C) int
2173 xcb_xv_query_port_attributes_attributes_length (/+const+/ xcb_xv_query_port_attributes_reply_t *R  /**< */);
2174 
2175 
2176 /*****************************************************************************
2177  **
2178  ** xcb_xv_attribute_info_iterator_t xcb_xv_query_port_attributes_attributes_iterator
2179  ** 
2180  ** @param /+const+/ xcb_xv_query_port_attributes_reply_t *R
2181  ** @returns xcb_xv_attribute_info_iterator_t
2182  **
2183  *****************************************************************************/
2184  
2185 extern(C) xcb_xv_attribute_info_iterator_t
2186 xcb_xv_query_port_attributes_attributes_iterator (/+const+/ xcb_xv_query_port_attributes_reply_t *R  /**< */);
2187 
2188 
2189 /*****************************************************************************
2190  **
2191  ** xcb_xv_query_port_attributes_reply_t * xcb_xv_query_port_attributes_reply
2192  ** 
2193  ** @param xcb_connection_t                       *c
2194  ** @param xcb_xv_query_port_attributes_cookie_t   cookie
2195  ** @param xcb_generic_error_t                   **e
2196  ** @returns xcb_xv_query_port_attributes_reply_t *
2197  **
2198  *****************************************************************************/
2199  
2200 extern(C) xcb_xv_query_port_attributes_reply_t *
2201 xcb_xv_query_port_attributes_reply (xcb_connection_t                       *c  /**< */,
2202                                     xcb_xv_query_port_attributes_cookie_t   cookie  /**< */,
2203                                     xcb_generic_error_t                   **e  /**< */);
2204 
2205 
2206 /*****************************************************************************
2207  **
2208  ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats
2209  ** 
2210  ** @param xcb_connection_t *c
2211  ** @param xcb_xv_port_t     port
2212  ** @returns xcb_xv_list_image_formats_cookie_t
2213  **
2214  *****************************************************************************/
2215  
2216 extern(C) xcb_xv_list_image_formats_cookie_t
2217 xcb_xv_list_image_formats (xcb_connection_t *c  /**< */,
2218                            xcb_xv_port_t     port  /**< */);
2219 
2220 
2221 /*****************************************************************************
2222  **
2223  ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats_unchecked
2224  ** 
2225  ** @param xcb_connection_t *c
2226  ** @param xcb_xv_port_t     port
2227  ** @returns xcb_xv_list_image_formats_cookie_t
2228  **
2229  *****************************************************************************/
2230  
2231 extern(C) xcb_xv_list_image_formats_cookie_t
2232 xcb_xv_list_image_formats_unchecked (xcb_connection_t *c  /**< */,
2233                                      xcb_xv_port_t     port  /**< */);
2234 
2235 
2236 /*****************************************************************************
2237  **
2238  ** int xcb_xv_list_image_formats_format_length
2239  ** 
2240  ** @param /+const+/ xcb_xv_list_image_formats_reply_t *R
2241  ** @returns int
2242  **
2243  *****************************************************************************/
2244  
2245 extern(C) int
2246 xcb_xv_list_image_formats_format_length (/+const+/ xcb_xv_list_image_formats_reply_t *R  /**< */);
2247 
2248 
2249 /*****************************************************************************
2250  **
2251  ** xcb_xv_image_format_info_iterator_t xcb_xv_list_image_formats_format_iterator
2252  ** 
2253  ** @param /+const+/ xcb_xv_list_image_formats_reply_t *R
2254  ** @returns xcb_xv_image_format_info_iterator_t
2255  **
2256  *****************************************************************************/
2257  
2258 extern(C) xcb_xv_image_format_info_iterator_t
2259 xcb_xv_list_image_formats_format_iterator (/+const+/ xcb_xv_list_image_formats_reply_t *R  /**< */);
2260 
2261 
2262 /*****************************************************************************
2263  **
2264  ** xcb_xv_list_image_formats_reply_t * xcb_xv_list_image_formats_reply
2265  ** 
2266  ** @param xcb_connection_t                    *c
2267  ** @param xcb_xv_list_image_formats_cookie_t   cookie
2268  ** @param xcb_generic_error_t                **e
2269  ** @returns xcb_xv_list_image_formats_reply_t *
2270  **
2271  *****************************************************************************/
2272  
2273 extern(C) xcb_xv_list_image_formats_reply_t *
2274 xcb_xv_list_image_formats_reply (xcb_connection_t                    *c  /**< */,
2275                                  xcb_xv_list_image_formats_cookie_t   cookie  /**< */,
2276                                  xcb_generic_error_t                **e  /**< */);
2277 
2278 
2279 /*****************************************************************************
2280  **
2281  ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes
2282  ** 
2283  ** @param xcb_connection_t *c
2284  ** @param xcb_xv_port_t     port
2285  ** @param uint              id
2286  ** @param ushort            width
2287  ** @param ushort            height
2288  ** @returns xcb_xv_query_image_attributes_cookie_t
2289  **
2290  *****************************************************************************/
2291  
2292 extern(C) xcb_xv_query_image_attributes_cookie_t
2293 xcb_xv_query_image_attributes (xcb_connection_t *c  /**< */,
2294                                xcb_xv_port_t     port  /**< */,
2295                                uint              id  /**< */,
2296                                ushort            width  /**< */,
2297                                ushort            height  /**< */);
2298 
2299 
2300 /*****************************************************************************
2301  **
2302  ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes_unchecked
2303  ** 
2304  ** @param xcb_connection_t *c
2305  ** @param xcb_xv_port_t     port
2306  ** @param uint              id
2307  ** @param ushort            width
2308  ** @param ushort            height
2309  ** @returns xcb_xv_query_image_attributes_cookie_t
2310  **
2311  *****************************************************************************/
2312  
2313 extern(C) xcb_xv_query_image_attributes_cookie_t
2314 xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c  /**< */,
2315                                          xcb_xv_port_t     port  /**< */,
2316                                          uint              id  /**< */,
2317                                          ushort            width  /**< */,
2318                                          ushort            height  /**< */);
2319 
2320 
2321 /*****************************************************************************
2322  **
2323  ** uint * xcb_xv_query_image_attributes_pitches
2324  ** 
2325  ** @param /+const+/ xcb_xv_query_image_attributes_reply_t *R
2326  ** @returns uint *
2327  **
2328  *****************************************************************************/
2329  
2330 extern(C) uint *
2331 xcb_xv_query_image_attributes_pitches (/+const+/ xcb_xv_query_image_attributes_reply_t *R  /**< */);
2332 
2333 
2334 /*****************************************************************************
2335  **
2336  ** int xcb_xv_query_image_attributes_pitches_length
2337  ** 
2338  ** @param /+const+/ xcb_xv_query_image_attributes_reply_t *R
2339  ** @returns int
2340  **
2341  *****************************************************************************/
2342  
2343 extern(C) int
2344 xcb_xv_query_image_attributes_pitches_length (/+const+/ xcb_xv_query_image_attributes_reply_t *R  /**< */);
2345 
2346 
2347 /*****************************************************************************
2348  **
2349  ** xcb_generic_iterator_t xcb_xv_query_image_attributes_pitches_end
2350  ** 
2351  ** @param /+const+/ xcb_xv_query_image_attributes_reply_t *R
2352  ** @returns xcb_generic_iterator_t
2353  **
2354  *****************************************************************************/
2355  
2356 extern(C) xcb_generic_iterator_t
2357 xcb_xv_query_image_attributes_pitches_end (/+const+/ xcb_xv_query_image_attributes_reply_t *R  /**< */);
2358 
2359 
2360 /*****************************************************************************
2361  **
2362  ** uint * xcb_xv_query_image_attributes_offsets
2363  ** 
2364  ** @param /+const+/ xcb_xv_query_image_attributes_reply_t *R
2365  ** @returns uint *
2366  **
2367  *****************************************************************************/
2368  
2369 extern(C) uint *
2370 xcb_xv_query_image_attributes_offsets (/+const+/ xcb_xv_query_image_attributes_reply_t *R  /**< */);
2371 
2372 
2373 /*****************************************************************************
2374  **
2375  ** int xcb_xv_query_image_attributes_offsets_length
2376  ** 
2377  ** @param /+const+/ xcb_xv_query_image_attributes_reply_t *R
2378  ** @returns int
2379  **
2380  *****************************************************************************/
2381  
2382 extern(C) int
2383 xcb_xv_query_image_attributes_offsets_length (/+const+/ xcb_xv_query_image_attributes_reply_t *R  /**< */);
2384 
2385 
2386 /*****************************************************************************
2387  **
2388  ** xcb_generic_iterator_t xcb_xv_query_image_attributes_offsets_end
2389  ** 
2390  ** @param /+const+/ xcb_xv_query_image_attributes_reply_t *R
2391  ** @returns xcb_generic_iterator_t
2392  **
2393  *****************************************************************************/
2394  
2395 extern(C) xcb_generic_iterator_t
2396 xcb_xv_query_image_attributes_offsets_end (/+const+/ xcb_xv_query_image_attributes_reply_t *R  /**< */);
2397 
2398 
2399 /*****************************************************************************
2400  **
2401  ** xcb_xv_query_image_attributes_reply_t * xcb_xv_query_image_attributes_reply
2402  ** 
2403  ** @param xcb_connection_t                        *c
2404  ** @param xcb_xv_query_image_attributes_cookie_t   cookie
2405  ** @param xcb_generic_error_t                    **e
2406  ** @returns xcb_xv_query_image_attributes_reply_t *
2407  **
2408  *****************************************************************************/
2409  
2410 extern(C) xcb_xv_query_image_attributes_reply_t *
2411 xcb_xv_query_image_attributes_reply (xcb_connection_t                        *c  /**< */,
2412                                      xcb_xv_query_image_attributes_cookie_t   cookie  /**< */,
2413                                      xcb_generic_error_t                    **e  /**< */);
2414 
2415 
2416 /*****************************************************************************
2417  **
2418  ** xcb_void_cookie_t xcb_xv_put_image_checked
2419  ** 
2420  ** @param xcb_connection_t *c
2421  ** @param xcb_xv_port_t     port
2422  ** @param xcb_drawable_t    drawable
2423  ** @param xcb_gcontext_t    gc
2424  ** @param uint              id
2425  ** @param short             src_x
2426  ** @param short             src_y
2427  ** @param ushort            src_w
2428  ** @param ushort            src_h
2429  ** @param short             drw_x
2430  ** @param short             drw_y
2431  ** @param ushort            drw_w
2432  ** @param ushort            drw_h
2433  ** @param ushort            width
2434  ** @param ushort            height
2435  ** @param uint              data_len
2436  ** @param /+const+/ ubyte  *data
2437  ** @returns xcb_void_cookie_t
2438  **
2439  *****************************************************************************/
2440  
2441 extern(C) xcb_void_cookie_t
2442 xcb_xv_put_image_checked (xcb_connection_t *c  /**< */,
2443                           xcb_xv_port_t     port  /**< */,
2444                           xcb_drawable_t    drawable  /**< */,
2445                           xcb_gcontext_t    gc  /**< */,
2446                           uint              id  /**< */,
2447                           short             src_x  /**< */,
2448                           short             src_y  /**< */,
2449                           ushort            src_w  /**< */,
2450                           ushort            src_h  /**< */,
2451                           short             drw_x  /**< */,
2452                           short             drw_y  /**< */,
2453                           ushort            drw_w  /**< */,
2454                           ushort            drw_h  /**< */,
2455                           ushort            width  /**< */,
2456                           ushort            height  /**< */,
2457                           uint              data_len  /**< */,
2458                           /+const+/ ubyte  *data  /**< */);
2459 
2460 
2461 /*****************************************************************************
2462  **
2463  ** xcb_void_cookie_t xcb_xv_put_image
2464  ** 
2465  ** @param xcb_connection_t *c
2466  ** @param xcb_xv_port_t     port
2467  ** @param xcb_drawable_t    drawable
2468  ** @param xcb_gcontext_t    gc
2469  ** @param uint              id
2470  ** @param short             src_x
2471  ** @param short             src_y
2472  ** @param ushort            src_w
2473  ** @param ushort            src_h
2474  ** @param short             drw_x
2475  ** @param short             drw_y
2476  ** @param ushort            drw_w
2477  ** @param ushort            drw_h
2478  ** @param ushort            width
2479  ** @param ushort            height
2480  ** @param uint              data_len
2481  ** @param /+const+/ ubyte  *data
2482  ** @returns xcb_void_cookie_t
2483  **
2484  *****************************************************************************/
2485  
2486 extern(C) xcb_void_cookie_t
2487 xcb_xv_put_image (xcb_connection_t *c  /**< */,
2488                   xcb_xv_port_t     port  /**< */,
2489                   xcb_drawable_t    drawable  /**< */,
2490                   xcb_gcontext_t    gc  /**< */,
2491                   uint              id  /**< */,
2492                   short             src_x  /**< */,
2493                   short             src_y  /**< */,
2494                   ushort            src_w  /**< */,
2495                   ushort            src_h  /**< */,
2496                   short             drw_x  /**< */,
2497                   short             drw_y  /**< */,
2498                   ushort            drw_w  /**< */,
2499                   ushort            drw_h  /**< */,
2500                   ushort            width  /**< */,
2501                   ushort            height  /**< */,
2502                   uint              data_len  /**< */,
2503                   /+const+/ ubyte  *data  /**< */);
2504 
2505 
2506 /*****************************************************************************
2507  **
2508  ** xcb_void_cookie_t xcb_xv_shm_put_image_checked
2509  ** 
2510  ** @param xcb_connection_t *c
2511  ** @param xcb_xv_port_t     port
2512  ** @param xcb_drawable_t    drawable
2513  ** @param xcb_gcontext_t    gc
2514  ** @param xcb_shm_seg_t     shmseg
2515  ** @param uint              id
2516  ** @param uint              offset
2517  ** @param short             src_x
2518  ** @param short             src_y
2519  ** @param ushort            src_w
2520  ** @param ushort            src_h
2521  ** @param short             drw_x
2522  ** @param short             drw_y
2523  ** @param ushort            drw_w
2524  ** @param ushort            drw_h
2525  ** @param ushort            width
2526  ** @param ushort            height
2527  ** @param ubyte             send_event
2528  ** @returns xcb_void_cookie_t
2529  **
2530  *****************************************************************************/
2531  
2532 extern(C) xcb_void_cookie_t
2533 xcb_xv_shm_put_image_checked (xcb_connection_t *c  /**< */,
2534                               xcb_xv_port_t     port  /**< */,
2535                               xcb_drawable_t    drawable  /**< */,
2536                               xcb_gcontext_t    gc  /**< */,
2537                               xcb_shm_seg_t     shmseg  /**< */,
2538                               uint              id  /**< */,
2539                               uint              offset  /**< */,
2540                               short             src_x  /**< */,
2541                               short             src_y  /**< */,
2542                               ushort            src_w  /**< */,
2543                               ushort            src_h  /**< */,
2544                               short             drw_x  /**< */,
2545                               short             drw_y  /**< */,
2546                               ushort            drw_w  /**< */,
2547                               ushort            drw_h  /**< */,
2548                               ushort            width  /**< */,
2549                               ushort            height  /**< */,
2550                               ubyte             send_event  /**< */);
2551 
2552 
2553 /*****************************************************************************
2554  **
2555  ** xcb_void_cookie_t xcb_xv_shm_put_image
2556  ** 
2557  ** @param xcb_connection_t *c
2558  ** @param xcb_xv_port_t     port
2559  ** @param xcb_drawable_t    drawable
2560  ** @param xcb_gcontext_t    gc
2561  ** @param xcb_shm_seg_t     shmseg
2562  ** @param uint              id
2563  ** @param uint              offset
2564  ** @param short             src_x
2565  ** @param short             src_y
2566  ** @param ushort            src_w
2567  ** @param ushort            src_h
2568  ** @param short             drw_x
2569  ** @param short             drw_y
2570  ** @param ushort            drw_w
2571  ** @param ushort            drw_h
2572  ** @param ushort            width
2573  ** @param ushort            height
2574  ** @param ubyte             send_event
2575  ** @returns xcb_void_cookie_t
2576  **
2577  *****************************************************************************/
2578  
2579 extern(C) xcb_void_cookie_t
2580 xcb_xv_shm_put_image (xcb_connection_t *c  /**< */,
2581                       xcb_xv_port_t     port  /**< */,
2582                       xcb_drawable_t    drawable  /**< */,
2583                       xcb_gcontext_t    gc  /**< */,
2584                       xcb_shm_seg_t     shmseg  /**< */,
2585                       uint              id  /**< */,
2586                       uint              offset  /**< */,
2587                       short             src_x  /**< */,
2588                       short             src_y  /**< */,
2589                       ushort            src_w  /**< */,
2590                       ushort            src_h  /**< */,
2591                       short             drw_x  /**< */,
2592                       short             drw_y  /**< */,
2593                       ushort            drw_w  /**< */,
2594                       ushort            drw_h  /**< */,
2595                       ushort            width  /**< */,
2596                       ushort            height  /**< */,
2597                       ubyte             send_event  /**< */);
2598 
2599 
2600 
2601 /**
2602  * @}
2603  */