vapoursynth: fix build w/ zimg-2.9.1

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-06-21 06:26:48 +02:00
parent c87e72b259
commit 02872f015d
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8

View file

@ -0,0 +1,15 @@
--- src/core/vsresize.cpp 2018-10-26 23:11:05.000000000 +0200
+++ src/core/vsresize.cpp 2019-06-21 06:18:30.310902300 +0200
@@ -85,7 +85,12 @@
{ "f16c", ZIMG_CPU_X86_F16C },
{ "avx2", ZIMG_CPU_X86_AVX2 },
{ "avx512f", ZIMG_CPU_X86_AVX512F },
+#ifdef ZIMG_CPU_X86_AVX512_SKL
{ "avx512skl", ZIMG_CPU_X86_AVX512_SKL },
+#endif
+#ifdef ZIMG_CPU_X86_AVX512_SKX
+ { "avx512skx", ZIMG_CPU_X86_AVX512_SKX },
+#endif
#endif
};