22 #define XCB_XVMC_MAJOR_VERSION 1 23 #define XCB_XVMC_MINOR_VERSION 1 27 typedef uint32_t xcb_xvmc_context_t;
33 xcb_xvmc_context_t *data;
38 typedef uint32_t xcb_xvmc_surface_t;
44 xcb_xvmc_surface_t *data;
49 typedef uint32_t xcb_xvmc_subpicture_t;
55 xcb_xvmc_subpicture_t *data;
64 xcb_xvmc_surface_t id;
65 uint16_t chroma_format;
69 uint16_t subpicture_max_width;
70 uint16_t subpicture_max_height;
88 unsigned int sequence;
92 #define XCB_XVMC_QUERY_VERSION 0 107 uint8_t response_type;
119 unsigned int sequence;
123 #define XCB_XVMC_LIST_SURFACE_TYPES 1 129 uint8_t major_opcode;
130 uint8_t minor_opcode;
132 xcb_xv_port_t port_id;
139 uint8_t response_type;
151 unsigned int sequence;
155 #define XCB_XVMC_CREATE_CONTEXT 2 161 uint8_t major_opcode;
162 uint8_t minor_opcode;
164 xcb_xvmc_context_t context_id;
165 xcb_xv_port_t port_id;
166 xcb_xvmc_surface_t surface_id;
176 uint8_t response_type;
180 uint16_t width_actual;
181 uint16_t height_actual;
182 uint32_t flags_return;
187 #define XCB_XVMC_DESTROY_CONTEXT 3 193 uint8_t major_opcode;
194 uint8_t minor_opcode;
196 xcb_xvmc_context_t context_id;
203 unsigned int sequence;
207 #define XCB_XVMC_CREATE_SURFACE 4 213 uint8_t major_opcode;
214 uint8_t minor_opcode;
216 xcb_xvmc_surface_t surface_id;
217 xcb_xvmc_context_t context_id;
224 uint8_t response_type;
232 #define XCB_XVMC_DESTROY_SURFACE 5 238 uint8_t major_opcode;
239 uint8_t minor_opcode;
241 xcb_xvmc_surface_t surface_id;
248 unsigned int sequence;
252 #define XCB_XVMC_CREATE_SUBPICTURE 6 258 uint8_t major_opcode;
259 uint8_t minor_opcode;
261 xcb_xvmc_subpicture_t subpicture_id;
262 xcb_xvmc_context_t context;
272 uint8_t response_type;
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];
285 #define XCB_XVMC_DESTROY_SUBPICTURE 7 291 uint8_t major_opcode;
292 uint8_t minor_opcode;
294 xcb_xvmc_subpicture_t subpicture_id;
301 unsigned int sequence;
305 #define XCB_XVMC_LIST_SUBPICTURE_TYPES 8 311 uint8_t major_opcode;
312 uint8_t minor_opcode;
314 xcb_xv_port_t port_id;
315 xcb_xvmc_surface_t surface_id;
322 uint8_t response_type;
467 xcb_xvmc_list_surface_types_sizeof (
const void *_buffer);
479 xcb_xv_port_t port_id);
494 xcb_xv_port_t port_id);
525 xcb_xvmc_create_context_sizeof (
const void *_buffer);
537 xcb_xvmc_context_t context_id,
538 xcb_xv_port_t port_id,
539 xcb_xvmc_surface_t surface_id,
557 xcb_xvmc_context_t context_id,
558 xcb_xv_port_t port_id,
559 xcb_xvmc_surface_t surface_id,
605 xcb_xvmc_context_t context_id);
617 xcb_xvmc_context_t context_id);
620 xcb_xvmc_create_surface_sizeof (
const void *_buffer);
632 xcb_xvmc_surface_t surface_id,
633 xcb_xvmc_context_t context_id);
648 xcb_xvmc_surface_t surface_id,
649 xcb_xvmc_context_t context_id);
692 xcb_xvmc_surface_t surface_id);
704 xcb_xvmc_surface_t surface_id);
707 xcb_xvmc_create_subpicture_sizeof (
const void *_buffer);
719 xcb_xvmc_subpicture_t subpicture_id,
720 xcb_xvmc_context_t context,
738 xcb_xvmc_subpicture_t subpicture_id,
739 xcb_xvmc_context_t context,
785 xcb_xvmc_subpicture_t subpicture_id);
797 xcb_xvmc_subpicture_t subpicture_id);
800 xcb_xvmc_list_subpicture_types_sizeof (
const void *_buffer);
812 xcb_xv_port_t port_id,
813 xcb_xvmc_surface_t surface_id);
828 xcb_xv_port_t port_id,
829 xcb_xvmc_surface_t surface_id);
Generic error.
Definition: xcb.h:170
xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types_unchecked(xcb_connection_t *c, xcb_xv_port_t port_id, xcb_xvmc_surface_t surface_id)
Definition: xvmc.c:857
struct xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context_cookie_t
xcb_xvmc_create_context_cookie_t
struct xcb_xvmc_list_surface_types_reply_t xcb_xvmc_list_surface_types_reply_t
xcb_xvmc_list_surface_types_reply_t
xcb_xvmc_list_subpicture_types_cookie_t
Definition: xvmc.h:300
struct xcb_xvmc_create_subpicture_request_t xcb_xvmc_create_subpicture_request_t
xcb_xvmc_create_subpicture_request_t
xcb_xvmc_query_version_reply_t
Definition: xvmc.h:106
struct xcb_xvmc_surface_info_iterator_t xcb_xvmc_surface_info_iterator_t
xcb_xvmc_surface_info_iterator_t
xcb_xvmc_create_surface_request_t
Definition: xvmc.h:212
xcb_xvmc_query_version_reply_t * xcb_xvmc_query_version_reply(xcb_connection_t *c, xcb_xvmc_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: xvmc.c:142
xcb_xvmc_query_version_request_t
Definition: xvmc.h:97
xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface(xcb_connection_t *c, xcb_xvmc_surface_t surface_id, xcb_xvmc_context_t context_id)
Definition: xvmc.c:479
xcb_xvmc_surface_info_iterator_t
Definition: xvmc.h:78
xcb_xvmc_list_subpicture_types_reply_t * xcb_xvmc_list_subpicture_types_reply(xcb_connection_t *c, xcb_xvmc_list_subpicture_types_cookie_t cookie, xcb_generic_error_t **e)
Definition: xvmc.c:907
struct xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types_cookie_t
xcb_xvmc_list_surface_types_cookie_t
xcb_xvmc_create_context_request_t
Definition: xvmc.h:160
xcb_xvmc_create_surface_reply_t * xcb_xvmc_create_surface_reply(xcb_connection_t *c, xcb_xvmc_create_surface_cookie_t cookie, xcb_generic_error_t **e)
Definition: xvmc.c:557
xcb_generic_iterator_t xcb_xvmc_subpicture_end(xcb_xvmc_subpicture_iterator_t i)
Definition: xvmc.c:66
xcb_xvmc_destroy_subpicture_request_t
Definition: xvmc.h:290
xcb_void_cookie_t xcb_xvmc_destroy_context_checked(xcb_connection_t *c, xcb_xvmc_context_t context_id)
Definition: xvmc.c:396
struct xcb_xvmc_destroy_context_request_t xcb_xvmc_destroy_context_request_t
xcb_xvmc_destroy_context_request_t
xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types(xcb_connection_t *c, xcb_xv_port_t port_id, xcb_xvmc_surface_t surface_id)
Definition: xvmc.c:829
xcb_xvmc_destroy_surface_request_t
Definition: xvmc.h:237
struct xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version_cookie_t
xcb_xvmc_query_version_cookie_t
Generic iterator.
Definition: xcb.h:114
xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context_unchecked(xcb_connection_t *c, xcb_xvmc_context_t context_id, xcb_xv_port_t port_id, xcb_xvmc_surface_t surface_id, uint16_t width, uint16_t height, uint32_t flags)
Definition: xvmc.c:330
xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context(xcb_connection_t *c, xcb_xvmc_context_t context_id, xcb_xv_port_t port_id, xcb_xvmc_surface_t surface_id, uint16_t width, uint16_t height, uint32_t flags)
Definition: xvmc.c:294
struct xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types_cookie_t
xcb_xvmc_list_subpicture_types_cookie_t
xcb_xvmc_create_surface_cookie_t
Definition: xvmc.h:202
struct xcb_xvmc_surface_iterator_t xcb_xvmc_surface_iterator_t
xcb_xvmc_surface_iterator_t
xcb_generic_iterator_t xcb_xvmc_surface_end(xcb_xvmc_surface_iterator_t i)
Definition: xvmc.c:48
xcb_xvmc_create_context_reply_t
Definition: xvmc.h:175
xcb_xvmc_list_subpicture_types_reply_t
Definition: xvmc.h:321
xcb_void_cookie_t xcb_xvmc_destroy_surface_checked(xcb_connection_t *c, xcb_xvmc_surface_t surface_id)
Definition: xvmc.c:565
xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version_unchecked(xcb_connection_t *c)
Definition: xvmc.c:118
xcb_xvmc_surface_iterator_t
Definition: xvmc.h:43
xcb_xvmc_subpicture_iterator_t
Definition: xvmc.h:54
struct xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface_cookie_t
xcb_xvmc_create_surface_cookie_t
xcb_generic_iterator_t xcb_xvmc_context_end(xcb_xvmc_context_iterator_t i)
Definition: xvmc.c:30
xcb_xvmc_query_version_cookie_t
Definition: xvmc.h:87
struct xcb_xvmc_create_surface_request_t xcb_xvmc_create_surface_request_t
xcb_xvmc_create_surface_request_t
xcb_xvmc_create_surface_reply_t
Definition: xvmc.h:223
xcb_xvmc_list_surface_types_reply_t
Definition: xvmc.h:138
void xcb_xvmc_subpicture_next(xcb_xvmc_subpicture_iterator_t *i)
Definition: xvmc.c:58
xcb_void_cookie_t xcb_xvmc_destroy_surface(xcb_connection_t *c, xcb_xvmc_surface_t surface_id)
Definition: xvmc.c:591
struct xcb_xvmc_list_subpicture_types_request_t xcb_xvmc_list_subpicture_types_request_t
xcb_xvmc_list_subpicture_types_request_t
xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture(xcb_connection_t *c, xcb_xvmc_subpicture_t subpicture_id, xcb_xvmc_context_t context, uint32_t xvimage_id, uint16_t width, uint16_t height)
Definition: xvmc.c:648
xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types_unchecked(xcb_connection_t *c, xcb_xv_port_t port_id)
Definition: xvmc.c:207
struct xcb_xvmc_surface_info_t xcb_xvmc_surface_info_t
xcb_xvmc_surface_info_t
struct xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture_cookie_t
xcb_xvmc_create_subpicture_cookie_t
struct xcb_xvmc_create_surface_reply_t xcb_xvmc_create_surface_reply_t
xcb_xvmc_create_surface_reply_t
xcb_xvmc_create_context_cookie_t
Definition: xvmc.h:150
xcb_xvmc_create_subpicture_request_t
Definition: xvmc.h:257
xcb_void_cookie_t xcb_xvmc_destroy_context(xcb_connection_t *c, xcb_xvmc_context_t context_id)
Definition: xvmc.c:422
struct xcb_xvmc_create_context_request_t xcb_xvmc_create_context_request_t
xcb_xvmc_create_context_request_t
struct xcb_xvmc_create_subpicture_reply_t xcb_xvmc_create_subpicture_reply_t
xcb_xvmc_create_subpicture_reply_t
xcb_xvmc_create_subpicture_reply_t * xcb_xvmc_create_subpicture_reply(xcb_connection_t *c, xcb_xvmc_create_subpicture_cookie_t cookie, xcb_generic_error_t **e)
Definition: xvmc.c:738
xcb_xvmc_create_subpicture_cookie_t
Definition: xvmc.h:247
struct xcb_xvmc_context_iterator_t xcb_xvmc_context_iterator_t
xcb_xvmc_context_iterator_t
void xcb_xvmc_context_next(xcb_xvmc_context_iterator_t *i)
Definition: xvmc.c:22
xcb_xvmc_list_surface_types_cookie_t
Definition: xvmc.h:118
xcb_xvmc_destroy_context_request_t
Definition: xvmc.h:192
struct xcb_xvmc_query_version_request_t xcb_xvmc_query_version_request_t
xcb_xvmc_query_version_request_t
struct xcb_xvmc_destroy_subpicture_request_t xcb_xvmc_destroy_subpicture_request_t
xcb_xvmc_destroy_subpicture_request_t
xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface_unchecked(xcb_connection_t *c, xcb_xvmc_surface_t surface_id, xcb_xvmc_context_t context_id)
Definition: xvmc.c:507
xcb_xvmc_list_surface_types_reply_t * xcb_xvmc_list_surface_types_reply(xcb_connection_t *c, xcb_xvmc_list_surface_types_cookie_t cookie, xcb_generic_error_t **e)
Definition: xvmc.c:255
xcb_generic_iterator_t xcb_xvmc_surface_info_end(xcb_xvmc_surface_info_iterator_t i)
Definition: xvmc.c:84
xcb_xvmc_list_subpicture_types_request_t
Definition: xvmc.h:310
xcb_void_cookie_t xcb_xvmc_destroy_subpicture_checked(xcb_connection_t *c, xcb_xvmc_subpicture_t subpicture_id)
Definition: xvmc.c:746
struct xcb_xvmc_list_surface_types_request_t xcb_xvmc_list_surface_types_request_t
xcb_xvmc_list_surface_types_request_t
struct xcb_xvmc_destroy_surface_request_t xcb_xvmc_destroy_surface_request_t
xcb_xvmc_destroy_surface_request_t
void xcb_xvmc_surface_next(xcb_xvmc_surface_iterator_t *i)
Definition: xvmc.c:40
void xcb_xvmc_surface_info_next(xcb_xvmc_surface_info_iterator_t *i)
Definition: xvmc.c:76
xcb_void_cookie_t xcb_xvmc_destroy_subpicture(xcb_connection_t *c, xcb_xvmc_subpicture_t subpicture_id)
Definition: xvmc.c:772
xcb_xvmc_create_context_reply_t * xcb_xvmc_create_context_reply(xcb_connection_t *c, xcb_xvmc_create_context_cookie_t cookie, xcb_generic_error_t **e)
Definition: xvmc.c:388
xcb_xvmc_list_surface_types_request_t
Definition: xvmc.h:128
struct xcb_xvmc_subpicture_iterator_t xcb_xvmc_subpicture_iterator_t
xcb_xvmc_subpicture_iterator_t
xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture_unchecked(xcb_connection_t *c, xcb_xvmc_subpicture_t subpicture_id, xcb_xvmc_context_t context, uint32_t xvimage_id, uint16_t width, uint16_t height)
Definition: xvmc.c:682
struct xcb_xvmc_query_version_reply_t xcb_xvmc_query_version_reply_t
xcb_xvmc_query_version_reply_t
Generic cookie.
Definition: xcb.h:187
xcb_xvmc_surface_info_t
Definition: xvmc.h:63
xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types(xcb_connection_t *c, xcb_xv_port_t port_id)
Definition: xvmc.c:181
xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version(xcb_connection_t *c)
Definition: xvmc.c:94
struct xcb_xvmc_list_subpicture_types_reply_t xcb_xvmc_list_subpicture_types_reply_t
xcb_xvmc_list_subpicture_types_reply_t
struct xcb_xvmc_create_context_reply_t xcb_xvmc_create_context_reply_t
xcb_xvmc_create_context_reply_t
xcb_xvmc_create_subpicture_reply_t
Definition: xvmc.h:271
xcb_xvmc_context_iterator_t
Definition: xvmc.h:32