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 int 1013 xcb_xv_adaptor_info_sizeof (const void *_buffer /**< */); 1014 1015 1016 /***************************************************************************** 1017 ** 1018 ** char * xcb_xv_adaptor_info_name 1019 ** 1020 ** @param const xcb_xv_adaptor_info_t *R 1021 ** @returns char * 1022 ** 1023 *****************************************************************************/ 1024 1025 char * 1026 xcb_xv_adaptor_info_name (const xcb_xv_adaptor_info_t *R /**< */); 1027 1028 1029 /***************************************************************************** 1030 ** 1031 ** int xcb_xv_adaptor_info_name_length 1032 ** 1033 ** @param const xcb_xv_adaptor_info_t *R 1034 ** @returns int 1035 ** 1036 *****************************************************************************/ 1037 1038 int 1039 xcb_xv_adaptor_info_name_length (const xcb_xv_adaptor_info_t *R /**< */); 1040 1041 1042 /***************************************************************************** 1043 ** 1044 ** xcb_generic_iterator_t xcb_xv_adaptor_info_name_end 1045 ** 1046 ** @param const xcb_xv_adaptor_info_t *R 1047 ** @returns xcb_generic_iterator_t 1048 ** 1049 *****************************************************************************/ 1050 1051 xcb_generic_iterator_t 1052 xcb_xv_adaptor_info_name_end (const xcb_xv_adaptor_info_t *R /**< */); 1053 1054 1055 /***************************************************************************** 1056 ** 1057 ** xcb_xv_format_t * xcb_xv_adaptor_info_formats 1058 ** 1059 ** @param const xcb_xv_adaptor_info_t *R 1060 ** @returns xcb_xv_format_t * 1061 ** 1062 *****************************************************************************/ 1063 1064 xcb_xv_format_t * 1065 xcb_xv_adaptor_info_formats (const xcb_xv_adaptor_info_t *R /**< */); 1066 1067 1068 /***************************************************************************** 1069 ** 1070 ** int xcb_xv_adaptor_info_formats_length 1071 ** 1072 ** @param const xcb_xv_adaptor_info_t *R 1073 ** @returns int 1074 ** 1075 *****************************************************************************/ 1076 1077 int 1078 xcb_xv_adaptor_info_formats_length (const xcb_xv_adaptor_info_t *R /**< */); 1079 1080 1081 /***************************************************************************** 1082 ** 1083 ** xcb_xv_format_iterator_t xcb_xv_adaptor_info_formats_iterator 1084 ** 1085 ** @param const xcb_xv_adaptor_info_t *R 1086 ** @returns xcb_xv_format_iterator_t 1087 ** 1088 *****************************************************************************/ 1089 1090 xcb_xv_format_iterator_t 1091 xcb_xv_adaptor_info_formats_iterator (const xcb_xv_adaptor_info_t *R /**< */); 1092 1093 /** 1094 * Get the next element of the iterator 1095 * @param i Pointer to a xcb_xv_adaptor_info_iterator_t 1096 * 1097 * Get the next element in the iterator. The member rem is 1098 * decreased by one. The member data points to the next 1099 * element. The member index is increased by sizeof(xcb_xv_adaptor_info_t) 1100 */ 1101 1102 /***************************************************************************** 1103 ** 1104 ** void xcb_xv_adaptor_info_next 1105 ** 1106 ** @param xcb_xv_adaptor_info_iterator_t *i 1107 ** @returns void 1108 ** 1109 *****************************************************************************/ 1110 1111 void 1112 xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i /**< */); 1113 1114 /** 1115 * Return the iterator pointing to the last element 1116 * @param i An xcb_xv_adaptor_info_iterator_t 1117 * @return The iterator pointing to the last element 1118 * 1119 * Set the current element in the iterator to the last element. 1120 * The member rem is set to 0. The member data points to the 1121 * last element. 1122 */ 1123 1124 /***************************************************************************** 1125 ** 1126 ** xcb_generic_iterator_t xcb_xv_adaptor_info_end 1127 ** 1128 ** @param xcb_xv_adaptor_info_iterator_t i 1129 ** @returns xcb_generic_iterator_t 1130 ** 1131 *****************************************************************************/ 1132 1133 xcb_generic_iterator_t 1134 xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i /**< */); 1135 1136 int 1137 xcb_xv_encoding_info_sizeof (const void *_buffer /**< */); 1138 1139 1140 /***************************************************************************** 1141 ** 1142 ** char * xcb_xv_encoding_info_name 1143 ** 1144 ** @param const xcb_xv_encoding_info_t *R 1145 ** @returns char * 1146 ** 1147 *****************************************************************************/ 1148 1149 char * 1150 xcb_xv_encoding_info_name (const xcb_xv_encoding_info_t *R /**< */); 1151 1152 1153 /***************************************************************************** 1154 ** 1155 ** int xcb_xv_encoding_info_name_length 1156 ** 1157 ** @param const xcb_xv_encoding_info_t *R 1158 ** @returns int 1159 ** 1160 *****************************************************************************/ 1161 1162 int 1163 xcb_xv_encoding_info_name_length (const xcb_xv_encoding_info_t *R /**< */); 1164 1165 1166 /***************************************************************************** 1167 ** 1168 ** xcb_generic_iterator_t xcb_xv_encoding_info_name_end 1169 ** 1170 ** @param const xcb_xv_encoding_info_t *R 1171 ** @returns xcb_generic_iterator_t 1172 ** 1173 *****************************************************************************/ 1174 1175 xcb_generic_iterator_t 1176 xcb_xv_encoding_info_name_end (const xcb_xv_encoding_info_t *R /**< */); 1177 1178 /** 1179 * Get the next element of the iterator 1180 * @param i Pointer to a xcb_xv_encoding_info_iterator_t 1181 * 1182 * Get the next element in the iterator. The member rem is 1183 * decreased by one. The member data points to the next 1184 * element. The member index is increased by sizeof(xcb_xv_encoding_info_t) 1185 */ 1186 1187 /***************************************************************************** 1188 ** 1189 ** void xcb_xv_encoding_info_next 1190 ** 1191 ** @param xcb_xv_encoding_info_iterator_t *i 1192 ** @returns void 1193 ** 1194 *****************************************************************************/ 1195 1196 void 1197 xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i /**< */); 1198 1199 /** 1200 * Return the iterator pointing to the last element 1201 * @param i An xcb_xv_encoding_info_iterator_t 1202 * @return The iterator pointing to the last element 1203 * 1204 * Set the current element in the iterator to the last element. 1205 * The member rem is set to 0. The member data points to the 1206 * last element. 1207 */ 1208 1209 /***************************************************************************** 1210 ** 1211 ** xcb_generic_iterator_t xcb_xv_encoding_info_end 1212 ** 1213 ** @param xcb_xv_encoding_info_iterator_t i 1214 ** @returns xcb_generic_iterator_t 1215 ** 1216 *****************************************************************************/ 1217 1218 xcb_generic_iterator_t 1219 xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i /**< */); 1220 1221 int 1222 xcb_xv_image_sizeof (const void *_buffer /**< */); 1223 1224 1225 /***************************************************************************** 1226 ** 1227 ** uint32_t * xcb_xv_image_pitches 1228 ** 1229 ** @param const xcb_xv_image_t *R 1230 ** @returns uint32_t * 1231 ** 1232 *****************************************************************************/ 1233 1234 uint32_t * 1235 xcb_xv_image_pitches (const xcb_xv_image_t *R /**< */); 1236 1237 1238 /***************************************************************************** 1239 ** 1240 ** int xcb_xv_image_pitches_length 1241 ** 1242 ** @param const xcb_xv_image_t *R 1243 ** @returns int 1244 ** 1245 *****************************************************************************/ 1246 1247 int 1248 xcb_xv_image_pitches_length (const xcb_xv_image_t *R /**< */); 1249 1250 1251 /***************************************************************************** 1252 ** 1253 ** xcb_generic_iterator_t xcb_xv_image_pitches_end 1254 ** 1255 ** @param const xcb_xv_image_t *R 1256 ** @returns xcb_generic_iterator_t 1257 ** 1258 *****************************************************************************/ 1259 1260 xcb_generic_iterator_t 1261 xcb_xv_image_pitches_end (const xcb_xv_image_t *R /**< */); 1262 1263 1264 /***************************************************************************** 1265 ** 1266 ** uint32_t * xcb_xv_image_offsets 1267 ** 1268 ** @param const xcb_xv_image_t *R 1269 ** @returns uint32_t * 1270 ** 1271 *****************************************************************************/ 1272 1273 uint32_t * 1274 xcb_xv_image_offsets (const xcb_xv_image_t *R /**< */); 1275 1276 1277 /***************************************************************************** 1278 ** 1279 ** int xcb_xv_image_offsets_length 1280 ** 1281 ** @param const xcb_xv_image_t *R 1282 ** @returns int 1283 ** 1284 *****************************************************************************/ 1285 1286 int 1287 xcb_xv_image_offsets_length (const xcb_xv_image_t *R /**< */); 1288 1289 1290 /***************************************************************************** 1291 ** 1292 ** xcb_generic_iterator_t xcb_xv_image_offsets_end 1293 ** 1294 ** @param const xcb_xv_image_t *R 1295 ** @returns xcb_generic_iterator_t 1296 ** 1297 *****************************************************************************/ 1298 1299 xcb_generic_iterator_t 1300 xcb_xv_image_offsets_end (const xcb_xv_image_t *R /**< */); 1301 1302 1303 /***************************************************************************** 1304 ** 1305 ** uint8_t * xcb_xv_image_data 1306 ** 1307 ** @param const xcb_xv_image_t *R 1308 ** @returns uint8_t * 1309 ** 1310 *****************************************************************************/ 1311 1312 uint8_t * 1313 xcb_xv_image_data (const xcb_xv_image_t *R /**< */); 1314 1315 1316 /***************************************************************************** 1317 ** 1318 ** int xcb_xv_image_data_length 1319 ** 1320 ** @param const xcb_xv_image_t *R 1321 ** @returns int 1322 ** 1323 *****************************************************************************/ 1324 1325 int 1326 xcb_xv_image_data_length (const xcb_xv_image_t *R /**< */); 1327 1328 1329 /***************************************************************************** 1330 ** 1331 ** xcb_generic_iterator_t xcb_xv_image_data_end 1332 ** 1333 ** @param const xcb_xv_image_t *R 1334 ** @returns xcb_generic_iterator_t 1335 ** 1336 *****************************************************************************/ 1337 1338 xcb_generic_iterator_t 1339 xcb_xv_image_data_end (const xcb_xv_image_t *R /**< */); 1340 1341 /** 1342 * Get the next element of the iterator 1343 * @param i Pointer to a xcb_xv_image_iterator_t 1344 * 1345 * Get the next element in the iterator. The member rem is 1346 * decreased by one. The member data points to the next 1347 * element. The member index is increased by sizeof(xcb_xv_image_t) 1348 */ 1349 1350 /***************************************************************************** 1351 ** 1352 ** void xcb_xv_image_next 1353 ** 1354 ** @param xcb_xv_image_iterator_t *i 1355 ** @returns void 1356 ** 1357 *****************************************************************************/ 1358 1359 void 1360 xcb_xv_image_next (xcb_xv_image_iterator_t *i /**< */); 1361 1362 /** 1363 * Return the iterator pointing to the last element 1364 * @param i An xcb_xv_image_iterator_t 1365 * @return The iterator pointing to the last element 1366 * 1367 * Set the current element in the iterator to the last element. 1368 * The member rem is set to 0. The member data points to the 1369 * last element. 1370 */ 1371 1372 /***************************************************************************** 1373 ** 1374 ** xcb_generic_iterator_t xcb_xv_image_end 1375 ** 1376 ** @param xcb_xv_image_iterator_t i 1377 ** @returns xcb_generic_iterator_t 1378 ** 1379 *****************************************************************************/ 1380 1381 xcb_generic_iterator_t 1382 xcb_xv_image_end (xcb_xv_image_iterator_t i /**< */); 1383 1384 int 1385 xcb_xv_attribute_info_sizeof (const void *_buffer /**< */); 1386 1387 1388 /***************************************************************************** 1389 ** 1390 ** char * xcb_xv_attribute_info_name 1391 ** 1392 ** @param const xcb_xv_attribute_info_t *R 1393 ** @returns char * 1394 ** 1395 *****************************************************************************/ 1396 1397 char * 1398 xcb_xv_attribute_info_name (const xcb_xv_attribute_info_t *R /**< */); 1399 1400 1401 /***************************************************************************** 1402 ** 1403 ** int xcb_xv_attribute_info_name_length 1404 ** 1405 ** @param const xcb_xv_attribute_info_t *R 1406 ** @returns int 1407 ** 1408 *****************************************************************************/ 1409 1410 int 1411 xcb_xv_attribute_info_name_length (const xcb_xv_attribute_info_t *R /**< */); 1412 1413 1414 /***************************************************************************** 1415 ** 1416 ** xcb_generic_iterator_t xcb_xv_attribute_info_name_end 1417 ** 1418 ** @param const xcb_xv_attribute_info_t *R 1419 ** @returns xcb_generic_iterator_t 1420 ** 1421 *****************************************************************************/ 1422 1423 xcb_generic_iterator_t 1424 xcb_xv_attribute_info_name_end (const xcb_xv_attribute_info_t *R /**< */); 1425 1426 /** 1427 * Get the next element of the iterator 1428 * @param i Pointer to a xcb_xv_attribute_info_iterator_t 1429 * 1430 * Get the next element in the iterator. The member rem is 1431 * decreased by one. The member data points to the next 1432 * element. The member index is increased by sizeof(xcb_xv_attribute_info_t) 1433 */ 1434 1435 /***************************************************************************** 1436 ** 1437 ** void xcb_xv_attribute_info_next 1438 ** 1439 ** @param xcb_xv_attribute_info_iterator_t *i 1440 ** @returns void 1441 ** 1442 *****************************************************************************/ 1443 1444 void 1445 xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i /**< */); 1446 1447 /** 1448 * Return the iterator pointing to the last element 1449 * @param i An xcb_xv_attribute_info_iterator_t 1450 * @return The iterator pointing to the last element 1451 * 1452 * Set the current element in the iterator to the last element. 1453 * The member rem is set to 0. The member data points to the 1454 * last element. 1455 */ 1456 1457 /***************************************************************************** 1458 ** 1459 ** xcb_generic_iterator_t xcb_xv_attribute_info_end 1460 ** 1461 ** @param xcb_xv_attribute_info_iterator_t i 1462 ** @returns xcb_generic_iterator_t 1463 ** 1464 *****************************************************************************/ 1465 1466 xcb_generic_iterator_t 1467 xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i /**< */); 1468 1469 /** 1470 * Get the next element of the iterator 1471 * @param i Pointer to a xcb_xv_image_format_info_iterator_t 1472 * 1473 * Get the next element in the iterator. The member rem is 1474 * decreased by one. The member data points to the next 1475 * element. The member index is increased by sizeof(xcb_xv_image_format_info_t) 1476 */ 1477 1478 /***************************************************************************** 1479 ** 1480 ** void xcb_xv_image_format_info_next 1481 ** 1482 ** @param xcb_xv_image_format_info_iterator_t *i 1483 ** @returns void 1484 ** 1485 *****************************************************************************/ 1486 1487 void 1488 xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i /**< */); 1489 1490 /** 1491 * Return the iterator pointing to the last element 1492 * @param i An xcb_xv_image_format_info_iterator_t 1493 * @return The iterator pointing to the last element 1494 * 1495 * Set the current element in the iterator to the last element. 1496 * The member rem is set to 0. The member data points to the 1497 * last element. 1498 */ 1499 1500 /***************************************************************************** 1501 ** 1502 ** xcb_generic_iterator_t xcb_xv_image_format_info_end 1503 ** 1504 ** @param xcb_xv_image_format_info_iterator_t i 1505 ** @returns xcb_generic_iterator_t 1506 ** 1507 *****************************************************************************/ 1508 1509 xcb_generic_iterator_t 1510 xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i /**< */); 1511 1512 /** 1513 * 1514 * @param c The connection 1515 * @return A cookie 1516 * 1517 * Delivers a request to the X server. 1518 * 1519 */ 1520 1521 /***************************************************************************** 1522 ** 1523 ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension 1524 ** 1525 ** @param xcb_connection_t *c 1526 ** @returns xcb_xv_query_extension_cookie_t 1527 ** 1528 *****************************************************************************/ 1529 1530 xcb_xv_query_extension_cookie_t 1531 xcb_xv_query_extension (xcb_connection_t *c /**< */); 1532 1533 /** 1534 * 1535 * @param c The connection 1536 * @return A cookie 1537 * 1538 * Delivers a request to the X server. 1539 * 1540 * This form can be used only if the request will cause 1541 * a reply to be generated. Any returned error will be 1542 * placed in the event queue. 1543 */ 1544 1545 /***************************************************************************** 1546 ** 1547 ** xcb_xv_query_extension_cookie_t xcb_xv_query_extension_unchecked 1548 ** 1549 ** @param xcb_connection_t *c 1550 ** @returns xcb_xv_query_extension_cookie_t 1551 ** 1552 *****************************************************************************/ 1553 1554 xcb_xv_query_extension_cookie_t 1555 xcb_xv_query_extension_unchecked (xcb_connection_t *c /**< */); 1556 1557 /** 1558 * Return the reply 1559 * @param c The connection 1560 * @param cookie The cookie 1561 * @param e The xcb_generic_error_t supplied 1562 * 1563 * Returns the reply of the request asked by 1564 * 1565 * The parameter @p e supplied to this function must be NULL if 1566 * xcb_xv_query_extension_unchecked(). is used. 1567 * Otherwise, it stores the error if any. 1568 * 1569 * The returned value must be freed by the caller using free(). 1570 */ 1571 1572 /***************************************************************************** 1573 ** 1574 ** xcb_xv_query_extension_reply_t * xcb_xv_query_extension_reply 1575 ** 1576 ** @param xcb_connection_t *c 1577 ** @param xcb_xv_query_extension_cookie_t cookie 1578 ** @param xcb_generic_error_t **e 1579 ** @returns xcb_xv_query_extension_reply_t * 1580 ** 1581 *****************************************************************************/ 1582 1583 xcb_xv_query_extension_reply_t * 1584 xcb_xv_query_extension_reply (xcb_connection_t *c /**< */, 1585 xcb_xv_query_extension_cookie_t cookie /**< */, 1586 xcb_generic_error_t **e /**< */); 1587 1588 int 1589 xcb_xv_query_adaptors_sizeof (const void *_buffer /**< */); 1590 1591 /** 1592 * 1593 * @param c The connection 1594 * @return A cookie 1595 * 1596 * Delivers a request to the X server. 1597 * 1598 */ 1599 1600 /***************************************************************************** 1601 ** 1602 ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors 1603 ** 1604 ** @param xcb_connection_t *c 1605 ** @param xcb_window_t window 1606 ** @returns xcb_xv_query_adaptors_cookie_t 1607 ** 1608 *****************************************************************************/ 1609 1610 xcb_xv_query_adaptors_cookie_t 1611 xcb_xv_query_adaptors (xcb_connection_t *c /**< */, 1612 xcb_window_t window /**< */); 1613 1614 /** 1615 * 1616 * @param c The connection 1617 * @return A cookie 1618 * 1619 * Delivers a request to the X server. 1620 * 1621 * This form can be used only if the request will cause 1622 * a reply to be generated. Any returned error will be 1623 * placed in the event queue. 1624 */ 1625 1626 /***************************************************************************** 1627 ** 1628 ** xcb_xv_query_adaptors_cookie_t xcb_xv_query_adaptors_unchecked 1629 ** 1630 ** @param xcb_connection_t *c 1631 ** @param xcb_window_t window 1632 ** @returns xcb_xv_query_adaptors_cookie_t 1633 ** 1634 *****************************************************************************/ 1635 1636 xcb_xv_query_adaptors_cookie_t 1637 xcb_xv_query_adaptors_unchecked (xcb_connection_t *c /**< */, 1638 xcb_window_t window /**< */); 1639 1640 1641 /***************************************************************************** 1642 ** 1643 ** int xcb_xv_query_adaptors_info_length 1644 ** 1645 ** @param const xcb_xv_query_adaptors_reply_t *R 1646 ** @returns int 1647 ** 1648 *****************************************************************************/ 1649 1650 int 1651 xcb_xv_query_adaptors_info_length (const xcb_xv_query_adaptors_reply_t *R /**< */); 1652 1653 1654 /***************************************************************************** 1655 ** 1656 ** xcb_xv_adaptor_info_iterator_t xcb_xv_query_adaptors_info_iterator 1657 ** 1658 ** @param const xcb_xv_query_adaptors_reply_t *R 1659 ** @returns xcb_xv_adaptor_info_iterator_t 1660 ** 1661 *****************************************************************************/ 1662 1663 xcb_xv_adaptor_info_iterator_t 1664 xcb_xv_query_adaptors_info_iterator (const xcb_xv_query_adaptors_reply_t *R /**< */); 1665 1666 /** 1667 * Return the reply 1668 * @param c The connection 1669 * @param cookie The cookie 1670 * @param e The xcb_generic_error_t supplied 1671 * 1672 * Returns the reply of the request asked by 1673 * 1674 * The parameter @p e supplied to this function must be NULL if 1675 * xcb_xv_query_adaptors_unchecked(). is used. 1676 * Otherwise, it stores the error if any. 1677 * 1678 * The returned value must be freed by the caller using free(). 1679 */ 1680 1681 /***************************************************************************** 1682 ** 1683 ** xcb_xv_query_adaptors_reply_t * xcb_xv_query_adaptors_reply 1684 ** 1685 ** @param xcb_connection_t *c 1686 ** @param xcb_xv_query_adaptors_cookie_t cookie 1687 ** @param xcb_generic_error_t **e 1688 ** @returns xcb_xv_query_adaptors_reply_t * 1689 ** 1690 *****************************************************************************/ 1691 1692 xcb_xv_query_adaptors_reply_t * 1693 xcb_xv_query_adaptors_reply (xcb_connection_t *c /**< */, 1694 xcb_xv_query_adaptors_cookie_t cookie /**< */, 1695 xcb_generic_error_t **e /**< */); 1696 1697 int 1698 xcb_xv_query_encodings_sizeof (const void *_buffer /**< */); 1699 1700 /** 1701 * 1702 * @param c The connection 1703 * @return A cookie 1704 * 1705 * Delivers a request to the X server. 1706 * 1707 */ 1708 1709 /***************************************************************************** 1710 ** 1711 ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings 1712 ** 1713 ** @param xcb_connection_t *c 1714 ** @param xcb_xv_port_t port 1715 ** @returns xcb_xv_query_encodings_cookie_t 1716 ** 1717 *****************************************************************************/ 1718 1719 xcb_xv_query_encodings_cookie_t 1720 xcb_xv_query_encodings (xcb_connection_t *c /**< */, 1721 xcb_xv_port_t port /**< */); 1722 1723 /** 1724 * 1725 * @param c The connection 1726 * @return A cookie 1727 * 1728 * Delivers a request to the X server. 1729 * 1730 * This form can be used only if the request will cause 1731 * a reply to be generated. Any returned error will be 1732 * placed in the event queue. 1733 */ 1734 1735 /***************************************************************************** 1736 ** 1737 ** xcb_xv_query_encodings_cookie_t xcb_xv_query_encodings_unchecked 1738 ** 1739 ** @param xcb_connection_t *c 1740 ** @param xcb_xv_port_t port 1741 ** @returns xcb_xv_query_encodings_cookie_t 1742 ** 1743 *****************************************************************************/ 1744 1745 xcb_xv_query_encodings_cookie_t 1746 xcb_xv_query_encodings_unchecked (xcb_connection_t *c /**< */, 1747 xcb_xv_port_t port /**< */); 1748 1749 1750 /***************************************************************************** 1751 ** 1752 ** int xcb_xv_query_encodings_info_length 1753 ** 1754 ** @param const xcb_xv_query_encodings_reply_t *R 1755 ** @returns int 1756 ** 1757 *****************************************************************************/ 1758 1759 int 1760 xcb_xv_query_encodings_info_length (const xcb_xv_query_encodings_reply_t *R /**< */); 1761 1762 1763 /***************************************************************************** 1764 ** 1765 ** xcb_xv_encoding_info_iterator_t xcb_xv_query_encodings_info_iterator 1766 ** 1767 ** @param const xcb_xv_query_encodings_reply_t *R 1768 ** @returns xcb_xv_encoding_info_iterator_t 1769 ** 1770 *****************************************************************************/ 1771 1772 xcb_xv_encoding_info_iterator_t 1773 xcb_xv_query_encodings_info_iterator (const xcb_xv_query_encodings_reply_t *R /**< */); 1774 1775 /** 1776 * Return the reply 1777 * @param c The connection 1778 * @param cookie The cookie 1779 * @param e The xcb_generic_error_t supplied 1780 * 1781 * Returns the reply of the request asked by 1782 * 1783 * The parameter @p e supplied to this function must be NULL if 1784 * xcb_xv_query_encodings_unchecked(). is used. 1785 * Otherwise, it stores the error if any. 1786 * 1787 * The returned value must be freed by the caller using free(). 1788 */ 1789 1790 /***************************************************************************** 1791 ** 1792 ** xcb_xv_query_encodings_reply_t * xcb_xv_query_encodings_reply 1793 ** 1794 ** @param xcb_connection_t *c 1795 ** @param xcb_xv_query_encodings_cookie_t cookie 1796 ** @param xcb_generic_error_t **e 1797 ** @returns xcb_xv_query_encodings_reply_t * 1798 ** 1799 *****************************************************************************/ 1800 1801 xcb_xv_query_encodings_reply_t * 1802 xcb_xv_query_encodings_reply (xcb_connection_t *c /**< */, 1803 xcb_xv_query_encodings_cookie_t cookie /**< */, 1804 xcb_generic_error_t **e /**< */); 1805 1806 /** 1807 * 1808 * @param c The connection 1809 * @return A cookie 1810 * 1811 * Delivers a request to the X server. 1812 * 1813 */ 1814 1815 /***************************************************************************** 1816 ** 1817 ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port 1818 ** 1819 ** @param xcb_connection_t *c 1820 ** @param xcb_xv_port_t port 1821 ** @param xcb_timestamp_t time 1822 ** @returns xcb_xv_grab_port_cookie_t 1823 ** 1824 *****************************************************************************/ 1825 1826 xcb_xv_grab_port_cookie_t 1827 xcb_xv_grab_port (xcb_connection_t *c /**< */, 1828 xcb_xv_port_t port /**< */, 1829 xcb_timestamp_t time /**< */); 1830 1831 /** 1832 * 1833 * @param c The connection 1834 * @return A cookie 1835 * 1836 * Delivers a request to the X server. 1837 * 1838 * This form can be used only if the request will cause 1839 * a reply to be generated. Any returned error will be 1840 * placed in the event queue. 1841 */ 1842 1843 /***************************************************************************** 1844 ** 1845 ** xcb_xv_grab_port_cookie_t xcb_xv_grab_port_unchecked 1846 ** 1847 ** @param xcb_connection_t *c 1848 ** @param xcb_xv_port_t port 1849 ** @param xcb_timestamp_t time 1850 ** @returns xcb_xv_grab_port_cookie_t 1851 ** 1852 *****************************************************************************/ 1853 1854 xcb_xv_grab_port_cookie_t 1855 xcb_xv_grab_port_unchecked (xcb_connection_t *c /**< */, 1856 xcb_xv_port_t port /**< */, 1857 xcb_timestamp_t time /**< */); 1858 1859 /** 1860 * Return the reply 1861 * @param c The connection 1862 * @param cookie The cookie 1863 * @param e The xcb_generic_error_t supplied 1864 * 1865 * Returns the reply of the request asked by 1866 * 1867 * The parameter @p e supplied to this function must be NULL if 1868 * xcb_xv_grab_port_unchecked(). is used. 1869 * Otherwise, it stores the error if any. 1870 * 1871 * The returned value must be freed by the caller using free(). 1872 */ 1873 1874 /***************************************************************************** 1875 ** 1876 ** xcb_xv_grab_port_reply_t * xcb_xv_grab_port_reply 1877 ** 1878 ** @param xcb_connection_t *c 1879 ** @param xcb_xv_grab_port_cookie_t cookie 1880 ** @param xcb_generic_error_t **e 1881 ** @returns xcb_xv_grab_port_reply_t * 1882 ** 1883 *****************************************************************************/ 1884 1885 xcb_xv_grab_port_reply_t * 1886 xcb_xv_grab_port_reply (xcb_connection_t *c /**< */, 1887 xcb_xv_grab_port_cookie_t cookie /**< */, 1888 xcb_generic_error_t **e /**< */); 1889 1890 /** 1891 * 1892 * @param c The connection 1893 * @return A cookie 1894 * 1895 * Delivers a request to the X server. 1896 * 1897 * This form can be used only if the request will not cause 1898 * a reply to be generated. Any returned error will be 1899 * saved for handling by xcb_request_check(). 1900 */ 1901 1902 /***************************************************************************** 1903 ** 1904 ** xcb_void_cookie_t xcb_xv_ungrab_port_checked 1905 ** 1906 ** @param xcb_connection_t *c 1907 ** @param xcb_xv_port_t port 1908 ** @param xcb_timestamp_t time 1909 ** @returns xcb_void_cookie_t 1910 ** 1911 *****************************************************************************/ 1912 1913 xcb_void_cookie_t 1914 xcb_xv_ungrab_port_checked (xcb_connection_t *c /**< */, 1915 xcb_xv_port_t port /**< */, 1916 xcb_timestamp_t time /**< */); 1917 1918 /** 1919 * 1920 * @param c The connection 1921 * @return A cookie 1922 * 1923 * Delivers a request to the X server. 1924 * 1925 */ 1926 1927 /***************************************************************************** 1928 ** 1929 ** xcb_void_cookie_t xcb_xv_ungrab_port 1930 ** 1931 ** @param xcb_connection_t *c 1932 ** @param xcb_xv_port_t port 1933 ** @param xcb_timestamp_t time 1934 ** @returns xcb_void_cookie_t 1935 ** 1936 *****************************************************************************/ 1937 1938 xcb_void_cookie_t 1939 xcb_xv_ungrab_port (xcb_connection_t *c /**< */, 1940 xcb_xv_port_t port /**< */, 1941 xcb_timestamp_t time /**< */); 1942 1943 /** 1944 * 1945 * @param c The connection 1946 * @return A cookie 1947 * 1948 * Delivers a request to the X server. 1949 * 1950 * This form can be used only if the request will not cause 1951 * a reply to be generated. Any returned error will be 1952 * saved for handling by xcb_request_check(). 1953 */ 1954 1955 /***************************************************************************** 1956 ** 1957 ** xcb_void_cookie_t xcb_xv_put_video_checked 1958 ** 1959 ** @param xcb_connection_t *c 1960 ** @param xcb_xv_port_t port 1961 ** @param xcb_drawable_t drawable 1962 ** @param xcb_gcontext_t gc 1963 ** @param int16_t vid_x 1964 ** @param int16_t vid_y 1965 ** @param uint16_t vid_w 1966 ** @param uint16_t vid_h 1967 ** @param int16_t drw_x 1968 ** @param int16_t drw_y 1969 ** @param uint16_t drw_w 1970 ** @param uint16_t drw_h 1971 ** @returns xcb_void_cookie_t 1972 ** 1973 *****************************************************************************/ 1974 1975 xcb_void_cookie_t 1976 xcb_xv_put_video_checked (xcb_connection_t *c /**< */, 1977 xcb_xv_port_t port /**< */, 1978 xcb_drawable_t drawable /**< */, 1979 xcb_gcontext_t gc /**< */, 1980 int16_t vid_x /**< */, 1981 int16_t vid_y /**< */, 1982 uint16_t vid_w /**< */, 1983 uint16_t vid_h /**< */, 1984 int16_t drw_x /**< */, 1985 int16_t drw_y /**< */, 1986 uint16_t drw_w /**< */, 1987 uint16_t drw_h /**< */); 1988 1989 /** 1990 * 1991 * @param c The connection 1992 * @return A cookie 1993 * 1994 * Delivers a request to the X server. 1995 * 1996 */ 1997 1998 /***************************************************************************** 1999 ** 2000 ** xcb_void_cookie_t xcb_xv_put_video 2001 ** 2002 ** @param xcb_connection_t *c 2003 ** @param xcb_xv_port_t port 2004 ** @param xcb_drawable_t drawable 2005 ** @param xcb_gcontext_t gc 2006 ** @param int16_t vid_x 2007 ** @param int16_t vid_y 2008 ** @param uint16_t vid_w 2009 ** @param uint16_t vid_h 2010 ** @param int16_t drw_x 2011 ** @param int16_t drw_y 2012 ** @param uint16_t drw_w 2013 ** @param uint16_t drw_h 2014 ** @returns xcb_void_cookie_t 2015 ** 2016 *****************************************************************************/ 2017 2018 xcb_void_cookie_t 2019 xcb_xv_put_video (xcb_connection_t *c /**< */, 2020 xcb_xv_port_t port /**< */, 2021 xcb_drawable_t drawable /**< */, 2022 xcb_gcontext_t gc /**< */, 2023 int16_t vid_x /**< */, 2024 int16_t vid_y /**< */, 2025 uint16_t vid_w /**< */, 2026 uint16_t vid_h /**< */, 2027 int16_t drw_x /**< */, 2028 int16_t drw_y /**< */, 2029 uint16_t drw_w /**< */, 2030 uint16_t drw_h /**< */); 2031 2032 /** 2033 * 2034 * @param c The connection 2035 * @return A cookie 2036 * 2037 * Delivers a request to the X server. 2038 * 2039 * This form can be used only if the request will not cause 2040 * a reply to be generated. Any returned error will be 2041 * saved for handling by xcb_request_check(). 2042 */ 2043 2044 /***************************************************************************** 2045 ** 2046 ** xcb_void_cookie_t xcb_xv_put_still_checked 2047 ** 2048 ** @param xcb_connection_t *c 2049 ** @param xcb_xv_port_t port 2050 ** @param xcb_drawable_t drawable 2051 ** @param xcb_gcontext_t gc 2052 ** @param int16_t vid_x 2053 ** @param int16_t vid_y 2054 ** @param uint16_t vid_w 2055 ** @param uint16_t vid_h 2056 ** @param int16_t drw_x 2057 ** @param int16_t drw_y 2058 ** @param uint16_t drw_w 2059 ** @param uint16_t drw_h 2060 ** @returns xcb_void_cookie_t 2061 ** 2062 *****************************************************************************/ 2063 2064 xcb_void_cookie_t 2065 xcb_xv_put_still_checked (xcb_connection_t *c /**< */, 2066 xcb_xv_port_t port /**< */, 2067 xcb_drawable_t drawable /**< */, 2068 xcb_gcontext_t gc /**< */, 2069 int16_t vid_x /**< */, 2070 int16_t vid_y /**< */, 2071 uint16_t vid_w /**< */, 2072 uint16_t vid_h /**< */, 2073 int16_t drw_x /**< */, 2074 int16_t drw_y /**< */, 2075 uint16_t drw_w /**< */, 2076 uint16_t drw_h /**< */); 2077 2078 /** 2079 * 2080 * @param c The connection 2081 * @return A cookie 2082 * 2083 * Delivers a request to the X server. 2084 * 2085 */ 2086 2087 /***************************************************************************** 2088 ** 2089 ** xcb_void_cookie_t xcb_xv_put_still 2090 ** 2091 ** @param xcb_connection_t *c 2092 ** @param xcb_xv_port_t port 2093 ** @param xcb_drawable_t drawable 2094 ** @param xcb_gcontext_t gc 2095 ** @param int16_t vid_x 2096 ** @param int16_t vid_y 2097 ** @param uint16_t vid_w 2098 ** @param uint16_t vid_h 2099 ** @param int16_t drw_x 2100 ** @param int16_t drw_y 2101 ** @param uint16_t drw_w 2102 ** @param uint16_t drw_h 2103 ** @returns xcb_void_cookie_t 2104 ** 2105 *****************************************************************************/ 2106 2107 xcb_void_cookie_t 2108 xcb_xv_put_still (xcb_connection_t *c /**< */, 2109 xcb_xv_port_t port /**< */, 2110 xcb_drawable_t drawable /**< */, 2111 xcb_gcontext_t gc /**< */, 2112 int16_t vid_x /**< */, 2113 int16_t vid_y /**< */, 2114 uint16_t vid_w /**< */, 2115 uint16_t vid_h /**< */, 2116 int16_t drw_x /**< */, 2117 int16_t drw_y /**< */, 2118 uint16_t drw_w /**< */, 2119 uint16_t drw_h /**< */); 2120 2121 /** 2122 * 2123 * @param c The connection 2124 * @return A cookie 2125 * 2126 * Delivers a request to the X server. 2127 * 2128 * This form can be used only if the request will not cause 2129 * a reply to be generated. Any returned error will be 2130 * saved for handling by xcb_request_check(). 2131 */ 2132 2133 /***************************************************************************** 2134 ** 2135 ** xcb_void_cookie_t xcb_xv_get_video_checked 2136 ** 2137 ** @param xcb_connection_t *c 2138 ** @param xcb_xv_port_t port 2139 ** @param xcb_drawable_t drawable 2140 ** @param xcb_gcontext_t gc 2141 ** @param int16_t vid_x 2142 ** @param int16_t vid_y 2143 ** @param uint16_t vid_w 2144 ** @param uint16_t vid_h 2145 ** @param int16_t drw_x 2146 ** @param int16_t drw_y 2147 ** @param uint16_t drw_w 2148 ** @param uint16_t drw_h 2149 ** @returns xcb_void_cookie_t 2150 ** 2151 *****************************************************************************/ 2152 2153 xcb_void_cookie_t 2154 xcb_xv_get_video_checked (xcb_connection_t *c /**< */, 2155 xcb_xv_port_t port /**< */, 2156 xcb_drawable_t drawable /**< */, 2157 xcb_gcontext_t gc /**< */, 2158 int16_t vid_x /**< */, 2159 int16_t vid_y /**< */, 2160 uint16_t vid_w /**< */, 2161 uint16_t vid_h /**< */, 2162 int16_t drw_x /**< */, 2163 int16_t drw_y /**< */, 2164 uint16_t drw_w /**< */, 2165 uint16_t drw_h /**< */); 2166 2167 /** 2168 * 2169 * @param c The connection 2170 * @return A cookie 2171 * 2172 * Delivers a request to the X server. 2173 * 2174 */ 2175 2176 /***************************************************************************** 2177 ** 2178 ** xcb_void_cookie_t xcb_xv_get_video 2179 ** 2180 ** @param xcb_connection_t *c 2181 ** @param xcb_xv_port_t port 2182 ** @param xcb_drawable_t drawable 2183 ** @param xcb_gcontext_t gc 2184 ** @param int16_t vid_x 2185 ** @param int16_t vid_y 2186 ** @param uint16_t vid_w 2187 ** @param uint16_t vid_h 2188 ** @param int16_t drw_x 2189 ** @param int16_t drw_y 2190 ** @param uint16_t drw_w 2191 ** @param uint16_t drw_h 2192 ** @returns xcb_void_cookie_t 2193 ** 2194 *****************************************************************************/ 2195 2196 xcb_void_cookie_t 2197 xcb_xv_get_video (xcb_connection_t *c /**< */, 2198 xcb_xv_port_t port /**< */, 2199 xcb_drawable_t drawable /**< */, 2200 xcb_gcontext_t gc /**< */, 2201 int16_t vid_x /**< */, 2202 int16_t vid_y /**< */, 2203 uint16_t vid_w /**< */, 2204 uint16_t vid_h /**< */, 2205 int16_t drw_x /**< */, 2206 int16_t drw_y /**< */, 2207 uint16_t drw_w /**< */, 2208 uint16_t drw_h /**< */); 2209 2210 /** 2211 * 2212 * @param c The connection 2213 * @return A cookie 2214 * 2215 * Delivers a request to the X server. 2216 * 2217 * This form can be used only if the request will not cause 2218 * a reply to be generated. Any returned error will be 2219 * saved for handling by xcb_request_check(). 2220 */ 2221 2222 /***************************************************************************** 2223 ** 2224 ** xcb_void_cookie_t xcb_xv_get_still_checked 2225 ** 2226 ** @param xcb_connection_t *c 2227 ** @param xcb_xv_port_t port 2228 ** @param xcb_drawable_t drawable 2229 ** @param xcb_gcontext_t gc 2230 ** @param int16_t vid_x 2231 ** @param int16_t vid_y 2232 ** @param uint16_t vid_w 2233 ** @param uint16_t vid_h 2234 ** @param int16_t drw_x 2235 ** @param int16_t drw_y 2236 ** @param uint16_t drw_w 2237 ** @param uint16_t drw_h 2238 ** @returns xcb_void_cookie_t 2239 ** 2240 *****************************************************************************/ 2241 2242 xcb_void_cookie_t 2243 xcb_xv_get_still_checked (xcb_connection_t *c /**< */, 2244 xcb_xv_port_t port /**< */, 2245 xcb_drawable_t drawable /**< */, 2246 xcb_gcontext_t gc /**< */, 2247 int16_t vid_x /**< */, 2248 int16_t vid_y /**< */, 2249 uint16_t vid_w /**< */, 2250 uint16_t vid_h /**< */, 2251 int16_t drw_x /**< */, 2252 int16_t drw_y /**< */, 2253 uint16_t drw_w /**< */, 2254 uint16_t drw_h /**< */); 2255 2256 /** 2257 * 2258 * @param c The connection 2259 * @return A cookie 2260 * 2261 * Delivers a request to the X server. 2262 * 2263 */ 2264 2265 /***************************************************************************** 2266 ** 2267 ** xcb_void_cookie_t xcb_xv_get_still 2268 ** 2269 ** @param xcb_connection_t *c 2270 ** @param xcb_xv_port_t port 2271 ** @param xcb_drawable_t drawable 2272 ** @param xcb_gcontext_t gc 2273 ** @param int16_t vid_x 2274 ** @param int16_t vid_y 2275 ** @param uint16_t vid_w 2276 ** @param uint16_t vid_h 2277 ** @param int16_t drw_x 2278 ** @param int16_t drw_y 2279 ** @param uint16_t drw_w 2280 ** @param uint16_t drw_h 2281 ** @returns xcb_void_cookie_t 2282 ** 2283 *****************************************************************************/ 2284 2285 xcb_void_cookie_t 2286 xcb_xv_get_still (xcb_connection_t *c /**< */, 2287 xcb_xv_port_t port /**< */, 2288 xcb_drawable_t drawable /**< */, 2289 xcb_gcontext_t gc /**< */, 2290 int16_t vid_x /**< */, 2291 int16_t vid_y /**< */, 2292 uint16_t vid_w /**< */, 2293 uint16_t vid_h /**< */, 2294 int16_t drw_x /**< */, 2295 int16_t drw_y /**< */, 2296 uint16_t drw_w /**< */, 2297 uint16_t drw_h /**< */); 2298 2299 /** 2300 * 2301 * @param c The connection 2302 * @return A cookie 2303 * 2304 * Delivers a request to the X server. 2305 * 2306 * This form can be used only if the request will not cause 2307 * a reply to be generated. Any returned error will be 2308 * saved for handling by xcb_request_check(). 2309 */ 2310 2311 /***************************************************************************** 2312 ** 2313 ** xcb_void_cookie_t xcb_xv_stop_video_checked 2314 ** 2315 ** @param xcb_connection_t *c 2316 ** @param xcb_xv_port_t port 2317 ** @param xcb_drawable_t drawable 2318 ** @returns xcb_void_cookie_t 2319 ** 2320 *****************************************************************************/ 2321 2322 xcb_void_cookie_t 2323 xcb_xv_stop_video_checked (xcb_connection_t *c /**< */, 2324 xcb_xv_port_t port /**< */, 2325 xcb_drawable_t drawable /**< */); 2326 2327 /** 2328 * 2329 * @param c The connection 2330 * @return A cookie 2331 * 2332 * Delivers a request to the X server. 2333 * 2334 */ 2335 2336 /***************************************************************************** 2337 ** 2338 ** xcb_void_cookie_t xcb_xv_stop_video 2339 ** 2340 ** @param xcb_connection_t *c 2341 ** @param xcb_xv_port_t port 2342 ** @param xcb_drawable_t drawable 2343 ** @returns xcb_void_cookie_t 2344 ** 2345 *****************************************************************************/ 2346 2347 xcb_void_cookie_t 2348 xcb_xv_stop_video (xcb_connection_t *c /**< */, 2349 xcb_xv_port_t port /**< */, 2350 xcb_drawable_t drawable /**< */); 2351 2352 /** 2353 * 2354 * @param c The connection 2355 * @return A cookie 2356 * 2357 * Delivers a request to the X server. 2358 * 2359 * This form can be used only if the request will not cause 2360 * a reply to be generated. Any returned error will be 2361 * saved for handling by xcb_request_check(). 2362 */ 2363 2364 /***************************************************************************** 2365 ** 2366 ** xcb_void_cookie_t xcb_xv_select_video_notify_checked 2367 ** 2368 ** @param xcb_connection_t *c 2369 ** @param xcb_drawable_t drawable 2370 ** @param uint8_t onoff 2371 ** @returns xcb_void_cookie_t 2372 ** 2373 *****************************************************************************/ 2374 2375 xcb_void_cookie_t 2376 xcb_xv_select_video_notify_checked (xcb_connection_t *c /**< */, 2377 xcb_drawable_t drawable /**< */, 2378 uint8_t onoff /**< */); 2379 2380 /** 2381 * 2382 * @param c The connection 2383 * @return A cookie 2384 * 2385 * Delivers a request to the X server. 2386 * 2387 */ 2388 2389 /***************************************************************************** 2390 ** 2391 ** xcb_void_cookie_t xcb_xv_select_video_notify 2392 ** 2393 ** @param xcb_connection_t *c 2394 ** @param xcb_drawable_t drawable 2395 ** @param uint8_t onoff 2396 ** @returns xcb_void_cookie_t 2397 ** 2398 *****************************************************************************/ 2399 2400 xcb_void_cookie_t 2401 xcb_xv_select_video_notify (xcb_connection_t *c /**< */, 2402 xcb_drawable_t drawable /**< */, 2403 uint8_t onoff /**< */); 2404 2405 /** 2406 * 2407 * @param c The connection 2408 * @return A cookie 2409 * 2410 * Delivers a request to the X server. 2411 * 2412 * This form can be used only if the request will not cause 2413 * a reply to be generated. Any returned error will be 2414 * saved for handling by xcb_request_check(). 2415 */ 2416 2417 /***************************************************************************** 2418 ** 2419 ** xcb_void_cookie_t xcb_xv_select_port_notify_checked 2420 ** 2421 ** @param xcb_connection_t *c 2422 ** @param xcb_xv_port_t port 2423 ** @param uint8_t onoff 2424 ** @returns xcb_void_cookie_t 2425 ** 2426 *****************************************************************************/ 2427 2428 xcb_void_cookie_t 2429 xcb_xv_select_port_notify_checked (xcb_connection_t *c /**< */, 2430 xcb_xv_port_t port /**< */, 2431 uint8_t onoff /**< */); 2432 2433 /** 2434 * 2435 * @param c The connection 2436 * @return A cookie 2437 * 2438 * Delivers a request to the X server. 2439 * 2440 */ 2441 2442 /***************************************************************************** 2443 ** 2444 ** xcb_void_cookie_t xcb_xv_select_port_notify 2445 ** 2446 ** @param xcb_connection_t *c 2447 ** @param xcb_xv_port_t port 2448 ** @param uint8_t onoff 2449 ** @returns xcb_void_cookie_t 2450 ** 2451 *****************************************************************************/ 2452 2453 xcb_void_cookie_t 2454 xcb_xv_select_port_notify (xcb_connection_t *c /**< */, 2455 xcb_xv_port_t port /**< */, 2456 uint8_t onoff /**< */); 2457 2458 /** 2459 * 2460 * @param c The connection 2461 * @return A cookie 2462 * 2463 * Delivers a request to the X server. 2464 * 2465 */ 2466 2467 /***************************************************************************** 2468 ** 2469 ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size 2470 ** 2471 ** @param xcb_connection_t *c 2472 ** @param xcb_xv_port_t port 2473 ** @param uint16_t vid_w 2474 ** @param uint16_t vid_h 2475 ** @param uint16_t drw_w 2476 ** @param uint16_t drw_h 2477 ** @param uint8_t motion 2478 ** @returns xcb_xv_query_best_size_cookie_t 2479 ** 2480 *****************************************************************************/ 2481 2482 xcb_xv_query_best_size_cookie_t 2483 xcb_xv_query_best_size (xcb_connection_t *c /**< */, 2484 xcb_xv_port_t port /**< */, 2485 uint16_t vid_w /**< */, 2486 uint16_t vid_h /**< */, 2487 uint16_t drw_w /**< */, 2488 uint16_t drw_h /**< */, 2489 uint8_t motion /**< */); 2490 2491 /** 2492 * 2493 * @param c The connection 2494 * @return A cookie 2495 * 2496 * Delivers a request to the X server. 2497 * 2498 * This form can be used only if the request will cause 2499 * a reply to be generated. Any returned error will be 2500 * placed in the event queue. 2501 */ 2502 2503 /***************************************************************************** 2504 ** 2505 ** xcb_xv_query_best_size_cookie_t xcb_xv_query_best_size_unchecked 2506 ** 2507 ** @param xcb_connection_t *c 2508 ** @param xcb_xv_port_t port 2509 ** @param uint16_t vid_w 2510 ** @param uint16_t vid_h 2511 ** @param uint16_t drw_w 2512 ** @param uint16_t drw_h 2513 ** @param uint8_t motion 2514 ** @returns xcb_xv_query_best_size_cookie_t 2515 ** 2516 *****************************************************************************/ 2517 2518 xcb_xv_query_best_size_cookie_t 2519 xcb_xv_query_best_size_unchecked (xcb_connection_t *c /**< */, 2520 xcb_xv_port_t port /**< */, 2521 uint16_t vid_w /**< */, 2522 uint16_t vid_h /**< */, 2523 uint16_t drw_w /**< */, 2524 uint16_t drw_h /**< */, 2525 uint8_t motion /**< */); 2526 2527 /** 2528 * Return the reply 2529 * @param c The connection 2530 * @param cookie The cookie 2531 * @param e The xcb_generic_error_t supplied 2532 * 2533 * Returns the reply of the request asked by 2534 * 2535 * The parameter @p e supplied to this function must be NULL if 2536 * xcb_xv_query_best_size_unchecked(). is used. 2537 * Otherwise, it stores the error if any. 2538 * 2539 * The returned value must be freed by the caller using free(). 2540 */ 2541 2542 /***************************************************************************** 2543 ** 2544 ** xcb_xv_query_best_size_reply_t * xcb_xv_query_best_size_reply 2545 ** 2546 ** @param xcb_connection_t *c 2547 ** @param xcb_xv_query_best_size_cookie_t cookie 2548 ** @param xcb_generic_error_t **e 2549 ** @returns xcb_xv_query_best_size_reply_t * 2550 ** 2551 *****************************************************************************/ 2552 2553 xcb_xv_query_best_size_reply_t * 2554 xcb_xv_query_best_size_reply (xcb_connection_t *c /**< */, 2555 xcb_xv_query_best_size_cookie_t cookie /**< */, 2556 xcb_generic_error_t **e /**< */); 2557 2558 /** 2559 * 2560 * @param c The connection 2561 * @return A cookie 2562 * 2563 * Delivers a request to the X server. 2564 * 2565 * This form can be used only if the request will not cause 2566 * a reply to be generated. Any returned error will be 2567 * saved for handling by xcb_request_check(). 2568 */ 2569 2570 /***************************************************************************** 2571 ** 2572 ** xcb_void_cookie_t xcb_xv_set_port_attribute_checked 2573 ** 2574 ** @param xcb_connection_t *c 2575 ** @param xcb_xv_port_t port 2576 ** @param xcb_atom_t attribute 2577 ** @param int32_t value 2578 ** @returns xcb_void_cookie_t 2579 ** 2580 *****************************************************************************/ 2581 2582 xcb_void_cookie_t 2583 xcb_xv_set_port_attribute_checked (xcb_connection_t *c /**< */, 2584 xcb_xv_port_t port /**< */, 2585 xcb_atom_t attribute /**< */, 2586 int32_t value /**< */); 2587 2588 /** 2589 * 2590 * @param c The connection 2591 * @return A cookie 2592 * 2593 * Delivers a request to the X server. 2594 * 2595 */ 2596 2597 /***************************************************************************** 2598 ** 2599 ** xcb_void_cookie_t xcb_xv_set_port_attribute 2600 ** 2601 ** @param xcb_connection_t *c 2602 ** @param xcb_xv_port_t port 2603 ** @param xcb_atom_t attribute 2604 ** @param int32_t value 2605 ** @returns xcb_void_cookie_t 2606 ** 2607 *****************************************************************************/ 2608 2609 xcb_void_cookie_t 2610 xcb_xv_set_port_attribute (xcb_connection_t *c /**< */, 2611 xcb_xv_port_t port /**< */, 2612 xcb_atom_t attribute /**< */, 2613 int32_t value /**< */); 2614 2615 /** 2616 * 2617 * @param c The connection 2618 * @return A cookie 2619 * 2620 * Delivers a request to the X server. 2621 * 2622 */ 2623 2624 /***************************************************************************** 2625 ** 2626 ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute 2627 ** 2628 ** @param xcb_connection_t *c 2629 ** @param xcb_xv_port_t port 2630 ** @param xcb_atom_t attribute 2631 ** @returns xcb_xv_get_port_attribute_cookie_t 2632 ** 2633 *****************************************************************************/ 2634 2635 xcb_xv_get_port_attribute_cookie_t 2636 xcb_xv_get_port_attribute (xcb_connection_t *c /**< */, 2637 xcb_xv_port_t port /**< */, 2638 xcb_atom_t attribute /**< */); 2639 2640 /** 2641 * 2642 * @param c The connection 2643 * @return A cookie 2644 * 2645 * Delivers a request to the X server. 2646 * 2647 * This form can be used only if the request will cause 2648 * a reply to be generated. Any returned error will be 2649 * placed in the event queue. 2650 */ 2651 2652 /***************************************************************************** 2653 ** 2654 ** xcb_xv_get_port_attribute_cookie_t xcb_xv_get_port_attribute_unchecked 2655 ** 2656 ** @param xcb_connection_t *c 2657 ** @param xcb_xv_port_t port 2658 ** @param xcb_atom_t attribute 2659 ** @returns xcb_xv_get_port_attribute_cookie_t 2660 ** 2661 *****************************************************************************/ 2662 2663 xcb_xv_get_port_attribute_cookie_t 2664 xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c /**< */, 2665 xcb_xv_port_t port /**< */, 2666 xcb_atom_t attribute /**< */); 2667 2668 /** 2669 * Return the reply 2670 * @param c The connection 2671 * @param cookie The cookie 2672 * @param e The xcb_generic_error_t supplied 2673 * 2674 * Returns the reply of the request asked by 2675 * 2676 * The parameter @p e supplied to this function must be NULL if 2677 * xcb_xv_get_port_attribute_unchecked(). is used. 2678 * Otherwise, it stores the error if any. 2679 * 2680 * The returned value must be freed by the caller using free(). 2681 */ 2682 2683 /***************************************************************************** 2684 ** 2685 ** xcb_xv_get_port_attribute_reply_t * xcb_xv_get_port_attribute_reply 2686 ** 2687 ** @param xcb_connection_t *c 2688 ** @param xcb_xv_get_port_attribute_cookie_t cookie 2689 ** @param xcb_generic_error_t **e 2690 ** @returns xcb_xv_get_port_attribute_reply_t * 2691 ** 2692 *****************************************************************************/ 2693 2694 xcb_xv_get_port_attribute_reply_t * 2695 xcb_xv_get_port_attribute_reply (xcb_connection_t *c /**< */, 2696 xcb_xv_get_port_attribute_cookie_t cookie /**< */, 2697 xcb_generic_error_t **e /**< */); 2698 2699 int 2700 xcb_xv_query_port_attributes_sizeof (const void *_buffer /**< */); 2701 2702 /** 2703 * 2704 * @param c The connection 2705 * @return A cookie 2706 * 2707 * Delivers a request to the X server. 2708 * 2709 */ 2710 2711 /***************************************************************************** 2712 ** 2713 ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes 2714 ** 2715 ** @param xcb_connection_t *c 2716 ** @param xcb_xv_port_t port 2717 ** @returns xcb_xv_query_port_attributes_cookie_t 2718 ** 2719 *****************************************************************************/ 2720 2721 xcb_xv_query_port_attributes_cookie_t 2722 xcb_xv_query_port_attributes (xcb_connection_t *c /**< */, 2723 xcb_xv_port_t port /**< */); 2724 2725 /** 2726 * 2727 * @param c The connection 2728 * @return A cookie 2729 * 2730 * Delivers a request to the X server. 2731 * 2732 * This form can be used only if the request will cause 2733 * a reply to be generated. Any returned error will be 2734 * placed in the event queue. 2735 */ 2736 2737 /***************************************************************************** 2738 ** 2739 ** xcb_xv_query_port_attributes_cookie_t xcb_xv_query_port_attributes_unchecked 2740 ** 2741 ** @param xcb_connection_t *c 2742 ** @param xcb_xv_port_t port 2743 ** @returns xcb_xv_query_port_attributes_cookie_t 2744 ** 2745 *****************************************************************************/ 2746 2747 xcb_xv_query_port_attributes_cookie_t 2748 xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c /**< */, 2749 xcb_xv_port_t port /**< */); 2750 2751 2752 /***************************************************************************** 2753 ** 2754 ** int xcb_xv_query_port_attributes_attributes_length 2755 ** 2756 ** @param const xcb_xv_query_port_attributes_reply_t *R 2757 ** @returns int 2758 ** 2759 *****************************************************************************/ 2760 2761 int 2762 xcb_xv_query_port_attributes_attributes_length (const xcb_xv_query_port_attributes_reply_t *R /**< */); 2763 2764 2765 /***************************************************************************** 2766 ** 2767 ** xcb_xv_attribute_info_iterator_t xcb_xv_query_port_attributes_attributes_iterator 2768 ** 2769 ** @param const xcb_xv_query_port_attributes_reply_t *R 2770 ** @returns xcb_xv_attribute_info_iterator_t 2771 ** 2772 *****************************************************************************/ 2773 2774 xcb_xv_attribute_info_iterator_t 2775 xcb_xv_query_port_attributes_attributes_iterator (const xcb_xv_query_port_attributes_reply_t *R /**< */); 2776 2777 /** 2778 * Return the reply 2779 * @param c The connection 2780 * @param cookie The cookie 2781 * @param e The xcb_generic_error_t supplied 2782 * 2783 * Returns the reply of the request asked by 2784 * 2785 * The parameter @p e supplied to this function must be NULL if 2786 * xcb_xv_query_port_attributes_unchecked(). is used. 2787 * Otherwise, it stores the error if any. 2788 * 2789 * The returned value must be freed by the caller using free(). 2790 */ 2791 2792 /***************************************************************************** 2793 ** 2794 ** xcb_xv_query_port_attributes_reply_t * xcb_xv_query_port_attributes_reply 2795 ** 2796 ** @param xcb_connection_t *c 2797 ** @param xcb_xv_query_port_attributes_cookie_t cookie 2798 ** @param xcb_generic_error_t **e 2799 ** @returns xcb_xv_query_port_attributes_reply_t * 2800 ** 2801 *****************************************************************************/ 2802 2803 xcb_xv_query_port_attributes_reply_t * 2804 xcb_xv_query_port_attributes_reply (xcb_connection_t *c /**< */, 2805 xcb_xv_query_port_attributes_cookie_t cookie /**< */, 2806 xcb_generic_error_t **e /**< */); 2807 2808 int 2809 xcb_xv_list_image_formats_sizeof (const void *_buffer /**< */); 2810 2811 /** 2812 * 2813 * @param c The connection 2814 * @return A cookie 2815 * 2816 * Delivers a request to the X server. 2817 * 2818 */ 2819 2820 /***************************************************************************** 2821 ** 2822 ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats 2823 ** 2824 ** @param xcb_connection_t *c 2825 ** @param xcb_xv_port_t port 2826 ** @returns xcb_xv_list_image_formats_cookie_t 2827 ** 2828 *****************************************************************************/ 2829 2830 xcb_xv_list_image_formats_cookie_t 2831 xcb_xv_list_image_formats (xcb_connection_t *c /**< */, 2832 xcb_xv_port_t port /**< */); 2833 2834 /** 2835 * 2836 * @param c The connection 2837 * @return A cookie 2838 * 2839 * Delivers a request to the X server. 2840 * 2841 * This form can be used only if the request will cause 2842 * a reply to be generated. Any returned error will be 2843 * placed in the event queue. 2844 */ 2845 2846 /***************************************************************************** 2847 ** 2848 ** xcb_xv_list_image_formats_cookie_t xcb_xv_list_image_formats_unchecked 2849 ** 2850 ** @param xcb_connection_t *c 2851 ** @param xcb_xv_port_t port 2852 ** @returns xcb_xv_list_image_formats_cookie_t 2853 ** 2854 *****************************************************************************/ 2855 2856 xcb_xv_list_image_formats_cookie_t 2857 xcb_xv_list_image_formats_unchecked (xcb_connection_t *c /**< */, 2858 xcb_xv_port_t port /**< */); 2859 2860 2861 /***************************************************************************** 2862 ** 2863 ** xcb_xv_image_format_info_t * xcb_xv_list_image_formats_format 2864 ** 2865 ** @param const xcb_xv_list_image_formats_reply_t *R 2866 ** @returns xcb_xv_image_format_info_t * 2867 ** 2868 *****************************************************************************/ 2869 2870 xcb_xv_image_format_info_t * 2871 xcb_xv_list_image_formats_format (const xcb_xv_list_image_formats_reply_t *R /**< */); 2872 2873 2874 /***************************************************************************** 2875 ** 2876 ** int xcb_xv_list_image_formats_format_length 2877 ** 2878 ** @param const xcb_xv_list_image_formats_reply_t *R 2879 ** @returns int 2880 ** 2881 *****************************************************************************/ 2882 2883 int 2884 xcb_xv_list_image_formats_format_length (const xcb_xv_list_image_formats_reply_t *R /**< */); 2885 2886 2887 /***************************************************************************** 2888 ** 2889 ** xcb_xv_image_format_info_iterator_t xcb_xv_list_image_formats_format_iterator 2890 ** 2891 ** @param const xcb_xv_list_image_formats_reply_t *R 2892 ** @returns xcb_xv_image_format_info_iterator_t 2893 ** 2894 *****************************************************************************/ 2895 2896 xcb_xv_image_format_info_iterator_t 2897 xcb_xv_list_image_formats_format_iterator (const xcb_xv_list_image_formats_reply_t *R /**< */); 2898 2899 /** 2900 * Return the reply 2901 * @param c The connection 2902 * @param cookie The cookie 2903 * @param e The xcb_generic_error_t supplied 2904 * 2905 * Returns the reply of the request asked by 2906 * 2907 * The parameter @p e supplied to this function must be NULL if 2908 * xcb_xv_list_image_formats_unchecked(). is used. 2909 * Otherwise, it stores the error if any. 2910 * 2911 * The returned value must be freed by the caller using free(). 2912 */ 2913 2914 /***************************************************************************** 2915 ** 2916 ** xcb_xv_list_image_formats_reply_t * xcb_xv_list_image_formats_reply 2917 ** 2918 ** @param xcb_connection_t *c 2919 ** @param xcb_xv_list_image_formats_cookie_t cookie 2920 ** @param xcb_generic_error_t **e 2921 ** @returns xcb_xv_list_image_formats_reply_t * 2922 ** 2923 *****************************************************************************/ 2924 2925 xcb_xv_list_image_formats_reply_t * 2926 xcb_xv_list_image_formats_reply (xcb_connection_t *c /**< */, 2927 xcb_xv_list_image_formats_cookie_t cookie /**< */, 2928 xcb_generic_error_t **e /**< */); 2929 2930 int 2931 xcb_xv_query_image_attributes_sizeof (const void *_buffer /**< */); 2932 2933 /** 2934 * 2935 * @param c The connection 2936 * @return A cookie 2937 * 2938 * Delivers a request to the X server. 2939 * 2940 */ 2941 2942 /***************************************************************************** 2943 ** 2944 ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes 2945 ** 2946 ** @param xcb_connection_t *c 2947 ** @param xcb_xv_port_t port 2948 ** @param uint32_t id 2949 ** @param uint16_t width 2950 ** @param uint16_t height 2951 ** @returns xcb_xv_query_image_attributes_cookie_t 2952 ** 2953 *****************************************************************************/ 2954 2955 xcb_xv_query_image_attributes_cookie_t 2956 xcb_xv_query_image_attributes (xcb_connection_t *c /**< */, 2957 xcb_xv_port_t port /**< */, 2958 uint32_t id /**< */, 2959 uint16_t width /**< */, 2960 uint16_t height /**< */); 2961 2962 /** 2963 * 2964 * @param c The connection 2965 * @return A cookie 2966 * 2967 * Delivers a request to the X server. 2968 * 2969 * This form can be used only if the request will cause 2970 * a reply to be generated. Any returned error will be 2971 * placed in the event queue. 2972 */ 2973 2974 /***************************************************************************** 2975 ** 2976 ** xcb_xv_query_image_attributes_cookie_t xcb_xv_query_image_attributes_unchecked 2977 ** 2978 ** @param xcb_connection_t *c 2979 ** @param xcb_xv_port_t port 2980 ** @param uint32_t id 2981 ** @param uint16_t width 2982 ** @param uint16_t height 2983 ** @returns xcb_xv_query_image_attributes_cookie_t 2984 ** 2985 *****************************************************************************/ 2986 2987 xcb_xv_query_image_attributes_cookie_t 2988 xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c /**< */, 2989 xcb_xv_port_t port /**< */, 2990 uint32_t id /**< */, 2991 uint16_t width /**< */, 2992 uint16_t height /**< */); 2993 2994 2995 /***************************************************************************** 2996 ** 2997 ** uint32_t * xcb_xv_query_image_attributes_pitches 2998 ** 2999 ** @param const xcb_xv_query_image_attributes_reply_t *R 3000 ** @returns uint32_t * 3001 ** 3002 *****************************************************************************/ 3003 3004 uint32_t * 3005 xcb_xv_query_image_attributes_pitches (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3006 3007 3008 /***************************************************************************** 3009 ** 3010 ** int xcb_xv_query_image_attributes_pitches_length 3011 ** 3012 ** @param const xcb_xv_query_image_attributes_reply_t *R 3013 ** @returns int 3014 ** 3015 *****************************************************************************/ 3016 3017 int 3018 xcb_xv_query_image_attributes_pitches_length (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3019 3020 3021 /***************************************************************************** 3022 ** 3023 ** xcb_generic_iterator_t xcb_xv_query_image_attributes_pitches_end 3024 ** 3025 ** @param const xcb_xv_query_image_attributes_reply_t *R 3026 ** @returns xcb_generic_iterator_t 3027 ** 3028 *****************************************************************************/ 3029 3030 xcb_generic_iterator_t 3031 xcb_xv_query_image_attributes_pitches_end (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3032 3033 3034 /***************************************************************************** 3035 ** 3036 ** uint32_t * xcb_xv_query_image_attributes_offsets 3037 ** 3038 ** @param const xcb_xv_query_image_attributes_reply_t *R 3039 ** @returns uint32_t * 3040 ** 3041 *****************************************************************************/ 3042 3043 uint32_t * 3044 xcb_xv_query_image_attributes_offsets (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3045 3046 3047 /***************************************************************************** 3048 ** 3049 ** int xcb_xv_query_image_attributes_offsets_length 3050 ** 3051 ** @param const xcb_xv_query_image_attributes_reply_t *R 3052 ** @returns int 3053 ** 3054 *****************************************************************************/ 3055 3056 int 3057 xcb_xv_query_image_attributes_offsets_length (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3058 3059 3060 /***************************************************************************** 3061 ** 3062 ** xcb_generic_iterator_t xcb_xv_query_image_attributes_offsets_end 3063 ** 3064 ** @param const xcb_xv_query_image_attributes_reply_t *R 3065 ** @returns xcb_generic_iterator_t 3066 ** 3067 *****************************************************************************/ 3068 3069 xcb_generic_iterator_t 3070 xcb_xv_query_image_attributes_offsets_end (const xcb_xv_query_image_attributes_reply_t *R /**< */); 3071 3072 /** 3073 * Return the reply 3074 * @param c The connection 3075 * @param cookie The cookie 3076 * @param e The xcb_generic_error_t supplied 3077 * 3078 * Returns the reply of the request asked by 3079 * 3080 * The parameter @p e supplied to this function must be NULL if 3081 * xcb_xv_query_image_attributes_unchecked(). is used. 3082 * Otherwise, it stores the error if any. 3083 * 3084 * The returned value must be freed by the caller using free(). 3085 */ 3086 3087 /***************************************************************************** 3088 ** 3089 ** xcb_xv_query_image_attributes_reply_t * xcb_xv_query_image_attributes_reply 3090 ** 3091 ** @param xcb_connection_t *c 3092 ** @param xcb_xv_query_image_attributes_cookie_t cookie 3093 ** @param xcb_generic_error_t **e 3094 ** @returns xcb_xv_query_image_attributes_reply_t * 3095 ** 3096 *****************************************************************************/ 3097 3098 xcb_xv_query_image_attributes_reply_t * 3099 xcb_xv_query_image_attributes_reply (xcb_connection_t *c /**< */, 3100 xcb_xv_query_image_attributes_cookie_t cookie /**< */, 3101 xcb_generic_error_t **e /**< */); 3102 3103 int 3104 xcb_xv_put_image_sizeof (const void *_buffer /**< */, 3105 uint32_t data_len /**< */); 3106 3107 /** 3108 * 3109 * @param c The connection 3110 * @return A cookie 3111 * 3112 * Delivers a request to the X server. 3113 * 3114 * This form can be used only if the request will not cause 3115 * a reply to be generated. Any returned error will be 3116 * saved for handling by xcb_request_check(). 3117 */ 3118 3119 /***************************************************************************** 3120 ** 3121 ** xcb_void_cookie_t xcb_xv_put_image_checked 3122 ** 3123 ** @param xcb_connection_t *c 3124 ** @param xcb_xv_port_t port 3125 ** @param xcb_drawable_t drawable 3126 ** @param xcb_gcontext_t gc 3127 ** @param uint32_t id 3128 ** @param int16_t src_x 3129 ** @param int16_t src_y 3130 ** @param uint16_t src_w 3131 ** @param uint16_t src_h 3132 ** @param int16_t drw_x 3133 ** @param int16_t drw_y 3134 ** @param uint16_t drw_w 3135 ** @param uint16_t drw_h 3136 ** @param uint16_t width 3137 ** @param uint16_t height 3138 ** @param uint32_t data_len 3139 ** @param const uint8_t *data 3140 ** @returns xcb_void_cookie_t 3141 ** 3142 *****************************************************************************/ 3143 3144 xcb_void_cookie_t 3145 xcb_xv_put_image_checked (xcb_connection_t *c /**< */, 3146 xcb_xv_port_t port /**< */, 3147 xcb_drawable_t drawable /**< */, 3148 xcb_gcontext_t gc /**< */, 3149 uint32_t id /**< */, 3150 int16_t src_x /**< */, 3151 int16_t src_y /**< */, 3152 uint16_t src_w /**< */, 3153 uint16_t src_h /**< */, 3154 int16_t drw_x /**< */, 3155 int16_t drw_y /**< */, 3156 uint16_t drw_w /**< */, 3157 uint16_t drw_h /**< */, 3158 uint16_t width /**< */, 3159 uint16_t height /**< */, 3160 uint32_t data_len /**< */, 3161 const uint8_t *data /**< */); 3162 3163 /** 3164 * 3165 * @param c The connection 3166 * @return A cookie 3167 * 3168 * Delivers a request to the X server. 3169 * 3170 */ 3171 3172 /***************************************************************************** 3173 ** 3174 ** xcb_void_cookie_t xcb_xv_put_image 3175 ** 3176 ** @param xcb_connection_t *c 3177 ** @param xcb_xv_port_t port 3178 ** @param xcb_drawable_t drawable 3179 ** @param xcb_gcontext_t gc 3180 ** @param uint32_t id 3181 ** @param int16_t src_x 3182 ** @param int16_t src_y 3183 ** @param uint16_t src_w 3184 ** @param uint16_t src_h 3185 ** @param int16_t drw_x 3186 ** @param int16_t drw_y 3187 ** @param uint16_t drw_w 3188 ** @param uint16_t drw_h 3189 ** @param uint16_t width 3190 ** @param uint16_t height 3191 ** @param uint32_t data_len 3192 ** @param const uint8_t *data 3193 ** @returns xcb_void_cookie_t 3194 ** 3195 *****************************************************************************/ 3196 3197 xcb_void_cookie_t 3198 xcb_xv_put_image (xcb_connection_t *c /**< */, 3199 xcb_xv_port_t port /**< */, 3200 xcb_drawable_t drawable /**< */, 3201 xcb_gcontext_t gc /**< */, 3202 uint32_t id /**< */, 3203 int16_t src_x /**< */, 3204 int16_t src_y /**< */, 3205 uint16_t src_w /**< */, 3206 uint16_t src_h /**< */, 3207 int16_t drw_x /**< */, 3208 int16_t drw_y /**< */, 3209 uint16_t drw_w /**< */, 3210 uint16_t drw_h /**< */, 3211 uint16_t width /**< */, 3212 uint16_t height /**< */, 3213 uint32_t data_len /**< */, 3214 const uint8_t *data /**< */); 3215 3216 /** 3217 * 3218 * @param c The connection 3219 * @return A cookie 3220 * 3221 * Delivers a request to the X server. 3222 * 3223 * This form can be used only if the request will not cause 3224 * a reply to be generated. Any returned error will be 3225 * saved for handling by xcb_request_check(). 3226 */ 3227 3228 /***************************************************************************** 3229 ** 3230 ** xcb_void_cookie_t xcb_xv_shm_put_image_checked 3231 ** 3232 ** @param xcb_connection_t *c 3233 ** @param xcb_xv_port_t port 3234 ** @param xcb_drawable_t drawable 3235 ** @param xcb_gcontext_t gc 3236 ** @param xcb_shm_seg_t shmseg 3237 ** @param uint32_t id 3238 ** @param uint32_t offset 3239 ** @param int16_t src_x 3240 ** @param int16_t src_y 3241 ** @param uint16_t src_w 3242 ** @param uint16_t src_h 3243 ** @param int16_t drw_x 3244 ** @param int16_t drw_y 3245 ** @param uint16_t drw_w 3246 ** @param uint16_t drw_h 3247 ** @param uint16_t width 3248 ** @param uint16_t height 3249 ** @param uint8_t send_event 3250 ** @returns xcb_void_cookie_t 3251 ** 3252 *****************************************************************************/ 3253 3254 xcb_void_cookie_t 3255 xcb_xv_shm_put_image_checked (xcb_connection_t *c /**< */, 3256 xcb_xv_port_t port /**< */, 3257 xcb_drawable_t drawable /**< */, 3258 xcb_gcontext_t gc /**< */, 3259 xcb_shm_seg_t shmseg /**< */, 3260 uint32_t id /**< */, 3261 uint32_t offset /**< */, 3262 int16_t src_x /**< */, 3263 int16_t src_y /**< */, 3264 uint16_t src_w /**< */, 3265 uint16_t src_h /**< */, 3266 int16_t drw_x /**< */, 3267 int16_t drw_y /**< */, 3268 uint16_t drw_w /**< */, 3269 uint16_t drw_h /**< */, 3270 uint16_t width /**< */, 3271 uint16_t height /**< */, 3272 uint8_t send_event /**< */); 3273 3274 /** 3275 * 3276 * @param c The connection 3277 * @return A cookie 3278 * 3279 * Delivers a request to the X server. 3280 * 3281 */ 3282 3283 /***************************************************************************** 3284 ** 3285 ** xcb_void_cookie_t xcb_xv_shm_put_image 3286 ** 3287 ** @param xcb_connection_t *c 3288 ** @param xcb_xv_port_t port 3289 ** @param xcb_drawable_t drawable 3290 ** @param xcb_gcontext_t gc 3291 ** @param xcb_shm_seg_t shmseg 3292 ** @param uint32_t id 3293 ** @param uint32_t offset 3294 ** @param int16_t src_x 3295 ** @param int16_t src_y 3296 ** @param uint16_t src_w 3297 ** @param uint16_t src_h 3298 ** @param int16_t drw_x 3299 ** @param int16_t drw_y 3300 ** @param uint16_t drw_w 3301 ** @param uint16_t drw_h 3302 ** @param uint16_t width 3303 ** @param uint16_t height 3304 ** @param uint8_t send_event 3305 ** @returns xcb_void_cookie_t 3306 ** 3307 *****************************************************************************/ 3308 3309 xcb_void_cookie_t 3310 xcb_xv_shm_put_image (xcb_connection_t *c /**< */, 3311 xcb_xv_port_t port /**< */, 3312 xcb_drawable_t drawable /**< */, 3313 xcb_gcontext_t gc /**< */, 3314 xcb_shm_seg_t shmseg /**< */, 3315 uint32_t id /**< */, 3316 uint32_t offset /**< */, 3317 int16_t src_x /**< */, 3318 int16_t src_y /**< */, 3319 uint16_t src_w /**< */, 3320 uint16_t src_h /**< */, 3321 int16_t drw_x /**< */, 3322 int16_t drw_y /**< */, 3323 uint16_t drw_w /**< */, 3324 uint16_t drw_h /**< */, 3325 uint16_t width /**< */, 3326 uint16_t height /**< */, 3327 uint8_t send_event /**< */); 3328 3329 3330 #ifdef __cplusplus 3331 } 3332 #endif 3333 3334 #endif 3335 3336 /** 3337 * @} 3338 */ 3339