diff options
author | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2023-03-23 16:00:10 +0200 |
---|---|---|
committer | Tarja Sundqvist <tarja.sundqvist@qt.io> | 2023-03-23 16:00:10 +0200 |
commit | 1f67161fea6beb2ed4c09849abe446c6a880af8a (patch) | |
tree | cffe8116a49f76c8e5d521af9298631e0d2a6130 /src/3rdparty/libwebp/src/dsp/neon.h | |
parent | 2dcf2899b022accfef5cede1c2ea3dda2d0d6a4a (diff) | |
parent | c4b95acf2d1da93730c7624033a17f19e239d111 (diff) |
Merge remote-tracking branch 'origin/tqtc/lts-5.15.9' into tqtc/lts-5.15-opensourcev5.15.9-lts-lgpl
Change-Id: Ieb442937b0cc31e15b39401f2a3234b99751d169
Diffstat (limited to 'src/3rdparty/libwebp/src/dsp/neon.h')
-rw-r--r-- | src/3rdparty/libwebp/src/dsp/neon.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/3rdparty/libwebp/src/dsp/neon.h b/src/3rdparty/libwebp/src/dsp/neon.h index aa1dea1..c591f9b 100644 --- a/src/3rdparty/libwebp/src/dsp/neon.h +++ b/src/3rdparty/libwebp/src/dsp/neon.h @@ -12,10 +12,12 @@ #ifndef WEBP_DSP_NEON_H_ #define WEBP_DSP_NEON_H_ -#include <arm_neon.h> - #include "src/dsp/dsp.h" +#if defined(WEBP_USE_NEON) + +#include <arm_neon.h> + // Right now, some intrinsics functions seem slower, so we disable them // everywhere except newer clang/gcc or aarch64 where the inline assembly is // incompatible. @@ -98,4 +100,5 @@ static WEBP_INLINE int32x4x4_t Transpose4x4_NEON(const int32x4x4_t rows) { } while (0) #endif +#endif // WEBP_USE_NEON #endif // WEBP_DSP_NEON_H_ |