Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
)
{
/* TODO */
- Drawable drawable = (Drawable)draw;
+ void *drawable = (void *)draw;
(void)drawable;
#define CHECK_MAXIMUM(s, ctx, var) if (!va_checkMaximum(ctx->max_##var, #var)) s = VA_STATUS_ERROR_UNKNOWN;
#define CHECK_STRING(s, ctx, var) if (!va_checkString(ctx->str_##var, #var)) s = VA_STATUS_ERROR_UNKNOWN;
+#define Bool int
+#define True 1
+#define False 0
/*
* read a config "env" for libva.conf or from environment setting
#define _VA_BACKEND_H_
#include <va/va.h>
-#ifndef ANDROID
-#include <X11/Xlib.h>
-#endif
#include <linux/videodev2.h>
typedef struct VADriverContext *VADriverContextP;