XvGetPortAttribute man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]



XvGetPortAttribute(3X)			XvGetPortAttribute(3X)

Name
       XvGetPortAttribute - return current port attribute value

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

       XvGetPortAttribute(dpy, port, attribute, p_value)

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

Arguments
       dpy     Specifies the display screen on which the X Server
	       is to accept requests from X clients.  If the dis-
	       play  option  is not specified, X uses the display
	       screen specified by your DISPLAY environment vari-
	       able.   The  display  option  has the format host-
	       name:number.  Using two colons (::) instead of one
	       (:) indicates that DECnet is to be used for trans-
	       port.

       port    Specifies the port, associated with the given dis-
	       play,  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(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.

								1

XvGetPortAttribute(3X)			XvGetPortAttribute(3X)

       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(3X) completed suc-
	       cessfully.

       [XvBadExtension]
	       Returned if the Xv extension is unavailable.

       [XvBadAlloc]
	       Returned if XvGetPortAttribute(3X) failed to allo-
	       cate 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(3X), XvPortNotify(3X)

								2

[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net