diff options
author | DeeJayLSP <djlsplays@gmail.com> | 2023-01-25 10:24:01 -0300 |
---|---|---|
committer | DeeJayLSP <djlsplays@gmail.com> | 2023-01-25 10:38:03 -0300 |
commit | d8e8517d1174e8593338329a0535da178444817a (patch) | |
tree | 40cc35c11f5ae4813e8f9f8340f7771800704d03 /thirdparty/libwebp/sharpyuv/sharpyuv_neon.c | |
parent | 6369196b9698c92854bb4dba458ad0b099965d8f (diff) |
libwebp: Sync with upstream 1.3.0
Diffstat (limited to 'thirdparty/libwebp/sharpyuv/sharpyuv_neon.c')
-rw-r--r-- | thirdparty/libwebp/sharpyuv/sharpyuv_neon.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/thirdparty/libwebp/sharpyuv/sharpyuv_neon.c b/thirdparty/libwebp/sharpyuv/sharpyuv_neon.c index 5cf6aaffb0..5840914865 100644 --- a/thirdparty/libwebp/sharpyuv/sharpyuv_neon.c +++ b/thirdparty/libwebp/sharpyuv/sharpyuv_neon.c @@ -17,11 +17,6 @@ #include <assert.h> #include <stdlib.h> #include <arm_neon.h> -#endif - -extern void InitSharpYuvNEON(void); - -#if defined(WEBP_USE_NEON) static uint16_t clip_NEON(int v, int max) { return (v < 0) ? 0 : (v > max) ? max : (uint16_t)v; @@ -169,6 +164,8 @@ static void SharpYuvFilterRow_NEON(const int16_t* A, const int16_t* B, int len, //------------------------------------------------------------------------------ +extern void InitSharpYuvNEON(void); + WEBP_TSAN_IGNORE_FUNCTION void InitSharpYuvNEON(void) { SharpYuvUpdateY = SharpYuvUpdateY_NEON; SharpYuvUpdateRGB = SharpYuvUpdateRGB_NEON; @@ -177,6 +174,8 @@ WEBP_TSAN_IGNORE_FUNCTION void InitSharpYuvNEON(void) { #else // !WEBP_USE_NEON +extern void InitSharpYuvNEON(void); + void InitSharpYuvNEON(void) {} #endif // WEBP_USE_NEON |