1xcb_xv_query_encodings(3) XCB Requests xcb_xv_query_encodings(3)
2
3
4
6 xcb_xv_query_encodings -
7
9 #include <xcb/xv.h>
10
11 Request function
12 xcb_xv_query_encodings_cookie_t
13 xcb_xv_query_encodings(xcb_connection_t *conn,
14 xcb_xv_port_t port);
15
16 Reply datastructure
17 typedef struct xcb_xv_query_encodings_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint16_t num_encodings;
23 uint8_t pad1[22];
24 } xcb_xv_query_encodings_reply_t;
25
26 Reply function
27 xcb_xv_query_encodings_reply_t
28 *xcb_xv_query_encodings_reply(xcb_connection_t *conn,
29 xcb_xv_query_encodings_cookie_t cookie,
30 xcb_generic_error_t **e);
31
32 Reply accessors
33 int xcb_xv_query_encodings_info_length(const
34 xcb_xv_query_encodings_reply_t *reply);
35
36 xcb_xv_encoding_info_iterator_t
37 xcb_xv_query_encodings_info_iterator(const
38 xcb_xv_query_encodings_reply_t *reply);
39
41 conn The XCB connection to X11.
42
43 port TODO: NOT YET DOCUMENTED.
44
46 response_type
47 The type of this reply, in this case XCB_XV_QUERY_ENCODINGS.
48 This field is also present in the xcb_generic_reply_t and can
49 be used to tell replies apart from each other.
50
51 sequence The sequence number of the last request processed by the X11
52 server.
53
54 length The length of the reply, in words (a word is 4 bytes).
55
56 num_encodings
57 TODO: NOT YET DOCUMENTED.
58
61 Returns an xcb_xv_query_encodings_cookie_t. Errors have to be handled
62 when calling the reply function xcb_xv_query_encodings_reply.
63
64 If you want to handle errors in the event loop instead, use
65 xcb_xv_query_encodings_unchecked. See xcb-requests(3) for details.
66
68 This request does never generate any errors.
69
72 Generated from xv.xml. Contact xcb@lists.freedesktop.org for correcā
73 tions and improvements.
74
75
76
77X Version 11 libxcb 1.12 xcb_xv_query_encodings(3)