XCB
1.12
|
XvMC XCB Protocol Implementation. More...
Macros | |
#define | XCB_XVMC_MAJOR_VERSION 1 |
#define | XCB_XVMC_MINOR_VERSION 1 |
#define | XCB_XVMC_QUERY_VERSION 0 |
#define | XCB_XVMC_LIST_SURFACE_TYPES 1 |
#define | XCB_XVMC_CREATE_CONTEXT 2 |
#define | XCB_XVMC_DESTROY_CONTEXT 3 |
#define | XCB_XVMC_CREATE_SURFACE 4 |
#define | XCB_XVMC_DESTROY_SURFACE 5 |
#define | XCB_XVMC_CREATE_SUBPICTURE 6 |
#define | XCB_XVMC_DESTROY_SUBPICTURE 7 |
#define | XCB_XVMC_LIST_SUBPICTURE_TYPES 8 |
Variables | |
xcb_extension_t | xcb_xvmc_id |
XvMC XCB Protocol Implementation.
#define XCB_XVMC_CREATE_CONTEXT 2 |
Opcode for xcb_xvmc_create_context.
Referenced by xcb_xvmc_create_context(), and xcb_xvmc_create_context_unchecked().
#define XCB_XVMC_CREATE_SUBPICTURE 6 |
Opcode for xcb_xvmc_create_subpicture.
Referenced by xcb_xvmc_create_subpicture(), and xcb_xvmc_create_subpicture_unchecked().
#define XCB_XVMC_CREATE_SURFACE 4 |
Opcode for xcb_xvmc_create_surface.
Referenced by xcb_xvmc_create_surface(), and xcb_xvmc_create_surface_unchecked().
#define XCB_XVMC_DESTROY_CONTEXT 3 |
Opcode for xcb_xvmc_destroy_context.
Referenced by xcb_xvmc_destroy_context(), and xcb_xvmc_destroy_context_checked().
#define XCB_XVMC_DESTROY_SUBPICTURE 7 |
Opcode for xcb_xvmc_destroy_subpicture.
Referenced by xcb_xvmc_destroy_subpicture(), and xcb_xvmc_destroy_subpicture_checked().
#define XCB_XVMC_DESTROY_SURFACE 5 |
Opcode for xcb_xvmc_destroy_surface.
Referenced by xcb_xvmc_destroy_surface(), and xcb_xvmc_destroy_surface_checked().
#define XCB_XVMC_LIST_SUBPICTURE_TYPES 8 |
Opcode for xcb_xvmc_list_subpicture_types.
Referenced by xcb_xvmc_list_subpicture_types(), and xcb_xvmc_list_subpicture_types_unchecked().
#define XCB_XVMC_LIST_SURFACE_TYPES 1 |
Opcode for xcb_xvmc_list_surface_types.
Referenced by xcb_xvmc_list_surface_types(), and xcb_xvmc_list_surface_types_unchecked().
#define XCB_XVMC_QUERY_VERSION 0 |
Opcode for xcb_xvmc_query_version.
Referenced by xcb_xvmc_query_version(), and xcb_xvmc_query_version_unchecked().
xcb_generic_iterator_t xcb_xvmc_context_end | ( | xcb_xvmc_context_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_xvmc_context_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_xvmc_context_next | ( | xcb_xvmc_context_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_xvmc_context_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_xvmc_context_t)
xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context | ( | xcb_connection_t * | c, |
xcb_xvmc_context_t | context_id, | ||
xcb_xv_port_t | port_id, | ||
xcb_xvmc_surface_t | surface_id, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint32_t | flags | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_CREATE_CONTEXT.
xcb_xvmc_create_context_reply_t* xcb_xvmc_create_context_reply | ( | xcb_connection_t * | c, |
xcb_xvmc_create_context_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xvmc_create_context_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xvmc_create_context_cookie_t xcb_xvmc_create_context_unchecked | ( | xcb_connection_t * | c, |
xcb_xvmc_context_t | context_id, | ||
xcb_xv_port_t | port_id, | ||
xcb_xvmc_surface_t | surface_id, | ||
uint16_t | width, | ||
uint16_t | height, | ||
uint32_t | flags | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_XVMC_CREATE_CONTEXT.
xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture | ( | xcb_connection_t * | c, |
xcb_xvmc_subpicture_t | subpicture_id, | ||
xcb_xvmc_context_t | context, | ||
uint32_t | xvimage_id, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_CREATE_SUBPICTURE.
xcb_xvmc_create_subpicture_reply_t* xcb_xvmc_create_subpicture_reply | ( | xcb_connection_t * | c, |
xcb_xvmc_create_subpicture_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xvmc_create_subpicture_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xvmc_create_subpicture_cookie_t xcb_xvmc_create_subpicture_unchecked | ( | xcb_connection_t * | c, |
xcb_xvmc_subpicture_t | subpicture_id, | ||
xcb_xvmc_context_t | context, | ||
uint32_t | xvimage_id, | ||
uint16_t | width, | ||
uint16_t | height | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_XVMC_CREATE_SUBPICTURE.
xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface | ( | xcb_connection_t * | c, |
xcb_xvmc_surface_t | surface_id, | ||
xcb_xvmc_context_t | context_id | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_CREATE_SURFACE.
xcb_xvmc_create_surface_reply_t* xcb_xvmc_create_surface_reply | ( | xcb_connection_t * | c, |
xcb_xvmc_create_surface_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xvmc_create_surface_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xvmc_create_surface_cookie_t xcb_xvmc_create_surface_unchecked | ( | xcb_connection_t * | c, |
xcb_xvmc_surface_t | surface_id, | ||
xcb_xvmc_context_t | context_id | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, xcb_generic_iterator_t::rem, and XCB_XVMC_CREATE_SURFACE.
xcb_void_cookie_t xcb_xvmc_destroy_context | ( | xcb_connection_t * | c, |
xcb_xvmc_context_t | context_id | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_DESTROY_CONTEXT.
xcb_void_cookie_t xcb_xvmc_destroy_context_checked | ( | xcb_connection_t * | c, |
xcb_xvmc_context_t | context_id | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_XVMC_DESTROY_CONTEXT.
xcb_void_cookie_t xcb_xvmc_destroy_subpicture | ( | xcb_connection_t * | c, |
xcb_xvmc_subpicture_t | subpicture_id | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_DESTROY_SUBPICTURE.
xcb_void_cookie_t xcb_xvmc_destroy_subpicture_checked | ( | xcb_connection_t * | c, |
xcb_xvmc_subpicture_t | subpicture_id | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_XVMC_DESTROY_SUBPICTURE.
xcb_void_cookie_t xcb_xvmc_destroy_surface | ( | xcb_connection_t * | c, |
xcb_xvmc_surface_t | surface_id | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_DESTROY_SURFACE.
xcb_void_cookie_t xcb_xvmc_destroy_surface_checked | ( | xcb_connection_t * | c, |
xcb_xvmc_surface_t | surface_id | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will not cause a reply to be generated. Any returned error will be saved for handling by xcb_request_check().
References XCB_XVMC_DESTROY_SURFACE.
xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types | ( | xcb_connection_t * | c, |
xcb_xv_port_t | port_id, | ||
xcb_xvmc_surface_t | surface_id | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_LIST_SUBPICTURE_TYPES.
xcb_xvmc_list_subpicture_types_reply_t* xcb_xvmc_list_subpicture_types_reply | ( | xcb_connection_t * | c, |
xcb_xvmc_list_subpicture_types_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xvmc_list_subpicture_types_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xvmc_list_subpicture_types_cookie_t xcb_xvmc_list_subpicture_types_unchecked | ( | xcb_connection_t * | c, |
xcb_xv_port_t | port_id, | ||
xcb_xvmc_surface_t | surface_id | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_XVMC_LIST_SUBPICTURE_TYPES.
xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types | ( | xcb_connection_t * | c, |
xcb_xv_port_t | port_id | ||
) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_LIST_SURFACE_TYPES.
xcb_xvmc_list_surface_types_reply_t* xcb_xvmc_list_surface_types_reply | ( | xcb_connection_t * | c, |
xcb_xvmc_list_surface_types_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xvmc_list_surface_types_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xvmc_list_surface_types_cookie_t xcb_xvmc_list_surface_types_unchecked | ( | xcb_connection_t * | c, |
xcb_xv_port_t | port_id | ||
) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_XVMC_LIST_SURFACE_TYPES.
xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
References XCB_XVMC_QUERY_VERSION.
xcb_xvmc_query_version_reply_t* xcb_xvmc_query_version_reply | ( | xcb_connection_t * | c, |
xcb_xvmc_query_version_cookie_t | cookie, | ||
xcb_generic_error_t ** | e | ||
) |
Return the reply
c | The connection |
cookie | The cookie |
e | The xcb_generic_error_t supplied |
Returns the reply of the request asked by
The parameter e
supplied to this function must be NULL if xcb_xvmc_query_version_unchecked(). is used. Otherwise, it stores the error if any.
The returned value must be freed by the caller using free().
xcb_xvmc_query_version_cookie_t xcb_xvmc_query_version_unchecked | ( | xcb_connection_t * | c | ) |
c | The connection |
Delivers a request to the X server.
This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.
References XCB_XVMC_QUERY_VERSION.
xcb_generic_iterator_t xcb_xvmc_subpicture_end | ( | xcb_xvmc_subpicture_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_xvmc_subpicture_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_xvmc_subpicture_next | ( | xcb_xvmc_subpicture_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_xvmc_subpicture_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_xvmc_subpicture_t)
xcb_generic_iterator_t xcb_xvmc_surface_end | ( | xcb_xvmc_surface_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_xvmc_surface_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
xcb_generic_iterator_t xcb_xvmc_surface_info_end | ( | xcb_xvmc_surface_info_iterator_t | i | ) |
Return the iterator pointing to the last element
i | An xcb_xvmc_surface_info_iterator_t |
Set the current element in the iterator to the last element. The member rem is set to 0. The member data points to the last element.
References xcb_generic_iterator_t::data, xcb_generic_iterator_t::index, and xcb_generic_iterator_t::rem.
void xcb_xvmc_surface_info_next | ( | xcb_xvmc_surface_info_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_xvmc_surface_info_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_xvmc_surface_info_t)
void xcb_xvmc_surface_next | ( | xcb_xvmc_surface_iterator_t * | i | ) |
Get the next element of the iterator
i | Pointer to a xcb_xvmc_surface_iterator_t |
Get the next element in the iterator. The member rem is decreased by one. The member data points to the next element. The member index is increased by sizeof(xcb_xvmc_surface_t)