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

Issue 1821443003: Fix normalization of noise estimate in NoiseSuppressor (Closed)

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

Description

Patch Set 1 #

Total comments: 11

Patch Set 2 : Normalize dynamically #

Total comments: 11

Patch Set 3 : Moved normalization and drop float usage #

Total comments: 4

Patch Set 4 : Combine in a function #

Total comments: 12

Patch Set 5 : Avoid divisions #

Patch Set 6 : Rebasing #

Patch Set 7 : Disable noise suppressor bit-exactness unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -23 lines) Patch
M webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc View 1 2 4 chunks +6 lines, -4 lines 0 comments Download
M webrtc/modules/audio_processing/intelligibility/test/intelligibility_proc.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_processing/noise_suppression_impl.cc View 1 2 3 4 1 chunk +8 lines, -7 lines 0 comments Download
M webrtc/modules/audio_processing/noise_suppression_unittest.cc View 1 2 3 4 5 6 8 chunks +8 lines, -8 lines 0 comments Download
M webrtc/modules/audio_processing/ns/noise_suppression_x.h View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/ns/noise_suppression_x.c View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 31 (9 generated)
aluebs-webrtc
4 years, 9 months ago (2016-03-19 03:03:34 UTC) #2
peah-webrtc
https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc (right): https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode32 webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc:32: const double kLambdaBot = -1.0 / (1 << 30); ...
4 years, 9 months ago (2016-03-21 12:25:49 UTC) #3
turaj
https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/noise_suppression_impl.cc File webrtc/modules/audio_processing/noise_suppression_impl.cc (right): https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/noise_suppression_impl.cc#newcode184 webrtc/modules/audio_processing/noise_suppression_impl.cc:184: noise_estimate[i] += noise[i] / suppressors_.size(); On 2016/03/21 12:25:48, peah-webrtc ...
4 years, 9 months ago (2016-03-21 13:50:23 UTC) #4
hlundin-webrtc
https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/noise_suppression_impl.cc File webrtc/modules/audio_processing/noise_suppression_impl.cc (right): https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/noise_suppression_impl.cc#newcode188 webrtc/modules/audio_processing/noise_suppression_impl.cc:188: const float kNormalizationFactor = 1.f / (1 << 9); ...
4 years, 8 months ago (2016-03-29 19:19:37 UTC) #5
aluebs-webrtc
https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc (right): https://codereview.webrtc.org/1821443003/diff/1/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode32 webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc:32: const double kLambdaBot = -1.0 / (1 << 30); ...
4 years, 8 months ago (2016-03-29 23:15:16 UTC) #6
hlundin-webrtc
https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/ns/noise_suppression_x.c File webrtc/modules/audio_processing/ns/noise_suppression_x.c (right): https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/ns/noise_suppression_x.c#newcode54 webrtc/modules/audio_processing/ns/noise_suppression_x.c:54: self->prevNoiseU16[i] = self->prevNoiseU32[i] >> (self->prevQNoise + 11); Can you ...
4 years, 8 months ago (2016-03-30 07:34:59 UTC) #7
peah-webrtc
https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc (right): https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode170 webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc:170: const double lambda = (lambda_bot + lambda_top) / 2.0; ...
4 years, 8 months ago (2016-03-30 13:44:46 UTC) #8
turaj
https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc (right): https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode32 webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc:32: const double kLambdaBot = -1.0 / (1 << 30); ...
4 years, 8 months ago (2016-03-30 14:51:55 UTC) #9
aluebs-webrtc
https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc (right): https://codereview.webrtc.org/1821443003/diff/20001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode32 webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc:32: const double kLambdaBot = -1.0 / (1 << 30); ...
4 years, 8 months ago (2016-03-31 00:26:32 UTC) #10
hlundin-webrtc
lgtm
4 years, 8 months ago (2016-03-31 07:39:10 UTC) #11
turaj
LGTM with comments to consider. https://codereview.webrtc.org/1821443003/diff/40001/webrtc/modules/audio_processing/noise_suppression_impl.cc File webrtc/modules/audio_processing/noise_suppression_impl.cc (right): https://codereview.webrtc.org/1821443003/diff/40001/webrtc/modules/audio_processing/noise_suppression_impl.cc#newcode190 webrtc/modules/audio_processing/noise_suppression_impl.cc:190: const uint32_t* noise = ...
4 years, 8 months ago (2016-03-31 15:20:48 UTC) #12
aluebs-webrtc
peah, do you have any additional comments? https://codereview.webrtc.org/1821443003/diff/40001/webrtc/modules/audio_processing/noise_suppression_impl.cc File webrtc/modules/audio_processing/noise_suppression_impl.cc (right): https://codereview.webrtc.org/1821443003/diff/40001/webrtc/modules/audio_processing/noise_suppression_impl.cc#newcode190 webrtc/modules/audio_processing/noise_suppression_impl.cc:190: const uint32_t* ...
4 years, 8 months ago (2016-03-31 17:48:13 UTC) #13
peah-webrtc
https://codereview.webrtc.org/1821443003/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc (right): https://codereview.webrtc.org/1821443003/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode145 webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc:145: const float power_target = std::accumulate( Is this related to ...
4 years, 8 months ago (2016-03-31 20:50:57 UTC) #14
aluebs-webrtc
https://codereview.webrtc.org/1821443003/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc (right): https://codereview.webrtc.org/1821443003/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode145 webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc:145: const float power_target = std::accumulate( On 2016/03/31 20:50:57, peah-webrtc ...
4 years, 8 months ago (2016-04-01 01:52:42 UTC) #15
peah-webrtc
On 2016/04/01 01:52:42, aluebs-webrtc wrote: > https://codereview.webrtc.org/1821443003/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc > File webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc > (right): > > https://codereview.webrtc.org/1821443003/diff/60001/webrtc/modules/audio_processing/intelligibility/intelligibility_enhancer.cc#newcode145 ...
4 years, 8 months ago (2016-04-01 04:05:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821443003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821443003/80001
4 years, 8 months ago (2016-04-01 16:29:16 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_asan on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_asan/builds/13649)
4 years, 8 months ago (2016-04-01 16:37:49 UTC) #21
aluebs-webrtc
I am disabling all the noise suppression bit-exactness tests for a couple of reasons: * ...
4 years, 8 months ago (2016-04-01 18:04:30 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1821443003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1821443003/120001
4 years, 8 months ago (2016-04-01 18:04:50 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-01 20:05:29 UTC) #27
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/3b149960466f08b5351f5d55a54d517838d7310d Cr-Commit-Position: refs/heads/master@{#12201}
4 years, 8 months ago (2016-04-01 20:54:52 UTC) #29
aluebs-webrtc
4 years, 8 months ago (2016-04-01 20:54:57 UTC) #31
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
3b149960466f08b5351f5d55a54d517838d7310d (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698