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