1xcb_xvmc_create_context(3)       XCB Requests       xcb_xvmc_create_context(3)
2
3
4

NAME

6       xcb_xvmc_create_context -
7

SYNOPSIS

9       #include <xcb/xvmc.h>
10
11   Request function
12       xcb_xvmc_create_context_cookie_t
13              xcb_xvmc_create_context(xcb_connection_t *conn,
14              xcb_xvmc_context_t context_id, xcb_xv_port_t port_id,
15              xcb_xvmc_surface_t surface_id, uint16_t width, uint16_t height,
16              uint32_t flags);
17
18   Reply datastructure
19       typedef struct xcb_xvmc_create_context_reply_t {
20           uint8_t  response_type;
21           uint8_t  pad0;
22           uint16_t sequence;
23           uint32_t length;
24           uint16_t width_actual;
25           uint16_t height_actual;
26           uint32_t flags_return;
27           uint8_t  pad1[20];
28       } xcb_xvmc_create_context_reply_t;
29
30   Reply function
31       xcb_xvmc_create_context_reply_t
32              *xcb_xvmc_create_context_reply(xcb_connection_t *conn,
33              xcb_xvmc_create_context_cookie_t cookie,
34              xcb_generic_error_t **e);
35
36   Reply accessors
37       uint32_t *xcb_xvmc_create_context_priv_data(const
38              xcb_xvmc_create_context_request_t *reply);
39
40       int xcb_xvmc_create_context_priv_data_length(const
41              xcb_xvmc_create_context_reply_t *reply);
42
43       xcb_generic_iterator_t xcb_xvmc_create_context_priv_data_end(const
44              xcb_xvmc_create_context_reply_t *reply);
45

REQUEST ARGUMENTS

47       conn      The XCB connection to X11.
48
49       context_id
50                 TODO: NOT YET DOCUMENTED.
51
52       port_id   TODO: NOT YET DOCUMENTED.
53
54       surface_id
55                 TODO: NOT YET DOCUMENTED.
56
57       width     TODO: NOT YET DOCUMENTED.
58
59       height    TODO: NOT YET DOCUMENTED.
60
61       flags     TODO: NOT YET DOCUMENTED.
62

REPLY FIELDS

64       response_type
65                 The type of this reply, in this case XCB_XVMC_CREATE_CONTEXT.
66                 This field is also present in the xcb_generic_reply_t and can
67                 be used to tell replies apart from each other.
68
69       sequence  The sequence number of the last request processed by the X11
70                 server.
71
72       length    The length of the reply, in words (a word is 4 bytes).
73
74       width_actual
75                 TODO: NOT YET DOCUMENTED.
76
77       height_actual
78                 TODO: NOT YET DOCUMENTED.
79
80       flags_return
81                 TODO: NOT YET DOCUMENTED.
82

DESCRIPTION

RETURN VALUE

85       Returns an xcb_xvmc_create_context_cookie_t. Errors have to be handled
86       when calling the reply function xcb_xvmc_create_context_reply.
87
88       If you want to handle errors in the event loop instead, use
89       xcb_xvmc_create_context_unchecked. See xcb-requests(3) for details.
90

ERRORS

92       This request does never generate any errors.
93

SEE ALSO

AUTHOR

96       Generated from xvmc.xml. Contact xcb@lists.freedesktop.org for correcā€
97       tions and improvements.
98
99
100
101X Version 11                      libxcb 1.13       xcb_xvmc_create_context(3)
Impressum