summaryrefslogtreecommitdiff
path: root/va/va_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'va/va_backend.h')
-rw-r--r--va/va_backend.h25
1 files changed, 5 insertions, 20 deletions
diff --git a/va/va_backend.h b/va/va_backend.h
index 54db430..f457cc4 100644
--- a/va/va_backend.h
+++ b/va/va_backend.h
@@ -185,7 +185,11 @@ struct VADriverVTable
VAStatus (*vaPutSurface) (
VADriverContextP ctx,
VASurfaceID surface,
- void * draw, /* Drawable of window system */
+#ifdef ANDROID
+ Surface* draw, /* Drawable of window system */
+#else
+ Drawable draw,
+#endif
short srcx,
short srcy,
unsigned short srcw,
@@ -199,25 +203,6 @@ struct VADriverVTable
unsigned int flags /* de-interlacing flags */
);
- VAStatus (*vaPutSurfaceBuf) (
- VADriverContextP ctx,
- VASurfaceID surface,
- Drawable draw, /* X Drawable */
- unsigned char* data,
- int* data_len,
- short srcx,
- short srcy,
- unsigned short srcw,
- unsigned short srch,
- short destx,
- short desty,
- unsigned short destw,
- unsigned short desth,
- VARectangle *cliprects, /* client supplied clip list */
- unsigned int number_cliprects, /* number of clip rects in the clip list */
- unsigned int flags /* de-interlacing flags */
- );
-
VAStatus (*vaQueryImageFormats) (
VADriverContextP ctx,
VAImageFormat *format_list, /* out */