Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(620)

Issue 2644123002: Adding full initial version of delay estimation functionality in echo canceller 3 (Closed)

Created:
3 years, 11 months ago by peah-webrtc
Modified:
3 years, 10 months ago
Reviewers:
hlundin-webrtc, aleloi
CC:
webrtc-reviews_webrtc.org, peah-webrtc, 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 full initial version of delay estimation functionality in echo canceller 3 This CL adds code to the all the delay estimation functionality that is available for the first version of echo canceller 3. The code completes the class EchoPathDelayEstimator. Note that this code does not yet include any handling of clock-drift so there will be upcoming versions of this code. Also note that the CL includes some minor changes in other files for echo canceller 3. BUG=webrtc:6018 Review-Url: https://codereview.webrtc.org/2644123002 Cr-Commit-Position: refs/heads/master@{#16489} Committed: https://chromium.googlesource.com/external/webrtc/+/219208991b63b868d38d4c78fc3b04fa8370b636

Patch Set 1 #

Total comments: 114

Patch Set 2 : Changes in response to reviewer comments #

Total comments: 6

Patch Set 3 : Changes in response to reviewer comments #

Total comments: 38

Patch Set 4 : Changes in response to reviewer comments #

Total comments: 2

Patch Set 5 : Changed name of the unittest #

Patch Set 6 : Rebase #

Patch Set 7 : Added missing includes #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1169 lines, -52 lines) Patch
M webrtc/modules/audio_processing/BUILD.gn View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/aec3_constants.h View 2 chunks +16 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/block_processor.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/aec3/block_processor_unittest.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/decimator_by_4.h View 1 1 chunk +39 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/decimator_by_4.cc View 1 1 chunk +44 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc View 1 2 3 4 5 6 1 chunk +127 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/echo_canceller3.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/echo_canceller3_unittest.cc View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.h View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/aec3/echo_path_delay_estimator.cc View 1 2 3 1 chunk +51 lines, -9 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/echo_path_delay_estimator_unittest.cc View 1 2 3 4 5 2 chunks +98 lines, -32 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/echo_remover.cc View 1 chunk +1 line, -2 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/matched_filter.h View 1 2 3 1 chunk +84 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/matched_filter.cc View 1 2 3 4 5 6 1 chunk +172 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/matched_filter_lag_aggregator.h View 1 1 chunk +46 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/matched_filter_lag_aggregator.cc View 1 2 3 1 chunk +66 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/matched_filter_lag_aggregator_unittest.cc View 1 2 3 1 chunk +192 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/aec3/matched_filter_unittest.cc View 1 2 1 chunk +190 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/render_delay_controller.cc View 1 2 3 4 5 1 chunk +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/aec3/render_delay_controller_unittest.cc View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 45 (19 generated)
peah-webrtc
A new CL for the echo canceller 3. PTAL
3 years, 11 months ago (2017-01-19 15:38:56 UTC) #3
peah-webrtc
Another Cl for Aec3, PTAL
3 years, 11 months ago (2017-01-19 15:40:47 UTC) #5
aleloi
Hi! Here are some comments for parts of the change. I'll try to finish the ...
3 years, 10 months ago (2017-01-27 15:37:47 UTC) #6
hlundin-webrtc
Very nice! I few comments inline. https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/correlator.cc File webrtc/modules/audio_processing/aec3/correlator.cc (right): https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/correlator.cc#newcode1 webrtc/modules/audio_processing/aec3/correlator.cc:1: /* This file ...
3 years, 10 months ago (2017-02-01 08:30:02 UTC) #7
peah-webrtc
Thanks for the great comments! I have uploaded a new patch. PTAL https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/correlator.cc File webrtc/modules/audio_processing/aec3/correlator.cc ...
3 years, 10 months ago (2017-02-02 14:04:47 UTC) #8
aleloi
Just a few more comments. https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/correlator_unittest.cc File webrtc/modules/audio_processing/aec3/correlator_unittest.cc (right): https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/correlator_unittest.cc#newcode125 webrtc/modules/audio_processing/aec3/correlator_unittest.cc:125: for (size_t k = ...
3 years, 10 months ago (2017-02-02 16:33:12 UTC) #9
peah-webrtc
Thanks! Good points! I did some further changes to reduce the risk of confusion. PTAL ...
3 years, 10 months ago (2017-02-03 06:59:59 UTC) #11
aleloi
... and a few comments more! I'w almost through! https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/down_sampler_4khz.h File webrtc/modules/audio_processing/aec3/down_sampler_4khz.h (right): https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/down_sampler_4khz.h#newcode25 webrtc/modules/audio_processing/aec3/down_sampler_4khz.h:25: ...
3 years, 10 months ago (2017-02-03 15:46:48 UTC) #12
hlundin-webrtc
Almost there. https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/correlator.h File webrtc/modules/audio_processing/aec3/correlator.h (right): https://codereview.webrtc.org/2644123002/diff/1/webrtc/modules/audio_processing/aec3/correlator.h#newcode52 webrtc/modules/audio_processing/aec3/correlator.h:52: void Update(rtc::ArrayView<const float> render, On 2017/02/02 14:04:45, ...
3 years, 10 months ago (2017-02-06 09:13:19 UTC) #13
aleloi
https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4.cc File webrtc/modules/audio_processing/aec3/decimator_by_4.cc (right): https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4.cc#newcode32 webrtc/modules/audio_processing/aec3/decimator_by_4.cc:32: std::array<float, kBlockSize> x; On 2017/02/06 09:13:18, hlundin-webrtc wrote: > ...
3 years, 10 months ago (2017-02-06 09:24:42 UTC) #14
hlundin-webrtc
https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4.cc File webrtc/modules/audio_processing/aec3/decimator_by_4.cc (right): https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4.cc#newcode32 webrtc/modules/audio_processing/aec3/decimator_by_4.cc:32: std::array<float, kBlockSize> x; On 2017/02/06 09:24:42, aleloi wrote: > ...
3 years, 10 months ago (2017-02-06 10:26:37 UTC) #15
peah-webrtc
Thanks for another great round of comments! I've uploaded a new patch in response to ...
3 years, 10 months ago (2017-02-06 11:25:39 UTC) #16
hlundin-webrtc
LGTM with one remaining nit. Great work! https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc File webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc (right): https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc#newcode117 webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc:117: TEST(DecimatorBy4, WrongOutputSize) ...
3 years, 10 months ago (2017-02-06 14:33:34 UTC) #17
peah-webrtc
Thanks! I changed the name in a new patch. https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc File webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc (right): https://codereview.webrtc.org/2644123002/diff/60001/webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc#newcode117 webrtc/modules/audio_processing/aec3/decimator_by_4_unittest.cc:117: ...
3 years, 10 months ago (2017-02-07 05:40:57 UTC) #18
aleloi
LGTM! https://codereview.webrtc.org/2644123002/diff/80001/webrtc/modules/audio_processing/aec3/decimator_by_4.h File webrtc/modules/audio_processing/aec3/decimator_by_4.h (right): https://codereview.webrtc.org/2644123002/diff/80001/webrtc/modules/audio_processing/aec3/decimator_by_4.h#newcode29 webrtc/modules/audio_processing/aec3/decimator_by_4.h:29: void Decimate(rtc::ArrayView<const float> in, Were there plans for ...
3 years, 10 months ago (2017-02-07 14:23:13 UTC) #19
peah-webrtc
Thanks for the great review feedback!!! https://codereview.webrtc.org/2644123002/diff/80001/webrtc/modules/audio_processing/aec3/decimator_by_4.h File webrtc/modules/audio_processing/aec3/decimator_by_4.h (right): https://codereview.webrtc.org/2644123002/diff/80001/webrtc/modules/audio_processing/aec3/decimator_by_4.h#newcode29 webrtc/modules/audio_processing/aec3/decimator_by_4.h:29: void Decimate(rtc::ArrayView<const float> ...
3 years, 10 months ago (2017-02-07 14:44:50 UTC) #20
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/2644123002/100001
3 years, 10 months ago (2017-02-07 14:45:07 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/1111) ios_arm64_rel on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 10 months ago (2017-02-07 14:46:39 UTC) #25
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/2644123002/160001
3 years, 10 months ago (2017-02-08 08:02:09 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/1135) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 08:03:35 UTC) #31
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/2644123002/160001
3 years, 10 months ago (2017-02-08 08:51:34 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/1138) ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 08:53:05 UTC) #35
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/2644123002/180001
3 years, 10 months ago (2017-02-08 08:56:34 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_ios9_dbg/builds/1100) ios_arm64_rel on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 10 months ago (2017-02-08 08:58:25 UTC) #40
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/2644123002/180001
3 years, 10 months ago (2017-02-08 12:58:53 UTC) #42
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 13:09:01 UTC) #45
Message was sent while issue was closed.
Committed patchset #8 (id:180001) as
https://chromium.googlesource.com/external/webrtc/+/219208991b63b868d38d4c78f...

Powered by Google App Engine
This is Rietveld 408576698