summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>2014-06-03 17:30:11 +0200
committerXiang, Haihao <haihao.xiang@intel.com>2014-06-16 11:53:34 +0800
commitab9de41941ea86e09e0ea2a170ebd2c84693a508 (patch)
tree8453533d1fcad6db225c3d349a8e6076422edf25
parent8715ce33aae4e25ef98eed9c1bdcc6b95c5e3253 (diff)
downloadlibva-intel-driver-ab9de41941ea86e09e0ea2a170ebd2c84693a508.tar.gz
libva-intel-driver-ab9de41941ea86e09e0ea2a170ebd2c84693a508.tar.bz2
libva-intel-driver-ab9de41941ea86e09e0ea2a170ebd2c84693a508.zip
h264: Add the macros for MVC profiles to keep backward compatibility with libva 1.3.1
It is a part of 1f244834dedb7b46863b315a898d8649d01c5f58 on staging Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
-rw-r--r--src/va_backend_compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/va_backend_compat.h b/src/va_backend_compat.h
index 267f1d8..5fcb198 100644
--- a/src/va_backend_compat.h
+++ b/src/va_backend_compat.h
@@ -51,4 +51,9 @@
#endif
+#if !VA_CHECK_VERSION(0,35,2)
+# define VAProfileH264MultiviewHigh 15
+# define VAProfileH264StereoHigh 16
+#endif
+
#endif /* VA_BACKEND_COMPAT_H */