mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
dsp.h: add a check for AVX2 / define WEBP_USE_AVX2
Change-Id: I90cc870f0bb4426af701779c367587dc2ae79c8b
This commit is contained in:
parent
bdb151ee80
commit
541784c710
@ -40,6 +40,10 @@ extern "C" {
|
|||||||
#define WEBP_USE_SSE2
|
#define WEBP_USE_SSE2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__AVX2__)
|
||||||
|
#define WEBP_USE_AVX2
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__ANDROID__) && defined(__ARM_ARCH_7A__)
|
#if defined(__ANDROID__) && defined(__ARM_ARCH_7A__)
|
||||||
#define WEBP_ANDROID_NEON // Android targets that might support NEON
|
#define WEBP_ANDROID_NEON // Android targets that might support NEON
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user