summaryrefslogtreecommitdiffstats
path: root/thirdparty/libwebp/src/dsp/enc_neon.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-08-07 18:12:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-08-07 18:12:39 +0200
commit2529ad6a6427a27f47c1ef8ce2aac608f6c20ed8 (patch)
tree979839c7347bbcedb9944c0060612399b5dfa25f /thirdparty/libwebp/src/dsp/enc_neon.c
parentf2acfb1ffc94d0e381064070108e7a773d86177d (diff)
downloadredot-engine-2529ad6a6427a27f47c1ef8ce2aac608f6c20ed8.tar.gz
libwebp: Sync with upstream 1.3.1
https://chromium.googlesource.com/webm/libwebp/+/1.3.1/NEWS
Diffstat (limited to 'thirdparty/libwebp/src/dsp/enc_neon.c')
-rw-r--r--thirdparty/libwebp/src/dsp/enc_neon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/libwebp/src/dsp/enc_neon.c b/thirdparty/libwebp/src/dsp/enc_neon.c
index 3a04111c55..714800367b 100644
--- a/thirdparty/libwebp/src/dsp/enc_neon.c
+++ b/thirdparty/libwebp/src/dsp/enc_neon.c
@@ -764,7 +764,7 @@ static WEBP_INLINE void AccumulateSSE16_NEON(const uint8_t* const a,
// Horizontal sum of all four uint32_t values in 'sum'.
static int SumToInt_NEON(uint32x4_t sum) {
-#if defined(__aarch64__)
+#if WEBP_AARCH64
return (int)vaddvq_u32(sum);
#else
const uint64x2_t sum2 = vpaddlq_u32(sum);
@@ -865,7 +865,7 @@ static int QuantizeBlock_NEON(int16_t in[16], int16_t out[16],
uint8x8x4_t shuffles;
// vtbl?_u8 are marked unavailable for iOS arm64 with Xcode < 6.3, use
// non-standard versions there.
-#if defined(__APPLE__) && defined(__aarch64__) && \
+#if defined(__APPLE__) && WEBP_AARCH64 && \
defined(__apple_build_version__) && (__apple_build_version__< 6020037)
uint8x16x2_t all_out;
INIT_VECTOR2(all_out, vreinterpretq_u8_s16(out0), vreinterpretq_u8_s16(out1));