Spelling fix.
[wine/multimedia.git] / include / ts_xvideo.h
blobd92acdee054eeaa54cb31b1fc15241b78caea94f
1 /*
2 * Thread safe wrappers around xvideo calls.
3 * Always include this file instead of <X11/xvideo.h>.
4 * This file was generated automatically by tools/make_X11wrappers
6 * Copyright 1998 Kristian Nielsen
7 */
9 #ifndef __WINE_TS_XVIDEO_H
10 #define __WINE_TS_XVIDEO_H
12 #include "config.h"
14 #ifdef HAVE_XVIDEO
16 #include <X11/Xlib.h>
17 #include <X11/extensions/Xv.h>
18 #include <X11/extensions/XShm.h>
19 #include <X11/extensions/Xvlib.h>
21 extern void (*wine_tsx11_lock)(void);
22 extern void (*wine_tsx11_unlock)(void);
24 extern int TSXvQueryExtension(Display*, unsigned int*, unsigned int*, unsigned int*, unsigned int*, unsigned int*);
25 extern int TSXvQueryAdaptors(Display*, Window, unsigned int*, XvAdaptorInfo**);
26 extern int TSXvQueryEncodings(Display*, XvPortID, unsigned int*, XvEncodingInfo**);
27 extern int TSXvPutVideo(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
28 extern int TSXvPutStill(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
29 extern int TSXvGetVideo(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
30 extern int TSXvGetStill(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
31 extern int TSXvStopVideo(Display*, XvPortID, Drawable);
32 extern int TSXvGrabPort(Display*, XvPortID, Time);
33 extern int TSXvUngrabPort(Display*, XvPortID, Time);
34 extern int TSXvSelectVideoNotify(Display*, Drawable, Bool);
35 extern int TSXvSelectPortNotify(Display*, XvPortID, Bool);
36 extern int TSXvSetPortAttribute(Display*, XvPortID, Atom, int);
37 extern int TSXvGetPortAttribute(Display*, XvPortID, Atom, int*);
38 extern int TSXvQueryBestSize(Display*, XvPortID, Bool, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int*, unsigned int*);
39 extern XvAttribute* TSXvQueryPortAttributes(Display*, XvPortID, int*);
40 extern void TSXvFreeAdaptorInfo(XvAdaptorInfo*);
41 extern void TSXvFreeEncodingInfo(XvEncodingInfo*);
42 extern XvImageFormatValues * TSXvListImageFormats(Display*, XvPortID, int*);
43 extern XvImage * TSXvCreateImage(Display*, XvPortID, int, char*, int, int);
44 extern int TSXvPutImage(Display*, XvPortID, Drawable, GC, XvImage*, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
45 extern int TSXvShmPutImage(Display*, XvPortID, Drawable, GC, XvImage*, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int, Bool);
46 extern XvImage * TSXvShmCreateImage(Display*, XvPortID, int, char*, int, int, XShmSegmentInfo*);
48 #endif /* defined(HAVE_XVIDEO) */
50 #endif /* __WINE_TS_XVIDEO_H */