2 * Thread safe wrappers around xvideo calls.
3 * This file was generated automatically by tools/make_X11wrappers
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)
23 r = XvQueryExtension( a0, a1, a2, a3, a4, a5);
28 int TSXvQueryAdaptors(Display* a0, Window a1, unsigned int* a2, XvAdaptorInfo** a3)
32 r = XvQueryAdaptors( a0, a1, a2, a3);
37 int TSXvQueryEncodings(Display* a0, XvPortID a1, unsigned int* a2, XvEncodingInfo** a3)
41 r = XvQueryEncodings( a0, a1, a2, a3);
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)
50 r = XvPutVideo( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
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)
59 r = XvPutStill( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
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)
68 r = XvGetVideo( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
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)
77 r = XvGetStill( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);
82 int TSXvStopVideo(Display* a0, XvPortID a1, Drawable a2)
86 r = XvStopVideo( a0, a1, a2);
91 int TSXvGrabPort(Display* a0, XvPortID a1, Time a2)
95 r = XvGrabPort( a0, a1, a2);
100 int TSXvUngrabPort(Display* a0, XvPortID a1, Time a2)
104 r = XvUngrabPort( a0, a1, a2);
109 int TSXvSelectVideoNotify(Display* a0, Drawable a1, Bool a2)
113 r = XvSelectVideoNotify( a0, a1, a2);
118 int TSXvSelectPortNotify(Display* a0, XvPortID a1, Bool a2)
122 r = XvSelectPortNotify( a0, a1, a2);
127 int TSXvSetPortAttribute(Display* a0, XvPortID a1, Atom a2, int a3)
131 r = XvSetPortAttribute( a0, a1, a2, a3);
136 int TSXvGetPortAttribute(Display* a0, XvPortID a1, Atom a2, int* a3)
140 r = XvGetPortAttribute( a0, a1, a2, a3);
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)
149 r = XvQueryBestSize( a0, a1, a2, a3, a4, a5, a6, a7, a8);
154 XvAttribute* TSXvQueryPortAttributes(Display* a0, XvPortID a1, int* a2)
158 r = XvQueryPortAttributes( a0, a1, a2);
163 void TSXvFreeAdaptorInfo(XvAdaptorInfo* a0)
166 XvFreeAdaptorInfo( a0);
170 void TSXvFreeEncodingInfo(XvEncodingInfo* a0)
173 XvFreeEncodingInfo( a0);
177 XvImageFormatValues * TSXvListImageFormats(Display* a0, XvPortID a1, int* a2)
179 XvImageFormatValues * r;
181 r = XvListImageFormats( a0, a1, a2);
186 XvImage * TSXvCreateImage(Display* a0, XvPortID a1, int a2, char* a3, int a4, int a5)
190 r = XvCreateImage( a0, a1, a2, a3, a4, a5);
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)
199 r = XvPutImage( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);
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)
208 r = XvShmPutImage( a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);
213 XvImage * TSXvShmCreateImage(Display* a0, XvPortID a1, int a2, char* a3, int a4, int a5, XShmSegmentInfo* a6)
217 r = XvShmCreateImage( a0, a1, a2, a3, a4, a5, a6);
222 #endif /* defined(HAVE_XVIDEO) */