summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2015-12-07 13:13:26 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2015-12-07 14:56:11 +0800
commit5d60e6430c1337d9a7179e3d68dda6babff89245 (patch)
tree56d084b460f75e1b316b890119d55056f2902acf
parent2e472c2232acb67ed291554372c149f9cef19201 (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> (cherry picked from commit 9ce333f193fa0f56ec09b9f5b2f4823461f48776)
-rw-r--r--src/va_backend_compat.h8
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 */