diff options
author | volzhs <volzhs@gmail.com> | 2017-02-17 23:49:40 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2017-02-17 23:49:40 +0900 |
commit | 6de3defe7271441f6e55e1a0ed5e115a92a72606 (patch) | |
tree | 70cbb89a4a91a6f4731a4cbfc2792b56c86dddbe /thirdparty/libwebp/dsp/filters.c | |
parent | 903a3aa5f0e128abb1fb752c10b343b34af8f799 (diff) | |
download | redot-engine-6de3defe7271441f6e55e1a0ed5e115a92a72606.tar.gz |
Update libwebp to 0.6.0
Diffstat (limited to 'thirdparty/libwebp/dsp/filters.c')
-rw-r--r-- | thirdparty/libwebp/dsp/filters.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/thirdparty/libwebp/dsp/filters.c b/thirdparty/libwebp/dsp/filters.c index 9f04faf0cb..65f34aad1f 100644 --- a/thirdparty/libwebp/dsp/filters.c +++ b/thirdparty/libwebp/dsp/filters.c @@ -227,6 +227,8 @@ WebPFilterFunc WebPFilters[WEBP_FILTER_LAST]; WebPUnfilterFunc WebPUnfilters[WEBP_FILTER_LAST]; extern void VP8FiltersInitMIPSdspR2(void); +extern void VP8FiltersInitMSA(void); +extern void VP8FiltersInitNEON(void); extern void VP8FiltersInitSSE2(void); static volatile VP8CPUInfo filters_last_cpuinfo_used = @@ -251,11 +253,21 @@ WEBP_TSAN_IGNORE_FUNCTION void VP8FiltersInit(void) { VP8FiltersInitSSE2(); } #endif +#if defined(WEBP_USE_NEON) + if (VP8GetCPUInfo(kNEON)) { + VP8FiltersInitNEON(); + } +#endif #if defined(WEBP_USE_MIPS_DSP_R2) if (VP8GetCPUInfo(kMIPSdspR2)) { VP8FiltersInitMIPSdspR2(); } #endif +#if defined(WEBP_USE_MSA) + if (VP8GetCPUInfo(kMSA)) { + VP8FiltersInitMSA(); + } +#endif } filters_last_cpuinfo_used = VP8GetCPUInfo; } |