Index: Source/platform/audio/VectorMath.h |
diff --git a/Source/platform/audio/VectorMath.h b/Source/platform/audio/VectorMath.h |
index edd4e31382c93120ce896693b80db1ccb818500b..1c86d9f5a96bab5400c773cb9c6f66120938f341 100644 |
--- a/Source/platform/audio/VectorMath.h |
+++ b/Source/platform/audio/VectorMath.h |
@@ -53,6 +53,18 @@ PLATFORM_EXPORT void zvmul(const float* real1P, const float* imag1P, const float |
// Copies elements while clipping values to the threshold inputs. |
PLATFORM_EXPORT void vclip(const float* sourceP, int sourceStride, const float* lowThresholdP, const float* highThresholdP, float* destP, int destStride, size_t framesToProcess); |
+#if HAVE(ARM_NEON_INTRINSICS) |
+// Neon optimized math functions. |
+void vsmaNEON(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess); |
+void vsmulNEON(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess); |
+void vaddNEON(const float* source1P, int sourceStride1, const float* source2P, int sourceStride2, float* destP, int destStride, size_t framesToProcess); |
+void vmaxmgvNEON(const float* sourceP, int sourceStride, float* maxP, size_t framesToProcess); |
+void vsvesqNEON(const float* sourceP, int sourceStride, float* sumP, size_t framesToProcess); |
+void vmulNEON(const float* source1P, int sourceStride1, const float* source2P, int sourceStride2, float* destP, int destStride, size_t framesToProcess); |
+void zvmulNEON(const float* real1P, const float* imag1P, const float* real2P, const float* imag2P, float* realDestP, float* imagDestP, size_t framesToProcess); |
+void vclipNEON(const float* sourceP, int sourceStride, const float* lowThresholdP, const float* highThresholdP, float* destP, int destStride, size_t framesToProcess); |
+#endif |
+ |
} // namespace VectorMath |
} // namespace blink |