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

Issue 1492343002: Echo Suppressor code simplification using the InverseFft function (#5) (Closed)

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

Description

Further refactored the echo suppressor code: -Extended the InverseFft function to be more generally applicable. -Included the previous external extra scaling into the preexisting InverseFft call. -Moved the updating of aec->delayEstCtr to where it is actually used. -Refactored the output production and comfort noise addition using the InverseFft function. -Removed the if-statements checking the value of the constant flagHbandCn as any value different from 1 would crash the program. Also removed the constant The changes have been tested for bitexactness. BUG=webrtc:5201 Committed: https://crrev.com/0bc176b99b770f2fa3dd94d54553ab635df6930d Cr-Commit-Position: refs/heads/master@{#11054}

Patch Set 1 : Replaced the inverse ffts with InverseFft #

Total comments: 21

Patch Set 2 : Removed extra empty lines #

Patch Set 3 : Changed name of the InverseFft method #

Patch Set 4 : Changed the scaling of the ScaledInverseFft #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -57 lines) Patch
M webrtc/modules/audio_processing/aec/aec_core.c View 1 2 3 8 chunks +35 lines, -55 lines 0 comments Download
M webrtc/modules/audio_processing/aec/aec_core_mips.c View 1 2 2 chunks +1 line, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (9 generated)
peah-webrtc
5 years ago (2015-12-04 07:11:23 UTC) #6
minyue-webrtc
Thanks Per. Here are my comments https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (left): https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c#oldcode47 webrtc/modules/audio_processing/aec/aec_core.c:47: static const int ...
5 years ago (2015-12-04 09:10:10 UTC) #7
peah-webrtc
https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (left): https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c#oldcode47 webrtc/modules/audio_processing/aec/aec_core.c:47: static const int flagHbandCn = 1; // flag for ...
5 years ago (2015-12-04 09:54:39 UTC) #8
minyue-webrtc
https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (left): https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c#oldcode47 webrtc/modules/audio_processing/aec/aec_core.c:47: static const int flagHbandCn = 1; // flag for ...
5 years ago (2015-12-04 10:05:19 UTC) #9
hlundin-webrtc
https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c#newcode817 webrtc/modules/audio_processing/aec/aec_core.c:817: static void InverseFft(float freq_data[2][PART_LEN1], On 2015/12/04 10:05:19, minyue-webrtc wrote: ...
5 years ago (2015-12-04 11:48:06 UTC) #10
peah-webrtc
https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (left): https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c#oldcode47 webrtc/modules/audio_processing/aec/aec_core.c:47: static const int flagHbandCn = 1; // flag for ...
5 years ago (2015-12-04 22:52:20 UTC) #11
hlundin-webrtc
lgtm
5 years ago (2015-12-08 11:54:00 UTC) #12
minyue-webrtc
https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c File webrtc/modules/audio_processing/aec/aec_core.c (right): https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c#newcode817 webrtc/modules/audio_processing/aec/aec_core.c:817: static void InverseFft(float freq_data[2][PART_LEN1], On 2015/12/04 22:52:20, peah-webrtc wrote: ...
5 years ago (2015-12-08 12:36:23 UTC) #13
peah-webrtc
On 2015/12/08 12:36:23, minyue-webrtc wrote: > https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c > File webrtc/modules/audio_processing/aec/aec_core.c (right): > > https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c#newcode817 > ...
5 years ago (2015-12-16 13:23:47 UTC) #14
minyue-webrtc
On 2015/12/16 13:23:47, peah-webrtc wrote: > On 2015/12/08 12:36:23, minyue-webrtc wrote: > > > https://codereview.webrtc.org/1492343002/diff/20001/webrtc/modules/audio_processing/aec/aec_core.c ...
5 years ago (2015-12-16 14:16:55 UTC) #15
peah-webrtc
On 2015/12/16 14:16:55, minyue-webrtc wrote: > On 2015/12/16 13:23:47, peah-webrtc wrote: > > On 2015/12/08 ...
5 years ago (2015-12-16 14:57:46 UTC) #16
peah-webrtc
5 years ago (2015-12-16 14:57:53 UTC) #17
minyue-webrtc
lgtm
5 years ago (2015-12-16 15:03:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492343002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492343002/80001
5 years ago (2015-12-16 15:16:50 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years ago (2015-12-16 16:11:24 UTC) #23
commit-bot: I haz the power
5 years ago (2015-12-16 16:11:35 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/0bc176b99b770f2fa3dd94d54553ab635df6930d
Cr-Commit-Position: refs/heads/master@{#11054}

Powered by Google App Engine
This is Rietveld 408576698