From 47f64f6eddb9da0d1271c4af9a87ac78244f0b57 Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 30 Jan 2021 11:41:38 -0800 Subject: [PATCH] filters_sse2: import Chromium change VerticalUnfilter_SSE2 has long been disabled due to a crash in an Android emulator that hasn't reproduced elsewhere (crbug.com/654974). this synchronizes the code for now to avoid needing to locally edit the file on import. Bug: 1141126 Change-Id: Ib61aeab93caaff1759606566b9e499eaac1576cf --- src/dsp/filters_sse2.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dsp/filters_sse2.c b/src/dsp/filters_sse2.c index 4b3f2d02..5c33ec15 100644 --- a/src/dsp/filters_sse2.c +++ b/src/dsp/filters_sse2.c @@ -320,7 +320,12 @@ extern void VP8FiltersInitSSE2(void); WEBP_TSAN_IGNORE_FUNCTION void VP8FiltersInitSSE2(void) { WebPUnfilters[WEBP_FILTER_HORIZONTAL] = HorizontalUnfilter_SSE2; +#if defined(CHROMIUM) + // TODO(crbug.com/654974) + (void)VerticalUnfilter_SSE2; +#else WebPUnfilters[WEBP_FILTER_VERTICAL] = VerticalUnfilter_SSE2; +#endif WebPUnfilters[WEBP_FILTER_GRADIENT] = GradientUnfilter_SSE2; WebPFilters[WEBP_FILTER_HORIZONTAL] = HorizontalFilter_SSE2;