| Index: webrtc/modules/audio_processing/aec/aec_core_sse2.cc
|
| diff --git a/webrtc/modules/audio_processing/aec/aec_core_sse2.cc b/webrtc/modules/audio_processing/aec/aec_core_sse2.cc
|
| index 47ba12f419e04714aac403482ea97af73388d3f5..ac93919a773c60ca32fbad0bbd8ae0d3f6575e78 100644
|
| --- a/webrtc/modules/audio_processing/aec/aec_core_sse2.cc
|
| +++ b/webrtc/modules/audio_processing/aec/aec_core_sse2.cc
|
| @@ -21,7 +21,7 @@ extern "C" {
|
| }
|
| #include "webrtc/modules/audio_processing/aec/aec_common.h"
|
| #include "webrtc/modules/audio_processing/aec/aec_core_optimized_methods.h"
|
| -#include "webrtc/modules/audio_processing/aec/aec_rdft.h"
|
| +#include "webrtc/modules/audio_processing/utility/ooura_fft.h"
|
|
|
| namespace webrtc {
|
|
|
| @@ -140,6 +140,7 @@ static void ScaleErrorSignalSSE2(float mu,
|
| }
|
|
|
| static void FilterAdaptationSSE2(
|
| + const OouraFft& ooura_fft,
|
| int num_partitions,
|
| int x_fft_buf_block_pos,
|
| float x_fft_buf[2][kExtendedNumPartitions * PART_LEN1],
|
| @@ -183,7 +184,7 @@ static void FilterAdaptationSSE2(
|
| MulRe(x_fft_buf[0][xPos + PART_LEN], -x_fft_buf[1][xPos + PART_LEN],
|
| e_fft[0][PART_LEN], e_fft[1][PART_LEN]);
|
|
|
| - aec_rdft_inverse_128(fft);
|
| + ooura_fft.InverseFft(fft);
|
| memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
|
|
|
| // fft scaling
|
| @@ -196,7 +197,7 @@ static void FilterAdaptationSSE2(
|
| _mm_storeu_ps(&fft[j], fft_scale);
|
| }
|
| }
|
| - aec_rdft_forward_128(fft);
|
| + ooura_fft.Fft(fft);
|
|
|
| {
|
| float wt1 = h_fft_buf[1][pos];
|
|
|