diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-02-26 20:13:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-26 20:13:31 +0100 |
commit | 0f12d0a9243c17c08ef4a5e2a5beb4d82a9f048d (patch) | |
tree | c49dcb94c5ba42e4542586f5a01adced30204552 /thirdparty/libwebp/dsp/rescaler.c | |
parent | a78c314b0ec48ef03da66d5de893c07e03523b90 (diff) | |
parent | 6de3defe7271441f6e55e1a0ed5e115a92a72606 (diff) |
Merge pull request #7827 from volzhs/libwebp-0.6.0
Update libwebp to 0.6.0
Diffstat (limited to 'thirdparty/libwebp/dsp/rescaler.c')
-rw-r--r-- | thirdparty/libwebp/dsp/rescaler.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/thirdparty/libwebp/dsp/rescaler.c b/thirdparty/libwebp/dsp/rescaler.c index f5b07756cf..0f54502352 100644 --- a/thirdparty/libwebp/dsp/rescaler.c +++ b/thirdparty/libwebp/dsp/rescaler.c @@ -14,7 +14,7 @@ #include <assert.h> #include "./dsp.h" -#include "../utils/rescaler.h" +#include "../utils/rescaler_utils.h" //------------------------------------------------------------------------------ // Implementations of critical functions ImportRow / ExportRow @@ -199,6 +199,7 @@ WebPRescalerExportRowFunc WebPRescalerExportRowShrink; extern void WebPRescalerDspInitSSE2(void); extern void WebPRescalerDspInitMIPS32(void); extern void WebPRescalerDspInitMIPSdspR2(void); +extern void WebPRescalerDspInitMSA(void); extern void WebPRescalerDspInitNEON(void); static volatile VP8CPUInfo rescaler_last_cpuinfo_used = @@ -233,6 +234,11 @@ WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInit(void) { WebPRescalerDspInitMIPSdspR2(); } #endif +#if defined(WEBP_USE_MSA) + if (VP8GetCPUInfo(kMSA)) { + WebPRescalerDspInitMSA(); + } +#endif } rescaler_last_cpuinfo_used = VP8GetCPUInfo; } |