XCB  1.11.1
xvmc.h
1 /*
2  * This file generated automatically from xvmc.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
12 #ifndef __XVMC_H
13 #define __XVMC_H
14 
15 #include "xcb.h"
16 #include "xv.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_XVMC_MAJOR_VERSION 1
23 #define XCB_XVMC_MINOR_VERSION 1
24 
25 extern xcb_extension_t xcb_xvmc_id;
26 
27 typedef uint32_t xcb_xvmc_context_t;
28 
33  xcb_xvmc_context_t *data;
34  int rem;
35  int index;
37 
38 typedef uint32_t xcb_xvmc_surface_t;
39 
44  xcb_xvmc_surface_t *data;
45  int rem;
46  int index;
48 
49 typedef uint32_t xcb_xvmc_subpicture_t;
50 
55  xcb_xvmc_subpicture_t *data;
56  int rem;
57  int index;
59 
63 typedef struct xcb_xvmc_surface_info_t {
64  xcb_xvmc_surface_t id;
65  uint16_t chroma_format;
66  uint16_t pad0;
67  uint16_t max_width;
68  uint16_t max_height;
69  uint16_t subpicture_max_width;
70  uint16_t subpicture_max_height;
71  uint32_t mc_type;
72  uint32_t flags;
74 
80  int rem;
81  int index;
83 
88  unsigned int sequence;
90 
92 #define XCB_XVMC_QUERY_VERSION 0
93 
98  uint8_t major_opcode;
99  uint8_t minor_opcode;
100  uint16_t length;
102 
107  uint8_t response_type;
108  uint8_t pad0;
109  uint16_t sequence;
110  uint32_t length;
111  uint32_t major;
112  uint32_t minor;
114 
119  unsigned int sequence;
121 
123 #define XCB_XVMC_LIST_SURFACE_TYPES 1
124 
129  uint8_t major_opcode;
130  uint8_t minor_opcode;
131  uint16_t length;
132  xcb_xv_port_t port_id;
134 
139  uint8_t response_type;
140  uint8_t pad0;
141  uint16_t sequence;
142  uint32_t length;
143  uint32_t num;
144  uint8_t pad1[20];
146 
151  unsigned int sequence;
153 
155 #define XCB_XVMC_CREATE_CONTEXT 2
156 
161  uint8_t major_opcode;
162  uint8_t minor_opcode;
163  uint16_t length;
164  xcb_xvmc_context_t context_id;
165  xcb_xv_port_t port_id;
166  xcb_xvmc_surface_t surface_id;
167  uint16_t width;
168  uint16_t height;
169  uint32_t flags;
171 
176  uint8_t response_type;
177  uint8_t pad0;
178  uint16_t sequence;
179  uint32_t length;
180  uint16_t width_actual;
181  uint16_t height_actual;
182  uint32_t flags_return;
183  uint8_t pad1[20];
185 
187 #define XCB_XVMC_DESTROY_CONTEXT 3
188 
193  uint8_t major_opcode;
194  uint8_t minor_opcode;
195  uint16_t length;
196  xcb_xvmc_context_t context_id;
198 
203  unsigned int sequence;
205 
207 #define XCB_XVMC_CREATE_SURFACE 4
208 
213  uint8_t major_opcode;
214  uint8_t minor_opcode;
215  uint16_t length;
216  xcb_xvmc_surface_t surface_id;
217  xcb_xvmc_context_t context_id;
219 
224  uint8_t response_type;
225  uint8_t pad0;
226  uint16_t sequence;
227  uint32_t length;
228  uint8_t pad1[24];
230 
232 #define XCB_XVMC_DESTROY_SURFACE 5
233 
238  uint8_t major_opcode;
239  uint8_t minor_opcode;
240  uint16_t length;
241  xcb_xvmc_surface_t surface_id;
243 
248  unsigned int sequence;
250 
252 #define XCB_XVMC_CREATE_SUBPICTURE 6
253 
258  uint8_t major_opcode;
259  uint8_t minor_opcode;
260  uint16_t length;
261  xcb_xvmc_subpicture_t subpicture_id;
262  xcb_xvmc_context_t context;
263  uint32_t xvimage_id;
264  uint16_t width;
265  uint16_t height;
267 
272  uint8_t response_type;
273  uint8_t pad0;
274  uint16_t sequence;
275  uint32_t length;
276  uint16_t width_actual;
277  uint16_t height_actual;
278  uint16_t num_palette_entries;
279  uint16_t entry_bytes;
280  uint8_t component_order[4];
281  uint8_t pad1[12];
283 
285 #define XCB_XVMC_DESTROY_SUBPICTURE 7
286 
291  uint8_t major_opcode;
292  uint8_t minor_opcode;
293  uint16_t length;
294  xcb_xvmc_subpicture_t subpicture_id;
296 
301  unsigned int sequence;
303 
305 #define XCB_XVMC_LIST_SUBPICTURE_TYPES 8
306 
311  uint8_t major_opcode;
312  uint8_t minor_opcode;
313  uint16_t length;
314  xcb_xv_port_t port_id;
315  xcb_xvmc_surface_t surface_id;
317 
322  uint8_t response_type;
323  uint8_t pad0;
324  uint16_t sequence;
325  uint32_t length;
326  uint32_t num;
327  uint8_t pad1[20];
329 
338 void
340 
352 
361 void
363 
375 
384 void
386 
398 
407 void
409 
421 
432 
446 
464  xcb_generic_error_t **e );
465 
466 int
467 xcb_xvmc_list_surface_types_sizeof (const void *_buffer );
468 
479  xcb_xv_port_t port_id );
480 
494  xcb_xv_port_t port_id );
495 
497 xcb_xvmc_list_surface_types_surfaces (const xcb_xvmc_list_surface_types_reply_t *R );
498 
499 int
500 xcb_xvmc_list_surface_types_surfaces_length (const xcb_xvmc_list_surface_types_reply_t *R );
501 
503 xcb_xvmc_list_surface_types_surfaces_iterator (const xcb_xvmc_list_surface_types_reply_t *R );
504 
522  xcb_generic_error_t **e );
523 
524 int
525 xcb_xvmc_create_context_sizeof (const void *_buffer );
526 
537  xcb_xvmc_context_t context_id ,
538  xcb_xv_port_t port_id ,
539  xcb_xvmc_surface_t surface_id ,
540  uint16_t width ,
541  uint16_t height ,
542  uint32_t flags );
543 
557  xcb_xvmc_context_t context_id ,
558  xcb_xv_port_t port_id ,
559  xcb_xvmc_surface_t surface_id ,
560  uint16_t width ,
561  uint16_t height ,
562  uint32_t flags );
563 
564 uint32_t *
565 xcb_xvmc_create_context_priv_data (const xcb_xvmc_create_context_reply_t *R );
566 
567 int
568 xcb_xvmc_create_context_priv_data_length (const xcb_xvmc_create_context_reply_t *R );
569 
571 xcb_xvmc_create_context_priv_data_end (const xcb_xvmc_create_context_reply_t *R );
572 
590  xcb_generic_error_t **e );
591 
605  xcb_xvmc_context_t context_id );
606 
617  xcb_xvmc_context_t context_id );
618 
619 int
620 xcb_xvmc_create_surface_sizeof (const void *_buffer );
621 
632  xcb_xvmc_surface_t surface_id ,
633  xcb_xvmc_context_t context_id );
634 
648  xcb_xvmc_surface_t surface_id ,
649  xcb_xvmc_context_t context_id );
650 
651 uint32_t *
652 xcb_xvmc_create_surface_priv_data (const xcb_xvmc_create_surface_reply_t *R );
653 
654 int
655 xcb_xvmc_create_surface_priv_data_length (const xcb_xvmc_create_surface_reply_t *R );
656 
658 xcb_xvmc_create_surface_priv_data_end (const xcb_xvmc_create_surface_reply_t *R );
659 
677  xcb_generic_error_t **e );
678 
692  xcb_xvmc_surface_t surface_id );
693 
704  xcb_xvmc_surface_t surface_id );
705 
706 int
707 xcb_xvmc_create_subpicture_sizeof (const void *_buffer );
708 
719  xcb_xvmc_subpicture_t subpicture_id ,
720  xcb_xvmc_context_t context ,
721  uint32_t xvimage_id ,
722  uint16_t width ,
723  uint16_t height );
724 
738  xcb_xvmc_subpicture_t subpicture_id ,
739  xcb_xvmc_context_t context ,
740  uint32_t xvimage_id ,
741  uint16_t width ,
742  uint16_t height );
743 
744 uint32_t *
745 xcb_xvmc_create_subpicture_priv_data (const xcb_xvmc_create_subpicture_reply_t *R );
746 
747 int
748 xcb_xvmc_create_subpicture_priv_data_length (const xcb_xvmc_create_subpicture_reply_t *R );
749 
751 xcb_xvmc_create_subpicture_priv_data_end (const xcb_xvmc_create_subpicture_reply_t *R );
752 
770  xcb_generic_error_t **e );
771 
785  xcb_xvmc_subpicture_t subpicture_id );
786 
797  xcb_xvmc_subpicture_t subpicture_id );
798 
799 int
800 xcb_xvmc_list_subpicture_types_sizeof (const void *_buffer );
801 
812  xcb_xv_port_t port_id ,
813  xcb_xvmc_surface_t surface_id );
814 
828  xcb_xv_port_t port_id ,
829  xcb_xvmc_surface_t surface_id );
830 
832 xcb_xvmc_list_subpicture_types_types (const xcb_xvmc_list_subpicture_types_reply_t *R );
833 
834 int
835 xcb_xvmc_list_subpicture_types_types_length (const xcb_xvmc_list_subpicture_types_reply_t *R );
836 
838 xcb_xvmc_list_subpicture_types_types_iterator (const xcb_xvmc_list_subpicture_types_reply_t *R );
839 
857  xcb_generic_error_t **e );
858 
859 
860 #ifdef __cplusplus
861 }
862 #endif
863 
864 #endif
865