x11r4 man page for xvgetportattribute

Query: xvgetportattribute

OS: x11r4

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XvGetPortAttribute(3)					     Library Functions Manual					     XvGetPortAttribute(3)

Name
       XvGetPortAttribute - return current port attribute value

Syntax
       #include <X11/extensions/Xvlib.h>

       XvGetPortAttribute(Display *dpy, XvPortID port,
			  Atom attribute, int p_value);

Arguments
       dpy	   Specifies the connection to the X server.

       port	   Specifies the port, associated with the given display, for which the attribute values are to be returned.

       attribute   An  atom that identifies the attribute to be queried by this request.  Control atoms are obtained using the XInternAtom request
		   with a string from the following table.

       p_value	   Pointer to the location where the attribute value is written on return.

Description
       XvGetPortAttribute(3) returns the current value of the requested port attribute in the integer pointed to by  p_value.	The  attribute	is
       identified using an Atom that equates to the attribute name.  The XInternAtom request can be used with one of the strings below to return a
       matching Atom.

       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

Returned Values
       [Success]
	       Returned if XvGetPortAttribute(3) completed successfully.

       [XvBadExtension]
	       Returned if the Xv extension is unavailable.

       [XvBadAlloc]
	       Returned if XvGetPortAttribute(3) failed to allocate memory to process the request.

Diagnostics
       [XvBadPort]
	       Generated if the requested port does not exist.

       [BadMatch]
	       Generated if the requested attribute atom does not specify an attribute supported by the adaptor.

See Also
       XvSetPortAttribute(3), XvPortNotify(3)

X Version 11							    libXv 1.0.4 					     XvGetPortAttribute(3)
Related Man Pages
xvgetportattribute(3) - centos
xvgetportattribute(3) - suse
xvgetportattribute(3) - v7
xvgetportattribute(3) - linux
xvgetportattribute(3) - hpux
Similar Topics in the Unix Linux Community
Need help with tasks!
1000-char PM limit
Want to process file in 1000 record increments
Sorting the data right justified with through awk.
Script to pull uid greater than 1000 from remote server