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

NAME

6       xcb_xv_query_image_attributes -
7

SYNOPSIS

9       #include <xcb/xv.h>
10
11   Request function
12       xcb_xv_query_image_attributes_cookie_t
13              xcb_xv_query_image_attributes(xcb_connection_t *conn,
14              xcb_xv_port_t port, uint32_t id, uint16_t width,
15              uint16_t height);
16
17   Reply datastructure
18       typedef struct xcb_xv_query_image_attributes_reply_t {
19           uint8_t  response_type;
20           uint8_t  pad0;
21           uint16_t sequence;
22           uint32_t length;
23           uint32_t num_planes;
24           uint32_t data_size;
25           uint16_t width;
26           uint16_t height;
27           uint8_t  pad1[12];
28       } xcb_xv_query_image_attributes_reply_t;
29
30   Reply function
31       xcb_xv_query_image_attributes_reply_t
32              *xcb_xv_query_image_attributes_reply(xcb_connection_t *conn,
33              xcb_xv_query_image_attributes_cookie_t cookie,
34              xcb_generic_error_t **e);
35
36   Reply accessors
37       uint32_t *xcb_xv_query_image_attributes_pitches(const
38              xcb_xv_query_image_attributes_request_t *reply);
39
40       int xcb_xv_query_image_attributes_pitches_length(const
41              xcb_xv_query_image_attributes_reply_t *reply);
42
43       xcb_generic_iterator_t xcb_xv_query_image_attributes_pitches_end(const
44              xcb_xv_query_image_attributes_reply_t *reply);
45
46       uint32_t *xcb_xv_query_image_attributes_offsets(const
47              xcb_xv_query_image_attributes_request_t *reply);
48
49       int xcb_xv_query_image_attributes_offsets_length(const
50              xcb_xv_query_image_attributes_reply_t *reply);
51
52       xcb_generic_iterator_t xcb_xv_query_image_attributes_offsets_end(const
53              xcb_xv_query_image_attributes_reply_t *reply);
54

REQUEST ARGUMENTS

56       conn      The XCB connection to X11.
57
58       port      TODO: NOT YET DOCUMENTED.
59
60       id        TODO: NOT YET DOCUMENTED.
61
62       width     TODO: NOT YET DOCUMENTED.
63
64       height    TODO: NOT YET DOCUMENTED.
65

REPLY FIELDS

67       response_type
68                 The type of this reply, in this case XCB_XV_QUERY_IMAGE_AT‐
69                 TRIBUTES. This field is also present in the xcb_generic_re‐
70                 ply_t and can be used to tell replies apart from each other.
71
72       sequence  The sequence number of the last request processed by the X11
73                 server.
74
75       length    The length of the reply, in words (a word is 4 bytes).
76
77       num_planes
78                 TODO: NOT YET DOCUMENTED.
79
80       data_size TODO: NOT YET DOCUMENTED.
81
82       width     TODO: NOT YET DOCUMENTED.
83
84       height    TODO: NOT YET DOCUMENTED.
85

DESCRIPTION

RETURN VALUE

88       Returns an xcb_xv_query_image_attributes_cookie_t. Errors have to be
89       handled when calling the reply function xcb_xv_query_image_at‐
90       tributes_reply.
91
92       If you want to handle errors in the event loop instead, use
93       xcb_xv_query_image_attributes_unchecked. See xcb-requests(3) for de‐
94       tails.
95

ERRORS

97       This request does never generate any errors.
98

SEE ALSO

AUTHOR

101       Generated from xv.xml. Contact xcb@lists.freedesktop.org for correc‐
102       tions and improvements.
103
104
105
106X Version 11                      libxcb 1.13 xcb_xv_query_image_attributes(3)
Impressum