no-sse2.patch: Fix typos in the patched header files

This commit is contained in:
Kevin Kofler 2016-01-17 05:10:15 +01:00
parent 799b5e1118
commit 1e170961f9
1 changed files with 3 additions and 3 deletions

View File

@ -2141,7 +2141,7 @@ diff -Nur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/third_part
#endif // USE(WEBAUDIO_IPP)
AudioFloatArray m_buffer;
+
+#if CPU(x86)
+#if CPU(X86)
+ bool m_haveSSE2;
+ void m_processSSE2(AudioFloatArray* convolutionKernel, const float* sourceP, float* destP, size_t framesToProcess);
+#endif
@ -2248,7 +2248,7 @@ diff -Nur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/third_part
// The buffer is primed once at the very beginning of processing.
bool m_isBufferPrimed;
+
+#if CPU(x86)
+#if CPU(X86)
+ bool m_haveSSE2;
+ void m_processSSE2(AudioSourceProvider*, float* destination, size_t framesToProcess);
+#endif
@ -2474,7 +2474,7 @@ diff -Nur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/third_part
// 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 CPU(x86)
+#if CPU(X86)
+namespace SSE2 {
+// Vector scalar multiply and then add.
+PLATFORM_EXPORT void vsma(const float* sourceP, int sourceStride, const float* scale, float* destP, int destStride, size_t framesToProcess);