XvQueryPortAttributes __libmansuffix__ __vendorversion__ "libXv Functions"
NAME
XvQueryPortAttributes - return list of attributes of a video port
SYNOPSIS
#include <X11/extensions/Xvlib.h>
 "XvAttribute* XvQueryPortAttributes(Display *" dpy ","  " XvPortID " port ", int *" p_num_attributes ");" 
ARGUMENTS

dpy 8
Specifies the connection to the X server.
port 8
Specifies the port whose adaptor is to be queried for its list of attributes.
p_num_attributes 8
A pointer to where the number of attributes returned in the array is written.
DESCRIPTION
XvQueryPortAttributes (__libmansuffix__) returns the number of attributes and an array of XvAttributes valid for the given port. The array may be freed with XFree (__libmansuffix__).
RETURN VALUES
XvAttribute has the following structure: .EX typedef struct { int flags; int min_value; int max_value; char *name; } XvAttribute;
flags 8
May be XvGettable or XvSettable or both OR'd together indicating the particular attribute is readable, writeable or readable and writeable.
min_value 8
The minimum attribute values which are valid for the driver.
max_value 8
The maximum attribute values which are valid for the driver.
name 8
A string describing the name of the attribute that may be used to retrieve the Atom for the particular attribute.
DIAGNOSTICS
[XvBadPort] 8
Generated if the requested port does not exist.
SEE ALSO
XvGetPortAttribute (__libmansuffix__), XvSetPortAttribute (__libmansuffix__)