diff options
author | Jonathan Bian <jonathan.bian@intel.com> | 2012-09-06 16:07:31 -0700 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-05 09:38:35 +0800 |
commit | 35237ddff6cd278989a3c81e81de0a5bfa8fb12f (patch) | |
tree | a51162c1a6a9f2aafeb2a97cc2e8d61ed0dfbf58 /va/va_drmcommon.h | |
parent | af00a1b232948563e97850e1310ca4d74bcdc859 (diff) | |
download | libva-35237ddff6cd278989a3c81e81de0a5bfa8fb12f.tar.gz |
Added new surface attributes to enable VA surface creation from external buffers.
Diffstat (limited to 'va/va_drmcommon.h')
-rw-r--r-- | va/va_drmcommon.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/va/va_drmcommon.h b/va/va_drmcommon.h index bb00fd4..47dd371 100644 --- a/va/va_drmcommon.h +++ b/va/va_drmcommon.h @@ -68,4 +68,9 @@ struct drm_state { int auth_type; }; +/** \brief Kernel DRM buffer memory type "KDRM" in fourcc */ +#define VA_SURFACE_ATTRIB_MEM_TYPE_KERNEL_DRM 0x4D52444B +/** \brief DRM PRIME memory type "DPRI" in fourcc */ +#define VA_SURFACE_ATTRIB_MEM_TYPE_DRM_PRIME 0x49525044 + #endif /* VA_DRM_COMMON_H */ |