XvGrabPort man page on OpenIndiana

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

XvGrabPort(3xv)			libXv Functions		       XvGrabPort(3xv)

NAME
       XvGrabPort - lock port for exclusive use by client

SYNOPSIS
       cc [ flag... ] file... -lXv [ library... ]
       #include <X11/extensions/Xvlib.h>

       int XvGrabPort(Display *dpy, XvPortID port, Time time);

ARGUMENTS
       dpy     Specifies the connection to the X server.

       port    Defines the port to be grabbed.

       time    Specifies the request timestamp.

DESCRIPTION
       XvGrabPort(3xv)	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 XvInvalidTime 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(3xv),    XvUngrabPort(3xv),
       XvPutVideo(3xv), XvPutStill(3xv), XvGetVideo(3xv), XvGetStill(3xv).

       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.

RETURN VALUES
       [Success]
	       Returned if XvGrabPort(3xv) 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(3xv)  failed  to  allocate  memory  to
	       process the request.

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

SEE ALSO
       XvUngrabPort(3xv), XvVideoNotify(3xv)

ATTRIBUTES
       See attributes(5) for descriptions of the following attributes:

       ┌─────────────────────────────┬─────────────────────────────┐
       │      ATTRIBUTE TYPE	     │	    ATTRIBUTE VALUE	   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Availability		     │x11/library/libxv		   │
       ├─────────────────────────────┼─────────────────────────────┤
       │Interface Stability	     │Volatile			   │
       ├─────────────────────────────┼─────────────────────────────┤
       │MT-Level		     │See XInitThreads(3X11)	   │
       └─────────────────────────────┴─────────────────────────────┘

X Version 11			  libXv 1.0.5		       XvGrabPort(3xv)
[top]

List of man pages available for OpenIndiana

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