hardware/intel/libva
修订版 | a02db9921e4647293850b11058f2df07ac5768f0 (tree) |
---|---|
时间 | 2009-03-26 06:45:59 |
作者 | Ren, Zhaohan <zhaohan.ren@inte...> |
Commiter | Ren, Zhaohan |
Merge branch 'master' of ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva
@@ -1,7 +1,11 @@ | ||
1 | 1 | #ifndef _VA_X11_H_ |
2 | 2 | #define _VA_X11_H_ |
3 | 3 | |
4 | -#include <va.h> | |
4 | +#ifdef IN_LIBVA | |
5 | +#include "va.h" | |
6 | +#else | |
7 | +#include <va/va.h> | |
8 | +#endif | |
5 | 9 | #include <X11/Xlib.h> |
6 | 10 | |
7 | 11 | #ifdef __cplusplus |
@@ -29,8 +29,13 @@ | ||
29 | 29 | #ifndef _VA_BACKEND_H_ |
30 | 30 | #define _VA_BACKEND_H_ |
31 | 31 | |
32 | +#ifdef IN_LIBVA | |
32 | 33 | #include "va.h" |
33 | 34 | #include "X11/va_x11.h" |
35 | +#else | |
36 | +#include <va/va.h> | |
37 | +#include <X11/va_x11.h> | |
38 | +#endif | |
34 | 39 | |
35 | 40 | #include <stdlib.h> |
36 | 41 |