summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libwebp/src/dsp/msa_macro.h
diff options
context:
space:
mode:
authorTarja Sundqvist <tarja.sundqvist@qt.io>2023-03-23 16:00:10 +0200
committerTarja Sundqvist <tarja.sundqvist@qt.io>2023-03-23 16:00:10 +0200
commit1f67161fea6beb2ed4c09849abe446c6a880af8a (patch)
treecffe8116a49f76c8e5d521af9298631e0d2a6130 /src/3rdparty/libwebp/src/dsp/msa_macro.h
parent2dcf2899b022accfef5cede1c2ea3dda2d0d6a4a (diff)
parentc4b95acf2d1da93730c7624033a17f19e239d111 (diff)
Merge remote-tracking branch 'origin/tqtc/lts-5.15.9' into tqtc/lts-5.15-opensourcev5.15.9-lts-lgpl
Diffstat (limited to 'src/3rdparty/libwebp/src/dsp/msa_macro.h')
-rw-r--r--src/3rdparty/libwebp/src/dsp/msa_macro.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/3rdparty/libwebp/src/dsp/msa_macro.h b/src/3rdparty/libwebp/src/dsp/msa_macro.h
index de026a1..51f6c64 100644
--- a/src/3rdparty/libwebp/src/dsp/msa_macro.h
+++ b/src/3rdparty/libwebp/src/dsp/msa_macro.h
@@ -14,6 +14,10 @@
#ifndef WEBP_DSP_MSA_MACRO_H_
#define WEBP_DSP_MSA_MACRO_H_
+#include "src/dsp/dsp.h"
+
+#if defined(WEBP_USE_MSA)
+
#include <stdint.h>
#include <msa.h>
@@ -1389,4 +1393,5 @@ static WEBP_INLINE uint32_t func_hadd_uh_u32(v8u16 in) {
} while (0)
#define AVER_UB2_UB(...) AVER_UB2(v16u8, __VA_ARGS__)
+#endif // WEBP_USE_MSA
#endif // WEBP_DSP_MSA_MACRO_H_