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_sse2.c | |
parent | 6369196b9698c92854bb4dba458ad0b099965d8f (diff) |
libwebp: Sync with upstream 1.3.0
Diffstat (limited to 'thirdparty/libwebp/sharpyuv/sharpyuv_sse2.c')
-rw-r--r-- | thirdparty/libwebp/sharpyuv/sharpyuv_sse2.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/thirdparty/libwebp/sharpyuv/sharpyuv_sse2.c b/thirdparty/libwebp/sharpyuv/sharpyuv_sse2.c index 1943873748..9744d1bb6c 100644 --- a/thirdparty/libwebp/sharpyuv/sharpyuv_sse2.c +++ b/thirdparty/libwebp/sharpyuv/sharpyuv_sse2.c @@ -16,11 +16,6 @@ #if defined(WEBP_USE_SSE2) #include <stdlib.h> #include <emmintrin.h> -#endif - -extern void InitSharpYuvSSE2(void); - -#if defined(WEBP_USE_SSE2) static uint16_t clip_SSE2(int v, int max) { return (v < 0) ? 0 : (v > max) ? max : (uint16_t)v; @@ -199,6 +194,8 @@ WEBP_TSAN_IGNORE_FUNCTION void InitSharpYuvSSE2(void) { } #else // !WEBP_USE_SSE2 +extern void InitSharpYuvSSE2(void); + void InitSharpYuvSSE2(void) {} #endif // WEBP_USE_SSE2 |