1
.TH XvGetVideo __libmansuffix__ __vendorversion__
2
.\" $XFree86: xc/doc/man/Xv/XvGetVideo.man,v 1.4 1999/03/02 11:49:14 dawes Exp $
4
XvGetVideo \- capture video from a drawable
9
.B XvGetVideo(dpy, port, d, gc, vx, vy, vw, vh, dx, dy, dw, dh)
42
Specifies the connection to the X server.
44
Defines the port to which video output is sent.
46
Defines the drawable (window) from which video output is to be obtained.
48
Defines the graphical context. GC components are:
54
.IP \fIvx,vy,vw,vh\fR 15
55
Define the location and size of the video region is to be written. \fIvx\fP
56
and \fIvy\fP define the
59
coordinates of the upper-left corner of the video region;
62
define the width and height, in pixels, of the video region.
63
.IP \fIdx,dy,dw,dh\fR 15
64
Define the location of the source drawable from which the
65
video image is to be taken.
71
coordinates of the upper-left corner of the drawable region;
74
define the width and height, in pixels, of the drawable region.
78
outputs video from a drawable. The position
79
and size of the destination rectangle is specified by
85
The position and size of the source rectangle is specified by
92
Drawable data is clipped to the bounds of the drawable, scaled to the
93
requested video region size (or the closest size supported) and
94
clipped to the bounds of the video encoding. The contents of any region
95
not updated with drawable data is undefined.
97
If video is successfully initiated, an XvVideoNotify event with
98
detail XvStarted is generated for the drawable. If the port is
99
already in use, its video is preempted, and if the new drawable is
100
different than the old, an XvVideoNotify event with detail XvPreempted
101
is generated for the old drawable. If the port is grabbed by another
102
client, this request is ignored, and an XvVideoNotify event with detail
103
XvBusy is generated for the drawable.
108
Returned if XvGetVideo(__libmansuffix__) completed successfully.
109
.IP [XvBadExtension] 8
110
Returned if the Xv extension is unavailable.
112
Returned if XvGetVideo(__libmansuffix__) failed to allocate memory to process
116
Generated if the requested port does not exist.
118
Generated if the requested graphics context does not exist.
120
Generated if the requested drawable does not exist.
122
Generated if there were insufficient resources to process the request.
126
XvGetStill(__libmansuffix__), XvPutVideo(__libmansuffix__), XvVideoNotify(__libmansuffix__)