diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2015-12-07 13:13:26 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2015-12-07 14:54:51 +0800 |
commit | 9ce333f193fa0f56ec09b9f5b2f4823461f48776 (patch) | |
tree | 45a487afbf4d363b15e0fe6e2977bc81d993f536 | |
parent | e16f923193a10f78f5462db7efa4e89e242fca93 (diff) |
Keep backward compatibility with VA API 0.38.0
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
-rw-r--r-- | src/va_backend_compat.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/va_backend_compat.h b/src/va_backend_compat.h index 8767153..7f0a607 100644 --- a/src/va_backend_compat.h +++ b/src/va_backend_compat.h @@ -50,4 +50,12 @@ # define VAProfileH264StereoHigh 16 #endif +#if !VA_CHECK_VERSION(0,38,1) + +# define VA_RT_FORMAT_YUV420_10BPP 0x00000100 +# define VA_FOURCC_P010 0x30313050 +# define VA_FOURCC_P016 0x36313050 + +#endif + #endif /* VA_BACKEND_COMPAT_H */ |