Index: webrtc/modules/audio_processing/aec3/adaptive_fir_filter.h |
diff --git a/webrtc/modules/audio_processing/aec3/adaptive_fir_filter.h b/webrtc/modules/audio_processing/aec3/adaptive_fir_filter.h |
index 4fe10eabbba679541bdf1882f7159b1b7965a8b7..78b64225bda53f942f9e434bcdb97e51ad88a59e 100644 |
--- a/webrtc/modules/audio_processing/aec3/adaptive_fir_filter.h |
+++ b/webrtc/modules/audio_processing/aec3/adaptive_fir_filter.h |
@@ -25,6 +25,27 @@ |
namespace webrtc { |
namespace aec3 { |
+// Computes and stores the frequency response of the filter. |
+void UpdateFrequencyResponse( |
+ rtc::ArrayView<const FftData> H, |
+ std::vector<std::array<float, kFftLengthBy2Plus1>>* H2); |
+#if defined(WEBRTC_ARCH_X86_FAMILY) |
+void UpdateFrequencyResponse_SSE2( |
+ rtc::ArrayView<const FftData> H, |
+ std::vector<std::array<float, kFftLengthBy2Plus1>>* H2); |
+#endif |
+ |
+// Computes and stores the echo return loss estimate of the filter, which is the |
+// sum of the partition frequency responses. |
+void UpdateErlEstimator( |
+ const std::vector<std::array<float, kFftLengthBy2Plus1>>& H2, |
+ std::array<float, kFftLengthBy2Plus1>* erl); |
+#if defined(WEBRTC_ARCH_X86_FAMILY) |
+void UpdateErlEstimator_SSE2( |
+ const std::vector<std::array<float, kFftLengthBy2Plus1>>& H2, |
+ std::array<float, kFftLengthBy2Plus1>* erl); |
+#endif |
+ |
// Adapts the filter partitions. |
void AdaptPartitions(const RenderBuffer& render_buffer, |
const FftData& G, |