hardware/intel/common/libva
Revisão | bcb7db60d6dd28eedc3007055999b8ba38c1485d (tree) |
---|---|
Hora | 2017-06-12 10:41:00 |
Autor | Linda Yu <linda.yu@inte...> |
Commiter | Xiang, Haihao |
libva: change to use ANativeWindow
Jira: https://01.org/jira/browser/AIA-65
Test: vainfo
Signed-off-by: Linda Yu <linda.yu@intel.com>
(cherry picked from commit db9288557511698bba192ac0cf084c00bcc1fd7f)
@@ -194,7 +194,7 @@ extern "C" { | ||
194 | 194 | VAStatus vaPutSurface ( |
195 | 195 | VADisplay dpy, |
196 | 196 | VASurfaceID surface, |
197 | - sp<ISurface> draw, /* Android Surface/Window */ | |
197 | + sp<ANativeWindow> draw, /* Android Native Window */ | |
198 | 198 | short srcx, |
199 | 199 | short srcy, |
200 | 200 | unsigned short srcw, |
@@ -48,7 +48,8 @@ VADisplay vaGetDisplay ( | ||
48 | 48 | |
49 | 49 | #ifdef __cplusplus |
50 | 50 | #ifdef ANDROID |
51 | -#include <surfaceflinger/ISurface.h> | |
51 | +#include <system/window.h> | |
52 | +#include <utils/StrongPointer.h> | |
52 | 53 | using namespace android; |
53 | 54 | |
54 | 55 | /* |
@@ -62,7 +63,7 @@ using namespace android; | ||
62 | 63 | VAStatus vaPutSurface ( |
63 | 64 | VADisplay dpy, |
64 | 65 | VASurfaceID surface, |
65 | - sp<ISurface> draw, /* Android Window/Surface */ | |
66 | + sp<ANativeWindow> draw, /* Android Native Window */ | |
66 | 67 | short srcx, |
67 | 68 | short srcy, |
68 | 69 | unsigned short srcw, |