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

Linux & Unix Commands - Search Man Pages

Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


XvGrabPort(3X)									   XvGrabPort(3X)

Name
       XvGrabPort - lock port for exclusive use by client

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

       XvGrabPort(dpy, port, time)

       Display *dpy;
       XvPortID port;
       Time time;

Arguments
       dpy     Specifies  the display screen on which the Xv Server is to accept requests from Xv
	       clients.  If the display option is not specified, Xv uses the display screen spec-
	       ified  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    Defines the port to be grabbed.

       time    Specifies the request timestamp.

Description
       XvGrabPort(3X)  grabs a port.  Once a client grabs a port, only that client can make video
       requests to that port.

       If the time is before the current port time, the XvGrabPort request is ignored  and  XvIn-
       validTime is returned.  If the port is already grabbed by another client, XvAlreadyGrabbed
       is returned. Otherwise it returns a status of Success.  The port time is updated when  the
       following requests are processed: XvGrabPort(3X), XvUngrabPort(3X), XvPutVideo(3X), XvPut-
       Still(3X), XvGetVideo(3X), XvGetStill(3X).

       If the port is actively processing video for another client, the video is  preempted,  and
       an XvVideoNotify event with detail XvPreempted is generated for its drawable.

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

       [XvInvalidTime]
	       Returned if requested time is older than the current port time.

       [XvAlreadyGrabbed]
	       Returned if the port is already grabbed by another client.

       [XvBadExtension]
	       Returned if the Xv extension is unavailable.

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

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

See Also
       XvUngrabPort(3X) XvVideoNotify(3X)

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


All times are GMT -4. The time now is 12:29 PM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?