diff options
author | Ren Zhaohan <zhaohan.ren@intel.com> | 2010-05-05 16:19:39 +0800 |
---|---|---|
committer | Ren Zhaohan <zhaohan.ren@intel.com> | 2010-05-05 16:19:39 +0800 |
commit | 5bc5efa30ce3a53b69c2560ab50e1a3d9367fdac (patch) | |
tree | d1a373c00448a4b601f17c3afbb70bd0285f3d89 /va/va_backend.h | |
parent | 01d2fa69930aae3a1b63acf4657843395cf1c095 (diff) |
add new va_DisplayContextGetDriverName, remove 'x11/XX' include folder namePO-ww19.3-new
Diffstat (limited to 'va/va_backend.h')
-rw-r--r-- | va/va_backend.h | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/va/va_backend.h b/va/va_backend.h index 54db430..f457cc4 100644 --- a/va/va_backend.h +++ b/va/va_backend.h @@ -185,7 +185,11 @@ struct VADriverVTable VAStatus (*vaPutSurface) ( VADriverContextP ctx, VASurfaceID surface, - void * draw, /* Drawable of window system */ +#ifdef ANDROID + Surface* draw, /* Drawable of window system */ +#else + Drawable draw, +#endif short srcx, short srcy, unsigned short srcw, @@ -199,25 +203,6 @@ struct VADriverVTable unsigned int flags /* de-interlacing flags */ ); - VAStatus (*vaPutSurfaceBuf) ( - VADriverContextP ctx, - VASurfaceID surface, - Drawable draw, /* X Drawable */ - unsigned char* data, - int* data_len, - short srcx, - short srcy, - unsigned short srcw, - unsigned short srch, - short destx, - short desty, - unsigned short destw, - unsigned short desth, - VARectangle *cliprects, /* client supplied clip list */ - unsigned int number_cliprects, /* number of clip rects in the clip list */ - unsigned int flags /* de-interlacing flags */ - ); - VAStatus (*vaQueryImageFormats) ( VADriverContextP ctx, VAImageFormat *format_list, /* out */ |