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

Issue 1455163006: Ducking fix #1:Initial refactoring preparing for further AEC work (changes are bitexact). (Closed)

Created:
5 years, 1 month ago by peah-webrtc
Modified:
5 years ago
Reviewers:
ivoc, hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

First part of the preparatory work before the actual work for solving the ducking problem starts. This works aims to: -More clearly separate the functionalities in the AEC. -Make the inputs and outputs to functions more clear (currently the state struct is often passed as a parameter to the functions and the functions use members of the state both as inputs and outputs, which reduces the readability of the code and makes it difficult to change/refactor. What is done in this CL: -Most of what belongs to the echo subtraction functionality has been moved to a separate function. -The NonLinearProcessing function has been renamed to EchoSuppressor which I think is more appropriate. -Part of the code was replaced by a call to the TimeToFrequency function (which was also suggested by an existing todo). -For consistency, a function FrequencyToTime doing the opposite of TimeToFrequency was added and part of the code was moved to that. -The ScaleErrorSignal function was changed to no longer have the state as an input parameter. This entailed also changing the corresponding assembly optimized files accordingly. Testing: -The changes have been tested for bitexactness on Linux using a fairly extensive test. -All the unittests pass on linux. BUG=webrtc:5201 Committed: https://crrev.com/d860523112263f9c8f29b95658c89215fbd95a16 Cr-Commit-Position: refs/heads/master@{#10764}

Patch Set 1 #

Total comments: 26

Patch Set 2 : Changes in response to reviewer comments. Also fixed a name clash in the optimized code that was cr… #

Patch Set 3 : Fixed problem with variable declared inside loop statement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -99 lines) Patch
M webrtc/modules/audio_processing/aec/aec_core.c View 1 2 7 chunks +87 lines, -68 lines 0 comments Download
M webrtc/modules/audio_processing/aec/aec_core_internal.h View 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/aec/aec_core_mips.c View 1 5 chunks +11 lines, -9 lines 0 comments Download
M webrtc/modules/audio_processing/aec/aec_core_neon.c View 1 3 chunks +12 lines, -9 lines 0 comments Download
M webrtc/modules/audio_processing/aec/aec_core_sse2.c View 1 2 chunks +16 lines, -12 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (8 generated)
peah-webrtc
First part of the preparatory work before the actual work for solving the ducking problem ...
5 years, 1 month ago (2015-11-19 10:18:16 UTC) #2
hlundin-webrtc
On 2015/11/19 10:18:16, peah-webrtc wrote: > First part of the preparatory work before the actual ...
5 years, 1 month ago (2015-11-20 10:39:56 UTC) #4
hlundin-webrtc
A few naming nits, comment nits, and a request to copy more from your "message" ...
5 years, 1 month ago (2015-11-20 10:55:41 UTC) #5
ivoc
Nice work, see minor comments below. LGTM. https://codereview.webrtc.org/1455163006/diff/1/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1455163006/diff/1/webrtc/modules/audio_processing/aec/aec_core.c#newcode181 webrtc/modules/audio_processing/aec/aec_core.c:181: float *xPow, ...
5 years, 1 month ago (2015-11-20 10:58:14 UTC) #6
peah-webrtc
Thanks for the comments! Here comes the revised code. I also found a name clash ...
5 years, 1 month ago (2015-11-23 21:39:07 UTC) #8
peah-webrtc
Ah, I saw that I already had a LGTM conditional on the comments. Thanks for ...
5 years, 1 month ago (2015-11-23 21:40:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455163006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455163006/20001
5 years, 1 month ago (2015-11-23 21:41:11 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_gn_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_gn_dbg/builds/7093)
5 years, 1 month ago (2015-11-23 21:45:16 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1455163006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1455163006/40001
5 years ago (2015-11-24 06:10:38 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-24 07:05:50 UTC) #18
commit-bot: I haz the power
5 years ago (2015-11-24 07:05:56 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d860523112263f9c8f29b95658c89215fbd95a16
Cr-Commit-Position: refs/heads/master@{#10764}

Powered by Google App Engine
This is Rietveld 408576698