• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Revisãobcb7db60d6dd28eedc3007055999b8ba38c1485d (tree)
Hora2017-06-12 10:41:00
AutorLinda Yu <linda.yu@inte...>
CommiterXiang, Haihao

Mensagem de Log

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)

Mudança Sumário

Diff

--- a/va/android/va_android.cpp
+++ b/va/android/va_android.cpp
@@ -194,7 +194,7 @@ extern "C" {
194194 VAStatus vaPutSurface (
195195 VADisplay dpy,
196196 VASurfaceID surface,
197- sp<ISurface> draw, /* Android Surface/Window */
197+ sp<ANativeWindow> draw, /* Android Native Window */
198198 short srcx,
199199 short srcy,
200200 unsigned short srcw,
--- a/va/va_android.h
+++ b/va/va_android.h
@@ -48,7 +48,8 @@ VADisplay vaGetDisplay (
4848
4949 #ifdef __cplusplus
5050 #ifdef ANDROID
51-#include <surfaceflinger/ISurface.h>
51+#include <system/window.h>
52+#include <utils/StrongPointer.h>
5253 using namespace android;
5354
5455 /*
@@ -62,7 +63,7 @@ using namespace android;
6263 VAStatus vaPutSurface (
6364 VADisplay dpy,
6465 VASurfaceID surface,
65- sp<ISurface> draw, /* Android Window/Surface */
66+ sp<ANativeWindow> draw, /* Android Native Window */
6667 short srcx,
6768 short srcy,
6869 unsigned short srcw,