hardware/intel/libva
リビジョン | c6fc410af1e24d2e8fcebe342fd9c2a964d504e9 (tree) |
---|---|
日時 | 2010-05-12 13:04:28 |
作者 | Ren Zhaohan <zhaohan.ren@inte...> |
コミッター | Ren Zhaohan |
Add copy va_tpi.h in Android.mk
@@ -47,6 +47,8 @@ include $(CLEAR_VARS) | ||
47 | 47 | LOCAL_SRC_FILES := \ |
48 | 48 | va_tpi.c \ |
49 | 49 | |
50 | +LOCAL_CFLAGS += -DANDROID \ | |
51 | + | |
50 | 52 | LOCAL_C_INCLUDES += \ |
51 | 53 | $(TARGET_OUT_HEADERS)/libva \ |
52 | 54 |
@@ -55,6 +57,7 @@ LOCAL_COPY_HEADERS_TO := libva/va | ||
55 | 57 | LOCAL_COPY_HEADERS := \ |
56 | 58 | va.h \ |
57 | 59 | va_backend.h \ |
60 | + va_tpi.h \ | |
58 | 61 | va_backend_tpi.h |
59 | 62 | |
60 | 63 |
@@ -31,6 +31,12 @@ | ||
31 | 31 | * from CI stack |
32 | 32 | */ |
33 | 33 | |
34 | +#ifdef ANDROID | |
35 | +#define Drawable unsigned int | |
36 | +#else | |
37 | +#include <X11/Xlib.h> | |
38 | +#endif | |
39 | + | |
34 | 40 | #include <va/va.h> |
35 | 41 | VAStatus vaCreateSurfaceFromCIFrame ( |
36 | 42 | VADisplay dpy, |