Supply dummy getrlimit if absent.
[wine/multimedia.git] / include / ts_xvideo.h
bloba8ff73a452e4b48afbde6ac08b939fd875bad26f
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 int TSXvQueryExtension(Display*, unsigned int*, unsigned int*, unsigned int*, unsigned int*, unsigned int*);
22 extern int TSXvQueryAdaptors(Display*, Window, unsigned int*, XvAdaptorInfo**);
23 extern int TSXvQueryEncodings(Display*, XvPortID, unsigned int*, XvEncodingInfo**);
24 extern int TSXvPutVideo(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
25 extern int TSXvPutStill(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
26 extern int TSXvGetVideo(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
27 extern int TSXvGetStill(Display*, XvPortID, Drawable, GC, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
28 extern int TSXvStopVideo(Display*, XvPortID, Drawable);
29 extern int TSXvGrabPort(Display*, XvPortID, Time);
30 extern int TSXvUngrabPort(Display*, XvPortID, Time);
31 extern int TSXvSelectVideoNotify(Display*, Drawable, Bool);
32 extern int TSXvSelectPortNotify(Display*, XvPortID, Bool);
33 extern int TSXvSetPortAttribute(Display*, XvPortID, Atom, int);
34 extern int TSXvGetPortAttribute(Display*, XvPortID, Atom, int*);
35 extern int TSXvQueryBestSize(Display*, XvPortID, Bool, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int*, unsigned int*);
36 extern XvAttribute* TSXvQueryPortAttributes(Display*, XvPortID, int*);
37 extern void TSXvFreeAdaptorInfo(XvAdaptorInfo*);
38 extern void TSXvFreeEncodingInfo(XvEncodingInfo*);
39 extern XvImageFormatValues * TSXvListImageFormats(Display*, XvPortID, int*);
40 extern XvImage * TSXvCreateImage(Display*, XvPortID, int, char*, int, int);
41 extern int TSXvPutImage(Display*, XvPortID, Drawable, GC, XvImage*, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int);
42 extern int TSXvShmPutImage(Display*, XvPortID, Drawable, GC, XvImage*, int, int, unsigned int, unsigned int, int, int, unsigned int, unsigned int, Bool);
43 extern XvImage * TSXvShmCreateImage(Display*, XvPortID, int, char*, int, int, XShmSegmentInfo*);
45 #endif /* defined(HAVE_XVIDEO) */
47 #endif /* __WINE_TS_XVIDEO_H */