summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@gmail.com>2013-03-07 10:32:19 +0800
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-08-27 11:16:43 +0200
commitf48b43bd467c5c24687c1253941bf3d037f5e371 (patch)
treef63cc16d02c9444d71779153d7138bdb231af555
parentfd2d72d7bf712899c6f78dd3d01ff62dc4490d08 (diff)
downloadlibva-f48b43bd467c5c24687c1253941bf3d037f5e371.tar.gz
vaPutSurface on Android: move the drawable to ANativeWindow
Change-Id: I21b886966bbe70ff902daafe828de47ad3f0b956 Signed-off-by: Austin Yuan <shengquan.yuan@gmail.com>
-rw-r--r--va/android/va_android.cpp2
-rw-r--r--va/va_android.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/va/android/va_android.cpp b/va/android/va_android.cpp
index ebbfbd3..0c2b0b5 100644
--- a/va/android/va_android.cpp
+++ b/va/android/va_android.cpp
@@ -194,7 +194,7 @@ extern "C" {
VAStatus vaPutSurface (
VADisplay dpy,
VASurfaceID surface,
- sp<ISurface> draw, /* Android Surface/Window */
+ sp<ANativeWindow> draw, /* Android Native Window */
short srcx,
short srcy,
unsigned short srcw,
diff --git a/va/va_android.h b/va/va_android.h
index 796ab63..0193fb0 100644
--- a/va/va_android.h
+++ b/va/va_android.h
@@ -48,7 +48,7 @@ VADisplay vaGetDisplay (
#ifdef __cplusplus
#ifdef ANDROID
-#include <surfaceflinger/ISurface.h>
+#include <gui/Surface.h>
using namespace android;
/*
@@ -61,8 +61,8 @@ using namespace android;
*/
VAStatus vaPutSurface (
VADisplay dpy,
- VASurfaceID surface,
- sp<ISurface> draw, /* Android Window/Surface */
+ VASurfaceID surface,
+ sp<ANativeWindow> draw, /* Android Native Window */
short srcx,
short srcy,
unsigned short srcw,