* This file generated automatically from xv.xml by c_client.py.
* @defgroup XCB_Xv_API XCB Xv API
* @brief Xv XCB Protocol Implementation.
#define XCB_XV_MAJOR_VERSION 2
#define XCB_XV_MINOR_VERSION 2
extern xcb_extension_t xcb_xv_id;
typedef uint32_t xcb_xv_port_t;
* @brief xcb_xv_port_iterator_t
typedef struct xcb_xv_port_iterator_t {
} xcb_xv_port_iterator_t;
typedef uint32_t xcb_xv_encoding_t;
* @brief xcb_xv_encoding_iterator_t
typedef struct xcb_xv_encoding_iterator_t {
} xcb_xv_encoding_iterator_t;
typedef enum xcb_xv_type_t {
XCB_XV_TYPE_INPUT_MASK = 1,
XCB_XV_TYPE_OUTPUT_MASK = 2,
XCB_XV_TYPE_VIDEO_MASK = 4,
XCB_XV_TYPE_STILL_MASK = 8,
XCB_XV_TYPE_IMAGE_MASK = 16
typedef enum xcb_xv_image_format_info_type_t {
XCB_XV_IMAGE_FORMAT_INFO_TYPE_RGB = 0,
XCB_XV_IMAGE_FORMAT_INFO_TYPE_YUV = 1
} xcb_xv_image_format_info_type_t;
typedef enum xcb_xv_image_format_info_format_t {
XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PACKED = 0,
XCB_XV_IMAGE_FORMAT_INFO_FORMAT_PLANAR = 1
} xcb_xv_image_format_info_format_t;
typedef enum xcb_xv_attribute_flag_t {
XCB_XV_ATTRIBUTE_FLAG_GETTABLE = 1,
XCB_XV_ATTRIBUTE_FLAG_SETTABLE = 2
} xcb_xv_attribute_flag_t;
typedef enum xcb_xv_video_notify_reason_t {
XCB_XV_VIDEO_NOTIFY_REASON_STARTED = 0,
XCB_XV_VIDEO_NOTIFY_REASON_STOPPED = 1,
XCB_XV_VIDEO_NOTIFY_REASON_BUSY = 2,
XCB_XV_VIDEO_NOTIFY_REASON_PREEMPTED = 3,
XCB_XV_VIDEO_NOTIFY_REASON_HARD_ERROR = 4
} xcb_xv_video_notify_reason_t;
typedef enum xcb_xv_scanline_order_t {
XCB_XV_SCANLINE_ORDER_TOP_TO_BOTTOM = 0,
XCB_XV_SCANLINE_ORDER_BOTTOM_TO_TOP = 1
} xcb_xv_scanline_order_t;
typedef enum xcb_xv_grab_port_status_t {
XCB_XV_GRAB_PORT_STATUS_SUCCESS = 0,
XCB_XV_GRAB_PORT_STATUS_BAD_EXTENSION = 1,
XCB_XV_GRAB_PORT_STATUS_ALREADY_GRABBED = 2,
XCB_XV_GRAB_PORT_STATUS_INVALID_TIME = 3,
XCB_XV_GRAB_PORT_STATUS_BAD_REPLY = 4,
XCB_XV_GRAB_PORT_STATUS_BAD_ALLOC = 5
} xcb_xv_grab_port_status_t;
* @brief xcb_xv_rational_t
typedef struct xcb_xv_rational_t {
* @brief xcb_xv_rational_iterator_t
typedef struct xcb_xv_rational_iterator_t {
} xcb_xv_rational_iterator_t;
typedef struct xcb_xv_format_t {
* @brief xcb_xv_format_iterator_t
typedef struct xcb_xv_format_iterator_t {
} xcb_xv_format_iterator_t;
* @brief xcb_xv_adaptor_info_t
typedef struct xcb_xv_adaptor_info_t {
* @brief xcb_xv_adaptor_info_iterator_t
typedef struct xcb_xv_adaptor_info_iterator_t {
xcb_xv_adaptor_info_t *data;
} xcb_xv_adaptor_info_iterator_t;
* @brief xcb_xv_encoding_info_t
typedef struct xcb_xv_encoding_info_t {
xcb_xv_encoding_t encoding;
} xcb_xv_encoding_info_t;
* @brief xcb_xv_encoding_info_iterator_t
typedef struct xcb_xv_encoding_info_iterator_t {
xcb_xv_encoding_info_t *data;
} xcb_xv_encoding_info_iterator_t;
typedef struct xcb_xv_image_t {
* @brief xcb_xv_image_iterator_t
typedef struct xcb_xv_image_iterator_t {
} xcb_xv_image_iterator_t;
* @brief xcb_xv_attribute_info_t
typedef struct xcb_xv_attribute_info_t {
} xcb_xv_attribute_info_t;
* @brief xcb_xv_attribute_info_iterator_t
typedef struct xcb_xv_attribute_info_iterator_t {
xcb_xv_attribute_info_t *data;
} xcb_xv_attribute_info_iterator_t;
* @brief xcb_xv_image_format_info_t
typedef struct xcb_xv_image_format_info_t {
} xcb_xv_image_format_info_t;
* @brief xcb_xv_image_format_info_iterator_t
typedef struct xcb_xv_image_format_info_iterator_t {
xcb_xv_image_format_info_t *data;
} xcb_xv_image_format_info_iterator_t;
/** Opcode for xcb_xv_bad_port. */
#define XCB_XV_BAD_PORT 0
* @brief xcb_xv_bad_port_error_t
typedef struct xcb_xv_bad_port_error_t {
} xcb_xv_bad_port_error_t;
/** Opcode for xcb_xv_bad_encoding. */
#define XCB_XV_BAD_ENCODING 1
* @brief xcb_xv_bad_encoding_error_t
typedef struct xcb_xv_bad_encoding_error_t {
} xcb_xv_bad_encoding_error_t;
/** Opcode for xcb_xv_bad_control. */
#define XCB_XV_BAD_CONTROL 2
* @brief xcb_xv_bad_control_error_t
typedef struct xcb_xv_bad_control_error_t {
} xcb_xv_bad_control_error_t;
/** Opcode for xcb_xv_video_notify. */
#define XCB_XV_VIDEO_NOTIFY 0
* @brief xcb_xv_video_notify_event_t
typedef struct xcb_xv_video_notify_event_t {
} xcb_xv_video_notify_event_t;
/** Opcode for xcb_xv_port_notify. */
#define XCB_XV_PORT_NOTIFY 1
* @brief xcb_xv_port_notify_event_t
typedef struct xcb_xv_port_notify_event_t {
} xcb_xv_port_notify_event_t;
* @brief xcb_xv_query_extension_cookie_t
typedef struct xcb_xv_query_extension_cookie_t {
} xcb_xv_query_extension_cookie_t;
/** Opcode for xcb_xv_query_extension. */
#define XCB_XV_QUERY_EXTENSION 0
* @brief xcb_xv_query_extension_request_t
typedef struct xcb_xv_query_extension_request_t {
} xcb_xv_query_extension_request_t;
* @brief xcb_xv_query_extension_reply_t
typedef struct xcb_xv_query_extension_reply_t {
} xcb_xv_query_extension_reply_t;
* @brief xcb_xv_query_adaptors_cookie_t
typedef struct xcb_xv_query_adaptors_cookie_t {
} xcb_xv_query_adaptors_cookie_t;
/** Opcode for xcb_xv_query_adaptors. */
#define XCB_XV_QUERY_ADAPTORS 1
* @brief xcb_xv_query_adaptors_request_t
typedef struct xcb_xv_query_adaptors_request_t {
} xcb_xv_query_adaptors_request_t;
* @brief xcb_xv_query_adaptors_reply_t
typedef struct xcb_xv_query_adaptors_reply_t {
} xcb_xv_query_adaptors_reply_t;
* @brief xcb_xv_query_encodings_cookie_t
typedef struct xcb_xv_query_encodings_cookie_t {
} xcb_xv_query_encodings_cookie_t;
/** Opcode for xcb_xv_query_encodings. */
#define XCB_XV_QUERY_ENCODINGS 2
* @brief xcb_xv_query_encodings_request_t
typedef struct xcb_xv_query_encodings_request_t {
} xcb_xv_query_encodings_request_t;
* @brief xcb_xv_query_encodings_reply_t
typedef struct xcb_xv_query_encodings_reply_t {
} xcb_xv_query_encodings_reply_t;
* @brief xcb_xv_grab_port_cookie_t
typedef struct xcb_xv_grab_port_cookie_t {
} xcb_xv_grab_port_cookie_t;
/** Opcode for xcb_xv_grab_port. */
#define XCB_XV_GRAB_PORT 3
* @brief xcb_xv_grab_port_request_t
typedef struct xcb_xv_grab_port_request_t {
} xcb_xv_grab_port_request_t;
* @brief xcb_xv_grab_port_reply_t
typedef struct xcb_xv_grab_port_reply_t {
} xcb_xv_grab_port_reply_t;
/** Opcode for xcb_xv_ungrab_port. */
#define XCB_XV_UNGRAB_PORT 4
* @brief xcb_xv_ungrab_port_request_t
typedef struct xcb_xv_ungrab_port_request_t {
} xcb_xv_ungrab_port_request_t;
/** Opcode for xcb_xv_put_video. */
#define XCB_XV_PUT_VIDEO 5
* @brief xcb_xv_put_video_request_t
typedef struct xcb_xv_put_video_request_t {
} xcb_xv_put_video_request_t;
/** Opcode for xcb_xv_put_still. */
#define XCB_XV_PUT_STILL 6
* @brief xcb_xv_put_still_request_t
typedef struct xcb_xv_put_still_request_t {