#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;
VAStatus (*vaPutSurface) (
VADriverContextP ctx,
VASurfaceID surface,
- Surface* draw, /* X Drawable */
+ void* draw, /* X Drawable */
short srcx,
short srcy,
unsigned short srcw,
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 );
}