1XvQueryPortAttributes(3)        libXv Functions       XvQueryPortAttributes(3)
2
3
4

NAME

6       XvQueryPortAttributes - return list of attributes of a video port
7

SYNOPSIS

9       #include <X11/extensions/Xvlib.h>
10
11       XvAttribute* XvQueryPortAttributes(Display *dpy,
12                        XvPortID port,  int *p_num_attributes);
13

ARGUMENTS

15       dpy     Specifies the connection to the X server.
16
17       port    Specifies  the port whose adaptor is to be queried for its list
18               of attributes.
19
20       p_num_attributes
21               A pointer to where the number of  attributes  returned  in  the
22               array is written.
23

DESCRIPTION

25       XvQueryPortAttributes(3)returnsthenumberofattributes  and  an  array of
26       XvAttributes valid for the given port.  The array  may  be  freed  with
27       XFree(3).
28

RETURN VALUES

30       XvAttribute has the following structure:
31
32           typedef struct {
33             int flags;
34             int min_value;
35             int max_value;
36             char *name;
37           } XvAttribute;
38
39
40       flags   May  be XvGettable or XvSettable or both OR'd together indicatā€
41               ing the particular attribute is readable, writeable or readable
42               and writeable.
43
44       min_value
45               The minimum attribute values which are valid for the driver.
46
47               The maximum attribute values which are valid for the driver.
48
49       name    A  string describing the name of the attribute that may be used
50               to retrieve the Atom for the particular attribute.
51

DIAGNOSTICS

53       [XvBadPort]
54               Generated if the requested port does not exist.
55

SEE ALSO

57       XvGetPortAttribute(3), XvSetPortAttribute(3)
58
59
60
61X Version 11                      libXv 1.0.5         XvQueryPortAttributes(3)
Impressum