Copyright (C) 2000-2012 |
Manpages XvSetPortAttributeSection: Misc. Reference Manual Pages (3X )Updated: Version 4.1.0.1 Index Return to Main Contents NameXvSetPortAttribute - sets an attribute of a video portSyntax#include <X11/extensions/Xvlib.h>XvSetPortAttribute(dpy, port, attribute, value)
Display *dpy;
Arguments
DescriptionXvSetPortAttribute(3X) permits a client to set the port attribute to specified values. This request supports the following values:
Attribute String Type Default "XV_ENCODING" XvEncodingID Server dependent "XV_HUE" [-1000...1000] 0 "XV_SATURATION" [-1000...1000] 0 "XV_BRIGHTNESS" [-1000...1000] 0 "XV_CONTRAST" [-1000...1000] 0 The supplied encoding must be one of the encodings listed for the adaptor, otherwise an Encoding error results. If the adaptor does not support the exact hue, saturation, brightness, and contrast levels supplied, the closest levels supported are assumed. Use XvGetPortAttribute(3X) to query the resulting levels. When an XvSetPortAttribute(3X) request is processed, a PortControlNotify(3X) event is generated for all clients that have requested for port changes using XvSelectPortNotify(3X). Returned Values
Diagnostics
See AlsoXvGetPortAttribute(3X), XvSelectPortNotify(3X), XvPortNotify(3X)
IndexThis document was created by man2html, using the manual pages. Time: 11:56:00 GMT, April 19, 2024 |