diff options
author | James Zern <jzern@google.com> | 2022-03-07 18:35:47 +0000 |
---|---|---|
committer | James Zern <jzern@google.com> | 2023-03-24 11:20:35 -0700 |
commit | 8f7513b7c0aec45bf163c107284bccb86aa478ef (patch) | |
tree | d5954c9cbb168f99e74f363137f9742627077002 | |
parent | a4f048357956604790a08777149b4dbd248d0685 (diff) | |
download | libwebp-8f7513b7c0aec45bf163c107284bccb86aa478ef.tar.gz |
upsampling_neon.c: fix WEBP_SWAP_16BIT_CSP check
this is always defined by default to 0 since:
v0.6.0-158-g663a6d9d unify the ALTERNATE_CODE flag usage
previously the !defined() check would cause a mismatch between C and
assembly.
Change-Id: Idca0b8e39ca90d63785fd4125aeb7af86c5aae61
-rw-r--r-- | src/dsp/upsampling_neon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dsp/upsampling_neon.c b/src/dsp/upsampling_neon.c index 6ba71a7d..bbc000ca 100644 --- a/src/dsp/upsampling_neon.c +++ b/src/dsp/upsampling_neon.c @@ -111,7 +111,7 @@ static const int16_t kCoeffs1[4] = { 19077, 26149, 6419, 13320 }; vst4_u8(out, v255_r_g_b); \ } while (0) -#if !defined(WEBP_SWAP_16BIT_CSP) +#if (WEBP_SWAP_16BIT_CSP == 0) #define ZIP_U8(lo, hi) vzip_u8((lo), (hi)) #else #define ZIP_U8(lo, hi) vzip_u8((hi), (lo)) |