1
.TH XvGetPortAttribute __libmansuffix__ __vendorversion__
2
.\" $XFree86: xc/doc/man/Xv/XvGetPortAttribute.man,v 1.6 2001/01/27 18:20:35 dawes Exp $
4
XvGetPortAttribute \- return current port attribute value
7
.B #include <X11/extensions/Xvlib.h>
9
.B XvGetPortAttribute(\fIdpy, port, attribute, p_value\fR)
11
\fBDisplay \fI*dpy\fR;
13
\fBXvPortID \fIport\fR;
15
\fBAtom \fIattribute\fR;
17
\fBint \fI*p_value\fR;
23
Specifies the connection to the X server.
25
Specifies the port, associated with the given display, for
26
which the attribute values are to be returned.
28
An atom that identifies the attribute to be queried by this
29
request. Control atoms are obtained using the XInternAtom
30
request with a string from the following table.
32
Pointer to the location where the attribute value is written on
38
XvGetPortAttribute(__libmansuffix__) returns the current value of the requested
39
port attribute in the integer pointed to by \fIp_value\fR.
40
The attribute is identified using an Atom that equates to the attribute name.
41
The XInternAtom request can be used with one of the strings
42
below to return a matching Atom.
52
.\" Attribute String@Type@Default
56
.\" "XV_ENCODING"@XvEncodingID@Server dependent
57
.\" "XV_HUE"@[-1000...1000]@0
58
.\" "XV_SATURATION"@[-1000...1000]@0
59
.\" "XV_BRIGHTNESS"@[-1000...1000]@0
60
.\" "XV_CONTRAST"@[-1000...1000]@0
64
Attribute String Type Default
66
"XV_ENCODING" XvEncodingID Server dependent
67
"XV_HUE" [-1000...1000] 0
68
"XV_SATURATION" [-1000...1000] 0
69
"XV_BRIGHTNESS" [-1000...1000] 0
70
"XV_CONTRAST" [-1000...1000] 0
74
Returned if XvGetPortAttribute(__libmansuffix__) completed successfully.
75
.IP [XvBadExtension] 8
76
Returned if the Xv extension is unavailable.
78
Returned if XvGetPortAttribute(__libmansuffix__) failed to allocate memory to process
82
Generated if the requested port does not exist.
84
Generated if the requested attribute atom does not specify an attribute
85
supported by the adaptor.
88
XvSetPortAttribute(__libmansuffix__), XvPortNotify(__libmansuffix__)