Chromium Code Reviews

Issue 2611223003: Adding second layer of the echo canceller 3 functionality. (Closed)

Created:
3 years, 11 months ago by peah-webrtc
Modified:
3 years, 10 months ago
Reviewers:
aleloi, hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Adding second layer of the echo canceller 3 functionality. This CL adds code to the BlockProcessor, which basically constitutes the second layer in echo canceller 3. The CL includes two incomplete classes (EchoRemover and EchoPathDelayEstimator) which will be completed in upcoming CLs. Because of this, some of the unittests are disabled until those are added. BUG=webrtc:6018 Review-Url: https://codereview.webrtc.org/2611223003 Cr-Commit-Position: refs/heads/master@{#16319} Committed: https://chromium.googlesource.com/external/webrtc/+/69221db53413bdca8cb1bacff11b3651f283dd95

Patch Set 1 #

Total comments: 180

Patch Set 2 : Changes in response to reviewer comments #

Total comments: 46

Patch Set 3 : Changes in response to reviewer comments #

Total comments: 6

Patch Set 4 : Changes in response to reviewer comments #

Patch Set 5 : Rebase #

Patch Set 6 : Corrected usage of begin and end for array-view which caused compile error on android #

Patch Set 7 : Fixed incorrect method call #

Patch Set 8 : Rebase #

Patch Set 9 : Disabled DEATH tests that were causing memory leakage reports on test bots #

Patch Set 10 : Disabled DEATH tests that were causing memory leakage reports on test bots #

Unified diffs Side-by-side diffs Stats (+2092 lines, -94 lines)
M webrtc/modules/audio_processing/BUILD.gn View 3 chunks +19 lines, -0 lines 0 comments
M webrtc/modules/audio_processing/aec3/block_processor.h View 2 chunks +18 lines, -6 lines 0 comments
M webrtc/modules/audio_processing/aec3/block_processor.cc View 1 chunk +95 lines, -20 lines 0 comments
M webrtc/modules/audio_processing/aec3/block_processor_unittest.cc View 5 chunks +124 lines, -10 lines 0 comments
M webrtc/modules/audio_processing/aec3/echo_canceller3.h View 2 chunks +5 lines, -3 lines 0 comments
M webrtc/modules/audio_processing/aec3/echo_canceller3.cc View 7 chunks +31 lines, -27 lines 0 comments
M webrtc/modules/audio_processing/aec3/echo_canceller3_unittest.cc View 8 chunks +27 lines, -20 lines 0 comments
A webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.h View 1 chunk +35 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.cc View 1 chunk +37 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/echo_path_delay_estimator_unittest.cc View 1 chunk +88 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/echo_path_variability.h View 1 chunk +27 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/echo_remover.h View 1 chunk +44 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/echo_remover.cc View 1 chunk +74 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/echo_remover_unittest.cc View 1 chunk +158 lines, -0 lines 0 comments
M webrtc/modules/audio_processing/aec3/mock/mock_block_processor.h View 1 chunk +2 lines, -2 lines 0 comments
A webrtc/modules/audio_processing/aec3/mock/mock_echo_remover.h View 1 chunk +41 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/mock/mock_render_delay_buffer.h View 1 chunk +51 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/mock/mock_render_delay_controller.h View 1 chunk +34 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/render_delay_buffer.h View 1 chunk +57 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/render_delay_buffer.cc View 1 chunk +105 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/render_delay_buffer_unittest.cc View 1 chunk +319 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/render_delay_controller.h View 1 chunk +40 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/render_delay_controller.cc View 1 chunk +175 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/aec3/render_delay_controller_unittest.cc View 1 chunk +264 lines, -0 lines 0 comments
M webrtc/modules/audio_processing/logging/apm_data_dumper.h View 5 chunks +67 lines, -6 lines 0 comments
A webrtc/modules/audio_processing/test/echo_canceller_test_tools.h View 1 chunk +44 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc View 1 chunk +40 lines, -0 lines 0 comments
A webrtc/modules/audio_processing/test/echo_canceller_test_tools_unittest.cc View 1 chunk +71 lines, -0 lines 0 comments

Dependent Patchsets:

Messages

Total messages: 39 (20 generated)
peah-webrtc
Hi, Here is the next CL for the echo canceller 3 functionality. Please take a ...
3 years, 11 months ago (2017-01-06 22:14:10 UTC) #3
hlundin-webrtc
Very good CL! I have a number of mostly minor comments. But in addition to ...
3 years, 11 months ago (2017-01-18 13:08:51 UTC) #6
peah-webrtc
Thanks :-) And thank you for a really great review! -Regarding 1) (the restriction of ...
3 years, 11 months ago (2017-01-19 13:46:07 UTC) #7
peah-webrtc
https://codereview.webrtc.org/2611223003/diff/20001/webrtc/modules/audio_processing/aec3/block_processor.cc File webrtc/modules/audio_processing/aec3/block_processor.cc (right): https://codereview.webrtc.org/2611223003/diff/20001/webrtc/modules/audio_processing/aec3/block_processor.cc#newcode12 webrtc/modules/audio_processing/aec3/block_processor.cc:12: #include <memory> On 2017/01/18 13:08:48, hlundin-webrtc wrote: > memory ...
3 years, 11 months ago (2017-01-19 15:33:08 UTC) #8
hlundin-webrtc
Nice. Not much more to do now... https://codereview.webrtc.org/2611223003/diff/20001/webrtc/modules/audio_processing/aec3/block_processor.cc File webrtc/modules/audio_processing/aec3/block_processor.cc (right): https://codereview.webrtc.org/2611223003/diff/20001/webrtc/modules/audio_processing/aec3/block_processor.cc#newcode12 webrtc/modules/audio_processing/aec3/block_processor.cc:12: #include <memory> ...
3 years, 11 months ago (2017-01-20 09:31:44 UTC) #9
aleloi
No questions about WebRTC running at relativistic speeds. Lgtm except for a few small comments. ...
3 years, 11 months ago (2017-01-20 14:45:37 UTC) #10
peah-webrtc
Thanks again for the great comments! I have adressed them with another patch. PTAL https://codereview.webrtc.org/2611223003/diff/20001/webrtc/modules/audio_processing/aec3/block_processor.cc ...
3 years, 11 months ago (2017-01-23 14:16:41 UTC) #11
hlundin-webrtc
Well done! LGTM with comments. https://codereview.webrtc.org/2611223003/diff/40001/webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc File webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc (right): https://codereview.webrtc.org/2611223003/diff/40001/webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc#newcode13 webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc:13: #include "webrtc/base/checks.h" On 2017/01/23 ...
3 years, 11 months ago (2017-01-23 19:48:28 UTC) #12
peah-webrtc
Thanks again for the comments! https://codereview.webrtc.org/2611223003/diff/40001/webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc File webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc (right): https://codereview.webrtc.org/2611223003/diff/40001/webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc#newcode13 webrtc/modules/audio_processing/test/echo_canceller_test_tools.cc:13: #include "webrtc/base/checks.h" On 2017/01/23 ...
3 years, 11 months ago (2017-01-23 21:38:22 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2611223003/80001
3 years, 11 months ago (2017-01-23 21:38:43 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios10_dbg/builds/625) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 11 months ago (2017-01-23 21:40:33 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2611223003/100001
3 years, 11 months ago (2017-01-23 22:35:59 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_dbg/builds/10682) android_compile_x86_rel on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 11 months ago (2017-01-23 22:41:29 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2611223003/120001
3 years, 11 months ago (2017-01-25 22:37:53 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios10_dbg/builds/727) ios64_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 11 months ago (2017-01-25 22:40:43 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2611223003/160001
3 years, 11 months ago (2017-01-26 06:02:23 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/4529)
3 years, 11 months ago (2017-01-26 06:38:29 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2611223003/200001
3 years, 11 months ago (2017-01-27 10:50:00 UTC) #36
commit-bot: I haz the power
3 years, 10 months ago (2017-01-27 11:28:24 UTC) #39
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/external/webrtc/+/69221db53413bdca8cb1bacff...

Powered by Google App Engine