Commit c6fc410a authored by Ren Zhaohan's avatar Ren Zhaohan

Add copy va_tpi.h in Android.mk

parent 4183d515
...@@ -47,6 +47,8 @@ include $(CLEAR_VARS) ...@@ -47,6 +47,8 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \ LOCAL_SRC_FILES := \
va_tpi.c \ va_tpi.c \
LOCAL_CFLAGS += -DANDROID \
LOCAL_C_INCLUDES += \ LOCAL_C_INCLUDES += \
$(TARGET_OUT_HEADERS)/libva \ $(TARGET_OUT_HEADERS)/libva \
...@@ -55,6 +57,7 @@ LOCAL_COPY_HEADERS_TO := libva/va ...@@ -55,6 +57,7 @@ LOCAL_COPY_HEADERS_TO := libva/va
LOCAL_COPY_HEADERS := \ LOCAL_COPY_HEADERS := \
va.h \ va.h \
va_backend.h \ va_backend.h \
va_tpi.h \
va_backend_tpi.h va_backend_tpi.h
......
...@@ -31,6 +31,12 @@ ...@@ -31,6 +31,12 @@
* from CI stack * from CI stack
*/ */
#ifdef ANDROID
#define Drawable unsigned int
#else
#include <X11/Xlib.h>
#endif
#include <va/va.h> #include <va/va.h>
VAStatus vaCreateSurfaceFromCIFrame ( VAStatus vaCreateSurfaceFromCIFrame (
VADisplay dpy, VADisplay dpy,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment