jpayne@69: /* jpayne@69: * This file generated automatically from xv.xml by c_client.py. jpayne@69: * Edit at your peril. jpayne@69: */ jpayne@69: jpayne@69: /** jpayne@69: * @defgroup XCB_Xv_API XCB Xv API jpayne@69: * @brief Xv XCB Protocol Implementation. jpayne@69: * @{ jpayne@69: **/ jpayne@69: jpayne@69: #ifndef __XV_H jpayne@69: #define __XV_H jpayne@69: jpayne@69: #include "xcb.h" jpayne@69: #include "xproto.h" jpayne@69: #include "shm.h" jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: extern "C" { jpayne@69: #endif jpayne@69: jpayne@69: #define XCB_XV_MAJOR_VERSION 2 jpayne@69: #define XCB_XV_MINOR_VERSION 2 jpayne@69: jpayne@69: extern xcb_extension_t xcb_xv_id; jpayne@69: jpayne@69: typedef uint32_t xcb_xv_port_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_port_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_port_iterator_t { jpayne@69: xcb_xv_port_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_port_iterator_t; jpayne@69: jpayne@69: typedef uint32_t xcb_xv_encoding_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_encoding_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_encoding_iterator_t { jpayne@69: xcb_xv_encoding_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_encoding_iterator_t; jpayne@69: jpayne@69: typedef enum xcb_xv_type_t { jpayne@69: XCB_XV_TYPE_INPUT_MASK = 1, jpayne@69: XCB_XV_TYPE_OUTPUT_MASK = 2, jpayne@69: XCB_XV_TYPE_VIDEO_MASK = 4, jpayne@69: XCB_XV_TYPE_STILL_MASK = 8, jpayne@69: XCB_XV_TYPE_IMAGE_MASK = 16 jpayne@69: } xcb_xv_type_t; jpayne@69: jpayne@69: typedef enum xcb_xv_image_format_info_type_t { jpayne@69: XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB = 0, jpayne@69: XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV = 1 jpayne@69: } xcb_xv_image_format_info_type_t; jpayne@69: jpayne@69: typedef enum xcb_xv_image_format_info_format_t { jpayne@69: XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED = 0, jpayne@69: XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR = 1 jpayne@69: } xcb_xv_image_format_info_format_t; jpayne@69: jpayne@69: typedef enum xcb_xv_attribute_flag_t { jpayne@69: XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 1, jpayne@69: XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 2 jpayne@69: } xcb_xv_attribute_flag_t; jpayne@69: jpayne@69: typedef enum xcb_xv_video_notify_reason_t { jpayne@69: XCB_XV_VIDEO_NOTIFY_REASON_STARTED = 0, jpayne@69: XCB_XV_VIDEO_NOTIFY_REASON_STOPPED = 1, jpayne@69: XCB_XV_VIDEO_NOTIFY_REASON_BUSY = 2, jpayne@69: XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED = 3, jpayne@69: XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR = 4 jpayne@69: } xcb_xv_video_notify_reason_t; jpayne@69: jpayne@69: typedef enum xcb_xv_scanline_order_t { jpayne@69: XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM = 0, jpayne@69: XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP = 1 jpayne@69: } xcb_xv_scanline_order_t; jpayne@69: jpayne@69: typedef enum xcb_xv_grab_port_status_t { jpayne@69: XCB_XV_GRAB_PORT_STATUS_SUCCESS = 0, jpayne@69: XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION = 1, jpayne@69: XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED = 2, jpayne@69: XCB_XV_GRAB_PORT_STATUS_INVALID_TIME = 3, jpayne@69: XCB_XV_GRAB_PORT_STATUS_BAD_REPLY = 4, jpayne@69: XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC = 5 jpayne@69: } xcb_xv_grab_port_status_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_rational_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_rational_t { jpayne@69: int32_t numerator; jpayne@69: int32_t denominator; jpayne@69: } xcb_xv_rational_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_rational_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_rational_iterator_t { jpayne@69: xcb_xv_rational_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_rational_iterator_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_format_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_format_t { jpayne@69: xcb_visualid_t visual; jpayne@69: uint8_t depth; jpayne@69: uint8_t pad0[3]; jpayne@69: } xcb_xv_format_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_format_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_format_iterator_t { jpayne@69: xcb_xv_format_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_format_iterator_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_adaptor_info_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_adaptor_info_t { jpayne@69: xcb_xv_port_t base_id; jpayne@69: uint16_t name_size; jpayne@69: uint16_t num_ports; jpayne@69: uint16_t num_formats; jpayne@69: uint8_t type; jpayne@69: uint8_t pad0; jpayne@69: } xcb_xv_adaptor_info_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_adaptor_info_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_adaptor_info_iterator_t { jpayne@69: xcb_xv_adaptor_info_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_adaptor_info_iterator_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_encoding_info_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_encoding_info_t { jpayne@69: xcb_xv_encoding_t encoding; jpayne@69: uint16_t name_size; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: uint8_t pad0[2]; jpayne@69: xcb_xv_rational_t rate; jpayne@69: } xcb_xv_encoding_info_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_encoding_info_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_encoding_info_iterator_t { jpayne@69: xcb_xv_encoding_info_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_encoding_info_iterator_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_image_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_image_t { jpayne@69: uint32_t id; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: uint32_t data_size; jpayne@69: uint32_t num_planes; jpayne@69: } xcb_xv_image_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_image_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_image_iterator_t { jpayne@69: xcb_xv_image_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_image_iterator_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_attribute_info_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_attribute_info_t { jpayne@69: uint32_t flags; jpayne@69: int32_t min; jpayne@69: int32_t max; jpayne@69: uint32_t size; jpayne@69: } xcb_xv_attribute_info_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_attribute_info_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_attribute_info_iterator_t { jpayne@69: xcb_xv_attribute_info_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_attribute_info_iterator_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_image_format_info_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_image_format_info_t { jpayne@69: uint32_t id; jpayne@69: uint8_t type; jpayne@69: uint8_t byte_order; jpayne@69: uint8_t pad0[2]; jpayne@69: uint8_t guid[16]; jpayne@69: uint8_t bpp; jpayne@69: uint8_t num_planes; jpayne@69: uint8_t pad1[2]; jpayne@69: uint8_t depth; jpayne@69: uint8_t pad2[3]; jpayne@69: uint32_t red_mask; jpayne@69: uint32_t green_mask; jpayne@69: uint32_t blue_mask; jpayne@69: uint8_t format; jpayne@69: uint8_t pad3[3]; jpayne@69: uint32_t y_sample_bits; jpayne@69: uint32_t u_sample_bits; jpayne@69: uint32_t v_sample_bits; jpayne@69: uint32_t vhorz_y_period; jpayne@69: uint32_t vhorz_u_period; jpayne@69: uint32_t vhorz_v_period; jpayne@69: uint32_t vvert_y_period; jpayne@69: uint32_t vvert_u_period; jpayne@69: uint32_t vvert_v_period; jpayne@69: uint8_t vcomp_order[32]; jpayne@69: uint8_t vscanline_order; jpayne@69: uint8_t pad4[11]; jpayne@69: } xcb_xv_image_format_info_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_image_format_info_iterator_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_image_format_info_iterator_t { jpayne@69: xcb_xv_image_format_info_t *data; jpayne@69: int rem; jpayne@69: int index; jpayne@69: } xcb_xv_image_format_info_iterator_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_bad_port. */ jpayne@69: #define XCB_XV_BAD_PORT 0 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_bad_port_error_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_bad_port_error_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t error_code; jpayne@69: uint16_t sequence; jpayne@69: uint32_t bad_value; jpayne@69: uint16_t minor_opcode; jpayne@69: uint8_t major_opcode; jpayne@69: } xcb_xv_bad_port_error_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_bad_encoding. */ jpayne@69: #define XCB_XV_BAD_ENCODING 1 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_bad_encoding_error_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_bad_encoding_error_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t error_code; jpayne@69: uint16_t sequence; jpayne@69: uint32_t bad_value; jpayne@69: uint16_t minor_opcode; jpayne@69: uint8_t major_opcode; jpayne@69: } xcb_xv_bad_encoding_error_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_bad_control. */ jpayne@69: #define XCB_XV_BAD_CONTROL 2 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_bad_control_error_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_bad_control_error_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t error_code; jpayne@69: uint16_t sequence; jpayne@69: uint32_t bad_value; jpayne@69: uint16_t minor_opcode; jpayne@69: uint8_t major_opcode; jpayne@69: } xcb_xv_bad_control_error_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_video_notify. */ jpayne@69: #define XCB_XV_VIDEO_NOTIFY 0 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_video_notify_event_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_video_notify_event_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t reason; jpayne@69: uint16_t sequence; jpayne@69: xcb_timestamp_t time; jpayne@69: xcb_drawable_t drawable; jpayne@69: xcb_xv_port_t port; jpayne@69: } xcb_xv_video_notify_event_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_port_notify. */ jpayne@69: #define XCB_XV_PORT_NOTIFY 1 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_port_notify_event_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_port_notify_event_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: xcb_timestamp_t time; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_atom_t attribute; jpayne@69: int32_t value; jpayne@69: } xcb_xv_port_notify_event_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_extension_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_extension_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_query_extension_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_query_extension. */ jpayne@69: #define XCB_XV_QUERY_EXTENSION 0 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_extension_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_extension_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: } xcb_xv_query_extension_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_extension_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_extension_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint16_t major; jpayne@69: uint16_t minor; jpayne@69: } xcb_xv_query_extension_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_adaptors_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_adaptors_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_query_adaptors_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_query_adaptors. */ jpayne@69: #define XCB_XV_QUERY_ADAPTORS 1 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_adaptors_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_adaptors_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_window_t window; jpayne@69: } xcb_xv_query_adaptors_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_adaptors_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_adaptors_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint16_t num_adaptors; jpayne@69: uint8_t pad1[22]; jpayne@69: } xcb_xv_query_adaptors_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_encodings_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_encodings_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_query_encodings_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_query_encodings. */ jpayne@69: #define XCB_XV_QUERY_ENCODINGS 2 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_encodings_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_encodings_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: } xcb_xv_query_encodings_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_encodings_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_encodings_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint16_t num_encodings; jpayne@69: uint8_t pad1[22]; jpayne@69: } xcb_xv_query_encodings_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_grab_port_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_grab_port_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_grab_port_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_grab_port. */ jpayne@69: #define XCB_XV_GRAB_PORT 3 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_grab_port_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_grab_port_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_timestamp_t time; jpayne@69: } xcb_xv_grab_port_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_grab_port_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_grab_port_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t result; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: } xcb_xv_grab_port_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_ungrab_port. */ jpayne@69: #define XCB_XV_UNGRAB_PORT 4 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_ungrab_port_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_ungrab_port_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_timestamp_t time; jpayne@69: } xcb_xv_ungrab_port_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_put_video. */ jpayne@69: #define XCB_XV_PUT_VIDEO 5 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_put_video_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_put_video_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_drawable_t drawable; jpayne@69: xcb_gcontext_t gc; jpayne@69: int16_t vid_x; jpayne@69: int16_t vid_y; jpayne@69: uint16_t vid_w; jpayne@69: uint16_t vid_h; jpayne@69: int16_t drw_x; jpayne@69: int16_t drw_y; jpayne@69: uint16_t drw_w; jpayne@69: uint16_t drw_h; jpayne@69: } xcb_xv_put_video_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_put_still. */ jpayne@69: #define XCB_XV_PUT_STILL 6 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_put_still_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_put_still_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_drawable_t drawable; jpayne@69: xcb_gcontext_t gc; jpayne@69: int16_t vid_x; jpayne@69: int16_t vid_y; jpayne@69: uint16_t vid_w; jpayne@69: uint16_t vid_h; jpayne@69: int16_t drw_x; jpayne@69: int16_t drw_y; jpayne@69: uint16_t drw_w; jpayne@69: uint16_t drw_h; jpayne@69: } xcb_xv_put_still_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_get_video. */ jpayne@69: #define XCB_XV_GET_VIDEO 7 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_get_video_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_get_video_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_drawable_t drawable; jpayne@69: xcb_gcontext_t gc; jpayne@69: int16_t vid_x; jpayne@69: int16_t vid_y; jpayne@69: uint16_t vid_w; jpayne@69: uint16_t vid_h; jpayne@69: int16_t drw_x; jpayne@69: int16_t drw_y; jpayne@69: uint16_t drw_w; jpayne@69: uint16_t drw_h; jpayne@69: } xcb_xv_get_video_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_get_still. */ jpayne@69: #define XCB_XV_GET_STILL 8 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_get_still_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_get_still_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_drawable_t drawable; jpayne@69: xcb_gcontext_t gc; jpayne@69: int16_t vid_x; jpayne@69: int16_t vid_y; jpayne@69: uint16_t vid_w; jpayne@69: uint16_t vid_h; jpayne@69: int16_t drw_x; jpayne@69: int16_t drw_y; jpayne@69: uint16_t drw_w; jpayne@69: uint16_t drw_h; jpayne@69: } xcb_xv_get_still_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_stop_video. */ jpayne@69: #define XCB_XV_STOP_VIDEO 9 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_stop_video_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_stop_video_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_drawable_t drawable; jpayne@69: } xcb_xv_stop_video_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_select_video_notify. */ jpayne@69: #define XCB_XV_SELECT_VIDEO_NOTIFY 10 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_select_video_notify_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_select_video_notify_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_drawable_t drawable; jpayne@69: uint8_t onoff; jpayne@69: uint8_t pad0[3]; jpayne@69: } xcb_xv_select_video_notify_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_select_port_notify. */ jpayne@69: #define XCB_XV_SELECT_PORT_NOTIFY 11 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_select_port_notify_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_select_port_notify_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: uint8_t onoff; jpayne@69: uint8_t pad0[3]; jpayne@69: } xcb_xv_select_port_notify_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_best_size_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_best_size_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_query_best_size_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_query_best_size. */ jpayne@69: #define XCB_XV_QUERY_BEST_SIZE 12 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_best_size_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_best_size_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: uint16_t vid_w; jpayne@69: uint16_t vid_h; jpayne@69: uint16_t drw_w; jpayne@69: uint16_t drw_h; jpayne@69: uint8_t motion; jpayne@69: uint8_t pad0[3]; jpayne@69: } xcb_xv_query_best_size_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_best_size_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_best_size_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint16_t actual_width; jpayne@69: uint16_t actual_height; jpayne@69: } xcb_xv_query_best_size_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_set_port_attribute. */ jpayne@69: #define XCB_XV_SET_PORT_ATTRIBUTE 13 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_set_port_attribute_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_set_port_attribute_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_atom_t attribute; jpayne@69: int32_t value; jpayne@69: } xcb_xv_set_port_attribute_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_get_port_attribute_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_get_port_attribute_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_get_port_attribute_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_get_port_attribute. */ jpayne@69: #define XCB_XV_GET_PORT_ATTRIBUTE 14 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_get_port_attribute_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_get_port_attribute_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_atom_t attribute; jpayne@69: } xcb_xv_get_port_attribute_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_get_port_attribute_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_get_port_attribute_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: int32_t value; jpayne@69: } xcb_xv_get_port_attribute_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_port_attributes_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_port_attributes_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_query_port_attributes_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_query_port_attributes. */ jpayne@69: #define XCB_XV_QUERY_PORT_ATTRIBUTES 15 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_port_attributes_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_port_attributes_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: } xcb_xv_query_port_attributes_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_port_attributes_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_port_attributes_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t num_attributes; jpayne@69: uint32_t text_size; jpayne@69: uint8_t pad1[16]; jpayne@69: } xcb_xv_query_port_attributes_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_list_image_formats_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_list_image_formats_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_list_image_formats_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_list_image_formats. */ jpayne@69: #define XCB_XV_LIST_IMAGE_FORMATS 16 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_list_image_formats_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_list_image_formats_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: } xcb_xv_list_image_formats_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_list_image_formats_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_list_image_formats_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t num_formats; jpayne@69: uint8_t pad1[20]; jpayne@69: } xcb_xv_list_image_formats_reply_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_image_attributes_cookie_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_image_attributes_cookie_t { jpayne@69: unsigned int sequence; jpayne@69: } xcb_xv_query_image_attributes_cookie_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_query_image_attributes. */ jpayne@69: #define XCB_XV_QUERY_IMAGE_ATTRIBUTES 17 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_image_attributes_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_image_attributes_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: uint32_t id; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: } xcb_xv_query_image_attributes_request_t; jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_query_image_attributes_reply_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_query_image_attributes_reply_t { jpayne@69: uint8_t response_type; jpayne@69: uint8_t pad0; jpayne@69: uint16_t sequence; jpayne@69: uint32_t length; jpayne@69: uint32_t num_planes; jpayne@69: uint32_t data_size; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: uint8_t pad1[12]; jpayne@69: } xcb_xv_query_image_attributes_reply_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_put_image. */ jpayne@69: #define XCB_XV_PUT_IMAGE 18 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_put_image_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_put_image_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_drawable_t drawable; jpayne@69: xcb_gcontext_t gc; jpayne@69: uint32_t id; jpayne@69: int16_t src_x; jpayne@69: int16_t src_y; jpayne@69: uint16_t src_w; jpayne@69: uint16_t src_h; jpayne@69: int16_t drw_x; jpayne@69: int16_t drw_y; jpayne@69: uint16_t drw_w; jpayne@69: uint16_t drw_h; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: } xcb_xv_put_image_request_t; jpayne@69: jpayne@69: /** Opcode for xcb_xv_shm_put_image. */ jpayne@69: #define XCB_XV_SHM_PUT_IMAGE 19 jpayne@69: jpayne@69: /** jpayne@69: * @brief xcb_xv_shm_put_image_request_t jpayne@69: **/ jpayne@69: typedef struct xcb_xv_shm_put_image_request_t { jpayne@69: uint8_t major_opcode; jpayne@69: uint8_t minor_opcode; jpayne@69: uint16_t length; jpayne@69: xcb_xv_port_t port; jpayne@69: xcb_drawable_t drawable; jpayne@69: xcb_gcontext_t gc; jpayne@69: xcb_shm_seg_t shmseg; jpayne@69: uint32_t id; jpayne@69: uint32_t offset; jpayne@69: int16_t src_x; jpayne@69: int16_t src_y; jpayne@69: uint16_t src_w; jpayne@69: uint16_t src_h; jpayne@69: int16_t drw_x; jpayne@69: int16_t drw_y; jpayne@69: uint16_t drw_w; jpayne@69: uint16_t drw_h; jpayne@69: uint16_t width; jpayne@69: uint16_t height; jpayne@69: uint8_t send_event; jpayne@69: uint8_t pad0[3]; jpayne@69: } xcb_xv_shm_put_image_request_t; jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_port_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_port_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_port_next (xcb_xv_port_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_port_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_port_end (xcb_xv_port_iterator_t i); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_encoding_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_encoding_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_encoding_next (xcb_xv_encoding_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_encoding_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_encoding_end (xcb_xv_encoding_iterator_t i); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_rational_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_rational_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_rational_next (xcb_xv_rational_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_rational_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_rational_end (xcb_xv_rational_iterator_t i); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_format_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_format_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_format_next (xcb_xv_format_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_format_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_format_end (xcb_xv_format_iterator_t i); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_adaptor_info_sizeof (const void *_buffer); jpayne@69: jpayne@69: char * jpayne@69: xcb_xv_adaptor_info_name (const xcb_xv_adaptor_info_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_adaptor_info_name_length (const xcb_xv_adaptor_info_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_adaptor_info_name_end (const xcb_xv_adaptor_info_t *R); jpayne@69: jpayne@69: xcb_xv_format_t * jpayne@69: xcb_xv_adaptor_info_formats (const xcb_xv_adaptor_info_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_adaptor_info_formats_length (const xcb_xv_adaptor_info_t *R); jpayne@69: jpayne@69: xcb_xv_format_iterator_t jpayne@69: xcb_xv_adaptor_info_formats_iterator (const xcb_xv_adaptor_info_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_adaptor_info_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_adaptor_info_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_adaptor_info_next (xcb_xv_adaptor_info_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_adaptor_info_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_adaptor_info_end (xcb_xv_adaptor_info_iterator_t i); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_encoding_info_sizeof (const void *_buffer); jpayne@69: jpayne@69: char * jpayne@69: xcb_xv_encoding_info_name (const xcb_xv_encoding_info_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_encoding_info_name_length (const xcb_xv_encoding_info_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_encoding_info_name_end (const xcb_xv_encoding_info_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_encoding_info_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_encoding_info_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_encoding_info_next (xcb_xv_encoding_info_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_encoding_info_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_encoding_info_end (xcb_xv_encoding_info_iterator_t i); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_image_sizeof (const void *_buffer); jpayne@69: jpayne@69: uint32_t * jpayne@69: xcb_xv_image_pitches (const xcb_xv_image_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_image_pitches_length (const xcb_xv_image_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_image_pitches_end (const xcb_xv_image_t *R); jpayne@69: jpayne@69: uint32_t * jpayne@69: xcb_xv_image_offsets (const xcb_xv_image_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_image_offsets_length (const xcb_xv_image_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_image_offsets_end (const xcb_xv_image_t *R); jpayne@69: jpayne@69: uint8_t * jpayne@69: xcb_xv_image_data (const xcb_xv_image_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_image_data_length (const xcb_xv_image_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_image_data_end (const xcb_xv_image_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_image_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_image_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_image_next (xcb_xv_image_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_image_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_image_end (xcb_xv_image_iterator_t i); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_attribute_info_sizeof (const void *_buffer); jpayne@69: jpayne@69: char * jpayne@69: xcb_xv_attribute_info_name (const xcb_xv_attribute_info_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_attribute_info_name_length (const xcb_xv_attribute_info_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_attribute_info_name_end (const xcb_xv_attribute_info_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_attribute_info_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_attribute_info_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_attribute_info_next (xcb_xv_attribute_info_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_attribute_info_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_attribute_info_end (xcb_xv_attribute_info_iterator_t i); jpayne@69: jpayne@69: /** jpayne@69: * Get the next element of the iterator jpayne@69: * @param i Pointer to a xcb_xv_image_format_info_iterator_t jpayne@69: * jpayne@69: * Get the next element in the iterator. The member rem is jpayne@69: * decreased by one. The member data points to the next jpayne@69: * element. The member index is increased by sizeof(xcb_xv_image_format_info_t) jpayne@69: */ jpayne@69: void jpayne@69: xcb_xv_image_format_info_next (xcb_xv_image_format_info_iterator_t *i); jpayne@69: jpayne@69: /** jpayne@69: * Return the iterator pointing to the last element jpayne@69: * @param i An xcb_xv_image_format_info_iterator_t jpayne@69: * @return The iterator pointing to the last element jpayne@69: * jpayne@69: * Set the current element in the iterator to the last element. jpayne@69: * The member rem is set to 0. The member data points to the jpayne@69: * last element. jpayne@69: */ jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_image_format_info_end (xcb_xv_image_format_info_iterator_t i); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_query_extension_cookie_t jpayne@69: xcb_xv_query_extension (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_query_extension_cookie_t jpayne@69: xcb_xv_query_extension_unchecked (xcb_connection_t *c); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_query_extension_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_query_extension_reply_t * jpayne@69: xcb_xv_query_extension_reply (xcb_connection_t *c, jpayne@69: xcb_xv_query_extension_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_adaptors_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_query_adaptors_cookie_t jpayne@69: xcb_xv_query_adaptors (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_query_adaptors_cookie_t jpayne@69: xcb_xv_query_adaptors_unchecked (xcb_connection_t *c, jpayne@69: xcb_window_t window); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_adaptors_info_length (const xcb_xv_query_adaptors_reply_t *R); jpayne@69: jpayne@69: xcb_xv_adaptor_info_iterator_t jpayne@69: xcb_xv_query_adaptors_info_iterator (const xcb_xv_query_adaptors_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_query_adaptors_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_query_adaptors_reply_t * jpayne@69: xcb_xv_query_adaptors_reply (xcb_connection_t *c, jpayne@69: xcb_xv_query_adaptors_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_encodings_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_query_encodings_cookie_t jpayne@69: xcb_xv_query_encodings (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_query_encodings_cookie_t jpayne@69: xcb_xv_query_encodings_unchecked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_encodings_info_length (const xcb_xv_query_encodings_reply_t *R); jpayne@69: jpayne@69: xcb_xv_encoding_info_iterator_t jpayne@69: xcb_xv_query_encodings_info_iterator (const xcb_xv_query_encodings_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_query_encodings_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_query_encodings_reply_t * jpayne@69: xcb_xv_query_encodings_reply (xcb_connection_t *c, jpayne@69: xcb_xv_query_encodings_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_grab_port_cookie_t jpayne@69: xcb_xv_grab_port (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_timestamp_t time); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_grab_port_cookie_t jpayne@69: xcb_xv_grab_port_unchecked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_timestamp_t time); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_grab_port_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_grab_port_reply_t * jpayne@69: xcb_xv_grab_port_reply (xcb_connection_t *c, jpayne@69: xcb_xv_grab_port_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_ungrab_port_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_timestamp_t time); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_ungrab_port (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_timestamp_t time); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_put_video_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_put_video (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_put_still_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_put_still (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_get_video_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_get_video (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_get_still_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_get_still (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: int16_t vid_x, jpayne@69: int16_t vid_y, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_stop_video_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_stop_video (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_select_video_notify_checked (xcb_connection_t *c, jpayne@69: xcb_drawable_t drawable, jpayne@69: uint8_t onoff); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_select_video_notify (xcb_connection_t *c, jpayne@69: xcb_drawable_t drawable, jpayne@69: uint8_t onoff); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_select_port_notify_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: uint8_t onoff); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_select_port_notify (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: uint8_t onoff); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_query_best_size_cookie_t jpayne@69: xcb_xv_query_best_size (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h, jpayne@69: uint8_t motion); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_query_best_size_cookie_t jpayne@69: xcb_xv_query_best_size_unchecked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: uint16_t vid_w, jpayne@69: uint16_t vid_h, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h, jpayne@69: uint8_t motion); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_query_best_size_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_query_best_size_reply_t * jpayne@69: xcb_xv_query_best_size_reply (xcb_connection_t *c, jpayne@69: xcb_xv_query_best_size_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_set_port_attribute_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_atom_t attribute, jpayne@69: int32_t value); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_set_port_attribute (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_atom_t attribute, jpayne@69: int32_t value); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_get_port_attribute_cookie_t jpayne@69: xcb_xv_get_port_attribute (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_atom_t attribute); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_get_port_attribute_cookie_t jpayne@69: xcb_xv_get_port_attribute_unchecked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_atom_t attribute); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_get_port_attribute_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_get_port_attribute_reply_t * jpayne@69: xcb_xv_get_port_attribute_reply (xcb_connection_t *c, jpayne@69: xcb_xv_get_port_attribute_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_port_attributes_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_query_port_attributes_cookie_t jpayne@69: xcb_xv_query_port_attributes (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_query_port_attributes_cookie_t jpayne@69: xcb_xv_query_port_attributes_unchecked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_port_attributes_attributes_length (const xcb_xv_query_port_attributes_reply_t *R); jpayne@69: jpayne@69: xcb_xv_attribute_info_iterator_t jpayne@69: xcb_xv_query_port_attributes_attributes_iterator (const xcb_xv_query_port_attributes_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_query_port_attributes_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_query_port_attributes_reply_t * jpayne@69: xcb_xv_query_port_attributes_reply (xcb_connection_t *c, jpayne@69: xcb_xv_query_port_attributes_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_list_image_formats_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_list_image_formats_cookie_t jpayne@69: xcb_xv_list_image_formats (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_list_image_formats_cookie_t jpayne@69: xcb_xv_list_image_formats_unchecked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port); jpayne@69: jpayne@69: xcb_xv_image_format_info_t * jpayne@69: xcb_xv_list_image_formats_format (const xcb_xv_list_image_formats_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_list_image_formats_format_length (const xcb_xv_list_image_formats_reply_t *R); jpayne@69: jpayne@69: xcb_xv_image_format_info_iterator_t jpayne@69: xcb_xv_list_image_formats_format_iterator (const xcb_xv_list_image_formats_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_list_image_formats_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_list_image_formats_reply_t * jpayne@69: xcb_xv_list_image_formats_reply (xcb_connection_t *c, jpayne@69: xcb_xv_list_image_formats_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_image_attributes_sizeof (const void *_buffer); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_xv_query_image_attributes_cookie_t jpayne@69: xcb_xv_query_image_attributes (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: uint32_t id, jpayne@69: uint16_t width, jpayne@69: uint16_t height); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * placed in the event queue. jpayne@69: */ jpayne@69: xcb_xv_query_image_attributes_cookie_t jpayne@69: xcb_xv_query_image_attributes_unchecked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: uint32_t id, jpayne@69: uint16_t width, jpayne@69: uint16_t height); jpayne@69: jpayne@69: uint32_t * jpayne@69: xcb_xv_query_image_attributes_pitches (const xcb_xv_query_image_attributes_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_image_attributes_pitches_length (const xcb_xv_query_image_attributes_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_query_image_attributes_pitches_end (const xcb_xv_query_image_attributes_reply_t *R); jpayne@69: jpayne@69: uint32_t * jpayne@69: xcb_xv_query_image_attributes_offsets (const xcb_xv_query_image_attributes_reply_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_query_image_attributes_offsets_length (const xcb_xv_query_image_attributes_reply_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_query_image_attributes_offsets_end (const xcb_xv_query_image_attributes_reply_t *R); jpayne@69: jpayne@69: /** jpayne@69: * Return the reply jpayne@69: * @param c The connection jpayne@69: * @param cookie The cookie jpayne@69: * @param e The xcb_generic_error_t supplied jpayne@69: * jpayne@69: * Returns the reply of the request asked by jpayne@69: * jpayne@69: * The parameter @p e supplied to this function must be NULL if jpayne@69: * xcb_xv_query_image_attributes_unchecked(). is used. jpayne@69: * Otherwise, it stores the error if any. jpayne@69: * jpayne@69: * The returned value must be freed by the caller using free(). jpayne@69: */ jpayne@69: xcb_xv_query_image_attributes_reply_t * jpayne@69: xcb_xv_query_image_attributes_reply (xcb_connection_t *c, jpayne@69: xcb_xv_query_image_attributes_cookie_t cookie /**< */, jpayne@69: xcb_generic_error_t **e); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_put_image_sizeof (const void *_buffer, jpayne@69: uint32_t data_len); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_put_image_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: uint32_t id, jpayne@69: int16_t src_x, jpayne@69: int16_t src_y, jpayne@69: uint16_t src_w, jpayne@69: uint16_t src_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h, jpayne@69: uint16_t width, jpayne@69: uint16_t height, jpayne@69: uint32_t data_len, jpayne@69: const uint8_t *data); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_put_image (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: uint32_t id, jpayne@69: int16_t src_x, jpayne@69: int16_t src_y, jpayne@69: uint16_t src_w, jpayne@69: uint16_t src_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h, jpayne@69: uint16_t width, jpayne@69: uint16_t height, jpayne@69: uint32_t data_len, jpayne@69: const uint8_t *data); jpayne@69: jpayne@69: uint8_t * jpayne@69: xcb_xv_put_image_data (const xcb_xv_put_image_request_t *R); jpayne@69: jpayne@69: int jpayne@69: xcb_xv_put_image_data_length (const xcb_xv_put_image_request_t *R); jpayne@69: jpayne@69: xcb_generic_iterator_t jpayne@69: xcb_xv_put_image_data_end (const xcb_xv_put_image_request_t *R); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: * This form can be used only if the request will not cause jpayne@69: * a reply to be generated. Any returned error will be jpayne@69: * saved for handling by xcb_request_check(). jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_shm_put_image_checked (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: xcb_shm_seg_t shmseg, jpayne@69: uint32_t id, jpayne@69: uint32_t offset, jpayne@69: int16_t src_x, jpayne@69: int16_t src_y, jpayne@69: uint16_t src_w, jpayne@69: uint16_t src_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h, jpayne@69: uint16_t width, jpayne@69: uint16_t height, jpayne@69: uint8_t send_event); jpayne@69: jpayne@69: /** jpayne@69: * jpayne@69: * @param c The connection jpayne@69: * @return A cookie jpayne@69: * jpayne@69: * Delivers a request to the X server. jpayne@69: * jpayne@69: */ jpayne@69: xcb_void_cookie_t jpayne@69: xcb_xv_shm_put_image (xcb_connection_t *c, jpayne@69: xcb_xv_port_t port, jpayne@69: xcb_drawable_t drawable, jpayne@69: xcb_gcontext_t gc, jpayne@69: xcb_shm_seg_t shmseg, jpayne@69: uint32_t id, jpayne@69: uint32_t offset, jpayne@69: int16_t src_x, jpayne@69: int16_t src_y, jpayne@69: uint16_t src_w, jpayne@69: uint16_t src_h, jpayne@69: int16_t drw_x, jpayne@69: int16_t drw_y, jpayne@69: uint16_t drw_w, jpayne@69: uint16_t drw_h, jpayne@69: uint16_t width, jpayne@69: uint16_t height, jpayne@69: uint8_t send_event); jpayne@69: jpayne@69: jpayne@69: #ifdef __cplusplus jpayne@69: } jpayne@69: #endif jpayne@69: jpayne@69: #endif jpayne@69: jpayne@69: /** jpayne@69: * @} jpayne@69: */