Pass down ISurface instead of Surface
authorRen Zhaohan <zhaohan.ren@intel.com>
Tue, 18 May 2010 07:44:55 +0000 (15:44 +0800)
committerRen Zhaohan <zhaohan.ren@intel.com>
Tue, 18 May 2010 07:44:55 +0000 (15:44 +0800)
va/android/va_android.cpp
va/va_android.h

index 9869883..2e389cc 100644 (file)
@@ -293,7 +293,7 @@ VADisplay vaGetDisplay (
 VAStatus vaPutSurface (
     VADisplay dpy,
     VASurfaceID surface,
-    sp<Surface> draw, /* Android Surface/Window */
+    sp<ISurface> draw, /* Android Surface/Window */
     short srcx,
     short srcy,
     unsigned short srcw,
index de223fc..062c90b 100644 (file)
@@ -4,7 +4,7 @@
 #include <va/va.h>
 
 #ifdef ANDROID    
-#include <ui/Surface.h>
+#include <ui/ISurface.h>
 using namespace android;
 #endif
 
@@ -30,7 +30,7 @@ VADisplay vaGetDisplay (
 VAStatus vaPutSurface (
     VADisplay dpy,
     VASurfaceID surface,       
-    sp<Surface> draw, /* Android Window/Surface */
+    sp<ISurface> draw, /* Android Window/Surface */
     short srcx,
     short srcy,
     unsigned short srcw,