2009-10-31 12:54:56 -06:00
|
|
|
.TH XvVideoNotify __libmansuffix__ __vendorversion__ "libXv Functions"
|
|
|
|
.SH NAME
|
2006-11-25 11:01:46 -07:00
|
|
|
XvVideoNotify \- event generated for video processing
|
|
|
|
.\"
|
2009-10-31 12:54:56 -06:00
|
|
|
.SH SYNOPSIS
|
2006-11-25 11:01:46 -07:00
|
|
|
.B #include <X11/extensions/Xvlib.h>
|
|
|
|
.br
|
|
|
|
.sp 1l
|
|
|
|
.EX
|
|
|
|
|
|
|
|
typedef union {
|
|
|
|
int type;
|
|
|
|
XvVideoNotifyEvent xvvideo;
|
|
|
|
XvPortNotifyEvent xvport;
|
|
|
|
long pad[24];
|
|
|
|
} XvEvent;
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
int type;
|
|
|
|
unsigned long serial;
|
|
|
|
Bool send_event;
|
|
|
|
Display *display;
|
|
|
|
Drawable drawable;
|
|
|
|
unsigned long reason;
|
|
|
|
XvPortID port_id;
|
|
|
|
Time time;
|
|
|
|
} XvVideoNotifyEvent;
|
|
|
|
|
|
|
|
.EE
|
|
|
|
.\"
|
|
|
|
.IP \fItype\fR 8
|
2009-10-31 12:54:56 -06:00
|
|
|
Specifies the type of event:
|
|
|
|
.BR XvVideoNotify .
|
2006-11-25 11:01:46 -07:00
|
|
|
.IP \fIserial\fR 8
|
|
|
|
Number of the last request processed by the server.
|
|
|
|
.IP \fIsend_event\fR 8
|
|
|
|
True if the event was generated by a SendEvent request.
|
|
|
|
.IP \fIdisplay\fR 8
|
|
|
|
A pointer to the display the event was read from.
|
|
|
|
.IP \fIdrawable\fR 8
|
|
|
|
The drawable for which the event was generated.
|
|
|
|
.IP \fIreason\fR 8
|
2009-10-31 12:54:56 -06:00
|
|
|
The reason the event was generated: \fBXvStarted\fR, \fBXvStopped\fR,
|
2006-11-25 11:01:46 -07:00
|
|
|
\fBXvPreempted\fR, \fBXvBusy\fR, \fBXvHardError\fR.
|
|
|
|
.IP \fIport_id\fR 8
|
|
|
|
The port processing the video for which the event was generated.
|
|
|
|
.\"
|
2009-10-31 12:54:56 -06:00
|
|
|
.SH DESCRIPTION
|
2006-11-25 11:01:46 -07:00
|
|
|
.\"
|
2009-10-31 12:54:56 -06:00
|
|
|
.B XvVideoNotify
|
|
|
|
events are generated when video is started, stopped, preempted by
|
|
|
|
another video request, ignored because the port is grabbed by another
|
|
|
|
client, or interrupted because of a hard transmission or reception
|
|
|
|
error.
|
2006-11-25 11:01:46 -07:00
|
|
|
.\"
|
2009-10-31 12:54:56 -06:00
|
|
|
.SH SEE ALSO
|
|
|
|
.BR XvPutVideo (__libmansuffix__),
|
|
|
|
.BR XvPutStill (__libmansuffix__),
|
|
|
|
.BR XvGetVideo (__libmansuffix__),
|
|
|
|
.BR XvGetStill (__libmansuffix__),
|
|
|
|
.BR XvStopVideo (__libmansuffix__),
|
|
|
|
.BR XvSelectVideoNotify (__libmansuffix__)
|
2006-11-25 11:01:46 -07:00
|
|
|
.\"
|