diff options
author | Philipp Kerling <pkerling@casix.org> | 2018-03-07 08:40:37 +0100 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2018-03-30 09:57:35 +0800 |
commit | 6ac580c296cdbeb9a50462d280cc40d8716ffa30 (patch) | |
tree | b4c551305fc46428a803381a040ea7c49ff9b3a2 | |
parent | 392187428cee9f5062c1b989cbe83a0a5e17c861 (diff) | |
download | libva-6ac580c296cdbeb9a50462d280cc40d8716ffa30.tar.gz |
va: Add VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT
This can be used to tell the driver to prepare the surface such
that it can easily be used for export to third-party APIs.
For example, the driver might choose to decode to frames instead
of fields since only frames can be exported.
-rw-r--r-- | va/va.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1321,6 +1321,9 @@ typedef struct _VASurfaceAttribExternalBuffers { #define VA_SURFACE_ATTRIB_USAGE_HINT_VPP_WRITE 0x00000008 /** \brief Surface used for display. */ #define VA_SURFACE_ATTRIB_USAGE_HINT_DISPLAY 0x00000010 +/** \brief Surface used for export to third-party APIs, e.g. via + * vaExportSurfaceHandle(). */ +#define VA_SURFACE_ATTRIB_USAGE_HINT_EXPORT 0x00000020 /**@}*/ |