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

pass moblin compile

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