OSDN Git Service
(root)
/
android-x86
/
hardware-intel-common-vaapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13aa437
)
android: get libva version from va_version.h
author
Chih-Wei Huang
<cwhuang@linux.org.tw>
Thu, 31 May 2018 10:51:31 +0000
(18:51 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Fri, 29 Jun 2018 04:20:37 +0000
(12:20 +0800)
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
src/config_android.h
patch
|
blob
|
history
diff --git
a/src/config_android.h
b/src/config_android.h
index
f3ecb92
..
63fbb82
100644
(file)
--- a/
src/config_android.h
+++ b/
src/config_android.h
@@
-81,8
+81,13
@@
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
+#include <va/va_version.h>
+
+#define VA_CAT_NX(A, B) __vaDriverInit_## A ## _ ## B
+#define VA_CAT(A, B) VA_CAT_NX(A, B)
+
/* Define driver entry-point */
-#define VA_DRIVER_INIT_FUNC
__vaDriverInit_0_33
+#define VA_DRIVER_INIT_FUNC
VA_CAT(VA_MAJOR_VERSION, VA_MINOR_VERSION)
/* Version number of package */
#define VERSION "1.0.16.pre1"