Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: third_party/libwebp/dsp/dsp.h

Issue 95873002: skip neon code in libwebp when neon is explicitly unavailable (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't forget arm_neon_optional Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libwebp/dsp/dec.c ('k') | third_party/libwebp/dsp/enc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libwebp/dsp/dsp.h
diff --git a/third_party/libwebp/dsp/dsp.h b/third_party/libwebp/dsp/dsp.h
index 01a95891febae907f252b3fc36920ebb65ff40b2..31bda89cc95bc63e61d9977972f96bdbda28d441 100644
--- a/third_party/libwebp/dsp/dsp.h
+++ b/third_party/libwebp/dsp/dsp.h
@@ -160,8 +160,10 @@ extern WebPUpsampleLinePairFunc WebPUpsamplers[/* MODE_LAST */];
// Initializes SSE2 version of the fancy upsamplers.
void WebPInitUpsamplersSSE2(void);
+#if defined(WEBP_USE_NEON)
// NEON version
void WebPInitUpsamplersNEON(void);
+#endif
#endif // FANCY_UPSAMPLING
@@ -204,7 +206,10 @@ extern void (*WebPApplyAlphaMultiply4444)(
void WebPInitPremultiply(void);
void WebPInitPremultiplySSE2(void); // should not be called directly.
+
+#if defined(WEBP_USE_NEON)
void WebPInitPremultiplyNEON(void);
+#endif
//------------------------------------------------------------------------------
« no previous file with comments | « third_party/libwebp/dsp/dec.c ('k') | third_party/libwebp/dsp/enc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698