diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-12-18 23:50:25 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-05 09:38:35 +0800 |
commit | e1d3569778a6662a2d8b97180c790e862a3926be (patch) | |
tree | 433e5a8698e5735902ac2ec5db76c1478cd78f50 /va/va_backend.h | |
parent | 57b99c7c8e9671202b5c3d1e476b60bdc4b7d1f5 (diff) | |
download | libva-e1d3569778a6662a2d8b97180c790e862a3926be.tar.gz |
API: add surface attributes.
Diffstat (limited to 'va/va_backend.h')
-rw-r--r-- | va/va_backend.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/va/va_backend.h b/va/va_backend.h index 35e96cf..f27b32f 100644 --- a/va/va_backend.h +++ b/va/va_backend.h @@ -391,6 +391,26 @@ struct VADriverVTable VADriverContextP ctx, VASurfaceID surface ); + + VAStatus + (*vaGetSurfaceAttributes)( + VADriverContextP dpy, + VAConfigID config, + VASurfaceAttrib *attrib_list, + unsigned int num_attribs + ); + + VAStatus + (*vaCreateSurfaces2)( + VADriverContextP ctx, + unsigned int format, + unsigned int width, + unsigned int height, + VASurfaceID *surfaces, + unsigned int num_surfaces, + VASurfaceAttrib *attrib_list, + unsigned int num_attribs + ); }; struct VADriverContext |