Fixed mistyped variable name in MSVCRT__fpclass().
[wine/multimedia.git] / tsx11 / ts_xvideo.c
blobcfa88d45096622651836a87eec1b59387478a207
1 /*
2 * Thread safe wrappers around xvideo calls.
3 * This file was generated automatically by tools/make_X11wrappers
4 * DO NOT EDIT!
5 */
7 #include "config.h"
9 #ifdef HAVE_XVIDEO
11 #include <X11/Xlib.h>
12 #include <X11/extensions/Xv.h>
13 #include <X11/extensions/XShm.h>
14 #include <X11/extensions/Xvlib.h>
16 #include "ts_xvideo.h"
19 int TSXvQueryExtension(Display* a0, unsigned int* a1, unsigned int* a2, unsigned int* a3, unsigned int* a4, unsigned int* a5)
21 int r;
22 wine_tsx11_lock();
23 r = XvQueryExtension( a0, a1, a2, a3, a4, a5);
24 wine_tsx11_unlock();
25 return r;
28 int TSXvQueryAdaptors(Display* a0, Window a1, unsigned int* a2, XvAdaptorInfo** a3)
30 int r;
31 wine_tsx11_lock();
32 r = XvQueryAdaptors( a0, a1, a2, a3);
33 wine_tsx11_unlock();
34 return r;
37 int TSXvQueryEncodings(Display* a0, XvPortID a1, unsigned int* a2, XvEncodingInfo** a3)
39 int r;
40 wine_tsx11_lock();
41 r = XvQueryEncodings( a0, a1, a2, a3);
42 wine_tsx11_unlock();
43 return r;
46 int TSXvPutVideo(Display* a0, XvPortID a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9, unsigned int a10, unsigned int a11)
48 int r;
49 wine_tsx11_lock();
50 r = XvPutVideo( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
51 wine_tsx11_unlock();
52 return r;
55 int TSXvPutStill(Display* a0, XvPortID a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9, unsigned int a10, unsigned int a11)
57 int r;
58 wine_tsx11_lock();
59 r = XvPutStill( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
60 wine_tsx11_unlock();
61 return r;
64 int TSXvGetVideo(Display* a0, XvPortID a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9, unsigned int a10, unsigned int a11)
66 int r;
67 wine_tsx11_lock();
68 r = XvGetVideo( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
69 wine_tsx11_unlock();
70 return r;
73 int TSXvGetStill(Display* a0, XvPortID a1, Drawable a2, GC a3, int a4, int a5, unsigned int a6, unsigned int a7, int a8, int a9, unsigned int a10, unsigned int a11)
75 int r;
76 wine_tsx11_lock();
77 r = XvGetStill( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
78 wine_tsx11_unlock();
79 return r;
82 int TSXvStopVideo(Display* a0, XvPortID a1, Drawable a2)
84 int r;
85 wine_tsx11_lock();
86 r = XvStopVideo( a0, a1, a2);
87 wine_tsx11_unlock();
88 return r;
91 int TSXvGrabPort(Display* a0, XvPortID a1, Time a2)
93 int r;
94 wine_tsx11_lock();
95 r = XvGrabPort( a0, a1, a2);
96 wine_tsx11_unlock();
97 return r;
100 int TSXvUngrabPort(Display* a0, XvPortID a1, Time a2)
102 int r;
103 wine_tsx11_lock();
104 r = XvUngrabPort( a0, a1, a2);
105 wine_tsx11_unlock();
106 return r;
109 int TSXvSelectVideoNotify(Display* a0, Drawable a1, Bool a2)
111 int r;
112 wine_tsx11_lock();
113 r = XvSelectVideoNotify( a0, a1, a2);
114 wine_tsx11_unlock();
115 return r;
118 int TSXvSelectPortNotify(Display* a0, XvPortID a1, Bool a2)
120 int r;
121 wine_tsx11_lock();
122 r = XvSelectPortNotify( a0, a1, a2);
123 wine_tsx11_unlock();
124 return r;
127 int TSXvSetPortAttribute(Display* a0, XvPortID a1, Atom a2, int a3)
129 int r;
130 wine_tsx11_lock();
131 r = XvSetPortAttribute( a0, a1, a2, a3);
132 wine_tsx11_unlock();
133 return r;
136 int TSXvGetPortAttribute(Display* a0, XvPortID a1, Atom a2, int* a3)
138 int r;
139 wine_tsx11_lock();
140 r = XvGetPortAttribute( a0, a1, a2, a3);
141 wine_tsx11_unlock();
142 return r;
145 int TSXvQueryBestSize(Display* a0, XvPortID a1, Bool a2, unsigned int a3, unsigned int a4, unsigned int a5, unsigned int a6, unsigned int* a7, unsigned int* a8)
147 int r;
148 wine_tsx11_lock();
149 r = XvQueryBestSize( a0, a1, a2, a3, a4, a5, a6, a7, a8);
150 wine_tsx11_unlock();
151 return r;
154 XvAttribute* TSXvQueryPortAttributes(Display* a0, XvPortID a1, int* a2)
156 XvAttribute* r;
157 wine_tsx11_lock();
158 r = XvQueryPortAttributes( a0, a1, a2);
159 wine_tsx11_unlock();
160 return r;
163 void TSXvFreeAdaptorInfo(XvAdaptorInfo* a0)
165 wine_tsx11_lock();
166 XvFreeAdaptorInfo( a0);
167 wine_tsx11_unlock();
170 void TSXvFreeEncodingInfo(XvEncodingInfo* a0)
172 wine_tsx11_lock();
173 XvFreeEncodingInfo( a0);
174 wine_tsx11_unlock();
177 XvImageFormatValues * TSXvListImageFormats(Display* a0, XvPortID a1, int* a2)
179 XvImageFormatValues * r;
180 wine_tsx11_lock();
181 r = XvListImageFormats( a0, a1, a2);
182 wine_tsx11_unlock();
183 return r;
186 XvImage * TSXvCreateImage(Display* a0, XvPortID a1, int a2, char* a3, int a4, int a5)
188 XvImage * r;
189 wine_tsx11_lock();
190 r = XvCreateImage( a0, a1, a2, a3, a4, a5);
191 wine_tsx11_unlock();
192 return r;
195 int TSXvPutImage(Display* a0, XvPortID a1, Drawable a2, GC a3, XvImage* a4, int a5, int a6, unsigned int a7, unsigned int a8, int a9, int a10, unsigned int a11, unsigned int a12)
197 int r;
198 wine_tsx11_lock();
199 r = XvPutImage( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
200 wine_tsx11_unlock();
201 return r;
204 int TSXvShmPutImage(Display* a0, XvPortID a1, Drawable a2, GC a3, XvImage* a4, int a5, int a6, unsigned int a7, unsigned int a8, int a9, int a10, unsigned int a11, unsigned int a12, Bool a13)
206 int r;
207 wine_tsx11_lock();
208 r = XvShmPutImage( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
209 wine_tsx11_unlock();
210 return r;
213 XvImage * TSXvShmCreateImage(Display* a0, XvPortID a1, int a2, char* a3, int a4, int a5, XShmSegmentInfo* a6)
215 XvImage * r;
216 wine_tsx11_lock();
217 r = XvShmCreateImage( a0, a1, a2, a3, a4, a5, a6);
218 wine_tsx11_unlock();
219 return r;
222 #endif /* defined(HAVE_XVIDEO) */