Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(566)

Side by Side Diff: third_party/libva/va/va_x11.h

Issue 10380004: Add libva, a library for video accelerated video processing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef _VA_X11_H_
2 #define _VA_X11_H_
3
4 #include <va/va.h>
5 #include <X11/Xlib.h>
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 /*
12 * Returns a suitable VADisplay for VA API
13 */
14 VADisplay vaGetDisplay (
15 Display *dpy
16 );
17
18 /*
19 * Output rendering
20 * Following is the rendering interface for X windows,
21 * to get the decode output surface to a X drawable
22 * It basically performs a de-interlacing (if needed),
23 * color space conversion and scaling to the destination
24 * rectangle
25 */
26 VAStatus vaPutSurface (
27 VADisplay dpy,
28 VASurfaceID surface,
29 Drawable draw, /* X Drawable */
30 short srcx,
31 short srcy,
32 unsigned short srcw,
33 unsigned short srch,
34 short destx,
35 short desty,
36 unsigned short destw,
37 unsigned short desth,
38 VARectangle *cliprects, /* client supplied destination clip list */
39 unsigned int number_cliprects, /* number of clip rects in the clip list */
40 unsigned int flags /* PutSurface flags */
41 );
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif /* _VA_X11_H_ */
OLDNEW
« third_party/libva/README.chromium ('K') | « third_party/libva/va/va_version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698