00001
00002
00003
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,
00060 XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV
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,
00065 XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR
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,
00075 XCB_XV_VIDEO_NOTIFY_REASON_STOPPED,
00076 XCB_XV_VIDEO_NOTIFY_REASON_BUSY,
00077 XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED,
00078 XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR
00079 } xcb_xv_video_notify_reason_t;
00080
00081 typedef enum xcb_xv_scanline_order_t {
00082 XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM,
00083 XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP
00084 } xcb_xv_scanline_order_t;
00085
00086 typedef enum xcb_xv_grab_port_status_t {
00087 XCB_XV_GRAB_PORT_STATUS_SUCCESS,
00088 XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION,
00089 XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED,
00090 XCB_XV_GRAB_PORT_STATUS_INVALID_TIME,
00091 XCB_XV_GRAB_PORT_STATUS_BAD_REPLY,
00092 XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC
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
00849
00850
00851
00852
00853
00854
00855
00856
00857
00858 void
00859 xcb_xv_port_next (xcb_xv_port_iterator_t *i );
00860
00871
00872
00873
00874
00875
00876
00877
00878
00879
00880 xcb_generic_iterator_t
00881 xcb_xv_port_end (xcb_xv_port_iterator_t i );
00882
00892
00893
00894
00895
00896
00897
00898
00899
00900
00901 void
00902 xcb_xv_encoding_next (xcb_xv_encoding_iterator_t *i );
00903
00914
00915
00916
00917
00918
00919
00920
00921
00922
00923 xcb_generic_iterator_t
00924 xcb_xv_encoding_end (xcb_xv_encoding_iterator_t i );
00925
00935
00936
00937
00938
00939
00940
00941
00942
00943
00944 void
00945 xcb_xv_rational_next (xcb_xv_rational_iterator_t *i );
00946
00957
00958
00959
00960
00961
00962
00963
00964
00965
00966 xcb_generic_iterator_t
00967 xcb_xv_rational_end (xcb_xv_rational_iterator_t i );
00968
00978
00979
00980
00981
00982
00983
00984
00985
00986
00987 void
00988 xcb_xv_format_next (xcb_xv_format_iterator_t *i );
00989
01000
01001
01002
01003
01004
01005
01006
01007
01008
01009 xcb_generic_iterator_t
01010 xcb_xv_format_end (xcb_xv_format_iterator_t i );
01011
01012 int
01013 xcb_xv_adaptor_info_sizeof (const void *_buffer );
01014
01015
01016
01017
01018
01019
01020
01021
01022
01023
01024
01025 char *
01026 xcb_xv_adaptor_info_name (const xcb_xv_adaptor_info_t *R );
01027
01028
01029
01030
01031
01032
01033
01034
01035
01036
01037
01038 int
01039 xcb_xv_adaptor_info_name_length (const xcb_xv_adaptor_info_t *R );
01040
01041
01042
01043
01044
01045
01046
01047
01048
01049
01050
01051 xcb_generic_iterator_t
01052 xcb_xv_adaptor_info_name_end (const xcb_xv_adaptor_info_t *R );
01053
01054
01055
01056
01057
01058
01059
01060
01061
01062
01063
01064 xcb_xv_format_t *
01065 xcb_xv_adaptor_info_formats (const xcb_xv_adaptor_info_t *R );
01066
01067
01068
01069
01070
01071
01072
01073
01074
01075
01076
01077 int
01078 xcb_xv_adaptor_info_formats_length (const xcb_xv_adaptor_info_t *R );
01079
01080
01081
01082
01083
01084
01085
01086
01087
01088
01089
01090 xcb_xv_format_iterator_t
01091 xcb_xv_adaptor_info_formats_iterator (const xcb_xv_adaptor_info_t *R );
01092
01102
01103
01104
01105
01106
01107
01108
01109
01110
01111 void
01112 xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i );
01113
01124
01125
01126
01127
01128
01129
01130
01131
01132
01133 xcb_generic_iterator_t
01134 xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i );
01135
01136 int
01137 xcb_xv_encoding_info_sizeof (const void *_buffer );
01138
01139
01140
01141
01142
01143
01144
01145
01146
01147
01148
01149 char *
01150 xcb_xv_encoding_info_name (const xcb_xv_encoding_info_t *R );
01151
01152
01153
01154
01155
01156
01157
01158
01159
01160
01161
01162 int
01163 xcb_xv_encoding_info_name_length (const xcb_xv_encoding_info_t *R );
01164
01165
01166
01167
01168
01169
01170
01171
01172
01173
01174
01175 xcb_generic_iterator_t
01176 xcb_xv_encoding_info_name_end (const xcb_xv_encoding_info_t *R );
01177
01187
01188
01189
01190
01191
01192
01193
01194
01195
01196 void
01197 xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i );
01198
01209
01210
01211
01212
01213
01214
01215
01216
01217
01218 xcb_generic_iterator_t
01219 xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i );
01220
01221 int
01222 xcb_xv_image_sizeof (const void *_buffer );
01223
01224
01225
01226
01227
01228
01229
01230
01231
01232
01233
01234 uint32_t *
01235 xcb_xv_image_pitches (const xcb_xv_image_t *R );
01236
01237
01238
01239
01240
01241
01242
01243
01244
01245
01246
01247 int
01248 xcb_xv_image_pitches_length (const xcb_xv_image_t *R );
01249
01250
01251
01252
01253
01254
01255
01256
01257
01258
01259
01260 xcb_generic_iterator_t
01261 xcb_xv_image_pitches_end (const xcb_xv_image_t *R );
01262
01263
01264
01265
01266
01267
01268
01269
01270
01271
01272
01273 uint32_t *
01274 xcb_xv_image_offsets (const xcb_xv_image_t *R );
01275
01276
01277
01278
01279
01280
01281
01282
01283
01284
01285
01286 int
01287 xcb_xv_image_offsets_length (const xcb_xv_image_t *R );
01288
01289
01290
01291
01292
01293
01294
01295
01296
01297
01298
01299 xcb_generic_iterator_t
01300 xcb_xv_image_offsets_end (const xcb_xv_image_t *R );
01301
01302
01303
01304
01305
01306
01307
01308
01309
01310
01311
01312 uint8_t *
01313 xcb_xv_image_data (const xcb_xv_image_t *R );
01314
01315
01316
01317
01318
01319
01320
01321
01322
01323
01324
01325 int
01326 xcb_xv_image_data_length (const xcb_xv_image_t *R );
01327
01328
01329
01330
01331
01332
01333
01334
01335
01336
01337
01338 xcb_generic_iterator_t
01339 xcb_xv_image_data_end (const xcb_xv_image_t *R );
01340
01350
01351
01352
01353
01354
01355
01356
01357
01358
01359 void
01360 xcb_xv_image_next (xcb_xv_image_iterator_t *i );
01361
01372
01373
01374
01375
01376
01377
01378
01379
01380
01381 xcb_generic_iterator_t
01382 xcb_xv_image_end (xcb_xv_image_iterator_t i );
01383
01384 int
01385 xcb_xv_attribute_info_sizeof (const void *_buffer );
01386
01387
01388
01389
01390
01391
01392
01393
01394
01395
01396
01397 char *
01398 xcb_xv_attribute_info_name (const xcb_xv_attribute_info_t *R );
01399
01400
01401
01402
01403
01404
01405
01406
01407
01408
01409
01410 int
01411 xcb_xv_attribute_info_name_length (const xcb_xv_attribute_info_t *R );
01412
01413
01414
01415
01416
01417
01418
01419
01420
01421
01422
01423 xcb_generic_iterator_t
01424 xcb_xv_attribute_info_name_end (const xcb_xv_attribute_info_t *R );
01425
01435
01436
01437
01438
01439
01440
01441
01442
01443
01444 void
01445 xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i );
01446
01457
01458
01459
01460
01461
01462
01463
01464
01465
01466 xcb_generic_iterator_t
01467 xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i );
01468
01478
01479
01480
01481
01482
01483
01484
01485
01486
01487 void
01488 xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i );
01489
01500
01501
01502
01503
01504
01505
01506
01507
01508
01509 xcb_generic_iterator_t
01510 xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i );
01511
01521
01522
01523
01524
01525
01526
01527
01528
01529
01530 xcb_xv_query_extension_cookie_t
01531 xcb_xv_query_extension (xcb_connection_t *c );
01532
01545
01546
01547
01548
01549
01550
01551
01552
01553
01554 xcb_xv_query_extension_cookie_t
01555 xcb_xv_query_extension_unchecked (xcb_connection_t *c );
01556
01572
01573
01574
01575
01576
01577
01578
01579
01580
01581
01582
01583 xcb_xv_query_extension_reply_t *
01584 xcb_xv_query_extension_reply (xcb_connection_t *c ,
01585 xcb_xv_query_extension_cookie_t cookie ,
01586 xcb_generic_error_t **e );
01587
01588 int
01589 xcb_xv_query_adaptors_sizeof (const void *_buffer );
01590
01600
01601
01602
01603
01604
01605
01606
01607
01608
01609
01610 xcb_xv_query_adaptors_cookie_t
01611 xcb_xv_query_adaptors (xcb_connection_t *c ,
01612 xcb_window_t window );
01613
01626
01627
01628
01629
01630
01631
01632
01633
01634
01635
01636 xcb_xv_query_adaptors_cookie_t
01637 xcb_xv_query_adaptors_unchecked (xcb_connection_t *c ,
01638 xcb_window_t window );
01639
01640
01641
01642
01643
01644
01645
01646
01647
01648
01649
01650 int
01651 xcb_xv_query_adaptors_info_length (const xcb_xv_query_adaptors_reply_t *R );
01652
01653
01654
01655
01656
01657
01658
01659
01660
01661
01662
01663 xcb_xv_adaptor_info_iterator_t
01664 xcb_xv_query_adaptors_info_iterator (const xcb_xv_query_adaptors_reply_t *R );
01665
01681
01682
01683
01684
01685
01686
01687
01688
01689
01690
01691
01692 xcb_xv_query_adaptors_reply_t *
01693 xcb_xv_query_adaptors_reply (xcb_connection_t *c ,
01694 xcb_xv_query_adaptors_cookie_t cookie ,
01695 xcb_generic_error_t **e );
01696
01697 int
01698 xcb_xv_query_encodings_sizeof (const void *_buffer );
01699
01709
01710
01711
01712
01713
01714
01715
01716
01717
01718
01719 xcb_xv_query_encodings_cookie_t
01720 xcb_xv_query_encodings (xcb_connection_t *c ,
01721 xcb_xv_port_t port );
01722
01735
01736
01737
01738
01739
01740
01741
01742
01743
01744
01745 xcb_xv_query_encodings_cookie_t
01746 xcb_xv_query_encodings_unchecked (xcb_connection_t *c ,
01747 xcb_xv_port_t port );
01748
01749
01750
01751
01752
01753
01754
01755
01756
01757
01758
01759 int
01760 xcb_xv_query_encodings_info_length (const xcb_xv_query_encodings_reply_t *R );
01761
01762
01763
01764
01765
01766
01767
01768
01769
01770
01771
01772 xcb_xv_encoding_info_iterator_t
01773 xcb_xv_query_encodings_info_iterator (const xcb_xv_query_encodings_reply_t *R );
01774
01790
01791
01792
01793
01794
01795
01796
01797
01798
01799
01800
01801 xcb_xv_query_encodings_reply_t *
01802 xcb_xv_query_encodings_reply (xcb_connection_t *c ,
01803 xcb_xv_query_encodings_cookie_t cookie ,
01804 xcb_generic_error_t **e );
01805
01815
01816
01817
01818
01819
01820
01821
01822
01823
01824
01825
01826 xcb_xv_grab_port_cookie_t
01827 xcb_xv_grab_port (xcb_connection_t *c ,
01828 xcb_xv_port_t port ,
01829 xcb_timestamp_t time );
01830
01843
01844
01845
01846
01847
01848
01849
01850
01851
01852
01853
01854 xcb_xv_grab_port_cookie_t
01855 xcb_xv_grab_port_unchecked (xcb_connection_t *c ,
01856 xcb_xv_port_t port ,
01857 xcb_timestamp_t time );
01858
01874
01875
01876
01877
01878
01879
01880
01881
01882
01883
01884
01885 xcb_xv_grab_port_reply_t *
01886 xcb_xv_grab_port_reply (xcb_connection_t *c ,
01887 xcb_xv_grab_port_cookie_t cookie ,
01888 xcb_generic_error_t **e );
01889
01902
01903
01904
01905
01906
01907
01908
01909
01910
01911
01912
01913 xcb_void_cookie_t
01914 xcb_xv_ungrab_port_checked (xcb_connection_t *c ,
01915 xcb_xv_port_t port ,
01916 xcb_timestamp_t time );
01917
01927
01928
01929
01930
01931
01932
01933
01934
01935
01936
01937
01938 xcb_void_cookie_t
01939 xcb_xv_ungrab_port (xcb_connection_t *c ,
01940 xcb_xv_port_t port ,
01941 xcb_timestamp_t time );
01942
01955
01956
01957
01958
01959
01960
01961
01962
01963
01964
01965
01966
01967
01968
01969
01970
01971
01972
01973
01974
01975 xcb_void_cookie_t
01976 xcb_xv_put_video_checked (xcb_connection_t *c ,
01977 xcb_xv_port_t port ,
01978 xcb_drawable_t drawable ,
01979 xcb_gcontext_t gc ,
01980 int16_t vid_x ,
01981 int16_t vid_y ,
01982 uint16_t vid_w ,
01983 uint16_t vid_h ,
01984 int16_t drw_x ,
01985 int16_t drw_y ,
01986 uint16_t drw_w ,
01987 uint16_t drw_h );
01988
01998
01999
02000
02001
02002
02003
02004
02005
02006
02007
02008
02009
02010
02011
02012
02013
02014
02015
02016
02017
02018 xcb_void_cookie_t
02019 xcb_xv_put_video (xcb_connection_t *c ,
02020 xcb_xv_port_t port ,
02021 xcb_drawable_t drawable ,
02022 xcb_gcontext_t gc ,
02023 int16_t vid_x ,
02024 int16_t vid_y ,
02025 uint16_t vid_w ,
02026 uint16_t vid_h ,
02027 int16_t drw_x ,
02028 int16_t drw_y ,
02029 uint16_t drw_w ,
02030 uint16_t drw_h );
02031
02044
02045
02046
02047
02048
02049
02050
02051
02052
02053
02054
02055
02056
02057
02058
02059
02060
02061
02062
02063
02064 xcb_void_cookie_t
02065 xcb_xv_put_still_checked (xcb_connection_t *c ,
02066 xcb_xv_port_t port ,
02067 xcb_drawable_t drawable ,
02068 xcb_gcontext_t gc ,
02069 int16_t vid_x ,
02070 int16_t vid_y ,
02071 uint16_t vid_w ,
02072 uint16_t vid_h ,
02073 int16_t drw_x ,
02074 int16_t drw_y ,
02075 uint16_t drw_w ,
02076 uint16_t drw_h );
02077
02087
02088
02089
02090
02091
02092
02093
02094
02095
02096
02097
02098
02099
02100
02101
02102
02103
02104
02105
02106
02107 xcb_void_cookie_t
02108 xcb_xv_put_still (xcb_connection_t *c ,
02109 xcb_xv_port_t port ,
02110 xcb_drawable_t drawable ,
02111 xcb_gcontext_t gc ,
02112 int16_t vid_x ,
02113 int16_t vid_y ,
02114 uint16_t vid_w ,
02115 uint16_t vid_h ,
02116 int16_t drw_x ,
02117 int16_t drw_y ,
02118 uint16_t drw_w ,
02119 uint16_t drw_h );
02120
02133
02134
02135
02136
02137
02138
02139
02140
02141
02142
02143
02144
02145
02146
02147
02148
02149
02150
02151
02152
02153 xcb_void_cookie_t
02154 xcb_xv_get_video_checked (xcb_connection_t *c ,
02155 xcb_xv_port_t port ,
02156 xcb_drawable_t drawable ,
02157 xcb_gcontext_t gc ,
02158 int16_t vid_x ,
02159 int16_t vid_y ,
02160 uint16_t vid_w ,
02161 uint16_t vid_h ,
02162 int16_t drw_x ,
02163 int16_t drw_y ,
02164 uint16_t drw_w ,
02165 uint16_t drw_h );
02166
02176
02177
02178
02179
02180
02181
02182
02183
02184
02185
02186
02187
02188
02189
02190
02191
02192
02193
02194
02195
02196 xcb_void_cookie_t
02197 xcb_xv_get_video (xcb_connection_t *c ,
02198 xcb_xv_port_t port ,
02199 xcb_drawable_t drawable ,
02200 xcb_gcontext_t gc ,
02201 int16_t vid_x ,
02202 int16_t vid_y ,
02203 uint16_t vid_w ,
02204 uint16_t vid_h ,
02205 int16_t drw_x ,
02206 int16_t drw_y ,
02207 uint16_t drw_w ,
02208 uint16_t drw_h );
02209
02222
02223
02224
02225
02226
02227
02228
02229
02230
02231
02232
02233
02234
02235
02236
02237
02238
02239
02240
02241
02242 xcb_void_cookie_t
02243 xcb_xv_get_still_checked (xcb_connection_t *c ,
02244 xcb_xv_port_t port ,
02245 xcb_drawable_t drawable ,
02246 xcb_gcontext_t gc ,
02247 int16_t vid_x ,
02248 int16_t vid_y ,
02249 uint16_t vid_w ,
02250 uint16_t vid_h ,
02251 int16_t drw_x ,
02252 int16_t drw_y ,
02253 uint16_t drw_w ,
02254 uint16_t drw_h );
02255
02265
02266
02267
02268
02269
02270
02271
02272
02273
02274
02275
02276
02277
02278
02279
02280
02281
02282
02283
02284
02285 xcb_void_cookie_t
02286 xcb_xv_get_still (xcb_connection_t *c ,
02287 xcb_xv_port_t port ,
02288 xcb_drawable_t drawable ,
02289 xcb_gcontext_t gc ,
02290 int16_t vid_x ,
02291 int16_t vid_y ,
02292 uint16_t vid_w ,
02293 uint16_t vid_h ,
02294 int16_t drw_x ,
02295 int16_t drw_y ,
02296 uint16_t drw_w ,
02297 uint16_t drw_h );
02298
02311
02312
02313
02314
02315
02316
02317
02318
02319
02320
02321
02322 xcb_void_cookie_t
02323 xcb_xv_stop_video_checked (xcb_connection_t *c ,
02324 xcb_xv_port_t port ,
02325 xcb_drawable_t drawable );
02326
02336
02337
02338
02339
02340
02341
02342
02343
02344
02345
02346
02347 xcb_void_cookie_t
02348 xcb_xv_stop_video (xcb_connection_t *c ,
02349 xcb_xv_port_t port ,
02350 xcb_drawable_t drawable );
02351
02364
02365
02366
02367
02368
02369
02370
02371
02372
02373
02374
02375 xcb_void_cookie_t
02376 xcb_xv_select_video_notify_checked (xcb_connection_t *c ,
02377 xcb_drawable_t drawable ,
02378 uint8_t onoff );
02379
02389
02390
02391
02392
02393
02394
02395
02396
02397
02398
02399
02400 xcb_void_cookie_t
02401 xcb_xv_select_video_notify (xcb_connection_t *c ,
02402 xcb_drawable_t drawable ,
02403 uint8_t onoff );
02404
02417
02418
02419
02420
02421
02422
02423
02424
02425
02426
02427
02428 xcb_void_cookie_t
02429 xcb_xv_select_port_notify_checked (xcb_connection_t *c ,
02430 xcb_xv_port_t port ,
02431 uint8_t onoff );
02432
02442
02443
02444
02445
02446
02447
02448
02449
02450
02451
02452
02453 xcb_void_cookie_t
02454 xcb_xv_select_port_notify (xcb_connection_t *c ,
02455 xcb_xv_port_t port ,
02456 uint8_t onoff );
02457
02467
02468
02469
02470
02471
02472
02473
02474
02475
02476
02477
02478
02479
02480
02481
02482 xcb_xv_query_best_size_cookie_t
02483 xcb_xv_query_best_size (xcb_connection_t *c ,
02484 xcb_xv_port_t port ,
02485 uint16_t vid_w ,
02486 uint16_t vid_h ,
02487 uint16_t drw_w ,
02488 uint16_t drw_h ,
02489 uint8_t motion );
02490
02503
02504
02505
02506
02507
02508
02509
02510
02511
02512
02513
02514
02515
02516
02517
02518 xcb_xv_query_best_size_cookie_t
02519 xcb_xv_query_best_size_unchecked (xcb_connection_t *c ,
02520 xcb_xv_port_t port ,
02521 uint16_t vid_w ,
02522 uint16_t vid_h ,
02523 uint16_t drw_w ,
02524 uint16_t drw_h ,
02525 uint8_t motion );
02526
02542
02543
02544
02545
02546
02547
02548
02549
02550
02551
02552
02553 xcb_xv_query_best_size_reply_t *
02554 xcb_xv_query_best_size_reply (xcb_connection_t *c ,
02555 xcb_xv_query_best_size_cookie_t cookie ,
02556 xcb_generic_error_t **e );
02557
02570
02571
02572
02573
02574
02575
02576
02577
02578
02579
02580
02581
02582 xcb_void_cookie_t
02583 xcb_xv_set_port_attribute_checked (xcb_connection_t *c ,
02584 xcb_xv_port_t port ,
02585 xcb_atom_t attribute ,
02586 int32_t value );
02587
02597
02598
02599
02600
02601
02602
02603
02604
02605
02606
02607
02608
02609 xcb_void_cookie_t
02610 xcb_xv_set_port_attribute (xcb_connection_t *c ,
02611 xcb_xv_port_t port ,
02612 xcb_atom_t attribute ,
02613 int32_t value );
02614
02624
02625
02626
02627
02628
02629
02630
02631
02632
02633
02634
02635 xcb_xv_get_port_attribute_cookie_t
02636 xcb_xv_get_port_attribute (xcb_connection_t *c ,
02637 xcb_xv_port_t port ,
02638 xcb_atom_t attribute );
02639
02652
02653
02654
02655
02656
02657
02658
02659
02660
02661
02662
02663 xcb_xv_get_port_attribute_cookie_t
02664 xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c ,
02665 xcb_xv_port_t port ,
02666 xcb_atom_t attribute );
02667
02683
02684
02685
02686
02687
02688
02689
02690
02691
02692
02693
02694 xcb_xv_get_port_attribute_reply_t *
02695 xcb_xv_get_port_attribute_reply (xcb_connection_t *c ,
02696 xcb_xv_get_port_attribute_cookie_t cookie ,
02697 xcb_generic_error_t **e );
02698
02699 int
02700 xcb_xv_query_port_attributes_sizeof (const void *_buffer );
02701
02711
02712
02713
02714
02715
02716
02717
02718
02719
02720
02721 xcb_xv_query_port_attributes_cookie_t
02722 xcb_xv_query_port_attributes (xcb_connection_t *c ,
02723 xcb_xv_port_t port );
02724
02737
02738
02739
02740
02741
02742
02743
02744
02745
02746
02747 xcb_xv_query_port_attributes_cookie_t
02748 xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c ,
02749 xcb_xv_port_t port );
02750
02751
02752
02753
02754
02755
02756
02757
02758
02759
02760
02761 int
02762 xcb_xv_query_port_attributes_attributes_length (const xcb_xv_query_port_attributes_reply_t *R );
02763
02764
02765
02766
02767
02768
02769
02770
02771
02772
02773
02774 xcb_xv_attribute_info_iterator_t
02775 xcb_xv_query_port_attributes_attributes_iterator (const xcb_xv_query_port_attributes_reply_t *R );
02776
02792
02793
02794
02795
02796
02797
02798
02799
02800
02801
02802
02803 xcb_xv_query_port_attributes_reply_t *
02804 xcb_xv_query_port_attributes_reply (xcb_connection_t *c ,
02805 xcb_xv_query_port_attributes_cookie_t cookie ,
02806 xcb_generic_error_t **e );
02807
02808 int
02809 xcb_xv_list_image_formats_sizeof (const void *_buffer );
02810
02820
02821
02822
02823
02824
02825
02826
02827
02828
02829
02830 xcb_xv_list_image_formats_cookie_t
02831 xcb_xv_list_image_formats (xcb_connection_t *c ,
02832 xcb_xv_port_t port );
02833
02846
02847
02848
02849
02850
02851
02852
02853
02854
02855
02856 xcb_xv_list_image_formats_cookie_t
02857 xcb_xv_list_image_formats_unchecked (xcb_connection_t *c ,
02858 xcb_xv_port_t port );
02859
02860
02861
02862
02863
02864
02865
02866
02867
02868
02869
02870 xcb_xv_image_format_info_t *
02871 xcb_xv_list_image_formats_format (const xcb_xv_list_image_formats_reply_t *R );
02872
02873
02874
02875
02876
02877
02878
02879
02880
02881
02882
02883 int
02884 xcb_xv_list_image_formats_format_length (const xcb_xv_list_image_formats_reply_t *R );
02885
02886
02887
02888
02889
02890
02891
02892
02893
02894
02895
02896 xcb_xv_image_format_info_iterator_t
02897 xcb_xv_list_image_formats_format_iterator (const xcb_xv_list_image_formats_reply_t *R );
02898
02914
02915
02916
02917
02918
02919
02920
02921
02922
02923
02924
02925 xcb_xv_list_image_formats_reply_t *
02926 xcb_xv_list_image_formats_reply (xcb_connection_t *c ,
02927 xcb_xv_list_image_formats_cookie_t cookie ,
02928 xcb_generic_error_t **e );
02929
02930 int
02931 xcb_xv_query_image_attributes_sizeof (const void *_buffer );
02932
02942
02943
02944
02945
02946
02947
02948
02949
02950
02951
02952
02953
02954
02955 xcb_xv_query_image_attributes_cookie_t
02956 xcb_xv_query_image_attributes (xcb_connection_t *c ,
02957 xcb_xv_port_t port ,
02958 uint32_t id ,
02959 uint16_t width ,
02960 uint16_t height );
02961
02974
02975
02976
02977
02978
02979
02980
02981
02982
02983
02984
02985
02986
02987 xcb_xv_query_image_attributes_cookie_t
02988 xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c ,
02989 xcb_xv_port_t port ,
02990 uint32_t id ,
02991 uint16_t width ,
02992 uint16_t height );
02993
02994
02995
02996
02997
02998
02999
03000
03001
03002
03003
03004 uint32_t *
03005 xcb_xv_query_image_attributes_pitches (const xcb_xv_query_image_attributes_reply_t *R );
03006
03007
03008
03009
03010
03011
03012
03013
03014
03015
03016
03017 int
03018 xcb_xv_query_image_attributes_pitches_length (const xcb_xv_query_image_attributes_reply_t *R );
03019
03020
03021
03022
03023
03024
03025
03026
03027
03028
03029
03030 xcb_generic_iterator_t
03031 xcb_xv_query_image_attributes_pitches_end (const xcb_xv_query_image_attributes_reply_t *R );
03032
03033
03034
03035
03036
03037
03038
03039
03040
03041
03042
03043 uint32_t *
03044 xcb_xv_query_image_attributes_offsets (const xcb_xv_query_image_attributes_reply_t *R );
03045
03046
03047
03048
03049
03050
03051
03052
03053
03054
03055
03056 int
03057 xcb_xv_query_image_attributes_offsets_length (const xcb_xv_query_image_attributes_reply_t *R );
03058
03059
03060
03061
03062
03063
03064
03065
03066
03067
03068
03069 xcb_generic_iterator_t
03070 xcb_xv_query_image_attributes_offsets_end (const xcb_xv_query_image_attributes_reply_t *R );
03071
03087
03088
03089
03090
03091
03092
03093
03094
03095
03096
03097
03098 xcb_xv_query_image_attributes_reply_t *
03099 xcb_xv_query_image_attributes_reply (xcb_connection_t *c ,
03100 xcb_xv_query_image_attributes_cookie_t cookie ,
03101 xcb_generic_error_t **e );
03102
03103 int
03104 xcb_xv_put_image_sizeof (const void *_buffer ,
03105 uint32_t data_len );
03106
03119
03120
03121
03122
03123
03124
03125
03126
03127
03128
03129
03130
03131
03132
03133
03134
03135
03136
03137
03138
03139
03140
03141
03142
03143
03144 xcb_void_cookie_t
03145 xcb_xv_put_image_checked (xcb_connection_t *c ,
03146 xcb_xv_port_t port ,
03147 xcb_drawable_t drawable ,
03148 xcb_gcontext_t gc ,
03149 uint32_t id ,
03150 int16_t src_x ,
03151 int16_t src_y ,
03152 uint16_t src_w ,
03153 uint16_t src_h ,
03154 int16_t drw_x ,
03155 int16_t drw_y ,
03156 uint16_t drw_w ,
03157 uint16_t drw_h ,
03158 uint16_t width ,
03159 uint16_t height ,
03160 uint32_t data_len ,
03161 const uint8_t *data );
03162
03172
03173
03174
03175
03176
03177
03178
03179
03180
03181
03182
03183
03184
03185
03186
03187
03188
03189
03190
03191
03192
03193
03194
03195
03196
03197 xcb_void_cookie_t
03198 xcb_xv_put_image (xcb_connection_t *c ,
03199 xcb_xv_port_t port ,
03200 xcb_drawable_t drawable ,
03201 xcb_gcontext_t gc ,
03202 uint32_t id ,
03203 int16_t src_x ,
03204 int16_t src_y ,
03205 uint16_t src_w ,
03206 uint16_t src_h ,
03207 int16_t drw_x ,
03208 int16_t drw_y ,
03209 uint16_t drw_w ,
03210 uint16_t drw_h ,
03211 uint16_t width ,
03212 uint16_t height ,
03213 uint32_t data_len ,
03214 const uint8_t *data );
03215
03228
03229
03230
03231
03232
03233
03234
03235
03236
03237
03238
03239
03240
03241
03242
03243
03244
03245
03246
03247
03248
03249
03250
03251
03252
03253
03254 xcb_void_cookie_t
03255 xcb_xv_shm_put_image_checked (xcb_connection_t *c ,
03256 xcb_xv_port_t port ,
03257 xcb_drawable_t drawable ,
03258 xcb_gcontext_t gc ,
03259 xcb_shm_seg_t shmseg ,
03260 uint32_t id ,
03261 uint32_t offset ,
03262 int16_t src_x ,
03263 int16_t src_y ,
03264 uint16_t src_w ,
03265 uint16_t src_h ,
03266 int16_t drw_x ,
03267 int16_t drw_y ,
03268 uint16_t drw_w ,
03269 uint16_t drw_h ,
03270 uint16_t width ,
03271 uint16_t height ,
03272 uint8_t send_event );
03273
03283
03284
03285
03286
03287
03288
03289
03290
03291
03292
03293
03294
03295
03296
03297
03298
03299
03300
03301
03302
03303
03304
03305
03306
03307
03308
03309 xcb_void_cookie_t
03310 xcb_xv_shm_put_image (xcb_connection_t *c ,
03311 xcb_xv_port_t port ,
03312 xcb_drawable_t drawable ,
03313 xcb_gcontext_t gc ,
03314 xcb_shm_seg_t shmseg ,
03315 uint32_t id ,
03316 uint32_t offset ,
03317 int16_t src_x ,
03318 int16_t src_y ,
03319 uint16_t src_w ,
03320 uint16_t src_h ,
03321 int16_t drw_x ,
03322 int16_t drw_y ,
03323 uint16_t drw_w ,
03324 uint16_t drw_h ,
03325 uint16_t width ,
03326 uint16_t height ,
03327 uint8_t send_event );
03328
03329
03330 #ifdef __cplusplus
03331 }
03332 #endif
03333
03334 #endif
03335