1 /* 2 * This file generated automatically from xv.xml by c_client.py. 3 * Edit at your peril. 4 */ 5 6 /** 7 * @defgroup XCB_Xv_API XCB Xv API 8 * @brief Xv XCB Protocol Implementation. 9 * @{ 10 **/ 11 12 #ifndef __XV_H 13 #define __XV_H 14 15 #include "xcb.h" 16 #include "xproto.h" 17 #include "shm.h" 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 #define XCB_XV_MAJOR_VERSION 2 24 #define XCB_XV_MINOR_VERSION 2 25 26 extern xcb_extension_t xcb_xv_id; 27 28 typedef uint32_t xcb_xv_port_t; 29 30 /** 31 * @brief xcb_xv_port_iterator_t 32 **/ 33 typedef struct xcb_xv_port_iterator_t { 34 xcb_xv_port_t *data; /**< */ 35 int rem; /**< */ 36 int index; /**< */ 37 } xcb_xv_port_iterator_t; 38 39 typedef uint32_t xcb_xv_encoding_t; 40 41 /** 42 * @brief xcb_xv_encoding_iterator_t 43 **/ 44 typedef struct xcb_xv_encoding_iterator_t { 45 xcb_xv_encoding_t *data; /**< */ 46 int rem; /**< */ 47 int index; /**< */ 48 } xcb_xv_encoding_iterator_t; 49 50 typedef enum xcb_xv_type_t { 51 XCB_XV_TYPE_INPUT_MASK = 1, 52 XCB_XV_TYPE_OUTPUT_MASK = 2, 53 XCB_XV_TYPE_VIDEO_MASK = 4, 54 XCB_XV_TYPE_STILL_MASK = 8, 55 XCB_XV_TYPE_IMAGE_MASK = 16 56 } xcb_xv_type_t; 57 58 typedef enum xcb_xv_image_format_info_type_t { 59 XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB, 60 XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV 61 } xcb_xv_image_format_info_type_t; 62 63 typedef enum xcb_xv_image_format_info_format_t { 64 XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED, 65 XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR 66 } xcb_xv_image_format_info_format_t; 67 68 typedef enum xcb_xv_attribute_flag_t { 69 XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 1, 70 XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 2 71 } xcb_xv_attribute_flag_t; 72 73 typedef enum xcb_xv_video_notify_reason_t { 74 XCB_XV_VIDEO_NOTIFY_REASON_STARTED, 75 XCB_XV_VIDEO_NOTIFY_REASON_STOPPED, 76 XCB_XV_VIDEO_NOTIFY_REASON_BUSY, 77 XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED, 78 XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR 79 } xcb_xv_video_notify_reason_t; 80 81 typedef enum xcb_xv_scanline_order_t { 82 XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM, 83 XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP 84 } xcb_xv_scanline_order_t; 85 86 typedef enum xcb_xv_grab_port_status_t { 87 XCB_XV_GRAB_PORT_STATUS_SUCCESS, 88 XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION, 89 XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED, 90 XCB_XV_GRAB_PORT_STATUS_INVALID_TIME, 91 XCB_XV_GRAB_PORT_STATUS_BAD_REPLY, 92 XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC 93 } xcb_xv_grab_port_status_t; 94 95 /** 96 * @brief xcb_xv_rational_t 97 **/ 98 typedef struct xcb_xv_rational_t { 99 int32_t numerator; /**< */ 100 int32_t denominator; /**< */ 101 } xcb_xv_rational_t; 102 103 /** 104 * @brief xcb_xv_rational_iterator_t 105 **/ 106 typedef struct xcb_xv_rational_iterator_t { 107 xcb_xv_rational_t *data; /**< */ 108 int rem; /**< */ 109 int index; /**< */ 110 } xcb_xv_rational_iterator_t; 111 112 /** 113 * @brief xcb_xv_format_t 114 **/ 115 typedef struct xcb_xv_format_t { 116 xcb_visualid_t visual; /**< */ 117 uint8_t depth; /**< */ 118 uint8_t pad0[3]; /**< */ 119 } xcb_xv_format_t; 120 121 /** 122 * @brief xcb_xv_format_iterator_t 123 **/ 124 typedef struct xcb_xv_format_iterator_t { 125 xcb_xv_format_t *data; /**< */ 126 int rem; /**< */ 127 int index; /**< */ 128 } xcb_xv_format_iterator_t; 129 130 /** 131 * @brief xcb_xv_adaptor_info_t 132 **/ 133 typedef struct xcb_xv_adaptor_info_t { 134 xcb_xv_port_t base_id; /**< */ 135 uint16_t name_size; /**< */ 136 uint16_t num_ports; /**< */ 137 uint16_t num_formats; /**< */ 138 uint8_t type; /**< */ 139 uint8_t pad0; /**< */ 140 } xcb_xv_adaptor_info_t; 141 142 /** 143 * @brief xcb_xv_adaptor_info_iterator_t 144 **/ 145 typedef struct xcb_xv_adaptor_info_iterator_t { 146 xcb_xv_adaptor_info_t *data; /**< */ 147 int rem; /**< */ 148 int index; /**< */ 149 } xcb_xv_adaptor_info_iterator_t; 150 151 /** 152 * @brief xcb_xv_encoding_info_t 153 **/ 154 typedef struct xcb_xv_encoding_info_t { 155 xcb_xv_encoding_t encoding; /**< */ 156 uint16_t name_size; /**< */ 157 uint16_t width; /**< */ 158 uint16_t height; /**< */ 159 uint8_t pad0[2]; /**< */ 160 xcb_xv_rational_t rate; /**< */ 161 } xcb_xv_encoding_info_t; 162 163 /** 164 * @brief xcb_xv_encoding_info_iterator_t 165 **/ 166 typedef struct xcb_xv_encoding_info_iterator_t { 167 xcb_xv_encoding_info_t *data; /**< */ 168 int rem; /**< */ 169 int index; /**< */ 170 } xcb_xv_encoding_info_iterator_t; 171 172 /** 173 * @brief xcb_xv_image_t 174 **/ 175 typedef struct xcb_xv_image_t { 176 uint32_t id; /**< */ 177 uint16_t width; /**< */ 178 uint16_t height; /**< */ 179 uint32_t data_size; /**< */ 180 uint32_t num_planes; /**< */ 181 } xcb_xv_image_t; 182 183 /** 184 * @brief xcb_xv_image_iterator_t 185 **/ 186 typedef struct xcb_xv_image_iterator_t { 187 xcb_xv_image_t *data; /**< */ 188 int rem; /**< */ 189 int index; /**< */ 190 } xcb_xv_image_iterator_t; 191 192 /** 193 * @brief xcb_xv_attribute_info_t 194 **/ 195 typedef struct xcb_xv_attribute_info_t { 196 uint32_t flags; /**< */ 197 int32_t min; /**< */ 198 int32_t max; /**< */ 199 uint32_t size; /**< */ 200 } xcb_xv_attribute_info_t; 201 202 /** 203 * @brief xcb_xv_attribute_info_iterator_t 204 **/ 205 typedef struct xcb_xv_attribute_info_iterator_t { 206 xcb_xv_attribute_info_t *data; /**< */ 207 int rem; /**< */ 208 int index; /**< */ 209 } xcb_xv_attribute_info_iterator_t; 210 211 /** 212 * @brief xcb_xv_image_format_info_t 213 **/ 214 typedef struct xcb_xv_image_format_info_t { 215 uint32_t id; /**< */ 216 uint8_t type; /**< */ 217 uint8_t byte_order; /**< */ 218 uint8_t pad0[2]; /**< */ 219 uint8_t guid[16]; /**< */ 220 uint8_t bpp; /**< */ 221 uint8_t num_planes; /**< */ 222 uint8_t pad1[2]; /**< */ 223 uint8_t depth; /**< */ 224 uint8_t pad2[3]; /**< */ 225 uint32_t red_mask; /**< */ 226 uint32_t green_mask; /**< */ 227 uint32_t blue_mask; /**< */ 228 uint8_t format; /**< */ 229 uint8_t pad3[3]; /**< */ 230 uint32_t y_sample_bits; /**< */ 231 uint32_t u_sample_bits; /**< */ 232 uint32_t v_sample_bits; /**< */ 233 uint32_t vhorz_y_period; /**< */ 234 uint32_t vhorz_u_period; /**< */ 235 uint32_t vhorz_v_period; /**< */ 236 uint32_t vvert_y_period; /**< */ 237 uint32_t vvert_u_period; /**< */ 238 uint32_t vvert_v_period; /**< */ 239 uint8_t vcomp_order[32]; /**< */ 240 uint8_t vscanline_order; /**< */ 241 uint8_t pad4[11]; /**< */ 242 } xcb_xv_image_format_info_t; 243 244 /** 245 * @brief xcb_xv_image_format_info_iterator_t 246 **/ 247 typedef struct xcb_xv_image_format_info_iterator_t { 248 xcb_xv_image_format_info_t *data; /**< */ 249 int rem; /**< */ 250 int index; /**< */ 251 } xcb_xv_image_format_info_iterator_t; 252 253 /** Opcode for xcb_xv_bad_port. */ 254 #define XCB_XV_BAD_PORT 0 255 256 /** 257 * @brief xcb_xv_bad_port_error_t 258 **/ 259 typedef struct xcb_xv_bad_port_error_t { 260 uint8_t response_type; /**< */ 261 uint8_t error_code; /**< */ 262 uint16_t sequence; /**< */ 263 } xcb_xv_bad_port_error_t; 264 265 /** Opcode for xcb_xv_bad_encoding. */ 266 #define XCB_XV_BAD_ENCODING 1 267 268 /** 269 * @brief xcb_xv_bad_encoding_error_t 270 **/ 271 typedef struct xcb_xv_bad_encoding_error_t { 272 uint8_t response_type; /**< */ 273 uint8_t error_code; /**< */ 274 uint16_t sequence; /**< */ 275 } xcb_xv_bad_encoding_error_t; 276 277 /** Opcode for xcb_xv_bad_control. */ 278 #define XCB_XV_BAD_CONTROL 2 279 280 /** 281 * @brief xcb_xv_bad_control_error_t 282 **/ 283 typedef struct xcb_xv_bad_control_error_t { 284 uint8_t response_type; /**< */ 285 uint8_t error_code; /**< */ 286 uint16_t sequence; /**< */ 287 } xcb_xv_bad_control_error_t; 288 289 /** Opcode for xcb_xv_video_notify. */ 290 #define XCB_XV_VIDEO_NOTIFY 0 291 292 /** 293 * @brief xcb_xv_video_notify_event_t 294 **/ 295 typedef struct xcb_xv_video_notify_event_t { 296 uint8_t response_type; /**< */ 297 uint8_t reason; /**< */ 298 uint16_t sequence; /**< */ 299 xcb_timestamp_t time; /**< */ 300 xcb_drawable_t drawable; /**< */ 301 xcb_xv_port_t port; /**< */ 302 } xcb_xv_video_notify_event_t; 303 304 /** Opcode for xcb_xv_port_notify. */ 305 #define XCB_XV_PORT_NOTIFY 1 306 307 /** 308 * @brief xcb_xv_port_notify_event_t 309 **/ 310 typedef struct xcb_xv_port_notify_event_t { 311 uint8_t response_type; /**< */ 312 uint8_t pad0; /**< */ 313 uint16_t sequence; /**< */ 314 xcb_timestamp_t time; /**< */ 315 xcb_xv_port_t port; /**< */ 316 xcb_atom_t attribute; /**< */ 317 int32_t value; /**< */ 318 } xcb_xv_port_notify_event_t; 319 320 /** 321 * @brief xcb_xv_query_extension_cookie_t 322 **/ 323 typedef struct xcb_xv_query_extension_cookie_t { 324 unsigned int sequence; /**< */ 325 } xcb_xv_query_extension_cookie_t; 326 327 /** Opcode for xcb_xv_query_extension. */ 328 #define XCB_XV_QUERY_EXTENSION 0 329 330 /** 331 * @brief xcb_xv_query_extension_request_t 332 **/ 333 typedef struct xcb_xv_query_extension_request_t { 334 uint8_t major_opcode; /**< */ 335 uint8_t minor_opcode; /**< */ 336 uint16_t length; /**< */ 337 } xcb_xv_query_extension_request_t; 338 339 /** 340 * @brief xcb_xv_query_extension_reply_t 341 **/ 342 typedef struct xcb_xv_query_extension_reply_t { 343 uint8_t response_type; /**< */ 344 uint8_t pad0; /**< */ 345 uint16_t sequence; /**< */ 346 uint32_t length; /**< */ 347 uint16_t major; /**< */ 348 uint16_t minor; /**< */ 349 } xcb_xv_query_extension_reply_t; 350 351 /** 352 * @brief xcb_xv_query_adaptors_cookie_t 353 **/ 354 typedef struct xcb_xv_query_adaptors_cookie_t { 355 unsigned int sequence; /**< */ 356 } xcb_xv_query_adaptors_cookie_t; 357 358 /** Opcode for xcb_xv_query_adaptors. */ 359 #define XCB_XV_QUERY_ADAPTORS 1 360 361 /** 362 * @brief xcb_xv_query_adaptors_request_t 363 **/ 364 typedef struct xcb_xv_query_adaptors_request_t { 365 uint8_t major_opcode; /**< */ 366 uint8_t minor_opcode; /**< */ 367 uint16_t length; /**< */ 368 xcb_window_t window; /**< */ 369 } xcb_xv_query_adaptors_request_t; 370 371 /** 372 * @brief xcb_xv_query_adaptors_reply_t 373 **/ 374 typedef struct xcb_xv_query_adaptors_reply_t { 375 uint8_t response_type; /**< */ 376 uint8_t pad0; /**< */ 377 uint16_t sequence; /**< */ 378 uint32_t length; /**< */ 379 uint16_t num_adaptors; /**< */ 380 uint8_t pad1[22]; /**< */ 381 } xcb_xv_query_adaptors_reply_t; 382 383 /** 384 * @brief xcb_xv_query_encodings_cookie_t 385 **/ 386 typedef struct xcb_xv_query_encodings_cookie_t { 387 unsigned int sequence; /**< */ 388 } xcb_xv_query_encodings_cookie_t; 389 390 /** Opcode for xcb_xv_query_encodings. */ 391 #define XCB_XV_QUERY_ENCODINGS 2 392 393 /** 394 * @brief xcb_xv_query_encodings_request_t 395 **/ 396 typedef struct xcb_xv_query_encodings_request_t { 397 uint8_t major_opcode; /**< */ 398 uint8_t minor_opcode; /**< */ 399 uint16_t length; /**< */ 400 xcb_xv_port_t port; /**< */ 401 } xcb_xv_query_encodings_request_t; 402 403 /** 404 * @brief xcb_xv_query_encodings_reply_t 405 **/ 406 typedef struct xcb_xv_query_encodings_reply_t { 407 uint8_t response_type; /**< */ 408 uint8_t pad0; /**< */ 409 uint16_t sequence; /**< */ 410 uint32_t length; /**< */ 411 uint16_t num_encodings; /**< */ 412 uint8_t pad1[22]; /**< */ 413 } xcb_xv_query_encodings_reply_t; 414 415 /** 416 * @brief xcb_xv_grab_port_cookie_t 417 **/ 418 typedef struct xcb_xv_grab_port_cookie_t { 419 unsigned int sequence; /**< */ 420 } xcb_xv_grab_port_cookie_t; 421 422 /** Opcode for xcb_xv_grab_port. */ 423 #define XCB_XV_GRAB_PORT 3 424 425 /** 426 * @brief xcb_xv_grab_port_request_t 427 **/ 428 typedef struct xcb_xv_grab_port_request_t { 429 uint8_t major_opcode; /**< */ 430 uint8_t minor_opcode; /**< */ 431 uint16_t length; /**< */ 432 xcb_xv_port_t port; /**< */ 433 xcb_timestamp_t time; /**< */ 434 } xcb_xv_grab_port_request_t; 435 436 /** 437 * @brief xcb_xv_grab_port_reply_t 438 **/ 439 typedef struct xcb_xv_grab_port_reply_t { 440 uint8_t response_type; /**< */ 441 uint8_t result; /**< */ 442 uint16_t sequence; /**< */ 443 uint32_t length; /**< */ 444 } xcb_xv_grab_port_reply_t; 445 446 /** Opcode for xcb_xv_ungrab_port. */ 447 #define XCB_XV_UNGRAB_PORT 4 448 449 /** 450 * @brief xcb_xv_ungrab_port_request_t 451 **/ 452 typedef struct xcb_xv_ungrab_port_request_t { 453 uint8_t major_opcode; /**< */ 454 uint8_t minor_opcode; /**< */ 455 uint16_t length; /**< */ 456 xcb_xv_port_t port; /**< */ 457 xcb_timestamp_t time; /**< */ 458 } xcb_xv_ungrab_port_request_t; 459 460 /** Opcode for xcb_xv_put_video. */ 461 #define XCB_XV_PUT_VIDEO 5 462 463 /** 464 * @brief xcb_xv_put_video_request_t 465 **/ 466 typedef struct xcb_xv_put_video_request_t { 467 uint8_t major_opcode; /**< */ 468 uint8_t minor_opcode; /**< */ 469 uint16_t length; /**< */ 470 xcb_xv_port_t port; /**< */ 471 xcb_drawable_t drawable; /**< */ 472 xcb_gcontext_t gc; /**< */ 473 int16_t vid_x; /**< */ 474 int16_t vid_y; /**< */ 475 uint16_t vid_w; /**< */ 476 uint16_t vid_h; /**< */ 477 int16_t drw_x; /**< */ 478 int16_t drw_y; /**< */ 479 uint16_t drw_w; /**< */ 480 uint16_t drw_h; /**< */ 481 } xcb_xv_put_video_request_t; 482 483 /** Opcode for xcb_xv_put_still. */ 484 #define XCB_XV_PUT_STILL 6 485 486 /** 487 * @brief xcb_xv_put_still_request_t 488 **/ 489 typedef struct xcb_xv_put_still_request_t { 490 uint8_t major_opcode; /**< */ 491 uint8_t minor_opcode; /**< */ 492 uint16_t length; /**< */ 493 xcb_xv_port_t port; /**< */ 494 xcb_drawable_t drawable; /**< */ 495 xcb_gcontext_t gc; /**< */ 496 int16_t vid_x; /**< */ 497 int16_t vid_y; /**< */ 498 uint16_t vid_w; /**< */ 499 uint16_t vid_h; /**< */ 500 int16_t drw_x; /**< */ 501 int16_t drw_y; /**< */ 502 uint16_t drw_w; /**< */ 503 uint16_t drw_h; /**< */ 504 } xcb_xv_put_still_request_t; 505 506 /** Opcode for xcb_xv_get_video. */ 507 #define XCB_XV_GET_VIDEO 7 508 509 /** 510 * @brief xcb_xv_get_video_request_t 511 **/ 512 typedef struct xcb_xv_get_video_request_t { 513 uint8_t major_opcode; /**< */ 514 uint8_t minor_opcode; /**< */ 515 uint16_t length; /**< */ 516 xcb_xv_port_t port; /**< */ 517 xcb_drawable_t drawable; /**< */ 518 xcb_gcontext_t gc; /**< */ 519 int16_t vid_x; /**< */ 520 int16_t vid_y; /**< */ 521 uint16_t vid_w; /**< */ 522 uint16_t vid_h; /**< */ 523 int16_t drw_x; /**< */ 524 int16_t drw_y; /**< */ 525 uint16_t drw_w; /**< */ 526 uint16_t drw_h; /**< */ 527 } xcb_xv_get_video_request_t; 528 529 /** Opcode for xcb_xv_get_still. */ 530 #define XCB_XV_GET_STILL 8 531 532 /** 533 * @brief xcb_xv_get_still_request_t 534 **/ 535 typedef struct xcb_xv_get_still_request_t { 536 uint8_t major_opcode; /**< */ 537 uint8_t minor_opcode; /**< */ 538 uint16_t length; /**< */ 539 xcb_xv_port_t port; /**< */ 540 xcb_drawable_t drawable; /**< */ 541 xcb_gcontext_t gc; /**< */ 542 int16_t vid_x; /**< */ 543 int16_t vid_y; /**< */ 544 uint16_t vid_w; /**< */ 545 uint16_t vid_h; /**< */ 546 int16_t drw_x; /**< */ 547 int16_t drw_y; /**< */ 548 uint16_t drw_w; /**< */ 549 uint16_t drw_h; /**< */ 550 } xcb_xv_get_still_request_t; 551 552 /** Opcode for xcb_xv_stop_video. */ 553 #define XCB_XV_STOP_VIDEO 9 554 555 /** 556 * @brief xcb_xv_stop_video_request_t 557 **/ 558 typedef struct xcb_xv_stop_video_request_t { 559 uint8_t major_opcode; /**< */ 560 uint8_t minor_opcode; /**< */ 561 uint16_t length; /**< */ 562 xcb_xv_port_t port; /**< */ 563 xcb_drawable_t drawable; /**< */ 564 } xcb_xv_stop_video_request_t; 565 566 /** Opcode for xcb_xv_select_video_notify. */ 567 #define XCB_XV_SELECT_VIDEO_NOTIFY 10 568 569 /** 570 * @brief xcb_xv_select_video_notify_request_t 571 **/ 572 typedef struct xcb_xv_select_video_notify_request_t { 573 uint8_t major_opcode; /**< */ 574 uint8_t minor_opcode; /**< */ 575 uint16_t length; /**< */ 576 xcb_drawable_t drawable; /**< */ 577 uint8_t onoff; /**< */ 578 uint8_t pad0[3]; /**< */ 579 } xcb_xv_select_video_notify_request_t; 580 581 /** Opcode for xcb_xv_select_port_notify. */ 582 #define XCB_XV_SELECT_PORT_NOTIFY 11 583 584 /** 585 * @brief xcb_xv_select_port_notify_request_t 586 **/ 587 typedef struct xcb_xv_select_port_notify_request_t { 588 uint8_t major_opcode; /**< */ 589 uint8_t minor_opcode; /**< */ 590 uint16_t length; /**< */ 591 xcb_xv_port_t port; /**< */ 592 uint8_t onoff; /**< */ 593 uint8_t pad0[3]; /**< */ 594 } xcb_xv_select_port_notify_request_t; 595 596 /** 597 * @brief xcb_xv_query_best_size_cookie_t 598 **/ 599 typedef struct xcb_xv_query_best_size_cookie_t { 600 unsigned int sequence; /**< */ 601 } xcb_xv_query_best_size_cookie_t; 602 603 /** Opcode for xcb_xv_query_best_size. */ 604 #define XCB_XV_QUERY_BEST_SIZE 12 605 606 /** 607 * @brief xcb_xv_query_best_size_request_t 608 **/ 609 typedef struct xcb_xv_query_best_size_request_t { 610 uint8_t major_opcode; /**< */ 611 uint8_t minor_opcode; /**< */ 612 uint16_t length; /**< */ 613 xcb_xv_port_t port; /**< */ 614 uint16_t vid_w; /**< */ 615 uint16_t vid_h; /**< */ 616 uint16_t drw_w; /**< */ 617 uint16_t drw_h; /**< */ 618 uint8_t motion; /**< */ 619 uint8_t pad0[3]; /**< */ 620 } xcb_xv_query_best_size_request_t; 621 622 /** 623 * @brief xcb_xv_query_best_size_reply_t 624 **/ 625 typedef struct xcb_xv_query_best_size_reply_t { 626 uint8_t response_type; /**< */ 627 uint8_t pad0; /**< */ 628 uint16_t sequence; /**< */ 629 uint32_t length; /**< */ 630 uint16_t actual_width; /**< */ 631 uint16_t actual_height; /**< */ 632 } xcb_xv_query_best_size_reply_t; 633 634 /** Opcode for xcb_xv_set_port_attribute. */ 635 #define XCB_XV_SET_PORT_ATTRIBUTE 13 636 637 /** 638 * @brief xcb_xv_set_port_attribute_request_t 639 **/ 640 typedef struct xcb_xv_set_port_attribute_request_t { 641 uint8_t major_opcode; /**< */ 642 uint8_t minor_opcode; /**< */ 643 uint16_t length; /**< */ 644 xcb_xv_port_t port; /**< */ 645 xcb_atom_t attribute; /**< */ 646 int32_t value; /**< */ 647 } xcb_xv_set_port_attribute_request_t; 648 649 /** 650 * @brief xcb_xv_get_port_attribute_cookie_t 651 **/ 652 typedef struct xcb_xv_get_port_attribute_cookie_t { 653 unsigned int sequence; /**< */ 654 } xcb_xv_get_port_attribute_cookie_t; 655 656 /** Opcode for xcb_xv_get_port_attribute. */ 657 #define XCB_XV_GET_PORT_ATTRIBUTE 14 658 659 /** 660 * @brief xcb_xv_get_port_attribute_request_t 661 **/ 662 typedef struct xcb_xv_get_port_attribute_request_t { 663 uint8_t major_opcode; /**< */ 664 uint8_t minor_opcode; /**< */ 665 uint16_t length; /**< */ 666 xcb_xv_port_t port; /**< */ 667 xcb_atom_t attribute; /**< */ 668 } xcb_xv_get_port_attribute_request_t; 669 670 /** 671 * @brief xcb_xv_get_port_attribute_reply_t 672 **/ 673 typedef struct xcb_xv_get_port_attribute_reply_t { 674 uint8_t response_type; /**< */ 675 uint8_t pad0; /**< */ 676 uint16_t sequence; /**< */ 677 uint32_t length; /**< */ 678 int32_t value; /**< */ 679 } xcb_xv_get_port_attribute_reply_t; 680 681 /** 682 * @brief xcb_xv_query_port_attributes_cookie_t 683 **/ 684 typedef struct xcb_xv_query_port_attributes_cookie_t { 685 unsigned int sequence; /**< */ 686 } xcb_xv_query_port_attributes_cookie_t; 687 688 /** Opcode for xcb_xv_query_port_attributes. */ 689 #define XCB_XV_QUERY_PORT_ATTRIBUTES 15 690 691 /** 692 * @brief xcb_xv_query_port_attributes_request_t 693 **/ 694 typedef struct xcb_xv_query_port_attributes_request_t { 695 uint8_t major_opcode; /**< */ 696 uint8_t minor_opcode; /**< */ 697 uint16_t length; /**< */ 698 xcb_xv_port_t port; /**< */ 699 } xcb_xv_query_port_attributes_request_t; 700 701 /** 702 * @brief xcb_xv_query_port_attributes_reply_t 703 **/ 704 typedef struct xcb_xv_query_port_attributes_reply_t { 705 uint8_t response_type; /**< */ 706 uint8_t pad0; /**< */ 707 uint16_t sequence; /**< */ 708 uint32_t length; /**< */ 709 uint32_t num_attributes; /**< */ 710 uint32_t text_size; /**< */ 711 uint8_t pad1[16]; /**< */ 712 } xcb_xv_query_port_attributes_reply_t; 713 714 /** 715 * @brief xcb_xv_list_image_formats_cookie_t 716 **/ 717 typedef struct xcb_xv_list_image_formats_cookie_t { 718 unsigned int sequence; /**< */ 719 } xcb_xv_list_image_formats_cookie_t; 720 721 /** Opcode for xcb_xv_list_image_formats. */ 722 #define XCB_XV_LIST_IMAGE_FORMATS 16 723 724 /** 725 * @brief xcb_xv_list_image_formats_request_t 726 **/ 727 typedef struct xcb_xv_list_image_formats_request_t { 728 uint8_t major_opcode; /**< */ 729 uint8_t minor_opcode; /**< */ 730 uint16_t length; /**< */ 731 xcb_xv_port_t port; /**< */ 732 } xcb_xv_list_image_formats_request_t; 733 734 /** 735 * @brief xcb_xv_list_image_formats_reply_t 736 **/ 737 typedef struct xcb_xv_list_image_formats_reply_t { 738 uint8_t response_type; /**< */ 739 uint8_t pad0; /**< */ 740 uint16_t sequence; /**< */ 741 uint32_t length; /**< */ 742 uint32_t num_formats; /**< */ 743 uint8_t pad1[20]; /**< */ 744 } xcb_xv_list_image_formats_reply_t; 745 746 /** 747 * @brief xcb_xv_query_image_attributes_cookie_t 748 **/ 749 typedef struct xcb_xv_query_image_attributes_cookie_t { 750 unsigned int sequence; /**< */ 751 } xcb_xv_query_image_attributes_cookie_t; 752 753 /** Opcode for xcb_xv_query_image_attributes. */ 754 #define XCB_XV_QUERY_IMAGE_ATTRIBUTES 17 755 756 /** 757 * @brief xcb_xv_query_image_attributes_request_t 758 **/ 759 typedef struct xcb_xv_query_image_attributes_request_t { 760 uint8_t major_opcode; /**< */ 761 uint8_t minor_opcode; /**< */ 762 uint16_t length; /**< */ 763 xcb_xv_port_t port; /**< */ 764 uint32_t id; /**< */ 765 uint16_t width; /**< */ 766 uint16_t height; /**< */ 767 } xcb_xv_query_image_attributes_request_t; 768 769 /** 770 * @brief xcb_xv_query_image_attributes_reply_t 771 **/ 772 typedef struct xcb_xv_query_image_attributes_reply_t { 773 uint8_t response_type; /**< */ 774 uint8_t pad0; /**< */ 775 uint16_t sequence; /**< */ 776 uint32_t length; /**< */ 777 uint32_t num_planes; /**< */ 778 uint32_t data_size; /**< */ 779 uint16_t width; /**< */ 780 uint16_t height; /**< */ 781 uint8_t pad1[12]; /**< */ 782 } xcb_xv_query_image_attributes_reply_t; 783 784 /** Opcode for xcb_xv_put_image. */ 785 #define XCB_XV_PUT_IMAGE 18 786 787 /** 788 * @brief xcb_xv_put_image_request_t 789 **/ 790 typedef struct xcb_xv_put_image_request_t { 791 uint8_t major_opcode; /**< */ 792 uint8_t minor_opcode; /**< */ 793 uint16_t length; /**< */ 794 xcb_xv_port_t port; /**< */ 795 xcb_drawable_t drawable; /**< */ 796 xcb_gcontext_t gc; /**< */ 797 uint32_t id; /**< */ 798 int16_t src_x; /**< */ 799 int16_t src_y; /**< */ 800 uint16_t src_w; /**< */ 801 uint16_t src_h; /**< */ 802 int16_t drw_x; /**< */ 803 int16_t drw_y; /**< */ 804 uint16_t drw_w; /**< */ 805 uint16_t drw_h; /**< */ 806 uint16_t width; /**< */ 807 uint16_t height; /**< */ 808 } xcb_xv_put_image_request_t; 809 810 /** Opcode for xcb_xv_shm_put_image. */ 811 #define XCB_XV_SHM_PUT_IMAGE 19 812 813 /** 814 * @brief xcb_xv_shm_put_image_request_t 815 **/ 816 typedef struct xcb_xv_shm_put_image_request_t { 817 uint8_t major_opcode; /**< */ 818 uint8_t minor_opcode; /**< */ 819 uint16_t length; /**< */ 820 xcb_xv_port_t port; /**< */ 821 xcb_drawable_t drawable; /**< */ 822 xcb_gcontext_t gc; /**< */ 823 xcb_shm_seg_t shmseg; /**< */ 824 uint32_t id; /**< */ 825 uint32_t offset; /**< */ 826 int16_t src_x; /**< */ 827 int16_t src_y; /**< */ 828 uint16_t src_w; /**< */ 829 uint16_t src_h; /**< */ 830 int16_t drw_x; /**< */ 831 int16_t drw_y; /**< */ 832 uint16_t drw_w; /**< */ 833 uint16_t drw_h; /**< */ 834 uint16_t width; /**< */ 835 uint16_t height; /**< */ 836 uint8_t send_event; /**< */ 837 uint8_t pad0[3]; /**< */ 838 } xcb_xv_shm_put_image_request_t; 839 840 /** 841 * Get the next element of the iterator 842 * @param i Pointer to a xcb_xv_port_iterator_t 843 * 844 * Get the next element in the iterator. The member rem is 845 * decreased by one. The member data points to the next 846 * element. The member index is increased by sizeof(xcb_xv_port_t) 847 */ 848 849 /***************************************************************************** 850 ** 851 ** void xcb_xv_port_next 852 ** 853 ** @param xcb_xv_port_iterator_t *i 854 ** @returns void 855 ** 856 *****************************************************************************/ 857 858 void 859 xcb_xv_port_next (xcb_xv_port_iterator_t *i /**< */); 860 861 /** 862 * Return the iterator pointing to the last element 863 * @param i An xcb_xv_port_iterator_t 864 * @return The iterator pointing to the last element 865 * 866 * Set the current element in the iterator to the last element. 867 * The member rem is set to 0. The member data points to the 868 * last element. 869 */ 870 871 /***************************************************************************** 872 ** 873 ** xcb_generic_iterator_t xcb_xv_port_end 874 ** 875 ** @param xcb_xv_port_iterator_t i 876 ** @returns xcb_generic_iterator_t 877 ** 878 *****************************************************************************/ 879 880 xcb_generic_iterator_t 881 xcb_xv_port_end (xcb_xv_port_iterator_t i /**< */); 882 883 /** 884 * Get the next element of the iterator 885 * @param i Pointer to a xcb_xv_encoding_iterator_t 886 * 887 * Get the next element in the iterator. The member rem is 888 * decreased by one. The member data points to the next 889 * element. The member index is increased by sizeof(xcb_xv_encoding_t) 890 */ 891 892 /***************************************************************************** 893 ** 894 ** void xcb_xv_encoding_next 895 ** 896 ** @param xcb_xv_encoding_iterator_t *i 897 ** @returns void 898 ** 899 *****************************************************************************/ 900 901 void 902 xcb_xv_encoding_next (xcb_xv_encoding_iterator_t *i /**< */); 903 904 /** 905 * Return the iterator pointing to the last element 906 * @param i An xcb_xv_encoding_iterator_t 907 * @return The iterator pointing to the last element 908 * 909 * Set the current element in the iterator to the last element. 910 * The member rem is set to 0. The member data points to the 911 * last element. 912 */ 913 914 /***************************************************************************** 915 ** 916 ** xcb_generic_iterator_t xcb_xv_encoding_end 917 ** 918 ** @param xcb_xv_encoding_iterator_t i 919 ** @returns xcb_generic_iterator_t 920 ** 921 *****************************************************************************/ 922 923 xcb_generic_iterator_t 924 xcb_xv_encoding_end (xcb_xv_encoding_iterator_t i /**< */); 925 926 /** 927 * Get the next element of the iterator 928 * @param i Pointer to a xcb_xv_rational_iterator_t 929 * 930 * Get the next element in the iterator. The member rem is 931 * decreased by one. The member data points to the next 932 * element. The member index is increased by sizeof(xcb_xv_rational_t) 933 */ 934 935 /***************************************************************************** 936 ** 937 ** void xcb_xv_rational_next 938 ** 939 ** @param xcb_xv_rational_iterator_t *i 940 ** @returns void 941 ** 942 *****************************************************************************/ 943 944 void 945 xcb_xv_rational_next (xcb_xv_rational_iterator_t *i /**< */); 946 947 /** 948 * Return the iterator pointing to the last element 949 * @param i An xcb_xv_rational_iterator_t 950 * @return The iterator pointing to the last element 951 * 952 * Set the current element in the iterator to the last element. 953 * The member rem is set to 0. The member data points to the 954 * last element. 955 */ 956 957 /***************************************************************************** 958 ** 959 ** xcb_generic_iterator_t xcb_xv_rational_end 960 ** 961 ** @param xcb_xv_rational_iterator_t i 962 ** @returns xcb_generic_iterator_t 963 ** 964 *****************************************************************************/ 965 966 xcb_generic_iterator_t 967 xcb_xv_rational_end (xcb_xv_rational_iterator_t i /**< */); 968 969 /** 970 * Get the next element of the iterator 971 * @param i Pointer to a xcb_xv_format_iterator_t 972 * 973 * Get the next element in the iterator. The member rem is 974 * decreased by one. The member data points to the next 975 * element. The member index is increased by sizeof(xcb_xv_format_t) 976 */ 977 978 /***************************************************************************** 979 ** 980 ** void xcb_xv_format_next 981 ** 982 ** @param xcb_xv_format_iterator_t *i 983 ** @returns void 984 ** 985 *****************************************************************************/ 986 987 void 988 xcb_xv_format_next (xcb_xv_format_iterator_t *i /**< */); 989 990 /** 991 * Return the iterator pointing to the last element 992 * @param i An xcb_xv_format_iterator_t 993 * @return The iterator pointing to the last element 994 * 995 * Set the current element in the iterator to the last element. 996 * The member rem is set to 0. The member data points to the 997 * last element. 998 */ 999 1000 /***************************************************************************** 1001 ** 1002 ** xcb_generic_iterator_t xcb_xv_format_end 1003 ** 1004 ** @param xcb_xv_format_iterator_t i 1005 ** @returns xcb_generic_iterator_t 1006 ** 1007 *****************************************************************************/ 1008 1009 xcb_generic_iterator_t 1010 xcb_xv_format_end (xcb_xv_format_iterator_t i /**< */); 1011 1012 1013 /***************************************************************************** 1014 ** 1015 ** char * xcb_xv_adaptor_info_name 1016 ** 1017 ** @param const xcb_xv_adaptor_info_t *R 1018 ** @returns char * 1019 ** 1020 *****************************************************************************/ 1021 1022 char * 1023 xcb_xv_adaptor_info_name (const xcb_xv_adaptor_info_t *R /**< */); 1024 1025 1026 /***************************************************************************** 1027 ** 1028 ** int xcb_xv_adaptor_info_name_length 1029 ** 1030 ** @param const xcb_xv_adaptor_info_t *R 1031 ** @returns int 1032 ** 1033 *****************************************************************************/ 1034 1035 int 1036 xcb_xv_adaptor_info_name_length (const xcb_xv_adaptor_info_t *R /**< */); 1037 1038 1039 /***************************************************************************** 1040 ** 1041 ** xcb_generic_iterator_t xcb_xv_adaptor_info_name_end 1042 ** 1043 ** @param const xcb_xv_adaptor_info_t *R 1044 ** @returns xcb_generic_iterator_t 1045 ** 1046 *****************************************************************************/ 1047 1048 xcb_generic_iterator_t 1049 xcb_xv_adaptor_info_name_end (const xcb_xv_adaptor_info_t *R /**< */); 1050 1051 1052 /***************************************************************************** 1053 ** 1054 ** xcb_xv_format_t * xcb_xv_adaptor_info_formats 1055 ** 1056 ** @param const xcb_xv_adaptor_info_t *R 1057 ** @returns xcb_xv_format_t * 1058 ** 1059 *****************************************************************************/ 1060 1061 xcb_xv_format_t * 1062 xcb_xv_adaptor_info_formats (const xcb_xv_adaptor_info_t *R /**< */); 1063 1064 1065 /***************************************************************************** 1066 ** 1067 ** int xcb_xv_adaptor_info_formats_length 1068 ** 1069 ** @param const xcb_xv_adaptor_info_t *R 1070 ** @returns int 1071 ** 1072 *****************************************************************************/ 1073 1074 int 1075 xcb_xv_adaptor_info_formats_length (const xcb_xv_adaptor_info_t *R /**< */); 1076 1077 1078 /***************************************************************************** 1079 ** 1080 ** xcb_xv_format_iterator_t xcb_xv_adaptor_info_formats_iterator 1081 ** 1082 ** @param const xcb_xv_adaptor_info_t *R 1083 ** @returns xcb_xv_format_iterator_t 1084 ** 1085 *****************************************************************************/ 1086 1087 xcb_xv_format_iterator_t 1088 xcb_xv_adaptor_info_formats_iterator (const xcb_xv_adaptor_info_t *R /**< */); 1089 1090 /** 1091 * Get the next element of the iterator 1092 * @param i Pointer to a xcb_xv_adaptor_info_iterator_t 1093 * 1094 * Get the next element in the iterator. The member rem is 1095 * decreased by one. The member data points to the next 1096 * element. The member index is increased by sizeof(xcb_xv_adaptor_info_t) 1097 */ 1098 1099 /***************************************************************************** 1100 ** 1101 ** void xcb_xv_adaptor_info_next 1102 ** 1103 ** @param xcb_xv_adaptor_info_iterator_t *i 1104 ** @returns void 1105 ** 1106 *****************************************************************************/ 1107 1108 void 1109 xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i /**< */); 1110 1111 /** 1112 * Return the iterator pointing to the last element 1113 * @param i An xcb_xv_adaptor_info_iterator_t 1114 * @return The iterator pointing to the last element 1115 * 1116 * Set the current element in the iterator to the last element. 1117 * The member rem is set to 0. The member data points to the 1118 * last element. 1119 */ 1120 1121 /***************************************************************************** 1122 ** 1123 ** xcb_generic_iterator_t xcb_xv_adaptor_info_end 1124 ** 1125 ** @param xcb_xv_adaptor_info_iterator_t i 1126 ** @returns xcb_generic_iterator_t 1127 ** 1128 *****************************************************************************/ 1129 1130 xcb_generic_iterator_t 1131 xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i /**< */); 1132 1133 1134 /***************************************************************************** 1135 ** 1136 ** char * xcb_xv_encoding_info_name 1137 ** 1138 ** @param const xcb_xv_encoding_info_t *R 1139 ** @returns char * 1140 ** 1141 *****************************************************************************/ 1142 1143 char * 1144 xcb_xv_encoding_info_name (const xcb_xv_encoding_info_t *R /**< */); 1145 1146 1147 /***************************************************************************** 1148 ** 1149 ** int xcb_xv_encoding_info_name_length 1150 ** 1151 ** @param const xcb_xv_encoding_info_t *R 1152 ** @returns int 1153 ** 1154 *****************************************************************************/ 1155 1156 int 1157 xcb_xv_encoding_info_name_length (const xcb_xv_encoding_info_t *R /**< */); 1158 1159 1160 /***************************************************************************** 1161 ** 1162 ** xcb_generic_iterator_t xcb_xv_encoding_info_name_end 1163 ** 1164 ** @param const xcb_xv_encoding_info_t *R 1165 ** @returns xcb_generic_iterator_t 1166 ** 1167 *****************************************************************************/ 1168 1169 xcb_generic_iterator_t 1170 xcb_xv_encoding_info_name_end (const xcb_xv_encoding_info_t *R /**< */); 1171 1172 /** 1173 * Get the next element of the iterator 1174 * @param i Pointer to a xcb_xv_encoding_info_iterator_t 1175 * 1176 * Get the next element in the iterator. The member rem is 1177 * decreased by one. The member data points to the next 1178 * element. The member index is increased by sizeof(xcb_xv_encoding_info_t) 1179 */ 1180 1181 /***************************************************************************** 1182 ** 1183 ** void xcb_xv_encoding_info_next 1184 ** 1185 ** @param xcb_xv_encoding_info_iterator_t *i 1186 ** @returns void 1187 ** 1188 *****************************************************************************/ 1189 1190 void 1191 xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i /**< */); 1192 1193 /** 1194 * Return the iterator pointing to the last element 1195 * @param i An xcb_xv_encoding_info_iterator_t 1196 * @return The iterator pointing to the last element 1197 * 1198 * Set the current element in the iterator to the last element. 1199 * The member rem is set to 0. The member data points to the 1200 * last element. 1201 */ 1202 1203 /***************************************************************************** 1204 ** 1205 ** xcb_generic_iterator_t xcb_xv_encoding_info_end 1206 ** 1207 ** @param xcb_xv_encoding_info_iterator_t i 1208 ** @returns xcb_generic_iterator_t 1209 ** 1210 *****************************************************************************/ 1211 1212 xcb_generic_iterator_t 1213 xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i /**< */); 1214 1215 1216 /***************************************************************************** 1217 ** 1218 ** uint32_t * xcb_xv_image_pitches 1219 ** 1220 ** @param const xcb_xv_image_t *R 1221 ** @returns uint32_t * 1222 ** 1223 *****************************************************************************/ 1224 1225 uint32_t * 1226 xcb_xv_image_pitches (const xcb_xv_image_t *R /**< */); 1227 1228 1229 /***************************************************************************** 1230 ** 1231 ** int xcb_xv_image_pitches_length 1232 ** 1233 ** @param const xcb_xv_image_t *R 1234 ** @returns int 1235 ** 1236 *****************************************************************************/ 1237 1238 int 1239 xcb_xv_image_pitches_length (const xcb_xv_image_t *R /**< */); 1240 1241 1242 /***************************************************************************** 1243 ** 1244 ** xcb_generic_iterator_t xcb_xv_image_pitches_end 1245 ** 1246 ** @param const xcb_xv_image_t *R 1247 ** @returns xcb_generic_iterator_t 1248 ** 1249 *****************************************************************************/ 1250 1251 xcb_generic_iterator_t 1252 xcb_xv_image_pitches_end (const xcb_xv_image_t *R /**< */); 1253 1254 1255 /***************************************************************************** 1256 ** 1257 ** uint32_t * xcb_xv_image_offsets 1258 ** 1259 ** @param const xcb_xv_image_t *R 1260 ** @returns uint32_t * 1261 ** 1262 *****************************************************************************/ 1263 1264 uint32_t * 1265 xcb_xv_image_offsets (const xcb_xv_image_t *R /**< */); 1266 1267 1268 /***************************************************************************** 1269 ** 1270 ** int xcb_xv_image_offsets_length 1271 ** 1272 ** @param const xcb_xv_image_t *R 1273 ** @returns int 1274 ** 1275 *****************************************************************************/ 1276 1277 int 1278 xcb_xv_image_offsets_length (const xcb_xv_image_t *R /**< */); 1279 1280 1281 /***************************************************************************** 1282 ** 1283 ** xcb_generic_iterator_t xcb_xv_image_offsets_end 1284 ** 1285 ** @param const xcb_xv_image_t *R 1286 ** @returns xcb_generic_iterator_t 1287 ** 1288 *****************************************************************************/ 1289 1290 xcb_generic_iterator_t 1291 xcb_xv_image_offsets_end (const xcb_xv_image_t *R /**< */); 1292 1293 1294 /***************************************************************************** 1295 ** 1296 ** uint8_t * xcb_xv_image_data 1297 ** 1298 ** @param const xcb_xv_image_t *R 1299 ** @returns uint8_t * 1300 ** 1301 *****************************************************************************/ 1302 1303 uint8_t * 1304 xcb_xv_image_data (const xcb_xv_image_t *R /**< */); 1305 1306 1307 /***************************************************************************** 1308 ** 1309 ** int xcb_xv_image_data_length 1310 ** 1311 ** @param const xcb_xv_image_t *R 1312 ** @returns int 1313 ** 1314 *****************************************************************************/ 1315 1316 int 1317 xcb_xv_image_data_length (const xcb_xv_image_t *R /**< */); 1318 1319 1320 /***************************************************************************** 1321 ** 1322 ** xcb_generic_iterator_t xcb_xv_image_data_end 1323 ** 1324 ** @param const xcb_xv_image_t *R 1325 ** @returns xcb_generic_iterator_t 1326 ** 1327 *****************************************************************************/ 1328 1329 xcb_generic_iterator_t 1330 xcb_xv_image_data_end (const xcb_xv_image_t *R /**< */); 1331 1332 /** 1333 * Get the next element of the iterator 1334 * @param i Pointer to a xcb_xv_image_iterator_t 1335 * 1336 * Get the next element in the iterator. The member rem is 1337 * decreased by one. The member data points to the next 1338 * element. The member index is increased by sizeof(xcb_xv_image_t) 1339 */ 1340 1341 /***************************************************************************** 1342 ** 1343 ** void xcb_xv_image_next 1344 ** 1345 ** @param xcb_xv_image_iterator_t *i 1346 ** @returns void 1347 ** 1348 *****************************************************************************/ 1349 1350 void 1351 xcb_xv_image_next (xcb_xv_image_iterator_t *i /**< */); 1352 1353 /** 1354 * Return the iterator pointing to the last element 1355 * @param i An xcb_xv_image_iterator_t 1356 * @return The iterator pointing to the last element 1357 * 1358 * Set the current element in the iterator to the last element. 1359 * The member rem is set to 0. The member data points to the 1360 * last element. 1361 */ 1362 1363 /***************************************************************************** 1364 ** 1365 ** xcb_generic_iterator_t xcb_xv_image_end 1366 ** 1367 ** @param xcb_xv_image_iterator_t i 1368 ** @returns xcb_generic_iterator_t 1369 ** 1370 *****************************************************************************/ 1371 1372 xcb_generic_iterator_t 1373 xcb_xv_image_end (xcb_xv_image_iterator_t i /**< */); 1374 1375 1376 /***************************************************************************** 1377 ** 1378 ** char * xcb_xv_attribute_info_name 1379 ** 1380 ** @param const xcb_xv_attribute_info_t *R 1381 ** @returns char * 1382 ** 1383 *****************************************************************************/ 1384 1385 char * 1386 xcb_xv_attribute_info_name (const xcb_xv_attribute_info_t *R /**< */); 1387 1388 1389 /***************************************************************************** 1390 ** 1391 ** int xcb_xv_attribute_info_name_length 1392 ** 1393 ** @param const xcb_xv_attribute_info_t *R 1394 ** @returns int 1395 ** 1396 *****************************************************************************/ 1397 1398 int 1399 xcb_xv_attribute_info_name_length (const xcb_xv_attribute_info_t *R /**< */); 1400 1401 1402 /***************************************************************************** 1403 ** 1404 ** xcb_generic_iterator_t xcb_xv_attribute_info_name_end 1405 ** 1406 ** @param const xcb_xv_attribute_info_t *R 1407 ** @returns xcb_generic_iterator_t 1408 ** 1409 *****************************************************************************/ 1410 1411 xcb_generic_iterator_t 1412 xcb_xv_attribute_info_name_end (const xcb_xv_attribute_info_t *R /**< */); 1413 1414 /** 1415 * Get the next element of the iterator 1416 * @param i Pointer to a xcb_xv_attribute_info_iterator_t 1417 * 1418 * Get the next element in the iterator. The member rem is 1419 * decreased by one. The member data points to the next 1420 * element. The member index is increased by sizeof(xcb_xv_attribute_info_t) 1421 */ 1422 1423 /***************************************************************************** 1424 ** 1425 ** void xcb_xv_attribute_info_next 1426 ** 1427 ** @param xcb_xv_attribute_info_iterator_t *i 1428 ** @returns void 1429 ** 1430 *****************************************************************************/ 1431 1432 void 1433 xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i /**< */); 1434 1435 /** 1436 * Return the iterator pointing to the last element 1437 * @param i An xcb_xv_attribute_info_iterator_t 1438 * @return The iterator pointing to the last element 1439 * 1440 * Set the current element in the iterator to the last element. 1441 * The member rem is set to 0. The member data points to the 1442 * last element. 1443 */ 1444 1445 /***************************************************************************** 1446 ** 1447 ** xcb_generic_iterator_t xcb_xv_attribute_info_end 1448 ** 1449 ** @param xcb_xv_attribute_info_iterator_t i 1450 ** @returns xcb_generic_iterator_t 1451 ** 1452 *****************************************************************************/ 1453 1454 xcb_generic_iterator_t 1455 xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i /**< */); 1456 1457 /** 1458 * Get the next element of the iterator 1459 * @param i Pointer to a xcb_xv_image_format_info_iterator_t 1460 * 1461 * Get the next element in the iterator. The member rem is 1462 * decreased by one. The member data points to the next 1463 * element. The member index is increased by sizeof(xcb_xv_image_format_info_t) 1464 */ 1465 1466 /***************************************************************************** 1467 ** 1468 ** void xcb_xv_image_format_info_next 1469 ** 1470 ** @param xcb_xv_image_format_info_iterator_t *i 1471 ** @returns void 1472 ** 1473 *****************************************************************************/ 1474 1475 void 1476 xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i /**< */); 1477 1478 /** 1479 * Return the iterator pointing to the last element 1480 * @param i An xcb_xv_image_format_info_iterator_t 1481 * @return The iterator pointing to the last element 1482 * 1483 * Set the current element in the iterator to the last element. 1484 * The member rem is set to 0. The member data points to the 1485 * last element. 1486 */ 1487 1488 /***************************************************************************** 1489 ** 1490 ** xcb_generic_iterator_t xcb_xv_image_format_info_end 1491 ** 1492 ** @param xcb_xv_image_format_info_iterator_t i 1493 ** @returns xcb_generic_iterator_t 1494 ** 1495 *****************************************************************************/ 1496 1497 xcb_generic_iterator_t 1498 xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i /**< */); 1499 1500 /** 1501 * Delivers a request to the X server 1502 * @param c The connection 1503 * @return A cookie 1504 * 1505 * Delivers a request to the X server. 1506 * 1507 */ 1508 1509 /***************************************************************************** 1510 ** 1511 ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension 1512 ** 1513 ** @param xcb_connection_t *c 1514 ** @returns xcb_xv_query_extension_cookie_t 1515 ** 1516 *****************************************************************************/ 1517 1518 xcb_xv_query_extension_cookie_t 1519 xcb_xv_query_extension (xcb_connection_t *c /**< */); 1520 1521 /** 1522 * Delivers a request to the X server 1523 * @param c The connection 1524 * @return A cookie 1525 * 1526 * Delivers a request to the X server. 1527 * 1528 * This form can be used only if the request will cause 1529 * a reply to be generated. Any returned error will be 1530 * placed in the event queue. 1531 */ 1532 1533 /***************************************************************************** 1534 ** 1535 ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension_unchecked 1536 ** 1537 ** @param xcb_connection_t *c 1538 ** @returns xcb_xv_query_extension_cookie_t 1539 ** 1540 *****************************************************************************/ 1541 1542 xcb_xv_query_extension_cookie_t 1543 xcb_xv_query_extension_unchecked (xcb_connection_t *c /**< */); 1544 1545 /** 1546 * Return the reply 1547 * @param c The connection 1548 * @param cookie The cookie 1549 * @param e The xcb_generic_error_t supplied 1550 * 1551 * Returns the reply of the request asked by 1552 * 1553 * The parameter @p e supplied to this function must be NULL if 1554 * xcb_xv_query_extension_unchecked(). is used. 1555 * Otherwise, it stores the error if any. 1556 * 1557 * The returned value must be freed by the caller using free(). 1558 */ 1559 1560 /***************************************************************************** 1561 ** 1562 ** xcb_xv_query_extension_reply_t * xcb_xv_query_extension_reply 1563 ** 1564 ** @param xcb_connection_t *c 1565 ** @param xcb_xv_query_extension_cookie_t cookie 1566 ** @param xcb_generic_error_t **e 1567 ** @returns xcb_xv_query_extension_reply_t * 1568 ** 1569 *****************************************************************************/ 1570 1571 xcb_xv_query_extension_reply_t * 1572 xcb_xv_query_extension_reply (xcb_connection_t *c /**< */, 1573 xcb_xv_query_extension_cookie_t cookie /**< */, 1574 xcb_generic_error_t **e /**< */); 1575 1576 /** 1577 * Delivers a request to the X server 1578 * @param c The connection 1579 * @return A cookie 1580 * 1581 * Delivers a request to the X server. 1582 * 1583 */ 1584 1585 /***************************************************************************** 1586 ** 1587 ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors 1588 ** 1589 ** @param xcb_connection_t *c 1590 ** @param xcb_window_t window 1591 ** @returns xcb_xv_query_adaptors_cookie_t 1592 ** 1593 *****************************************************************************/ 1594 1595 xcb_xv_query_adaptors_cookie_t 1596 xcb_xv_query_adaptors (xcb_connection_t *c /**< */, 1597 xcb_window_t window /**< */); 1598 1599 /** 1600 * Delivers a request to the X server 1601 * @param c The connection 1602 * @return A cookie 1603 * 1604 * Delivers a request to the X server. 1605 * 1606 * This form can be used only if the request will cause 1607 * a reply to be generated. Any returned error will be 1608 * placed in the event queue. 1609 */ 1610 1611 /***************************************************************************** 1612 ** 1613 ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors_unchecked 1614 ** 1615 ** @param xcb_connection_t *c 1616 ** @param xcb_window_t window 1617 ** @returns xcb_xv_query_adaptors_cookie_t 1618 ** 1619 *****************************************************************************/ 1620 1621 xcb_xv_query_adaptors_cookie_t 1622 xcb_xv_query_adaptors_unchecked (xcb_connection_t *c /**< */, 1623 xcb_window_t window /**< */); 1624 1625 1626 /***************************************************************************** 1627 ** 1628 ** int xcb_xv_query_adaptors_info_length 1629 ** 1630 ** @param const xcb_xv_query_adaptors_reply_t *R 1631 ** @returns int 1632 ** 1633 *****************************************************************************/ 1634 1635 int 1636 xcb_xv_query_adaptors_info_length (const xcb_xv_query_adaptors_reply_t *R /**< */); 1637 1638 1639 /***************************************************************************** 1640 ** 1641 ** xcb_xv_adaptor_info_iterator_t xcb_xv_query_adaptors_info_iterator 1642 ** 1643 ** @param const xcb_xv_query_adaptors_reply_t *R 1644 ** @returns xcb_xv_adaptor_info_iterator_t 1645 ** 1646 *****************************************************************************/ 1647 1648 xcb_xv_adaptor_info_iterator_t 1649 xcb_xv_query_adaptors_info_iterator (const xcb_xv_query_adaptors_reply_t *R /**< */); 1650 1651 /** 1652 * Return the reply 1653 * @param c The connection 1654 * @param cookie The cookie 1655 * @param e The xcb_generic_error_t supplied 1656 * 1657 * Returns the reply of the request asked by 1658 * 1659 * The parameter @p e supplied to this function must be NULL if 1660 * xcb_xv_query_adaptors_unchecked(). is used. 1661 * Otherwise, it stores the error if any. 1662 * 1663 * The returned value must be freed by the caller using free(). 1664 */ 1665 1666 /***************************************************************************** 1667 ** 1668 ** xcb_xv_query_adaptors_reply_t * xcb_xv_query_adaptors_reply 1669 ** 1670 ** @param xcb_connection_t *c 1671 ** @param xcb_xv_query_adaptors_cookie_t cookie 1672 ** @param xcb_generic_error_t **e 1673 ** @returns xcb_xv_query_adaptors_reply_t * 1674 ** 1675 *****************************************************************************/ 1676 1677 xcb_xv_query_adaptors_reply_t * 1678 xcb_xv_query_adaptors_reply (xcb_connection_t *c /**< */, 1679 xcb_xv_query_adaptors_cookie_t cookie /**< */, 1680 xcb_generic_error_t **e /**< */); 1681 1682 /** 1683 * Delivers a request to the X server 1684 * @param c The connection 1685 * @return A cookie 1686 * 1687 * Delivers a request to the X server. 1688 * 1689 */ 1690 1691 /***************************************************************************** 1692 ** 1693 ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings 1694 ** 1695 ** @param xcb_connection_t *c 1696 ** @param xcb_xv_port_t port 1697 ** @returns xcb_xv_query_encodings_cookie_t 1698 ** 1699 *****************************************************************************/ 1700 1701 xcb_xv_query_encodings_cookie_t 1702 xcb_xv_query_encodings (xcb_connection_t *c /**< */, 1703 xcb_xv_port_t port /**< */); 1704 1705 /** 1706 * Delivers a request to the X server 1707 * @param c The connection 1708 * @return A cookie 1709 * 1710 * Delivers a request to the X server. 1711 * 1712 * This form can be used only if the request will cause 1713 * a reply to be generated. Any returned error will be 1714 * placed in the event queue. 1715 */ 1716 1717 /***************************************************************************** 1718 ** 1719 ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings_unchecked 1720 ** 1721 ** @param xcb_connection_t *c 1722 ** @param xcb_xv_port_t port 1723 ** @returns xcb_xv_query_encodings_cookie_t 1724 ** 1725 *****************************************************************************/ 1726 1727 xcb_xv_query_encodings_cookie_t 1728 xcb_xv_query_encodings_unchecked (xcb_connection_t *c /**< */, 1729 xcb_xv_port_t port /**< */); 1730 1731 1732 /***************************************************************************** 1733 ** 1734 ** int xcb_xv_query_encodings_info_length 1735 ** 1736 ** @param const xcb_xv_query_encodings_reply_t *R 1737 ** @returns int 1738 ** 1739 *****************************************************************************/ 1740 1741 int 1742 xcb_xv_query_encodings_info_length (const xcb_xv_query_encodings_reply_t *R /**< */); 1743 1744 1745 /***************************************************************************** 1746 ** 1747 ** xcb_xv_encoding_info_iterator_t xcb_xv_query_encodings_info_iterator 1748 ** 1749 ** @param const xcb_xv_query_encodings_reply_t *R 1750 ** @returns xcb_xv_encoding_info_iterator_t 1751 ** 1752 *****************************************************************************/ 1753 1754 xcb_xv_encoding_info_iterator_t 1755 xcb_xv_query_encodings_info_iterator (const xcb_xv_query_encodings_reply_t *R /**< */); 1756 1757 /** 1758 * Return the reply 1759 * @param c The connection 1760 * @param cookie The cookie 1761 * @param e The xcb_generic_error_t supplied 1762 * 1763 * Returns the reply of the request asked by 1764 * 1765 * The parameter @p e supplied to this function must be NULL if 1766 * xcb_xv_query_encodings_unchecked(). is used. 1767 * Otherwise, it stores the error if any. 1768 * 1769 * The returned value must be freed by the caller using free(). 1770 */ 1771 1772 /***************************************************************************** 1773 ** 1774 ** xcb_xv_query_encodings_reply_t * xcb_xv_query_encodings_reply 1775 ** 1776 ** @param xcb_connection_t *c 1777 ** @param xcb_xv_query_encodings_cookie_t cookie 1778 ** @param xcb_generic_error_t **e 1779 ** @returns xcb_xv_query_encodings_reply_t * 1780 ** 1781 *****************************************************************************/ 1782 1783 xcb_xv_query_encodings_reply_t * 1784 xcb_xv_query_encodings_reply (xcb_connection_t *c /**< */, 1785 xcb_xv_query_encodings_cookie_t cookie /**< */, 1786 xcb_generic_error_t **e /**< */); 1787 1788 /** 1789 * Delivers a request to the X server 1790 * @param c The connection 1791 * @return A cookie 1792 * 1793 * Delivers a request to the X server. 1794 * 1795 */ 1796 1797 /***************************************************************************** 1798 ** 1799 ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port 1800 ** 1801 ** @param xcb_connection_t *c 1802 ** @param xcb_xv_port_t port 1803 ** @param xcb_timestamp_t time 1804 ** @returns xcb_xv_grab_port_cookie_t 1805 ** 1806 *****************************************************************************/ 1807 1808 xcb_xv_grab_port_cookie_t 1809 xcb_xv_grab_port (xcb_connection_t *c /**< */, 1810 xcb_xv_port_t port /**< */, 1811 xcb_timestamp_t time /**< */); 1812 1813 /** 1814 * Delivers a request to the X server 1815 * @param c The connection 1816 * @return A cookie 1817 * 1818 * Delivers a request to the X server. 1819 * 1820 * This form can be used only if the request will cause 1821 * a reply to be generated. Any returned error will be 1822 * placed in the event queue. 1823 */ 1824 1825 /***************************************************************************** 1826 ** 1827 ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port_unchecked 1828 ** 1829 ** @param xcb_connection_t *c 1830 ** @param xcb_xv_port_t port 1831 ** @param xcb_timestamp_t time 1832 ** @returns xcb_xv_grab_port_cookie_t 1833 ** 1834 *****************************************************************************/ 1835 1836 xcb_xv_grab_port_cookie_t 1837 xcb_xv_grab_port_unchecked (xcb_connection_t *c /**< */, 1838 xcb_xv_port_t port /**< */, 1839 xcb_timestamp_t time /**< */); 1840 1841 /** 1842 * Return the reply 1843 * @param c The connection 1844 * @param cookie The cookie 1845 * @param e The xcb_generic_error_t supplied 1846 * 1847 * Returns the reply of the request asked by 1848 * 1849 * The parameter @p e supplied to this function must be NULL if 1850 * xcb_xv_grab_port_unchecked(). is used. 1851 * Otherwise, it stores the error if any. 1852 * 1853 * The returned value must be freed by the caller using free(). 1854 */ 1855 1856 /***************************************************************************** 1857 ** 1858 ** xcb_xv_grab_port_reply_t * xcb_xv_grab_port_reply 1859 ** 1860 ** @param xcb_connection_t *c 1861 ** @param xcb_xv_grab_port_cookie_t cookie 1862 ** @param xcb_generic_error_t **e 1863 ** @returns xcb_xv_grab_port_reply_t * 1864 ** 1865 *****************************************************************************/ 1866 1867 xcb_xv_grab_port_reply_t * 1868 xcb_xv_grab_port_reply (xcb_connection_t *c /**< */, 1869 xcb_xv_grab_port_cookie_t cookie /**< */, 1870 xcb_generic_error_t **e /**< */); 1871 1872 /** 1873 * Delivers a request to the X server 1874 * @param c The connection 1875 * @return A cookie 1876 * 1877 * Delivers a request to the X server. 1878 * 1879 * This form can be used only if the request will not cause 1880 * a reply to be generated. Any returned error will be 1881 * saved for handling by xcb_request_check(). 1882 */ 1883 1884 /***************************************************************************** 1885 ** 1886 ** xcb_void_cookie_t xcb_xv_ungrab_port_checked 1887 ** 1888 ** @param xcb_connection_t *c 1889 ** @param xcb_xv_port_t port 1890 ** @param xcb_timestamp_t time 1891 ** @returns xcb_void_cookie_t 1892 ** 1893 *****************************************************************************/ 1894 1895 xcb_void_cookie_t 1896 xcb_xv_ungrab_port_checked (xcb_connection_t *c /**< */, 1897 xcb_xv_port_t port /**< */, 1898 xcb_timestamp_t time /**< */); 1899 1900 /** 1901 * Delivers a request to the X server 1902 * @param c The connection 1903 * @return A cookie 1904 * 1905 * Delivers a request to the X server. 1906 * 1907 */ 1908 1909 /***************************************************************************** 1910 ** 1911 ** xcb_void_cookie_t xcb_xv_ungrab_port 1912 ** 1913 ** @param xcb_connection_t *c 1914 ** @param xcb_xv_port_t port 1915 ** @param xcb_timestamp_t time 1916 ** @returns xcb_void_cookie_t 1917 ** 1918 *****************************************************************************/ 1919 1920 xcb_void_cookie_t 1921 xcb_xv_ungrab_port (xcb_connection_t *c /**< */, 1922 xcb_xv_port_t port /**< */, 1923 xcb_timestamp_t time /**< */); 1924 1925 /** 1926 * Delivers a request to the X server 1927 * @param c The connection 1928 * @return A cookie 1929 * 1930 * Delivers a request to the X server. 1931 * 1932 * This form can be used only if the request will not cause 1933 * a reply to be generated. Any returned error will be 1934 * saved for handling by xcb_request_check(). 1935 */ 1936 1937 /***************************************************************************** 1938 ** 1939 ** xcb_void_cookie_t xcb_xv_put_video_checked 1940 ** 1941 ** @param xcb_connection_t *c 1942 ** @param xcb_xv_port_t port 1943 ** @param xcb_drawable_t drawable 1944 ** @param xcb_gcontext_t gc 1945 ** @param int16_t vid_x 1946 ** @param int16_t vid_y 1947 ** @param uint16_t vid_w 1948 ** @param uint16_t vid_h 1949 ** @param int16_t drw_x 1950 ** @param int16_t drw_y 1951 ** @param uint16_t drw_w 1952 ** @param uint16_t drw_h 1953 ** @returns xcb_void_cookie_t 1954 ** 1955 *****************************************************************************/ 1956 1957 xcb_void_cookie_t 1958 xcb_xv_put_video_checked (xcb_connection_t *c /**< */, 1959 xcb_xv_port_t port /**< */, 1960 xcb_drawable_t drawable /**< */, 1961 xcb_gcontext_t gc /**< */, 1962 int16_t vid_x /**< */, 1963 int16_t vid_y /**< */, 1964 uint16_t vid_w /**< */, 1965 uint16_t vid_h /**< */, 1966 int16_t drw_x /**< */, 1967 int16_t drw_y /**< */, 1968 uint16_t drw_w /**< */, 1969 uint16_t drw_h /**< */); 1970 1971 /** 1972 * Delivers a request to the X server 1973 * @param c The connection 1974 * @return A cookie 1975 * 1976 * Delivers a request to the X server. 1977 * 1978 */ 1979 1980 /***************************************************************************** 1981 ** 1982 ** xcb_void_cookie_t xcb_xv_put_video 1983 ** 1984 ** @param xcb_connection_t *c 1985 ** @param xcb_xv_port_t port 1986 ** @param xcb_drawable_t drawable 1987 ** @param xcb_gcontext_t gc 1988 ** @param int16_t vid_x 1989 ** @param int16_t vid_y 1990 ** @param uint16_t vid_w 1991 ** @param uint16_t vid_h 1992 ** @param int16_t drw_x 1993 ** @param int16_t drw_y 1994 ** @param uint16_t drw_w 1995 ** @param uint16_t drw_h 1996 ** @returns xcb_void_cookie_t 1997 ** 1998 *****************************************************************************/ 1999 2000 xcb_void_cookie_t 2001 xcb_xv_put_video (xcb_connection_t *c /**< */, 2002 xcb_xv_port_t port /**< */, 2003 xcb_drawable_t drawable /**< */, 2004 xcb_gcontext_t gc /**< */, 2005 int16_t vid_x /**< */, 2006 int16_t vid_y /**< */, 2007 uint16_t vid_w /**< */, 2008 uint16_t vid_h /**< */, 2009 int16_t drw_x /**< */, 2010 int16_t drw_y /**< */, 2011 uint16_t drw_w /**< */, 2012 uint16_t drw_h /**< */); 2013 2014 /** 2015 * Delivers a request to the X server 2016 * @param c The connection 2017 * @return A cookie 2018 * 2019 * Delivers a request to the X server. 2020 * 2021 * This form can be used only if the request will not cause 2022 * a reply to be generated. Any returned error will be 2023 * saved for handling by xcb_request_check(). 2024 */ 2025 2026 /***************************************************************************** 2027 ** 2028 ** xcb_void_cookie_t xcb_xv_put_still_checked 2029 ** 2030 ** @param xcb_connection_t *c 2031 ** @param xcb_xv_port_t port 2032 ** @param xcb_drawable_t drawable 2033 ** @param xcb_gcontext_t gc 2034 ** @param int16_t vid_x 2035 ** @param int16_t vid_y 2036 ** @param uint16_t vid_w 2037 ** @param uint16_t vid_h 2038 ** @param int16_t drw_x 2039 ** @param int16_t drw_y 2040 ** @param uint16_t drw_w 2041 ** @param uint16_t drw_h 2042 ** @returns xcb_void_cookie_t 2043 ** 2044 *****************************************************************************/ 2045 2046 xcb_void_cookie_t 2047 xcb_xv_put_still_checked (xcb_connection_t *c /**< */, 2048 xcb_xv_port_t port /**< */, 2049 xcb_drawable_t drawable /**< */, 2050 xcb_gcontext_t gc /**< */, 2051 int16_t vid_x /**< */, 2052 int16_t vid_y /**< */, 2053 uint16_t vid_w /**< */, 2054 uint16_t vid_h /**< */, 2055 int16_t drw_x /**< */, 2056 int16_t drw_y /**< */, 2057 uint16_t drw_w /**< */, 2058 uint16_t drw_h /**< */); 2059 2060 /** 2061 * Delivers a request to the X server 2062 * @param c The connection 2063 * @return A cookie 2064 * 2065 * Delivers a request to the X server. 2066 * 2067 */ 2068 2069 /***************************************************************************** 2070 ** 2071 ** xcb_void_cookie_t xcb_xv_put_still 2072 ** 2073 ** @param xcb_connection_t *c 2074 ** @param xcb_xv_port_t port 2075 ** @param xcb_drawable_t drawable 2076 ** @param xcb_gcontext_t gc 2077 ** @param int16_t vid_x 2078 ** @param int16_t vid_y 2079 ** @param uint16_t vid_w 2080 ** @param uint16_t vid_h 2081 ** @param int16_t drw_x 2082 ** @param int16_t drw_y 2083 ** @param uint16_t drw_w 2084 ** @param uint16_t drw_h 2085 ** @returns xcb_void_cookie_t 2086 ** 2087 *****************************************************************************/ 2088 2089 xcb_void_cookie_t 2090 xcb_xv_put_still (xcb_connection_t *c /**< */, 2091 xcb_xv_port_t port /**< */, 2092 xcb_drawable_t drawable /**< */, 2093 xcb_gcontext_t gc /**< */, 2094 int16_t vid_x /**< */, 2095 int16_t vid_y /**< */, 2096 uint16_t vid_w /**< */, 2097 uint16_t vid_h /**< */, 2098 int16_t drw_x /**< */, 2099 int16_t drw_y /**< */, 2100 uint16_t drw_w /**< */, 2101 uint16_t drw_h /**< */); 2102 2103 /** 2104 * Delivers a request to the X server 2105 * @param c The connection 2106 * @return A cookie 2107 * 2108 * Delivers a request to the X server. 2109 * 2110 * This form can be used only if the request will not cause 2111 * a reply to be generated. Any returned error will be 2112 * saved for handling by xcb_request_check(). 2113 */ 2114 2115 /***************************************************************************** 2116 ** 2117 ** xcb_void_cookie_t xcb_xv_get_video_checked 2118 ** 2119 ** @param xcb_connection_t *c 2120 ** @param xcb_xv_port_t port 2121 ** @param xcb_drawable_t drawable 2122 ** @param xcb_gcontext_t gc 2123 ** @param int16_t vid_x 2124 ** @param int16_t vid_y 2125 ** @param uint16_t vid_w 2126 ** @param uint16_t vid_h 2127 ** @param int16_t drw_x 2128 ** @param int16_t drw_y 2129 ** @param uint16_t drw_w 2130 ** @param uint16_t drw_h 2131 ** @returns xcb_void_cookie_t 2132 ** 2133 *****************************************************************************/ 2134 2135 xcb_void_cookie_t 2136 xcb_xv_get_video_checked (xcb_connection_t *c /**< */, 2137 xcb_xv_port_t port /**< */, 2138 xcb_drawable_t drawable /**< */, 2139 xcb_gcontext_t gc /**< */, 2140 int16_t vid_x /**< */, 2141 int16_t vid_y /**< */, 2142 uint16_t vid_w /**< */, 2143 uint16_t vid_h /**< */, 2144 int16_t drw_x /**< */, 2145 int16_t drw_y /**< */, 2146 uint16_t drw_w /**< */, 2147 uint16_t drw_h /**< */); 2148 2149 /** 2150 * Delivers a request to the X server 2151 * @param c The connection 2152 * @return A cookie 2153 * 2154 * Delivers a request to the X server. 2155 * 2156 */ 2157 2158 /***************************************************************************** 2159 ** 2160 ** xcb_void_cookie_t xcb_xv_get_video 2161 ** 2162 ** @param xcb_connection_t *c 2163 ** @param xcb_xv_port_t port 2164 ** @param xcb_drawable_t drawable 2165 ** @param xcb_gcontext_t gc 2166 ** @param int16_t vid_x 2167 ** @param int16_t vid_y 2168 ** @param uint16_t vid_w 2169 ** @param uint16_t vid_h 2170 ** @param int16_t drw_x 2171 ** @param int16_t drw_y 2172 ** @param uint16_t drw_w 2173 ** @param uint16_t drw_h 2174 ** @returns xcb_void_cookie_t 2175 ** 2176 *****************************************************************************/ 2177 2178 xcb_void_cookie_t 2179 xcb_xv_get_video (xcb_connection_t *c /**< */, 2180 xcb_xv_port_t port /**< */, 2181 xcb_drawable_t drawable /**< */, 2182 xcb_gcontext_t gc /**< */, 2183 int16_t vid_x /**< */, 2184 int16_t vid_y /**< */, 2185 uint16_t vid_w /**< */, 2186 uint16_t vid_h /**< */, 2187 int16_t drw_x /**< */, 2188 int16_t drw_y /**< */, 2189 uint16_t drw_w /**< */, 2190 uint16_t drw_h /**< */); 2191 2192 /** 2193 * Delivers a request to the X server 2194 * @param c The connection 2195 * @return A cookie 2196 * 2197 * Delivers a request to the X server. 2198 * 2199 * This form can be used only if the request will not cause 2200 * a reply to be generated. Any returned error will be 2201 * saved for handling by xcb_request_check(). 2202 */ 2203 2204 /***************************************************************************** 2205 ** 2206 ** xcb_void_cookie_t xcb_xv_get_still_checked 2207 ** 2208 ** @param xcb_connection_t *c 2209 ** @param xcb_xv_port_t port 2210 ** @param xcb_drawable_t drawable 2211 ** @param xcb_gcontext_t gc 2212 ** @param int16_t vid_x 2213 ** @param int16_t vid_y 2214 ** @param uint16_t vid_w 2215 ** @param uint16_t vid_h 2216 ** @param int16_t drw_x 2217 ** @param int16_t drw_y 2218 ** @param uint16_t drw_w 2219 ** @param uint16_t drw_h 2220 ** @returns xcb_void_cookie_t 2221 ** 2222 *****************************************************************************/ 2223 2224 xcb_void_cookie_t 2225 xcb_xv_get_still_checked (xcb_connection_t *c /**< */, 2226 xcb_xv_port_t port /**< */, 2227 xcb_drawable_t drawable /**< */, 2228 xcb_gcontext_t gc /**< */, 2229 int16_t vid_x /**< */, 2230 int16_t vid_y /**< */, 2231 uint16_t vid_w /**< */, 2232 uint16_t vid_h /**< */, 2233 int16_t drw_x /**< */, 2234 int16_t drw_y /**< */, 2235 uint16_t drw_w /**< */, 2236 uint16_t drw_h /**< */); 2237 2238 /** 2239 * Delivers a request to the X server 2240 * @param c The connection 2241 * @return A cookie 2242 * 2243 * Delivers a request to the X server. 2244 * 2245 */ 2246 2247 /***************************************************************************** 2248 ** 2249 ** xcb_void_cookie_t xcb_xv_get_still 2250 ** 2251 ** @param xcb_connection_t *c 2252 ** @param xcb_xv_port_t port 2253 ** @param xcb_drawable_t drawable 2254 ** @param xcb_gcontext_t gc 2255 ** @param int16_t vid_x 2256 ** @param int16_t vid_y 2257 ** @param uint16_t vid_w 2258 ** @param uint16_t vid_h 2259 ** @param int16_t drw_x 2260 ** @param int16_t drw_y 2261 ** @param uint16_t drw_w 2262 ** @param uint16_t drw_h 2263 ** @returns xcb_void_cookie_t 2264 ** 2265 *****************************************************************************/ 2266 2267 xcb_void_cookie_t 2268 xcb_xv_get_still (xcb_connection_t *c /**< */, 2269 xcb_xv_port_t port /**< */, 2270 xcb_drawable_t drawable /**< */, 2271 xcb_gcontext_t gc /**< */, 2272 int16_t vid_x /**< */, 2273 int16_t vid_y /**< */, 2274 uint16_t vid_w /**< */, 2275 uint16_t vid_h /**< */, 2276 int16_t drw_x /**< */, 2277 int16_t drw_y /**< */, 2278 uint16_t drw_w /**< */, 2279 uint16_t drw_h /**< */); 2280 2281 /** 2282 * Delivers a request to the X server 2283 * @param c The connection 2284 * @return A cookie 2285 * 2286 * Delivers a request to the X server. 2287 * 2288 * This form can be used only if the request will not cause 2289 * a reply to be generated. Any returned error will be 2290 * saved for handling by xcb_request_check(). 2291 */ 2292 2293 /***************************************************************************** 2294 ** 2295 ** xcb_void_cookie_t xcb_xv_stop_video_checked 2296 ** 2297 ** @param xcb_connection_t *c 2298 ** @param xcb_xv_port_t port 2299 ** @param xcb_drawable_t drawable 2300 ** @returns xcb_void_cookie_t 2301 ** 2302 *****************************************************************************/ 2303 2304 xcb_void_cookie_t 2305 xcb_xv_stop_video_checked (xcb_connection_t *c /**< */, 2306 xcb_xv_port_t port /**< */, 2307 xcb_drawable_t drawable /**< */); 2308 2309 /** 2310 * Delivers a request to the X server 2311 * @param c The connection 2312 * @return A cookie 2313 * 2314 * Delivers a request to the X server. 2315 * 2316 */ 2317 2318 /***************************************************************************** 2319 ** 2320 ** xcb_void_cookie_t xcb_xv_stop_video 2321 ** 2322 ** @param xcb_connection_t *c 2323 ** @param xcb_xv_port_t port 2324 ** @param xcb_drawable_t drawable 2325 ** @returns xcb_void_cookie_t 2326 ** 2327 *****************************************************************************/ 2328 2329 xcb_void_cookie_t 2330 xcb_xv_stop_video (xcb_connection_t *c /**< */, 2331 xcb_xv_port_t port /**< */, 2332 xcb_drawable_t drawable /**< */); 2333 2334 /** 2335 * Delivers a request to the X server 2336 * @param c The connection 2337 * @return A cookie 2338 * 2339 * Delivers a request to the X server. 2340 * 2341 * This form can be used only if the request will not cause 2342 * a reply to be generated. Any returned error will be 2343 * saved for handling by xcb_request_check(). 2344 */ 2345 2346 /***************************************************************************** 2347 ** 2348 ** xcb_void_cookie_t xcb_xv_select_video_notify_checked 2349 ** 2350 ** @param xcb_connection_t *c 2351 ** @param xcb_drawable_t drawable 2352 ** @param uint8_t onoff 2353 ** @returns xcb_void_cookie_t 2354 ** 2355 *****************************************************************************/ 2356 2357 xcb_void_cookie_t 2358 xcb_xv_select_video_notify_checked (xcb_connection_t *c /**< */, 2359 xcb_drawable_t drawable /**< */, 2360 uint8_t onoff /**< */); 2361 2362 /** 2363 * Delivers a request to the X server 2364 * @param c The connection 2365 * @return A cookie 2366 * 2367 * Delivers a request to the X server. 2368 * 2369 */ 2370 2371 /***************************************************************************** 2372 ** 2373 ** xcb_void_cookie_t xcb_xv_select_video_notify 2374 ** 2375 ** @param xcb_connection_t *c 2376 ** @param xcb_drawable_t drawable 2377 ** @param uint8_t onoff 2378 ** @returns xcb_void_cookie_t 2379 ** 2380 *****************************************************************************/ 2381 2382 xcb_void_cookie_t 2383 xcb_xv_select_video_notify (xcb_connection_t *c /**< */, 2384 xcb_drawable_t drawable /**< */, 2385 uint8_t onoff /**< */); 2386 2387 /** 2388 * Delivers a request to the X server 2389 * @param c The connection 2390 * @return A cookie 2391 * 2392 * Delivers a request to the X server. 2393 * 2394 * This form can be used only if the request will not cause 2395 * a reply to be generated. Any returned error will be 2396 * saved for handling by xcb_request_check(). 2397 */ 2398 2399 /***************************************************************************** 2400 ** 2401 ** xcb_void_cookie_t xcb_xv_select_port_notify_checked 2402 ** 2403 ** @param xcb_connection_t *c 2404 ** @param xcb_xv_port_t port 2405 ** @param uint8_t onoff 2406 ** @returns xcb_void_cookie_t 2407 ** 2408 *****************************************************************************/ 2409 2410 xcb_void_cookie_t 2411 xcb_xv_select_port_notify_checked (xcb_connection_t *c /**< */, 2412 xcb_xv_port_t port /**< */, 2413 uint8_t onoff /**< */); 2414 2415 /** 2416 * Delivers a request to the X server 2417 * @param c The connection 2418 * @return A cookie 2419 * 2420 * Delivers a request to the X server. 2421 * 2422 */ 2423 2424 /***************************************************************************** 2425 ** 2426 ** xcb_void_cookie_t xcb_xv_select_port_notify 2427 ** 2428 ** @param xcb_connection_t *c 2429 ** @param xcb_xv_port_t port 2430 ** @param uint8_t onoff 2431 ** @returns xcb_void_cookie_t 2432 ** 2433 *****************************************************************************/ 2434 2435 xcb_void_cookie_t 2436 xcb_xv_select_port_notify (xcb_connection_t *c /**< */, 2437 xcb_xv_port_t port /**< */, 2438 uint8_t onoff /**< */); 2439 2440 /** 2441 * Delivers a request to the X server 2442 * @param c The connection 2443 * @return A cookie 2444 * 2445 * Delivers a request to the X server. 2446 * 2447 */ 2448 2449 /***************************************************************************** 2450 ** 2451 ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size 2452 ** 2453 ** @param xcb_connection_t *c 2454 ** @param xcb_xv_port_t port 2455 ** @param uint16_t vid_w 2456 ** @param uint16_t vid_h 2457 ** @param uint16_t drw_w 2458 ** @param uint16_t drw_h 2459 ** @param uint8_t motion 2460 ** @returns xcb_xv_query_best_size_cookie_t 2461 ** 2462 *****************************************************************************/ 2463 2464 xcb_xv_query_best_size_cookie_t 2465 xcb_xv_query_best_size (xcb_connection_t *c /**< */, 2466 xcb_xv_port_t port /**< */, 2467 uint16_t vid_w /**< */, 2468 uint16_t vid_h /**< */, 2469 uint16_t drw_w /**< */, 2470 uint16_t drw_h /**< */, 2471 uint8_t motion /**< */); 2472 2473 /** 2474 * Delivers a request to the X server 2475 * @param c The connection 2476 * @return A cookie 2477 * 2478 * Delivers a request to the X server. 2479 * 2480 * This form can be used only if the request will cause 2481 * a reply to be generated. Any returned error will be 2482 * placed in the event queue. 2483 */ 2484 2485 /***************************************************************************** 2486 ** 2487 ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size_unchecked 2488 ** 2489 ** @param xcb_connection_t *c 2490 ** @param xcb_xv_port_t port 2491 ** @param uint16_t vid_w 2492 ** @param uint16_t vid_h 2493 ** @param uint16_t drw_w 2494 ** @param uint16_t drw_h 2495 ** @param uint8_t motion 2496 ** @returns xcb_xv_query_best_size_cookie_t 2497 ** 2498 *****************************************************************************/ 2499 2500 xcb_xv_query_best_size_cookie_t 2501 xcb_xv_query_best_size_unchecked (xcb_connection_t *c /**< */, 2502 xcb_xv_port_t port /**< */, 2503 uint16_t vid_w /**< */, 2504 uint16_t vid_h /**< */, 2505 uint16_t drw_w /**< */, 2506 uint16_t drw_h /**< */, 2507 uint8_t motion /**< */); 2508 2509 /** 2510 * Return the reply 2511 * @param c The connection 2512 * @param cookie The cookie 2513 * @param e The xcb_generic_error_t supplied 2514 * 2515 * Returns the reply of the request asked by 2516 * 2517 * The parameter @p e supplied to this function must be NULL if 2518 * xcb_xv_query_best_size_unchecked(). is used. 2519 * Otherwise, it stores the error if any. 2520 * 2521 * The returned value must be freed by the caller using free(). 2522 */ 2523 2524 /***************************************************************************** 2525 ** 2526 ** xcb_xv_query_best_size_reply_t * xcb_xv_query_best_size_reply 2527 ** 2528 ** @param xcb_connection_t *c 2529 ** @param xcb_xv_query_best_size_cookie_t cookie 2530 ** @param xcb_generic_error_t **e 2531 ** @returns xcb_xv_query_best_size_reply_t * 2532 ** 2533 *****************************************************************************/ 2534 2535 xcb_xv_query_best_size_reply_t * 2536 xcb_xv_query_best_size_reply (xcb_connection_t *c /**< */, 2537 xcb_xv_query_best_size_cookie_t cookie /**< */, 2538 xcb_generic_error_t **e /**< */); 2539 2540 /** 2541 * Delivers a request to the X server 2542 * @param c The connection 2543 * @return A cookie 2544 * 2545 * Delivers a request to the X server. 2546 * 2547 * This form can be used only if the request will not cause 2548 * a reply to be generated. Any returned error will be 2549 * saved for handling by xcb_request_check(). 2550 */ 2551 2552 /***************************************************************************** 2553 ** 2554 ** xcb_void_cookie_t xcb_xv_set_port_attribute_checked 2555 ** 2556 ** @param xcb_connection_t *c 2557 ** @param xcb_xv_port_t port 2558 ** @param xcb_atom_t attribute 2559 ** @param int32_t value 2560 ** @returns xcb_void_cookie_t 2561 ** 2562 *****************************************************************************/ 2563 2564 xcb_void_cookie_t 2565 xcb_xv_set_port_attribute_checked (xcb_connection_t *c /**< */, 2566 xcb_xv_port_t port /**< */, 2567 xcb_atom_t attribute /**< */, 2568 int32_t value /**< */); 2569 2570 /** 2571 * Delivers a request to the X server 2572 * @param c The connection 2573 * @return A cookie 2574 * 2575 * Delivers a request to the X server. 2576 * 2577 */ 2578 2579 /***************************************************************************** 2580 ** 2581 ** xcb_void_cookie_t xcb_xv_set_port_attribute 2582 ** 2583 ** @param xcb_connection_t *c 2584 ** @param xcb_xv_port_t port 2585 ** @param xcb_atom_t attribute 2586 ** @param int32_t value 2587 ** @returns xcb_void_cookie_t 2588 ** 2589 *****************************************************************************/ 2590 2591 xcb_void_cookie_t 2592 xcb_xv_set_port_attribute (xcb_connection_t *c /**< */, 2593 xcb_xv_port_t port /**< */, 2594 xcb_atom_t attribute /**< */, 2595 int32_t value /**< */); 2596 2597 /** 2598 * Delivers a request to the X server 2599 * @param c The connection 2600 * @return A cookie 2601 * 2602 * Delivers a request to the X server. 2603 * 2604 */ 2605 2606 /***************************************************************************** 2607 ** 2608 ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute 2609 ** 2610 ** @param xcb_connection_t *c 2611 ** @param xcb_xv_port_t port 2612 ** @param xcb_atom_t attribute 2613 ** @returns xcb_xv_get_port_attribute_cookie_t 2614 ** 2615 *****************************************************************************/ 2616 2617 xcb_xv_get_port_attribute_cookie_t 2618 xcb_xv_get_port_attribute (xcb_connection_t *c /**< */, 2619 xcb_xv_port_t port /**< */, 2620 xcb_atom_t attribute /**< */); 2621 2622 /** 2623 * Delivers a request to the X server 2624 * @param c The connection 2625 * @return A cookie 2626 * 2627 * Delivers a request to the X server. 2628 * 2629 * This form can be used only if the request will cause 2630 * a reply to be generated. Any returned error will be 2631 * placed in the event queue. 2632 */ 2633 2634 /***************************************************************************** 2635 ** 2636 ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute_unchecked 2637 ** 2638 ** @param xcb_connection_t *c 2639 ** @param xcb_xv_port_t port 2640 ** @param xcb_atom_t attribute 2641 ** @returns xcb_xv_get_port_attribute_cookie_t 2642 ** 2643 *****************************************************************************/ 2644 2645 xcb_xv_get_port_attribute_cookie_t 2646 xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c /**< */, 2647 xcb_xv_port_t port /**< */, 2648 xcb_atom_t attribute /**< */); 2649 2650 /** 2651 * Return the reply 2652 * @param c The connection 2653 * @param cookie The cookie 2654 * @param e The xcb_generic_error_t supplied 2655 * 2656 * Returns the reply of the request asked by 2657 * 2658 * The parameter @p e supplied to this function must be NULL if 2659 * xcb_xv_get_port_attribute_unchecked(). is used. 2660 * Otherwise, it stores the error if any. 2661 * 2662 * The returned value must be freed by the caller using free(). 2663 */ 2664 2665 /***************************************************************************** 2666 ** 2667 ** xcb_xv_get_port_attribute_reply_t * xcb_xv_get_port_attribute_reply 2668 ** 2669 ** @param xcb_connection_t *c 2670 ** @param xcb_xv_get_port_attribute_cookie_t cookie 2671 ** @param xcb_generic_error_t **e 2672 ** @returns xcb_xv_get_port_attribute_reply_t * 2673 ** 2674 *****************************************************************************/ 2675 2676 xcb_xv_get_port_attribute_reply_t * 2677 xcb_xv_get_port_attribute_reply (xcb_connection_t *c /**< */, 2678 xcb_xv_get_port_attribute_cookie_t cookie /**< */, 2679 xcb_generic_error_t **e /**< */); 2680 2681 /** 2682 * Delivers a request to the X server 2683 * @param c The connection 2684 * @return A cookie 2685 * 2686 * Delivers a request to the X server. 2687 * 2688 */ 2689 2690 /***************************************************************************** 2691 ** 2692 ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes 2693 ** 2694 ** @param xcb_connection_t *c 2695 ** @param xcb_xv_port_t port 2696 ** @returns xcb_xv_query_port_attributes_cookie_t 2697 ** 2698 *****************************************************************************/ 2699 2700 xcb_xv_query_port_attributes_cookie_t 2701 xcb_xv_query_port_attributes (xcb_connection_t *c /**< */, 2702 xcb_xv_port_t port /**< */); 2703 2704 /** 2705 * Delivers a request to the X server 2706 * @param c The connection 2707 * @return A cookie 2708 * 2709 * Delivers a request to the X server. 2710 * 2711 * This form can be used only if the request will cause 2712 * a reply to be generated. Any returned error will be 2713 * placed in the event queue. 2714 */ 2715 2716 /***************************************************************************** 2717 ** 2718 ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes_unchecked 2719 ** 2720 ** @param xcb_connection_t *c 2721 ** @param xcb_xv_port_t port 2722 ** @returns xcb_xv_query_port_attributes_cookie_t 2723 ** 2724 *****************************************************************************/ 2725 2726 xcb_xv_query_port_attributes_cookie_t 2727 xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c /**< */, 2728 xcb_xv_port_t port /**< */); 2729 2730 2731 /***************************************************************************** 2732 ** 2733 ** int xcb_xv_query_port_attributes_attributes_length 2734 ** 2735 ** @param const xcb_xv_query_port_attributes_reply_t *R 2736 ** @returns int 2737 ** 2738 *****************************************************************************/ 2739 2740 int 2741 xcb_xv_query_port_attributes_attributes_length (const xcb_xv_query_port_attributes_reply_t *R /**< */); 2742 2743 2744 /***************************************************************************** 2745 ** 2746 ** xcb_xv_attribute_info_iterator_t xcb_xv_query_port_attributes_attributes_iterator 2747 ** 2748 ** @param const xcb_xv_query_port_attributes_reply_t *R 2749 ** @returns xcb_xv_attribute_info_iterator_t 2750 ** 2751 *****************************************************************************/ 2752 2753 xcb_xv_attribute_info_iterator_t 2754 xcb_xv_query_port_attributes_attributes_iterator (const xcb_xv_query_port_attributes_reply_t *R /**< */); 2755 2756 /** 2757 * Return the reply 2758 * @param c The connection 2759 * @param cookie The cookie 2760 * @param e The xcb_generic_error_t supplied 2761 * 2762 * Returns the reply of the request asked by 2763 * 2764 * The parameter @p e supplied to this function must be NULL if 2765 * xcb_xv_query_port_attributes_unchecked(). is used. 2766 * Otherwise, it stores the error if any. 2767 * 2768 * The returned value must be freed by the caller using free(). 2769 */ 2770 2771 /***************************************************************************** 2772 ** 2773 ** xcb_xv_query_port_attributes_reply_t * xcb_xv_query_port_attributes_reply 2774 ** 2775 ** @param xcb_connection_t *c 2776 ** @param xcb_xv_query_port_attributes_cookie_t cookie 2777 ** @param xcb_generic_error_t **e 2778 ** @returns xcb_xv_query_port_attributes_reply_t * 2779 ** 2780 *****************************************************************************/ 2781 2782 xcb_xv_query_port_attributes_reply_t * 2783 xcb_xv_query_port_attributes_reply (xcb_connection_t *c /**< */, 2784 xcb_xv_query_port_attributes_cookie_t cookie /**< */, 2785 xcb_generic_error_t **e /**< */); 2786 2787 /** 2788 * Delivers a request to the X server 2789 * @param c The connection 2790 * @return A cookie 2791 * 2792 * Delivers a request to the X server. 2793 * 2794 */ 2795 2796 /***************************************************************************** 2797 ** 2798 ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats 2799 ** 2800 ** @param xcb_connection_t *c 2801 ** @param xcb_xv_port_t port 2802 ** @returns xcb_xv_list_image_formats_cookie_t 2803 ** 2804 *****************************************************************************/ 2805 2806 xcb_xv_list_image_formats_cookie_t 2807 xcb_xv_list_image_formats (xcb_connection_t *c /**< */, 2808 xcb_xv_port_t port /**< */); 2809 2810 /** 2811 * Delivers a request to the X server 2812 * @param c The connection 2813 * @return A cookie 2814 * 2815 * Delivers a request to the X server. 2816 * 2817 * This form can be used only if the request will cause 2818 * a reply to be generated. Any returned error will be 2819 * placed in the event queue. 2820 */ 2821 2822 /***************************************************************************** 2823 ** 2824 ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats_unchecked 2825 ** 2826 ** @param xcb_connection_t *c 2827 ** @param xcb_xv_port_t port 2828 ** @returns xcb_xv_list_image_formats_cookie_t 2829 ** 2830 *****************************************************************************/ 2831 2832 xcb_xv_list_image_formats_cookie_t 2833 xcb_xv_list_image_formats_unchecked (xcb_connection_t *c /**< */, 2834 xcb_xv_port_t port /**< */); 2835 2836 2837 /***************************************************************************** 2838 ** 2839 ** xcb_xv_image_format_info_t * xcb_xv_list_image_formats_format 2840 ** 2841 ** @param const xcb_xv_list_image_formats_reply_t *R 2842 ** @returns xcb_xv_image_format_info_t * 2843 ** 2844 *****************************************************************************/ 2845 2846 xcb_xv_image_format_info_t * 2847 xcb_xv_list_image_formats_format (const xcb_xv_list_image_formats_reply_t *R /**< */); 2848 2849 2850 /***************************************************************************** 2851 ** 2852 ** int xcb_xv_list_image_formats_format_length 2853 ** 2854 ** @param const xcb_xv_list_image_formats_reply_t *R 2855 ** @returns int 2856 ** 2857 *****************************************************************************/ 2858 2859 int 2860 xcb_xv_list_image_formats_format_length (const xcb_xv_list_image_formats_reply_t *R /**< */); 2861 2862 2863 /***************************************************************************** 2864 ** 2865 ** xcb_xv_image_format_info_iterator_t xcb_xv_list_image_formats_format_iterator 2866 ** 2867 ** @param const xcb_xv_list_image_formats_reply_t *R 2868 ** @returns xcb_xv_image_format_info_iterator_t 2869 ** 2870 *****************************************************************************/ 2871 2872 xcb_xv_image_format_info_iterator_t 2873 xcb_xv_list_image_formats_format_iterator (const xcb_xv_list_image_formats_reply_t *R /**< */); 2874 2875 /** 2876 * Return the reply 2877 * @param c The connection 2878 * @param cookie The cookie 2879 * @param e The xcb_generic_error_t supplied 2880 * 2881 * Returns the reply of the request asked by 2882 * 2883 * The parameter @p e supplied to this function must be NULL if 2884 * xcb_xv_list_image_formats_unchecked(). is used. 2885 * Otherwise, it stores the error if any. 2886 * 2887 * The returned value must be freed by the caller using free(). 2888 */ 2889 2890 /***************************************************************************** 2891 ** 2892 ** xcb_xv_list_image_formats_reply_t * xcb_xv_list_image_formats_reply 2893 ** 2894 ** @param xcb_connection_t *c 2895 ** @param xcb_xv_list_image_formats_cookie_t cookie 2896 ** @param xcb_generic_error_t **e 2897 ** @returns xcb_xv_list_image_formats_reply_t * 2898 ** 2899 *****************************************************************************/ 2900 2901 xcb_xv_list_image_formats_reply_t * 2902 xcb_xv_list_image_formats_reply (xcb_connection_t *c /**< */, 2903 xcb_xv_list_image_formats_cookie_t cookie /**< */, 2904 xcb_generic_error_t **e /**< */); 2905 2906 /** 2907 * Delivers a request to the X server 2908 * @param c The connection 2909 * @return A cookie 2910 * 2911 * Delivers a request to the X server. 2912 * 2913 */ 2914 2915 /***************************************************************************** 2916 ** 2917 ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes 2918 ** 2919 ** @param xcb_connection_t *c 2920 ** @param xcb_xv_port_t port 2921 ** @param uint32_t id 2922 ** @param uint16_t width 2923 ** @param uint16_t height 2924 ** @returns xcb_xv_query_image_attributes_cookie_t 2925 ** 2926 *****************************************************************************/ 2927 2928 xcb_xv_query_image_attributes_cookie_t 2929 xcb_xv_query_image_attributes (xcb_connection_t *c /**< */, 2930 xcb_xv_port_t port /**< */, 2931 uint32_t id /**< */, 2932 uint16_t width /**< */, 2933 uint16_t height /**< */); 2934 2935 /** 2936 * Delivers a request to the X server 2937 * @param c The connection 2938 * @return A cookie 2939 * 2940 * Delivers a request to the X server. 2941 * 2942 * This form can be used only if the request will cause 2943 * a reply to be generated. Any returned error will be 2944 * placed in the event queue. 2945 */ 2946 2947 /***************************************************************************** 2948 ** 2949 ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes_unchecked 2950 ** 2951 ** @param xcb_connection_t *c 2952 ** @param xcb_xv_port_t port 2953 ** @param uint32_t id 2954 ** @param uint16_t width 2955 ** @param uint16_t height 2956 ** @returns xcb_xv_query_image_attributes_cookie_t 2957 ** 2958 *****************************************************************************/ 2959 2960 xcb_xv_query_image_attributes_cookie_t 2961 xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c /**< */, 2962 xcb_xv_port_t port /**< */, 2963 uint32_t id /**< */, 2964 uint16_t width /**< */, 2965 uint16_t height /**< */); 2966 2967 2968 /***************************************************************************** 2969 ** 2970 ** uint32_t * xcb_xv_query_image_attributes_pitches 2971 ** 2972 ** @param const xcb_xv_query_image_attributes_reply_t *R 2973 ** @returns uint32_t * 2974 ** 2975 *****************************************************************************/ 2976 2977 uint32_t * 2978 xcb_xv_query_image_attributes_pitches (const xcb_xv_query_image_attributes_reply_t *R /**< */); 2979 2980 2981 /***************************************************************************** 2982 ** 2983 ** int xcb_xv_query_image_attributes_pitches_length 2984 ** 2985 ** @param const xcb_xv_query_image_attributes_reply_t *R 2986 ** @returns int 2987 ** 2988 *****************************************************************************/ 2989 2990 int 2991 xcb_xv_query_image_attributes_pitches_length (const xcb_xv_query_image_attributes_reply_t *R /**< */); 2992 2993 2994 /***************************************************************************** 2995 ** 2996 ** xcb_generic_iterator_t xcb_xv_query_image_attributes_pitches_end 2997 ** 2998 ** @param const xcb_xv_query_image_attributes_reply_t *R 2999 ** @returns xcb_generic_iterator_t 3000 ** 3001 *****************************************************************************/ 3002 3003 xcb_generic_iterator_t 3004 xcb_xv_query_image_attributes_pitches_end (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3005 3006 3007 /***************************************************************************** 3008 ** 3009 ** uint32_t * xcb_xv_query_image_attributes_offsets 3010 ** 3011 ** @param const xcb_xv_query_image_attributes_reply_t *R 3012 ** @returns uint32_t * 3013 ** 3014 *****************************************************************************/ 3015 3016 uint32_t * 3017 xcb_xv_query_image_attributes_offsets (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3018 3019 3020 /***************************************************************************** 3021 ** 3022 ** int xcb_xv_query_image_attributes_offsets_length 3023 ** 3024 ** @param const xcb_xv_query_image_attributes_reply_t *R 3025 ** @returns int 3026 ** 3027 *****************************************************************************/ 3028 3029 int 3030 xcb_xv_query_image_attributes_offsets_length (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3031 3032 3033 /***************************************************************************** 3034 ** 3035 ** xcb_generic_iterator_t xcb_xv_query_image_attributes_offsets_end 3036 ** 3037 ** @param const xcb_xv_query_image_attributes_reply_t *R 3038 ** @returns xcb_generic_iterator_t 3039 ** 3040 *****************************************************************************/ 3041 3042 xcb_generic_iterator_t 3043 xcb_xv_query_image_attributes_offsets_end (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3044 3045 /** 3046 * Return the reply 3047 * @param c The connection 3048 * @param cookie The cookie 3049 * @param e The xcb_generic_error_t supplied 3050 * 3051 * Returns the reply of the request asked by 3052 * 3053 * The parameter @p e supplied to this function must be NULL if 3054 * xcb_xv_query_image_attributes_unchecked(). is used. 3055 * Otherwise, it stores the error if any. 3056 * 3057 * The returned value must be freed by the caller using free(). 3058 */ 3059 3060 /***************************************************************************** 3061 ** 3062 ** xcb_xv_query_image_attributes_reply_t * xcb_xv_query_image_attributes_reply 3063 ** 3064 ** @param xcb_connection_t *c 3065 ** @param xcb_xv_query_image_attributes_cookie_t cookie 3066 ** @param xcb_generic_error_t **e 3067 ** @returns xcb_xv_query_image_attributes_reply_t * 3068 ** 3069 *****************************************************************************/ 3070 3071 xcb_xv_query_image_attributes_reply_t * 3072 xcb_xv_query_image_attributes_reply (xcb_connection_t *c /**< */, 3073 xcb_xv_query_image_attributes_cookie_t cookie /**< */, 3074 xcb_generic_error_t **e /**< */); 3075 3076 /** 3077 * Delivers a request to the X server 3078 * @param c The connection 3079 * @return A cookie 3080 * 3081 * Delivers a request to the X server. 3082 * 3083 * This form can be used only if the request will not cause 3084 * a reply to be generated. Any returned error will be 3085 * saved for handling by xcb_request_check(). 3086 */ 3087 3088 /***************************************************************************** 3089 ** 3090 ** xcb_void_cookie_t xcb_xv_put_image_checked 3091 ** 3092 ** @param xcb_connection_t *c 3093 ** @param xcb_xv_port_t port 3094 ** @param xcb_drawable_t drawable 3095 ** @param xcb_gcontext_t gc 3096 ** @param uint32_t id 3097 ** @param int16_t src_x 3098 ** @param int16_t src_y 3099 ** @param uint16_t src_w 3100 ** @param uint16_t src_h 3101 ** @param int16_t drw_x 3102 ** @param int16_t drw_y 3103 ** @param uint16_t drw_w 3104 ** @param uint16_t drw_h 3105 ** @param uint16_t width 3106 ** @param uint16_t height 3107 ** @param uint32_t data_len 3108 ** @param const uint8_t *data 3109 ** @returns xcb_void_cookie_t 3110 ** 3111 *****************************************************************************/ 3112 3113 xcb_void_cookie_t 3114 xcb_xv_put_image_checked (xcb_connection_t *c /**< */, 3115 xcb_xv_port_t port /**< */, 3116 xcb_drawable_t drawable /**< */, 3117 xcb_gcontext_t gc /**< */, 3118 uint32_t id /**< */, 3119 int16_t src_x /**< */, 3120 int16_t src_y /**< */, 3121 uint16_t src_w /**< */, 3122 uint16_t src_h /**< */, 3123 int16_t drw_x /**< */, 3124 int16_t drw_y /**< */, 3125 uint16_t drw_w /**< */, 3126 uint16_t drw_h /**< */, 3127 uint16_t width /**< */, 3128 uint16_t height /**< */, 3129 uint32_t data_len /**< */, 3130 const uint8_t *data /**< */); 3131 3132 /** 3133 * Delivers a request to the X server 3134 * @param c The connection 3135 * @return A cookie 3136 * 3137 * Delivers a request to the X server. 3138 * 3139 */ 3140 3141 /***************************************************************************** 3142 ** 3143 ** xcb_void_cookie_t xcb_xv_put_image 3144 ** 3145 ** @param xcb_connection_t *c 3146 ** @param xcb_xv_port_t port 3147 ** @param xcb_drawable_t drawable 3148 ** @param xcb_gcontext_t gc 3149 ** @param uint32_t id 3150 ** @param int16_t src_x 3151 ** @param int16_t src_y 3152 ** @param uint16_t src_w 3153 ** @param uint16_t src_h 3154 ** @param int16_t drw_x 3155 ** @param int16_t drw_y 3156 ** @param uint16_t drw_w 3157 ** @param uint16_t drw_h 3158 ** @param uint16_t width 3159 ** @param uint16_t height 3160 ** @param uint32_t data_len 3161 ** @param const uint8_t *data 3162 ** @returns xcb_void_cookie_t 3163 ** 3164 *****************************************************************************/ 3165 3166 xcb_void_cookie_t 3167 xcb_xv_put_image (xcb_connection_t *c /**< */, 3168 xcb_xv_port_t port /**< */, 3169 xcb_drawable_t drawable /**< */, 3170 xcb_gcontext_t gc /**< */, 3171 uint32_t id /**< */, 3172 int16_t src_x /**< */, 3173 int16_t src_y /**< */, 3174 uint16_t src_w /**< */, 3175 uint16_t src_h /**< */, 3176 int16_t drw_x /**< */, 3177 int16_t drw_y /**< */, 3178 uint16_t drw_w /**< */, 3179 uint16_t drw_h /**< */, 3180 uint16_t width /**< */, 3181 uint16_t height /**< */, 3182 uint32_t data_len /**< */, 3183 const uint8_t *data /**< */); 3184 3185 /** 3186 * Delivers a request to the X server 3187 * @param c The connection 3188 * @return A cookie 3189 * 3190 * Delivers a request to the X server. 3191 * 3192 * This form can be used only if the request will not cause 3193 * a reply to be generated. Any returned error will be 3194 * saved for handling by xcb_request_check(). 3195 */ 3196 3197 /***************************************************************************** 3198 ** 3199 ** xcb_void_cookie_t xcb_xv_shm_put_image_checked 3200 ** 3201 ** @param xcb_connection_t *c 3202 ** @param xcb_xv_port_t port 3203 ** @param xcb_drawable_t drawable 3204 ** @param xcb_gcontext_t gc 3205 ** @param xcb_shm_seg_t shmseg 3206 ** @param uint32_t id 3207 ** @param uint32_t offset 3208 ** @param int16_t src_x 3209 ** @param int16_t src_y 3210 ** @param uint16_t src_w 3211 ** @param uint16_t src_h 3212 ** @param int16_t drw_x 3213 ** @param int16_t drw_y 3214 ** @param uint16_t drw_w 3215 ** @param uint16_t drw_h 3216 ** @param uint16_t width 3217 ** @param uint16_t height 3218 ** @param uint8_t send_event 3219 ** @returns xcb_void_cookie_t 3220 ** 3221 *****************************************************************************/ 3222 3223 xcb_void_cookie_t 3224 xcb_xv_shm_put_image_checked (xcb_connection_t *c /**< */, 3225 xcb_xv_port_t port /**< */, 3226 xcb_drawable_t drawable /**< */, 3227 xcb_gcontext_t gc /**< */, 3228 xcb_shm_seg_t shmseg /**< */, 3229 uint32_t id /**< */, 3230 uint32_t offset /**< */, 3231 int16_t src_x /**< */, 3232 int16_t src_y /**< */, 3233 uint16_t src_w /**< */, 3234 uint16_t src_h /**< */, 3235 int16_t drw_x /**< */, 3236 int16_t drw_y /**< */, 3237 uint16_t drw_w /**< */, 3238 uint16_t drw_h /**< */, 3239 uint16_t width /**< */, 3240 uint16_t height /**< */, 3241 uint8_t send_event /**< */); 3242 3243 /** 3244 * Delivers a request to the X server 3245 * @param c The connection 3246 * @return A cookie 3247 * 3248 * Delivers a request to the X server. 3249 * 3250 */ 3251 3252 /***************************************************************************** 3253 ** 3254 ** xcb_void_cookie_t xcb_xv_shm_put_image 3255 ** 3256 ** @param xcb_connection_t *c 3257 ** @param xcb_xv_port_t port 3258 ** @param xcb_drawable_t drawable 3259 ** @param xcb_gcontext_t gc 3260 ** @param xcb_shm_seg_t shmseg 3261 ** @param uint32_t id 3262 ** @param uint32_t offset 3263 ** @param int16_t src_x 3264 ** @param int16_t src_y 3265 ** @param uint16_t src_w 3266 ** @param uint16_t src_h 3267 ** @param int16_t drw_x 3268 ** @param int16_t drw_y 3269 ** @param uint16_t drw_w 3270 ** @param uint16_t drw_h 3271 ** @param uint16_t width 3272 ** @param uint16_t height 3273 ** @param uint8_t send_event 3274 ** @returns xcb_void_cookie_t 3275 ** 3276 *****************************************************************************/ 3277 3278 xcb_void_cookie_t 3279 xcb_xv_shm_put_image (xcb_connection_t *c /**< */, 3280 xcb_xv_port_t port /**< */, 3281 xcb_drawable_t drawable /**< */, 3282 xcb_gcontext_t gc /**< */, 3283 xcb_shm_seg_t shmseg /**< */, 3284 uint32_t id /**< */, 3285 uint32_t offset /**< */, 3286 int16_t src_x /**< */, 3287 int16_t src_y /**< */, 3288 uint16_t src_w /**< */, 3289 uint16_t src_h /**< */, 3290 int16_t drw_x /**< */, 3291 int16_t drw_y /**< */, 3292 uint16_t drw_w /**< */, 3293 uint16_t drw_h /**< */, 3294 uint16_t width /**< */, 3295 uint16_t height /**< */, 3296 uint8_t send_event /**< */); 3297 3298 3299 #ifdef __cplusplus 3300 } 3301 #endif 3302 3303 #endif 3304 3305 /** 3306 * @} 3307 */ 3308