Index: Source/platform/audio/ipp/FFTFrameIPP.cpp |
diff --git a/Source/platform/audio/ipp/FFTFrameIPP.cpp b/Source/platform/audio/ipp/FFTFrameIPP.cpp |
index a88e241e4574599712ec0e7bafd7ebbb1198308f..454d55d6534cab6cf7063c59781fbee231d15e54 100644 |
--- a/Source/platform/audio/ipp/FFTFrameIPP.cpp |
+++ b/Source/platform/audio/ipp/FFTFrameIPP.cpp |
@@ -35,8 +35,6 @@ |
#include "platform/audio/FFTFrame.h" |
-#include "platform/audio/VectorMath.h" |
- |
#include "wtf/MathExtras.h" |
namespace WebCore { |
@@ -101,27 +99,6 @@ FFTFrame::~FFTFrame() |
ippsDFTFree_R_32f(m_DFTSpec); |
} |
-void FFTFrame::multiply(const FFTFrame& frame) |
-{ |
- FFTFrame& frame1 = *this; |
- FFTFrame& frame2 = const_cast<FFTFrame&>(frame); |
- |
- float* realP1 = frame1.realData(); |
- float* imagP1 = frame1.imagData(); |
- const float* realP2 = frame2.realData(); |
- const float* imagP2 = frame2.imagData(); |
- |
- unsigned halfSize = fftSize() / 2; |
- float real0 = realP1[0]; |
- float imag0 = imagP1[0]; |
- |
- VectorMath::zvmul(realP1, imagP1, realP2, imagP2, realP1, imagP1, halfSize); |
- |
- // Multiply the packed DC/nyquist component |
- realP1[0] = real0 * realP2[0]; |
- imagP1[0] = imag0 * imagP2[0]; |
-} |
- |
void FFTFrame::doFFT(const float* data) |
{ |
Ipp32f* complexP = m_complexData.data(); |