XvSetPortAttribute - Online Linux Manual PageSection : 3
Updated : libXv 1.0.11
Source : X Version 11
Note : libXv Functions

NAMEXvSetPortAttribute − sets an attribute of a video port

SYNOPSIS#include <X11/extensions/Xvlib.h> int XvSetPortAttribute(Display *dpy, XvPortID port, Atom attribute, int value);

ARGUMENTS dpy Specifies the connection to the X server. port Specifies the port for which the attribute is to be used. attribute Identifies the port attribute to be set by this request. Can be one of the table entries under the column "String," below. value Identifies the value to which attribute is to be set. Can be one of the table entries under the column "Type," below.

DESCRIPTIONXvSetPortAttribute(3)
 permits a client to set the port attribute to specified values. This request supports the following values: Attribute StringTypeDefault "XV_ENCODING"XvEncodingIDServer 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(3) to query the resulting levels. When an XvSetPortAttribute(3) request is processed, a XvPortNotify(3) event is generated for all clients that have requested notification of port changes using XvSelectPortNotify(3).

RETURN VALUES[Success] Returned if XvSetPortAttribute(3) completed successfully. [XvBadExtension] Returned if the Xv extension is unavailable. [XvBadAlloc] Returned if XvSelectVideoNotify(3) failed to allocate memory to process the request.

DIAGNOSTICS[XvBadPort] Generated if the requested port does not exist. [XvBadEncoding] Generated if an encoding is specified that does not exist. [BadMatch] Generated if the requested attribute atom does not specify an attribute supported by the adaptor.

SEE ALSO XvGetPortAttribute(3), XvQueryPortAttributes(3), XvSelectPortNotify(3), XvPortNotify(3)
0
Johanes Gumabo
Data Size   :   12,973 byte
man-XvSetPortAttribute.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 198,772
Visitor ID   :     :  
Visitor IP   :   18.118.126.69   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   50   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.