XCB
1.11.1
|
00001 /* 00002 * This file generated automatically from xv.xml by c_client.py. 00003 * Edit at your peril. 00004 */ 00005 00012 #ifndef __XV_H 00013 #define __XV_H 00014 00015 #include "xcb.h" 00016 #include "xproto.h" 00017 #include "shm.h" 00018 00019 #ifdef __cplusplus 00020 extern "C" { 00021 #endif 00022 00023 #define XCB_XV_MAJOR_VERSION 2 00024 #define XCB_XV_MINOR_VERSION 2 00025 00026 extern xcb_extension_t xcb_xv_id; 00027 00028 typedef uint32_t xcb_xv_port_t; 00029 00033 typedef struct xcb_xv_port_iterator_t { 00034 xcb_xv_port_t *data; 00035 int rem; 00036 int index; 00037 } xcb_xv_port_iterator_t; 00038 00039 typedef uint32_t xcb_xv_encoding_t; 00040 00044 typedef struct xcb_xv_encoding_iterator_t { 00045 xcb_xv_encoding_t *data; 00046 int rem; 00047 int index; 00048 } xcb_xv_encoding_iterator_t; 00049 00050 typedef enum xcb_xv_type_t { 00051 XCB_XV_TYPE_INPUT_MASK = 1, 00052 XCB_XV_TYPE_OUTPUT_MASK = 2, 00053 XCB_XV_TYPE_VIDEO_MASK = 4, 00054 XCB_XV_TYPE_STILL_MASK = 8, 00055 XCB_XV_TYPE_IMAGE_MASK = 16 00056 } xcb_xv_type_t; 00057 00058 typedef enum xcb_xv_image_format_info_type_t { 00059 XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB = 0, 00060 XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV = 1 00061 } xcb_xv_image_format_info_type_t; 00062 00063 typedef enum xcb_xv_image_format_info_format_t { 00064 XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED = 0, 00065 XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR = 1 00066 } xcb_xv_image_format_info_format_t; 00067 00068 typedef enum xcb_xv_attribute_flag_t { 00069 XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 1, 00070 XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 2 00071 } xcb_xv_attribute_flag_t; 00072 00073 typedef enum xcb_xv_video_notify_reason_t { 00074 XCB_XV_VIDEO_NOTIFY_REASON_STARTED = 0, 00075 XCB_XV_VIDEO_NOTIFY_REASON_STOPPED = 1, 00076 XCB_XV_VIDEO_NOTIFY_REASON_BUSY = 2, 00077 XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED = 3, 00078 XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR = 4 00079 } xcb_xv_video_notify_reason_t; 00080 00081 typedef enum xcb_xv_scanline_order_t { 00082 XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM = 0, 00083 XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP = 1 00084 } xcb_xv_scanline_order_t; 00085 00086 typedef enum xcb_xv_grab_port_status_t { 00087 XCB_XV_GRAB_PORT_STATUS_SUCCESS = 0, 00088 XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION = 1, 00089 XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED = 2, 00090 XCB_XV_GRAB_PORT_STATUS_INVALID_TIME = 3, 00091 XCB_XV_GRAB_PORT_STATUS_BAD_REPLY = 4, 00092 XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC = 5 00093 } xcb_xv_grab_port_status_t; 00094 00098 typedef struct xcb_xv_rational_t { 00099 int32_t numerator; 00100 int32_t denominator; 00101 } xcb_xv_rational_t; 00102 00106 typedef struct xcb_xv_rational_iterator_t { 00107 xcb_xv_rational_t *data; 00108 int rem; 00109 int index; 00110 } xcb_xv_rational_iterator_t; 00111 00115 typedef struct xcb_xv_format_t { 00116 xcb_visualid_t visual; 00117 uint8_t depth; 00118 uint8_t pad0[3]; 00119 } xcb_xv_format_t; 00120 00124 typedef struct xcb_xv_format_iterator_t { 00125 xcb_xv_format_t *data; 00126 int rem; 00127 int index; 00128 } xcb_xv_format_iterator_t; 00129 00133 typedef struct xcb_xv_adaptor_info_t { 00134 xcb_xv_port_t base_id; 00135 uint16_t name_size; 00136 uint16_t num_ports; 00137 uint16_t num_formats; 00138 uint8_t type; 00139 uint8_t pad0; 00140 } xcb_xv_adaptor_info_t; 00141 00145 typedef struct xcb_xv_adaptor_info_iterator_t { 00146 xcb_xv_adaptor_info_t *data; 00147 int rem; 00148 int index; 00149 } xcb_xv_adaptor_info_iterator_t; 00150 00154 typedef struct xcb_xv_encoding_info_t { 00155 xcb_xv_encoding_t encoding; 00156 uint16_t name_size; 00157 uint16_t width; 00158 uint16_t height; 00159 uint8_t pad0[2]; 00160 xcb_xv_rational_t rate; 00161 } xcb_xv_encoding_info_t; 00162 00166 typedef struct xcb_xv_encoding_info_iterator_t { 00167 xcb_xv_encoding_info_t *data; 00168 int rem; 00169 int index; 00170 } xcb_xv_encoding_info_iterator_t; 00171 00175 typedef struct xcb_xv_image_t { 00176 uint32_t id; 00177 uint16_t width; 00178 uint16_t height; 00179 uint32_t data_size; 00180 uint32_t num_planes; 00181 } xcb_xv_image_t; 00182 00186 typedef struct xcb_xv_image_iterator_t { 00187 xcb_xv_image_t *data; 00188 int rem; 00189 int index; 00190 } xcb_xv_image_iterator_t; 00191 00195 typedef struct xcb_xv_attribute_info_t { 00196 uint32_t flags; 00197 int32_t min; 00198 int32_t max; 00199 uint32_t size; 00200 } xcb_xv_attribute_info_t; 00201 00205 typedef struct xcb_xv_attribute_info_iterator_t { 00206 xcb_xv_attribute_info_t *data; 00207 int rem; 00208 int index; 00209 } xcb_xv_attribute_info_iterator_t; 00210 00214 typedef struct xcb_xv_image_format_info_t { 00215 uint32_t id; 00216 uint8_t type; 00217 uint8_t byte_order; 00218 uint8_t pad0[2]; 00219 uint8_t guid[16]; 00220 uint8_t bpp; 00221 uint8_t num_planes; 00222 uint8_t pad1[2]; 00223 uint8_t depth; 00224 uint8_t pad2[3]; 00225 uint32_t red_mask; 00226 uint32_t green_mask; 00227 uint32_t blue_mask; 00228 uint8_t format; 00229 uint8_t pad3[3]; 00230 uint32_t y_sample_bits; 00231 uint32_t u_sample_bits; 00232 uint32_t v_sample_bits; 00233 uint32_t vhorz_y_period; 00234 uint32_t vhorz_u_period; 00235 uint32_t vhorz_v_period; 00236 uint32_t vvert_y_period; 00237 uint32_t vvert_u_period; 00238 uint32_t vvert_v_period; 00239 uint8_t vcomp_order[32]; 00240 uint8_t vscanline_order; 00241 uint8_t pad4[11]; 00242 } xcb_xv_image_format_info_t; 00243 00247 typedef struct xcb_xv_image_format_info_iterator_t { 00248 xcb_xv_image_format_info_t *data; 00249 int rem; 00250 int index; 00251 } xcb_xv_image_format_info_iterator_t; 00252 00254 #define XCB_XV_BAD_PORT 0 00255 00259 typedef struct xcb_xv_bad_port_error_t { 00260 uint8_t response_type; 00261 uint8_t error_code; 00262 uint16_t sequence; 00263 } xcb_xv_bad_port_error_t; 00264 00266 #define XCB_XV_BAD_ENCODING 1 00267 00271 typedef struct xcb_xv_bad_encoding_error_t { 00272 uint8_t response_type; 00273 uint8_t error_code; 00274 uint16_t sequence; 00275 } xcb_xv_bad_encoding_error_t; 00276 00278 #define XCB_XV_BAD_CONTROL 2 00279 00283 typedef struct xcb_xv_bad_control_error_t { 00284 uint8_t response_type; 00285 uint8_t error_code; 00286 uint16_t sequence; 00287 } xcb_xv_bad_control_error_t; 00288 00290 #define XCB_XV_VIDEO_NOTIFY 0 00291 00295 typedef struct xcb_xv_video_notify_event_t { 00296 uint8_t response_type; 00297 uint8_t reason; 00298 uint16_t sequence; 00299 xcb_timestamp_t time; 00300 xcb_drawable_t drawable; 00301 xcb_xv_port_t port; 00302 } xcb_xv_video_notify_event_t; 00303 00305 #define XCB_XV_PORT_NOTIFY 1 00306 00310 typedef struct xcb_xv_port_notify_event_t { 00311 uint8_t response_type; 00312 uint8_t pad0; 00313 uint16_t sequence; 00314 xcb_timestamp_t time; 00315 xcb_xv_port_t port; 00316 xcb_atom_t attribute; 00317 int32_t value; 00318 } xcb_xv_port_notify_event_t; 00319 00323 typedef struct xcb_xv_query_extension_cookie_t { 00324 unsigned int sequence; 00325 } xcb_xv_query_extension_cookie_t; 00326 00328 #define XCB_XV_QUERY_EXTENSION 0 00329 00333 typedef struct xcb_xv_query_extension_request_t { 00334 uint8_t major_opcode; 00335 uint8_t minor_opcode; 00336 uint16_t length; 00337 } xcb_xv_query_extension_request_t; 00338 00342 typedef struct xcb_xv_query_extension_reply_t { 00343 uint8_t response_type; 00344 uint8_t pad0; 00345 uint16_t sequence; 00346 uint32_t length; 00347 uint16_t major; 00348 uint16_t minor; 00349 } xcb_xv_query_extension_reply_t; 00350 00354 typedef struct xcb_xv_query_adaptors_cookie_t { 00355 unsigned int sequence; 00356 } xcb_xv_query_adaptors_cookie_t; 00357 00359 #define XCB_XV_QUERY_ADAPTORS 1 00360 00364 typedef struct xcb_xv_query_adaptors_request_t { 00365 uint8_t major_opcode; 00366 uint8_t minor_opcode; 00367 uint16_t length; 00368 xcb_window_t window; 00369 } xcb_xv_query_adaptors_request_t; 00370 00374 typedef struct xcb_xv_query_adaptors_reply_t { 00375 uint8_t response_type; 00376 uint8_t pad0; 00377 uint16_t sequence; 00378 uint32_t length; 00379 uint16_t num_adaptors; 00380 uint8_t pad1[22]; 00381 } xcb_xv_query_adaptors_reply_t; 00382 00386 typedef struct xcb_xv_query_encodings_cookie_t { 00387 unsigned int sequence; 00388 } xcb_xv_query_encodings_cookie_t; 00389 00391 #define XCB_XV_QUERY_ENCODINGS 2 00392 00396 typedef struct xcb_xv_query_encodings_request_t { 00397 uint8_t major_opcode; 00398 uint8_t minor_opcode; 00399 uint16_t length; 00400 xcb_xv_port_t port; 00401 } xcb_xv_query_encodings_request_t; 00402 00406 typedef struct xcb_xv_query_encodings_reply_t { 00407 uint8_t response_type; 00408 uint8_t pad0; 00409 uint16_t sequence; 00410 uint32_t length; 00411 uint16_t num_encodings; 00412 uint8_t pad1[22]; 00413 } xcb_xv_query_encodings_reply_t; 00414 00418 typedef struct xcb_xv_grab_port_cookie_t { 00419 unsigned int sequence; 00420 } xcb_xv_grab_port_cookie_t; 00421 00423 #define XCB_XV_GRAB_PORT 3 00424 00428 typedef struct xcb_xv_grab_port_request_t { 00429 uint8_t major_opcode; 00430 uint8_t minor_opcode; 00431 uint16_t length; 00432 xcb_xv_port_t port; 00433 xcb_timestamp_t time; 00434 } xcb_xv_grab_port_request_t; 00435 00439 typedef struct xcb_xv_grab_port_reply_t { 00440 uint8_t response_type; 00441 uint8_t result; 00442 uint16_t sequence; 00443 uint32_t length; 00444 } xcb_xv_grab_port_reply_t; 00445 00447 #define XCB_XV_UNGRAB_PORT 4 00448 00452 typedef struct xcb_xv_ungrab_port_request_t { 00453 uint8_t major_opcode; 00454 uint8_t minor_opcode; 00455 uint16_t length; 00456 xcb_xv_port_t port; 00457 xcb_timestamp_t time; 00458 } xcb_xv_ungrab_port_request_t; 00459 00461 #define XCB_XV_PUT_VIDEO 5 00462 00466 typedef struct xcb_xv_put_video_request_t { 00467 uint8_t major_opcode; 00468 uint8_t minor_opcode; 00469 uint16_t length; 00470 xcb_xv_port_t port; 00471 xcb_drawable_t drawable; 00472 xcb_gcontext_t gc; 00473 int16_t vid_x; 00474 int16_t vid_y; 00475 uint16_t vid_w; 00476 uint16_t vid_h; 00477 int16_t drw_x; 00478 int16_t drw_y; 00479 uint16_t drw_w; 00480 uint16_t drw_h; 00481 } xcb_xv_put_video_request_t; 00482 00484 #define XCB_XV_PUT_STILL 6 00485 00489 typedef struct xcb_xv_put_still_request_t { 00490 uint8_t major_opcode; 00491 uint8_t minor_opcode; 00492 uint16_t length; 00493 xcb_xv_port_t port; 00494 xcb_drawable_t drawable; 00495 xcb_gcontext_t gc; 00496 int16_t vid_x; 00497 int16_t vid_y; 00498 uint16_t vid_w; 00499 uint16_t vid_h; 00500 int16_t drw_x; 00501 int16_t drw_y; 00502 uint16_t drw_w; 00503 uint16_t drw_h; 00504 } xcb_xv_put_still_request_t; 00505 00507 #define XCB_XV_GET_VIDEO 7 00508 00512 typedef struct xcb_xv_get_video_request_t { 00513 uint8_t major_opcode; 00514 uint8_t minor_opcode; 00515 uint16_t length; 00516 xcb_xv_port_t port; 00517 xcb_drawable_t drawable; 00518 xcb_gcontext_t gc; 00519 int16_t vid_x; 00520 int16_t vid_y; 00521 uint16_t vid_w; 00522 uint16_t vid_h; 00523 int16_t drw_x; 00524 int16_t drw_y; 00525 uint16_t drw_w; 00526 uint16_t drw_h; 00527 } xcb_xv_get_video_request_t; 00528 00530 #define XCB_XV_GET_STILL 8 00531 00535 typedef struct xcb_xv_get_still_request_t { 00536 uint8_t major_opcode; 00537 uint8_t minor_opcode; 00538 uint16_t length; 00539 xcb_xv_port_t port; 00540 xcb_drawable_t drawable; 00541 xcb_gcontext_t gc; 00542 int16_t vid_x; 00543 int16_t vid_y; 00544 uint16_t vid_w; 00545 uint16_t vid_h; 00546 int16_t drw_x; 00547 int16_t drw_y; 00548 uint16_t drw_w; 00549 uint16_t drw_h; 00550 } xcb_xv_get_still_request_t; 00551 00553 #define XCB_XV_STOP_VIDEO 9 00554 00558 typedef struct xcb_xv_stop_video_request_t { 00559 uint8_t major_opcode; 00560 uint8_t minor_opcode; 00561 uint16_t length; 00562 xcb_xv_port_t port; 00563 xcb_drawable_t drawable; 00564 } xcb_xv_stop_video_request_t; 00565 00567 #define XCB_XV_SELECT_VIDEO_NOTIFY 10 00568 00572 typedef struct xcb_xv_select_video_notify_request_t { 00573 uint8_t major_opcode; 00574 uint8_t minor_opcode; 00575 uint16_t length; 00576 xcb_drawable_t drawable; 00577 uint8_t onoff; 00578 uint8_t pad0[3]; 00579 } xcb_xv_select_video_notify_request_t; 00580 00582 #define XCB_XV_SELECT_PORT_NOTIFY 11 00583 00587 typedef struct xcb_xv_select_port_notify_request_t { 00588 uint8_t major_opcode; 00589 uint8_t minor_opcode; 00590 uint16_t length; 00591 xcb_xv_port_t port; 00592 uint8_t onoff; 00593 uint8_t pad0[3]; 00594 } xcb_xv_select_port_notify_request_t; 00595 00599 typedef struct xcb_xv_query_best_size_cookie_t { 00600 unsigned int sequence; 00601 } xcb_xv_query_best_size_cookie_t; 00602 00604 #define XCB_XV_QUERY_BEST_SIZE 12 00605 00609 typedef struct xcb_xv_query_best_size_request_t { 00610 uint8_t major_opcode; 00611 uint8_t minor_opcode; 00612 uint16_t length; 00613 xcb_xv_port_t port; 00614 uint16_t vid_w; 00615 uint16_t vid_h; 00616 uint16_t drw_w; 00617 uint16_t drw_h; 00618 uint8_t motion; 00619 uint8_t pad0[3]; 00620 } xcb_xv_query_best_size_request_t; 00621 00625 typedef struct xcb_xv_query_best_size_reply_t { 00626 uint8_t response_type; 00627 uint8_t pad0; 00628 uint16_t sequence; 00629 uint32_t length; 00630 uint16_t actual_width; 00631 uint16_t actual_height; 00632 } xcb_xv_query_best_size_reply_t; 00633 00635 #define XCB_XV_SET_PORT_ATTRIBUTE 13 00636 00640 typedef struct xcb_xv_set_port_attribute_request_t { 00641 uint8_t major_opcode; 00642 uint8_t minor_opcode; 00643 uint16_t length; 00644 xcb_xv_port_t port; 00645 xcb_atom_t attribute; 00646 int32_t value; 00647 } xcb_xv_set_port_attribute_request_t; 00648 00652 typedef struct xcb_xv_get_port_attribute_cookie_t { 00653 unsigned int sequence; 00654 } xcb_xv_get_port_attribute_cookie_t; 00655 00657 #define XCB_XV_GET_PORT_ATTRIBUTE 14 00658 00662 typedef struct xcb_xv_get_port_attribute_request_t { 00663 uint8_t major_opcode; 00664 uint8_t minor_opcode; 00665 uint16_t length; 00666 xcb_xv_port_t port; 00667 xcb_atom_t attribute; 00668 } xcb_xv_get_port_attribute_request_t; 00669 00673 typedef struct xcb_xv_get_port_attribute_reply_t { 00674 uint8_t response_type; 00675 uint8_t pad0; 00676 uint16_t sequence; 00677 uint32_t length; 00678 int32_t value; 00679 } xcb_xv_get_port_attribute_reply_t; 00680 00684 typedef struct xcb_xv_query_port_attributes_cookie_t { 00685 unsigned int sequence; 00686 } xcb_xv_query_port_attributes_cookie_t; 00687 00689 #define XCB_XV_QUERY_PORT_ATTRIBUTES 15 00690 00694 typedef struct xcb_xv_query_port_attributes_request_t { 00695 uint8_t major_opcode; 00696 uint8_t minor_opcode; 00697 uint16_t length; 00698 xcb_xv_port_t port; 00699 } xcb_xv_query_port_attributes_request_t; 00700 00704 typedef struct xcb_xv_query_port_attributes_reply_t { 00705 uint8_t response_type; 00706 uint8_t pad0; 00707 uint16_t sequence; 00708 uint32_t length; 00709 uint32_t num_attributes; 00710 uint32_t text_size; 00711 uint8_t pad1[16]; 00712 } xcb_xv_query_port_attributes_reply_t; 00713 00717 typedef struct xcb_xv_list_image_formats_cookie_t { 00718 unsigned int sequence; 00719 } xcb_xv_list_image_formats_cookie_t; 00720 00722 #define XCB_XV_LIST_IMAGE_FORMATS 16 00723 00727 typedef struct xcb_xv_list_image_formats_request_t { 00728 uint8_t major_opcode; 00729 uint8_t minor_opcode; 00730 uint16_t length; 00731 xcb_xv_port_t port; 00732 } xcb_xv_list_image_formats_request_t; 00733 00737 typedef struct xcb_xv_list_image_formats_reply_t { 00738 uint8_t response_type; 00739 uint8_t pad0; 00740 uint16_t sequence; 00741 uint32_t length; 00742 uint32_t num_formats; 00743 uint8_t pad1[20]; 00744 } xcb_xv_list_image_formats_reply_t; 00745 00749 typedef struct xcb_xv_query_image_attributes_cookie_t { 00750 unsigned int sequence; 00751 } xcb_xv_query_image_attributes_cookie_t; 00752 00754 #define XCB_XV_QUERY_IMAGE_ATTRIBUTES 17 00755 00759 typedef struct xcb_xv_query_image_attributes_request_t { 00760 uint8_t major_opcode; 00761 uint8_t minor_opcode; 00762 uint16_t length; 00763 xcb_xv_port_t port; 00764 uint32_t id; 00765 uint16_t width; 00766 uint16_t height; 00767 } xcb_xv_query_image_attributes_request_t; 00768 00772 typedef struct xcb_xv_query_image_attributes_reply_t { 00773 uint8_t response_type; 00774 uint8_t pad0; 00775 uint16_t sequence; 00776 uint32_t length; 00777 uint32_t num_planes; 00778 uint32_t data_size; 00779 uint16_t width; 00780 uint16_t height; 00781 uint8_t pad1[12]; 00782 } xcb_xv_query_image_attributes_reply_t; 00783 00785 #define XCB_XV_PUT_IMAGE 18 00786 00790 typedef struct xcb_xv_put_image_request_t { 00791 uint8_t major_opcode; 00792 uint8_t minor_opcode; 00793 uint16_t length; 00794 xcb_xv_port_t port; 00795 xcb_drawable_t drawable; 00796 xcb_gcontext_t gc; 00797 uint32_t id; 00798 int16_t src_x; 00799 int16_t src_y; 00800 uint16_t src_w; 00801 uint16_t src_h; 00802 int16_t drw_x; 00803 int16_t drw_y; 00804 uint16_t drw_w; 00805 uint16_t drw_h; 00806 uint16_t width; 00807 uint16_t height; 00808 } xcb_xv_put_image_request_t; 00809 00811 #define XCB_XV_SHM_PUT_IMAGE 19 00812 00816 typedef struct xcb_xv_shm_put_image_request_t { 00817 uint8_t major_opcode; 00818 uint8_t minor_opcode; 00819 uint16_t length; 00820 xcb_xv_port_t port; 00821 xcb_drawable_t drawable; 00822 xcb_gcontext_t gc; 00823 xcb_shm_seg_t shmseg; 00824 uint32_t id; 00825 uint32_t offset; 00826 int16_t src_x; 00827 int16_t src_y; 00828 uint16_t src_w; 00829 uint16_t src_h; 00830 int16_t drw_x; 00831 int16_t drw_y; 00832 uint16_t drw_w; 00833 uint16_t drw_h; 00834 uint16_t width; 00835 uint16_t height; 00836 uint8_t send_event; 00837 uint8_t pad0[3]; 00838 } xcb_xv_shm_put_image_request_t; 00839 00848 void 00849 xcb_xv_port_next (xcb_xv_port_iterator_t *i ); 00850 00860 xcb_generic_iterator_t 00861 xcb_xv_port_end (xcb_xv_port_iterator_t i ); 00862 00871 void 00872 xcb_xv_encoding_next (xcb_xv_encoding_iterator_t *i ); 00873 00883 xcb_generic_iterator_t 00884 xcb_xv_encoding_end (xcb_xv_encoding_iterator_t i ); 00885 00894 void 00895 xcb_xv_rational_next (xcb_xv_rational_iterator_t *i ); 00896 00906 xcb_generic_iterator_t 00907 xcb_xv_rational_end (xcb_xv_rational_iterator_t i ); 00908 00917 void 00918 xcb_xv_format_next (xcb_xv_format_iterator_t *i ); 00919 00929 xcb_generic_iterator_t 00930 xcb_xv_format_end (xcb_xv_format_iterator_t i ); 00931 00932 int 00933 xcb_xv_adaptor_info_sizeof (const void *_buffer ); 00934 00935 char * 00936 xcb_xv_adaptor_info_name (const xcb_xv_adaptor_info_t *R ); 00937 00938 int 00939 xcb_xv_adaptor_info_name_length (const xcb_xv_adaptor_info_t *R ); 00940 00941 xcb_generic_iterator_t 00942 xcb_xv_adaptor_info_name_end (const xcb_xv_adaptor_info_t *R ); 00943 00944 xcb_xv_format_t * 00945 xcb_xv_adaptor_info_formats (const xcb_xv_adaptor_info_t *R ); 00946 00947 int 00948 xcb_xv_adaptor_info_formats_length (const xcb_xv_adaptor_info_t *R ); 00949 00950 xcb_xv_format_iterator_t 00951 xcb_xv_adaptor_info_formats_iterator (const xcb_xv_adaptor_info_t *R ); 00952 00961 void 00962 xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i ); 00963 00973 xcb_generic_iterator_t 00974 xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i ); 00975 00976 int 00977 xcb_xv_encoding_info_sizeof (const void *_buffer ); 00978 00979 char * 00980 xcb_xv_encoding_info_name (const xcb_xv_encoding_info_t *R ); 00981 00982 int 00983 xcb_xv_encoding_info_name_length (const xcb_xv_encoding_info_t *R ); 00984 00985 xcb_generic_iterator_t 00986 xcb_xv_encoding_info_name_end (const xcb_xv_encoding_info_t *R ); 00987 00996 void 00997 xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i ); 00998 01008 xcb_generic_iterator_t 01009 xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i ); 01010 01011 int 01012 xcb_xv_image_sizeof (const void *_buffer ); 01013 01014 uint32_t * 01015 xcb_xv_image_pitches (const xcb_xv_image_t *R ); 01016 01017 int 01018 xcb_xv_image_pitches_length (const xcb_xv_image_t *R ); 01019 01020 xcb_generic_iterator_t 01021 xcb_xv_image_pitches_end (const xcb_xv_image_t *R ); 01022 01023 uint32_t * 01024 xcb_xv_image_offsets (const xcb_xv_image_t *R ); 01025 01026 int 01027 xcb_xv_image_offsets_length (const xcb_xv_image_t *R ); 01028 01029 xcb_generic_iterator_t 01030 xcb_xv_image_offsets_end (const xcb_xv_image_t *R ); 01031 01032 uint8_t * 01033 xcb_xv_image_data (const xcb_xv_image_t *R ); 01034 01035 int 01036 xcb_xv_image_data_length (const xcb_xv_image_t *R ); 01037 01038 xcb_generic_iterator_t 01039 xcb_xv_image_data_end (const xcb_xv_image_t *R ); 01040 01049 void 01050 xcb_xv_image_next (xcb_xv_image_iterator_t *i ); 01051 01061 xcb_generic_iterator_t 01062 xcb_xv_image_end (xcb_xv_image_iterator_t i ); 01063 01064 int 01065 xcb_xv_attribute_info_sizeof (const void *_buffer ); 01066 01067 char * 01068 xcb_xv_attribute_info_name (const xcb_xv_attribute_info_t *R ); 01069 01070 int 01071 xcb_xv_attribute_info_name_length (const xcb_xv_attribute_info_t *R ); 01072 01073 xcb_generic_iterator_t 01074 xcb_xv_attribute_info_name_end (const xcb_xv_attribute_info_t *R ); 01075 01084 void 01085 xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i ); 01086 01096 xcb_generic_iterator_t 01097 xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i ); 01098 01107 void 01108 xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i ); 01109 01119 xcb_generic_iterator_t 01120 xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i ); 01121 01130 xcb_xv_query_extension_cookie_t 01131 xcb_xv_query_extension (xcb_connection_t *c ); 01132 01144 xcb_xv_query_extension_cookie_t 01145 xcb_xv_query_extension_unchecked (xcb_connection_t *c ); 01146 01161 xcb_xv_query_extension_reply_t * 01162 xcb_xv_query_extension_reply (xcb_connection_t *c , 01163 xcb_xv_query_extension_cookie_t cookie , 01164 xcb_generic_error_t **e ); 01165 01166 int 01167 xcb_xv_query_adaptors_sizeof (const void *_buffer ); 01168 01177 xcb_xv_query_adaptors_cookie_t 01178 xcb_xv_query_adaptors (xcb_connection_t *c , 01179 xcb_window_t window ); 01180 01192 xcb_xv_query_adaptors_cookie_t 01193 xcb_xv_query_adaptors_unchecked (xcb_connection_t *c , 01194 xcb_window_t window ); 01195 01196 int 01197 xcb_xv_query_adaptors_info_length (const xcb_xv_query_adaptors_reply_t *R ); 01198 01199 xcb_xv_adaptor_info_iterator_t 01200 xcb_xv_query_adaptors_info_iterator (const xcb_xv_query_adaptors_reply_t *R ); 01201 01216 xcb_xv_query_adaptors_reply_t * 01217 xcb_xv_query_adaptors_reply (xcb_connection_t *c , 01218 xcb_xv_query_adaptors_cookie_t cookie , 01219 xcb_generic_error_t **e ); 01220 01221 int 01222 xcb_xv_query_encodings_sizeof (const void *_buffer ); 01223 01232 xcb_xv_query_encodings_cookie_t 01233 xcb_xv_query_encodings (xcb_connection_t *c , 01234 xcb_xv_port_t port ); 01235 01247 xcb_xv_query_encodings_cookie_t 01248 xcb_xv_query_encodings_unchecked (xcb_connection_t *c , 01249 xcb_xv_port_t port ); 01250 01251 int 01252 xcb_xv_query_encodings_info_length (const xcb_xv_query_encodings_reply_t *R ); 01253 01254 xcb_xv_encoding_info_iterator_t 01255 xcb_xv_query_encodings_info_iterator (const xcb_xv_query_encodings_reply_t *R ); 01256 01271 xcb_xv_query_encodings_reply_t * 01272 xcb_xv_query_encodings_reply (xcb_connection_t *c , 01273 xcb_xv_query_encodings_cookie_t cookie , 01274 xcb_generic_error_t **e ); 01275 01284 xcb_xv_grab_port_cookie_t 01285 xcb_xv_grab_port (xcb_connection_t *c , 01286 xcb_xv_port_t port , 01287 xcb_timestamp_t time ); 01288 01300 xcb_xv_grab_port_cookie_t 01301 xcb_xv_grab_port_unchecked (xcb_connection_t *c , 01302 xcb_xv_port_t port , 01303 xcb_timestamp_t time ); 01304 01319 xcb_xv_grab_port_reply_t * 01320 xcb_xv_grab_port_reply (xcb_connection_t *c , 01321 xcb_xv_grab_port_cookie_t cookie , 01322 xcb_generic_error_t **e ); 01323 01335 xcb_void_cookie_t 01336 xcb_xv_ungrab_port_checked (xcb_connection_t *c , 01337 xcb_xv_port_t port , 01338 xcb_timestamp_t time ); 01339 01348 xcb_void_cookie_t 01349 xcb_xv_ungrab_port (xcb_connection_t *c , 01350 xcb_xv_port_t port , 01351 xcb_timestamp_t time ); 01352 01364 xcb_void_cookie_t 01365 xcb_xv_put_video_checked (xcb_connection_t *c , 01366 xcb_xv_port_t port , 01367 xcb_drawable_t drawable , 01368 xcb_gcontext_t gc , 01369 int16_t vid_x , 01370 int16_t vid_y , 01371 uint16_t vid_w , 01372 uint16_t vid_h , 01373 int16_t drw_x , 01374 int16_t drw_y , 01375 uint16_t drw_w , 01376 uint16_t drw_h ); 01377 01386 xcb_void_cookie_t 01387 xcb_xv_put_video (xcb_connection_t *c , 01388 xcb_xv_port_t port , 01389 xcb_drawable_t drawable , 01390 xcb_gcontext_t gc , 01391 int16_t vid_x , 01392 int16_t vid_y , 01393 uint16_t vid_w , 01394 uint16_t vid_h , 01395 int16_t drw_x , 01396 int16_t drw_y , 01397 uint16_t drw_w , 01398 uint16_t drw_h ); 01399 01411 xcb_void_cookie_t 01412 xcb_xv_put_still_checked (xcb_connection_t *c , 01413 xcb_xv_port_t port , 01414 xcb_drawable_t drawable , 01415 xcb_gcontext_t gc , 01416 int16_t vid_x , 01417 int16_t vid_y , 01418 uint16_t vid_w , 01419 uint16_t vid_h , 01420 int16_t drw_x , 01421 int16_t drw_y , 01422 uint16_t drw_w , 01423 uint16_t drw_h ); 01424 01433 xcb_void_cookie_t 01434 xcb_xv_put_still (xcb_connection_t *c , 01435 xcb_xv_port_t port , 01436 xcb_drawable_t drawable , 01437 xcb_gcontext_t gc , 01438 int16_t vid_x , 01439 int16_t vid_y , 01440 uint16_t vid_w , 01441 uint16_t vid_h , 01442 int16_t drw_x , 01443 int16_t drw_y , 01444 uint16_t drw_w , 01445 uint16_t drw_h ); 01446 01458 xcb_void_cookie_t 01459 xcb_xv_get_video_checked (xcb_connection_t *c , 01460 xcb_xv_port_t port , 01461 xcb_drawable_t drawable , 01462 xcb_gcontext_t gc , 01463 int16_t vid_x , 01464 int16_t vid_y , 01465 uint16_t vid_w , 01466 uint16_t vid_h , 01467 int16_t drw_x , 01468 int16_t drw_y , 01469 uint16_t drw_w , 01470 uint16_t drw_h ); 01471 01480 xcb_void_cookie_t 01481 xcb_xv_get_video (xcb_connection_t *c , 01482 xcb_xv_port_t port , 01483 xcb_drawable_t drawable , 01484 xcb_gcontext_t gc , 01485 int16_t vid_x , 01486 int16_t vid_y , 01487 uint16_t vid_w , 01488 uint16_t vid_h , 01489 int16_t drw_x , 01490 int16_t drw_y , 01491 uint16_t drw_w , 01492 uint16_t drw_h ); 01493 01505 xcb_void_cookie_t 01506 xcb_xv_get_still_checked (xcb_connection_t *c , 01507 xcb_xv_port_t port , 01508 xcb_drawable_t drawable , 01509 xcb_gcontext_t gc , 01510 int16_t vid_x , 01511 int16_t vid_y , 01512 uint16_t vid_w , 01513 uint16_t vid_h , 01514 int16_t drw_x , 01515 int16_t drw_y , 01516 uint16_t drw_w , 01517 uint16_t drw_h ); 01518 01527 xcb_void_cookie_t 01528 xcb_xv_get_still (xcb_connection_t *c , 01529 xcb_xv_port_t port , 01530 xcb_drawable_t drawable , 01531 xcb_gcontext_t gc , 01532 int16_t vid_x , 01533 int16_t vid_y , 01534 uint16_t vid_w , 01535 uint16_t vid_h , 01536 int16_t drw_x , 01537 int16_t drw_y , 01538 uint16_t drw_w , 01539 uint16_t drw_h ); 01540 01552 xcb_void_cookie_t 01553 xcb_xv_stop_video_checked (xcb_connection_t *c , 01554 xcb_xv_port_t port , 01555 xcb_drawable_t drawable ); 01556 01565 xcb_void_cookie_t 01566 xcb_xv_stop_video (xcb_connection_t *c , 01567 xcb_xv_port_t port , 01568 xcb_drawable_t drawable ); 01569 01581 xcb_void_cookie_t 01582 xcb_xv_select_video_notify_checked (xcb_connection_t *c , 01583 xcb_drawable_t drawable , 01584 uint8_t onoff ); 01585 01594 xcb_void_cookie_t 01595 xcb_xv_select_video_notify (xcb_connection_t *c , 01596 xcb_drawable_t drawable , 01597 uint8_t onoff ); 01598 01610 xcb_void_cookie_t 01611 xcb_xv_select_port_notify_checked (xcb_connection_t *c , 01612 xcb_xv_port_t port , 01613 uint8_t onoff ); 01614 01623 xcb_void_cookie_t 01624 xcb_xv_select_port_notify (xcb_connection_t *c , 01625 xcb_xv_port_t port , 01626 uint8_t onoff ); 01627 01636 xcb_xv_query_best_size_cookie_t 01637 xcb_xv_query_best_size (xcb_connection_t *c , 01638 xcb_xv_port_t port , 01639 uint16_t vid_w , 01640 uint16_t vid_h , 01641 uint16_t drw_w , 01642 uint16_t drw_h , 01643 uint8_t motion ); 01644 01656 xcb_xv_query_best_size_cookie_t 01657 xcb_xv_query_best_size_unchecked (xcb_connection_t *c , 01658 xcb_xv_port_t port , 01659 uint16_t vid_w , 01660 uint16_t vid_h , 01661 uint16_t drw_w , 01662 uint16_t drw_h , 01663 uint8_t motion ); 01664 01679 xcb_xv_query_best_size_reply_t * 01680 xcb_xv_query_best_size_reply (xcb_connection_t *c , 01681 xcb_xv_query_best_size_cookie_t cookie , 01682 xcb_generic_error_t **e ); 01683 01695 xcb_void_cookie_t 01696 xcb_xv_set_port_attribute_checked (xcb_connection_t *c , 01697 xcb_xv_port_t port , 01698 xcb_atom_t attribute , 01699 int32_t value ); 01700 01709 xcb_void_cookie_t 01710 xcb_xv_set_port_attribute (xcb_connection_t *c , 01711 xcb_xv_port_t port , 01712 xcb_atom_t attribute , 01713 int32_t value ); 01714 01723 xcb_xv_get_port_attribute_cookie_t 01724 xcb_xv_get_port_attribute (xcb_connection_t *c , 01725 xcb_xv_port_t port , 01726 xcb_atom_t attribute ); 01727 01739 xcb_xv_get_port_attribute_cookie_t 01740 xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c , 01741 xcb_xv_port_t port , 01742 xcb_atom_t attribute ); 01743 01758 xcb_xv_get_port_attribute_reply_t * 01759 xcb_xv_get_port_attribute_reply (xcb_connection_t *c , 01760 xcb_xv_get_port_attribute_cookie_t cookie , 01761 xcb_generic_error_t **e ); 01762 01763 int 01764 xcb_xv_query_port_attributes_sizeof (const void *_buffer ); 01765 01774 xcb_xv_query_port_attributes_cookie_t 01775 xcb_xv_query_port_attributes (xcb_connection_t *c , 01776 xcb_xv_port_t port ); 01777 01789 xcb_xv_query_port_attributes_cookie_t 01790 xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c , 01791 xcb_xv_port_t port ); 01792 01793 int 01794 xcb_xv_query_port_attributes_attributes_length (const xcb_xv_query_port_attributes_reply_t *R ); 01795 01796 xcb_xv_attribute_info_iterator_t 01797 xcb_xv_query_port_attributes_attributes_iterator (const xcb_xv_query_port_attributes_reply_t *R ); 01798 01813 xcb_xv_query_port_attributes_reply_t * 01814 xcb_xv_query_port_attributes_reply (xcb_connection_t *c , 01815 xcb_xv_query_port_attributes_cookie_t cookie , 01816 xcb_generic_error_t **e ); 01817 01818 int 01819 xcb_xv_list_image_formats_sizeof (const void *_buffer ); 01820 01829 xcb_xv_list_image_formats_cookie_t 01830 xcb_xv_list_image_formats (xcb_connection_t *c , 01831 xcb_xv_port_t port ); 01832 01844 xcb_xv_list_image_formats_cookie_t 01845 xcb_xv_list_image_formats_unchecked (xcb_connection_t *c , 01846 xcb_xv_port_t port ); 01847 01848 xcb_xv_image_format_info_t * 01849 xcb_xv_list_image_formats_format (const xcb_xv_list_image_formats_reply_t *R ); 01850 01851 int 01852 xcb_xv_list_image_formats_format_length (const xcb_xv_list_image_formats_reply_t *R ); 01853 01854 xcb_xv_image_format_info_iterator_t 01855 xcb_xv_list_image_formats_format_iterator (const xcb_xv_list_image_formats_reply_t *R ); 01856 01871 xcb_xv_list_image_formats_reply_t * 01872 xcb_xv_list_image_formats_reply (xcb_connection_t *c , 01873 xcb_xv_list_image_formats_cookie_t cookie , 01874 xcb_generic_error_t **e ); 01875 01876 int 01877 xcb_xv_query_image_attributes_sizeof (const void *_buffer ); 01878 01887 xcb_xv_query_image_attributes_cookie_t 01888 xcb_xv_query_image_attributes (xcb_connection_t *c , 01889 xcb_xv_port_t port , 01890 uint32_t id , 01891 uint16_t width , 01892 uint16_t height ); 01893 01905 xcb_xv_query_image_attributes_cookie_t 01906 xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c , 01907 xcb_xv_port_t port , 01908 uint32_t id , 01909 uint16_t width , 01910 uint16_t height ); 01911 01912 uint32_t * 01913 xcb_xv_query_image_attributes_pitches (const xcb_xv_query_image_attributes_reply_t *R ); 01914 01915 int 01916 xcb_xv_query_image_attributes_pitches_length (const xcb_xv_query_image_attributes_reply_t *R ); 01917 01918 xcb_generic_iterator_t 01919 xcb_xv_query_image_attributes_pitches_end (const xcb_xv_query_image_attributes_reply_t *R ); 01920 01921 uint32_t * 01922 xcb_xv_query_image_attributes_offsets (const xcb_xv_query_image_attributes_reply_t *R ); 01923 01924 int 01925 xcb_xv_query_image_attributes_offsets_length (const xcb_xv_query_image_attributes_reply_t *R ); 01926 01927 xcb_generic_iterator_t 01928 xcb_xv_query_image_attributes_offsets_end (const xcb_xv_query_image_attributes_reply_t *R ); 01929 01944 xcb_xv_query_image_attributes_reply_t * 01945 xcb_xv_query_image_attributes_reply (xcb_connection_t *c , 01946 xcb_xv_query_image_attributes_cookie_t cookie , 01947 xcb_generic_error_t **e ); 01948 01949 int 01950 xcb_xv_put_image_sizeof (const void *_buffer , 01951 uint32_t data_len ); 01952 01964 xcb_void_cookie_t 01965 xcb_xv_put_image_checked (xcb_connection_t *c , 01966 xcb_xv_port_t port , 01967 xcb_drawable_t drawable , 01968 xcb_gcontext_t gc , 01969 uint32_t id , 01970 int16_t src_x , 01971 int16_t src_y , 01972 uint16_t src_w , 01973 uint16_t src_h , 01974 int16_t drw_x , 01975 int16_t drw_y , 01976 uint16_t drw_w , 01977 uint16_t drw_h , 01978 uint16_t width , 01979 uint16_t height , 01980 uint32_t data_len , 01981 const uint8_t *data ); 01982 01991 xcb_void_cookie_t 01992 xcb_xv_put_image (xcb_connection_t *c , 01993 xcb_xv_port_t port , 01994 xcb_drawable_t drawable , 01995 xcb_gcontext_t gc , 01996 uint32_t id , 01997 int16_t src_x , 01998 int16_t src_y , 01999 uint16_t src_w , 02000 uint16_t src_h , 02001 int16_t drw_x , 02002 int16_t drw_y , 02003 uint16_t drw_w , 02004 uint16_t drw_h , 02005 uint16_t width , 02006 uint16_t height , 02007 uint32_t data_len , 02008 const uint8_t *data ); 02009 02021 xcb_void_cookie_t 02022 xcb_xv_shm_put_image_checked (xcb_connection_t *c , 02023 xcb_xv_port_t port , 02024 xcb_drawable_t drawable , 02025 xcb_gcontext_t gc , 02026 xcb_shm_seg_t shmseg , 02027 uint32_t id , 02028 uint32_t offset , 02029 int16_t src_x , 02030 int16_t src_y , 02031 uint16_t src_w , 02032 uint16_t src_h , 02033 int16_t drw_x , 02034 int16_t drw_y , 02035 uint16_t drw_w , 02036 uint16_t drw_h , 02037 uint16_t width , 02038 uint16_t height , 02039 uint8_t send_event ); 02040 02049 xcb_void_cookie_t 02050 xcb_xv_shm_put_image (xcb_connection_t *c , 02051 xcb_xv_port_t port , 02052 xcb_drawable_t drawable , 02053 xcb_gcontext_t gc , 02054 xcb_shm_seg_t shmseg , 02055 uint32_t id , 02056 uint32_t offset , 02057 int16_t src_x , 02058 int16_t src_y , 02059 uint16_t src_w , 02060 uint16_t src_h , 02061 int16_t drw_x , 02062 int16_t drw_y , 02063 uint16_t drw_w , 02064 uint16_t drw_h , 02065 uint16_t width , 02066 uint16_t height , 02067 uint8_t send_event ); 02068 02069 02070 #ifdef __cplusplus 02071 } 02072 #endif 02073 02074 #endif 02075