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

Unified Diff: Source/platform/graphics/filters/FEComposite.h

Issue 604373003: [WIP] Supporting arm_neon_optional flag for blink platform. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months 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 | « Source/platform/graphics/filters/FEBlend.cpp ('k') | Source/platform/graphics/filters/FEComposite.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/filters/FEComposite.h
diff --git a/Source/platform/graphics/filters/FEComposite.h b/Source/platform/graphics/filters/FEComposite.h
index 1073778b22422a4e31cab460c88283a5fe58b679..453e9dd5e97c1f0f2d1666a255f95e1407cd3007 100644
--- a/Source/platform/graphics/filters/FEComposite.h
+++ b/Source/platform/graphics/filters/FEComposite.h
@@ -78,11 +78,13 @@ private:
inline void platformArithmeticSoftware(Uint8ClampedArray* source, Uint8ClampedArray* destination,
float k1, float k2, float k3, float k4);
+#if HAVE(ARM_NEON_INTRINSICS)
template <int b1, int b4>
static inline void computeArithmeticPixelsNeon(unsigned char* source, unsigned char* destination,
unsigned pixelArrayLength, float k1, float k2, float k3, float k4);
- static inline void platformArithmeticNeon(unsigned char* source, unsigned char* destination,
- unsigned pixelArrayLength, float k1, float k2, float k3, float k4);
+ static inline void arithmeticSoftwareNEON(unsigned char* source, unsigned char* destination,
+ int pixelArrayLength, float k1, float k2, float k3, float k4);
+#endif
CompositeOperationType m_type;
float m_k1;
« no previous file with comments | « Source/platform/graphics/filters/FEBlend.cpp ('k') | Source/platform/graphics/filters/FEComposite.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698