diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-05-16 02:31:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 02:31:01 +0200 |
commit | dfee637ff99a949ead64a4710d4526c164886577 (patch) | |
tree | 94a893140787cf6f97f7162c68e7ad64550d241d /thirdparty/libwebp/src/dsp/rescaler.c | |
parent | 005b69cf6e276209464cc8c36ebc7376679925b6 (diff) | |
parent | 6ed81249238260358609e2d806daba06831d1b6a (diff) |
Merge pull request #18897 from volzhs/libwebp-1.0.0
Update libwebp to 1.0.0
Diffstat (limited to 'thirdparty/libwebp/src/dsp/rescaler.c')
-rw-r--r-- | thirdparty/libwebp/src/dsp/rescaler.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/thirdparty/libwebp/src/dsp/rescaler.c b/thirdparty/libwebp/src/dsp/rescaler.c index 4b6b7834e5..f307d35056 100644 --- a/thirdparty/libwebp/src/dsp/rescaler.c +++ b/thirdparty/libwebp/src/dsp/rescaler.c @@ -204,11 +204,7 @@ extern void WebPRescalerDspInitMIPSdspR2(void); extern void WebPRescalerDspInitMSA(void); extern void WebPRescalerDspInitNEON(void); -static volatile VP8CPUInfo rescaler_last_cpuinfo_used = - (VP8CPUInfo)&rescaler_last_cpuinfo_used; - -WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInit(void) { - if (rescaler_last_cpuinfo_used == VP8GetCPUInfo) return; +WEBP_DSP_INIT_FUNC(WebPRescalerDspInit) { #if !defined(WEBP_REDUCE_SIZE) #if !WEBP_NEON_OMIT_C_CODE WebPRescalerExportRowExpand = WebPRescalerExportRowExpand_C; @@ -253,5 +249,4 @@ WEBP_TSAN_IGNORE_FUNCTION void WebPRescalerDspInit(void) { assert(WebPRescalerImportRowExpand != NULL); assert(WebPRescalerImportRowShrink != NULL); #endif // WEBP_REDUCE_SIZE - rescaler_last_cpuinfo_used = VP8GetCPUInfo; } |