Rev 5362 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5362 | Rev 5366 | ||
---|---|---|---|
Line 23... | Line 23... | ||
23 | */ |
23 | */ |
24 | #ifndef _VA_X11_H_ |
24 | #ifndef _VA_X11_H_ |
25 | #define _VA_X11_H_ |
25 | #define _VA_X11_H_ |
Line 26... | Line 26... | ||
26 | 26 | ||
27 | #include |
- | |
Line 28... | Line 27... | ||
28 | #include |
27 | #include |
29 | 28 | ||
30 | #ifdef __cplusplus |
29 | #ifdef __cplusplus |
Line 31... | Line 30... | ||
31 | extern "C" { |
30 | extern "C" { |
32 | #endif |
31 | #endif |
33 | 32 | ||
34 | /* |
33 | /* |
35 | * Returns a suitable VADisplay for VA API |
- | |
36 | */ |
- | |
Line 37... | Line 34... | ||
37 | VADisplay vaGetDisplay ( |
34 | * Returns a suitable VADisplay for VA API |
38 | Display *dpy |
35 | */ |
39 | ); |
36 | VADisplay va_open_display(void); |
40 | 37 | ||
Line 47... | Line 44... | ||
47 | * rectangle |
44 | * rectangle |
48 | */ |
45 | */ |
49 | VAStatus vaPutSurface ( |
46 | VAStatus vaPutSurface ( |
50 | VADisplay dpy, |
47 | VADisplay dpy, |
51 | VASurfaceID surface, |
48 | VASurfaceID surface, |
52 | Drawable draw, /* X Drawable */ |
- | |
53 | short srcx, |
49 | short srcx, |
54 | short srcy, |
50 | short srcy, |
55 | unsigned short srcw, |
51 | unsigned short srcw, |
56 | unsigned short srch, |
52 | unsigned short srch, |
57 | short destx, |
53 | short destx, |