summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libwebp/src/dsp/neon.h
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2022-02-09 09:26:23 +0100
committerEirik Aavitsland <eirik.aavitsland@qt.io>2022-03-03 12:08:08 +0100
commit0c8d5dc098093af211fc1a1d25a8408ed990fd2a (patch)
tree60b74370992184f04a75683c2b7393cf622ea661 /src/3rdparty/libwebp/src/dsp/neon.h
parentac97ac4cde4c687dd996ed70beebdd1bc84f08ce (diff)
Update bundled libwebp to version 1.2.2
[ChangeLog][Third-Party Code] Update bundled libwebp to version 1.2.2 Pick-to: 6.3 6.2 5.15 Change-Id: I9ddb18c0a8c247799d9e26ea32131c26295d0f4b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/3rdparty/libwebp/src/dsp/neon.h')
-rw-r--r--src/3rdparty/libwebp/src/dsp/neon.h7
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_