diff options
author | Austin Yuan <shengquan.yuan@gmail.com> | 2013-03-07 10:32:19 +0800 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-08-27 11:16:43 +0200 |
commit | f48b43bd467c5c24687c1253941bf3d037f5e371 (patch) | |
tree | f63cc16d02c9444d71779153d7138bdb231af555 | |
parent | fd2d72d7bf712899c6f78dd3d01ff62dc4490d08 (diff) | |
download | libva-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.cpp | 2 | ||||
-rw-r--r-- | va/va_android.h | 6 |
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, |