summaryrefslogtreecommitdiff
path: root/va/android/va_android.c
diff options
context:
space:
mode:
Diffstat (limited to 'va/android/va_android.c')
-rw-r--r--va/android/va_android.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/va/android/va_android.c b/va/android/va_android.c
index 687b86d..c7176c9 100644
--- a/va/android/va_android.c
+++ b/va/android/va_android.c
@@ -186,3 +186,31 @@ VAStatus vaPutSurface (
destx, desty, destw, desth,
cliprects, number_cliprects, flags );
}
+
+VAStatus vaPutSurfaceBuf (
+ VADisplay dpy,
+ VASurfaceID surface,
+ Drawable draw, /* Android Surface/Window */
+ 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 */
+)
+{
+ VADriverContextP ctx;
+
+ CHECK_DISPLAY(dpy);
+ ctx = CTX(dpy);
+
+ return ctx->vtable.vaPutSurfaceBuf( ctx, surface, draw, data, data_len, srcx, srcy, srcw, srch,
+ destx, desty, destw, desth, cliprects, number_cliprects, flags );
+}