Commit a9ea9bcf authored by Ren Zhaohan's avatar Ren Zhaohan

use Surface* instead of void*

parent 5bc5efa3
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
#define _VA_ANDROID_H_ #define _VA_ANDROID_H_
#include <va/va.h> #include <va/va.h>
#define Surface void
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
...@@ -27,7 +30,7 @@ VADisplay vaGetDisplay ( ...@@ -27,7 +30,7 @@ VADisplay vaGetDisplay (
VAStatus vaPutSurface ( VAStatus vaPutSurface (
VADisplay dpy, VADisplay dpy,
VASurfaceID surface, VASurfaceID surface,
void *draw, /* Android Window/Surface */ Surface *draw, /* Android Window/Surface */
short srcx, short srcx,
short srcy, short srcy,
unsigned short srcw, unsigned short srcw,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment