Commit 680ebba2 authored by Ren Zhaohan's avatar Ren Zhaohan

pass moblin compile

parent 24914b55
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
#ifndef _VA_H_ #ifndef _VA_H_
#define _VA_H_ #define _VA_H_
#include <va/va_version.h.in> #include <va/va_version.h>
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
#define _VA_ANDROID_H_ #define _VA_ANDROID_H_
#include <va/va.h> #include <va/va.h>
#include <ui/Surface.h>
class Surface;
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
......
...@@ -32,9 +32,6 @@ ...@@ -32,9 +32,6 @@
#include <va/va.h> #include <va/va.h>
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <linux/videodev2.h> #include <linux/videodev2.h>
#include <ui/Surface.h>
class Surface;
typedef struct VADriverContext *VADriverContextP; typedef struct VADriverContext *VADriverContextP;
typedef struct VADisplayContext *VADisplayContextP; typedef struct VADisplayContext *VADisplayContextP;
...@@ -182,7 +179,7 @@ struct VADriverVTable ...@@ -182,7 +179,7 @@ struct VADriverVTable
VAStatus (*vaPutSurface) ( VAStatus (*vaPutSurface) (
VADriverContextP ctx, VADriverContextP ctx,
VASurfaceID surface, VASurfaceID surface,
Surface* draw, /* X Drawable */ void* draw, /* X Drawable */
short srcx, short srcx,
short srcy, short srcy,
unsigned short srcw, unsigned short srcw,
......
...@@ -247,7 +247,7 @@ VAStatus vaPutSurface ( ...@@ -247,7 +247,7 @@ VAStatus vaPutSurface (
CHECK_DISPLAY(dpy); CHECK_DISPLAY(dpy);
ctx = CTX(dpy); ctx = CTX(dpy);
return ctx->vtable.vaPutSurface( ctx, surface, draw, srcx, srcy, srcw, srch, return ctx->vtable.vaPutSurface( ctx, surface, &draw, srcx, srcy, srcw, srch,
destx, desty, destw, desth, destx, desty, destw, desth,
cliprects, number_cliprects, flags ); cliprects, number_cliprects, flags );
} }
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