Unix/Linux Go Back    

RedHat 9 (Linux i386) - man page for xvgetportattribute (redhat section 3X)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

XvGetPortAttribute(3X)							   XvGetPortAttribute(3X)

       XvGetPortAttribute - return current port attribute value

       #include <X11/extensions/Xvlib.h>

       XvGetPortAttribute(dpy, port, attribute, p_value)

       Display *dpy;
       XvPortID port;
       Atom attribute;
       int *p_vlaue;

       dpy     Specifies  the  display	screen on which the X Server is to accept requests from X
	       clients.  If the display option is not specified, X uses the display screen speci-
	       fied  by  your  DISPLAY	environment  variable.	The display option has the format
	       hostname:number.  Using two colons (::) instead of one (:) indicates  that  DECnet
	       is to be used for transport.

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

	       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

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

       XvGetPortAttribute(3X) 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
	       Returned if XvGetPortAttribute(3X) completed successfully.

	       Returned if the Xv extension is unavailable.

	       Returned  if  XvGetPortAttribute(3X)  failed  to  allocate  memory  to process the

	       Generated if the requested port does not exist.

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

See Also
       XvSetPortAttribute(3X), XvPortNotify(3X)

XFree86 			      Version Version 4.3.0		   XvGetPortAttribute(3X)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 10:49 AM.