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

Issue 1982183002: Pull out the PostFilter to its own NonlinearBeamformer API (Closed)

Created:
4 years, 7 months ago by aluebs-webrtc
Modified:
4 years, 2 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

Pull out the PostFilter to its own NonlinearBeamformer API This is done to avoid having a nonlinear component in the AEC path. Now the linear delay and sum is run before the AEC and the postfilter after it. R=henrik.lundin@webrtc.org, peah@webrtc.org Committed: https://crrev.com/b983112bc7686ed4276def4c9215c498444c6bdd Cr-Commit-Position: refs/heads/master@{#13314}

Patch Set 1 #

Total comments: 47

Patch Set 2 : Drop delay and sum #

Total comments: 20

Patch Set 3 : Add dummy out #

Total comments: 6

Patch Set 4 : Change Beamformer::ProcessChunk() to have one parameter #

Total comments: 20

Patch Set 5 : Drop Beamformer Interface #

Total comments: 20

Patch Set 6 : Rebasing #

Patch Set 7 : Add multichannel postfilter support #

Patch Set 8 : Rebasing #

Patch Set 9 : Remove ChannelBuffer fix #

Total comments: 6

Patch Set 10 : Rebasing #

Patch Set 11 : Fix comments #

Patch Set 12 : Make NonlinearBeamforer interface virtual #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -186 lines) Patch
M webrtc/common_audio/lapped_transform.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/audio_processing.gypi View 1 2 3 4 5 6 7 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.h View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_impl.cc View 1 2 3 4 5 6 7 8 9 6 chunks +11 lines, -7 lines 0 comments Download
M webrtc/modules/audio_processing/audio_processing_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_processing/beamformer/beamformer.h View 1 2 3 4 1 chunk +0 lines, -48 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/mock_nonlinear_beamformer.h View 1 2 3 4 5 6 1 chunk +5 lines, -4 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.h View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +43 lines, -17 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/nonlinear_beamformer.cc View 1 2 3 4 5 6 7 8 8 chunks +73 lines, -59 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_test.cc View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -12 lines 0 comments Download
M webrtc/modules/audio_processing/beamformer/nonlinear_beamformer_unittest.cc View 1 2 3 4 5 6 17 chunks +29 lines, -29 lines 0 comments Download
M webrtc/modules/audio_processing/include/audio_processing.h View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download

Messages

Total messages: 43 (12 generated)
aluebs-webrtc
4 years, 7 months ago (2016-05-17 02:12:50 UTC) #2
aluebs-webrtc
Friendly ping. peah, could you PTAL.
4 years, 7 months ago (2016-05-18 15:09:00 UTC) #3
aluebs-webrtc
On 2016/05/18 15:09:00, aluebs-webrtc wrote: > Friendly ping. peah, could you PTAL. peah, could you ...
4 years, 7 months ago (2016-05-20 15:28:23 UTC) #4
peah-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, Why not change this ...
4 years, 7 months ago (2016-05-22 21:06:48 UTC) #5
aluebs-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, On 2016/05/22 21:06:48, peah-webrtc ...
4 years, 6 months ago (2016-05-26 01:04:45 UTC) #6
peah-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, On 2016/05/26 01:04:45, aluebs-webrtc ...
4 years, 6 months ago (2016-05-26 08:48:53 UTC) #7
aluebs-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, On 2016/05/26 08:48:52, peah-webrtc ...
4 years, 6 months ago (2016-05-28 03:00:00 UTC) #8
peah-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, On 2016/05/28 03:00:00, aluebs-webrtc ...
4 years, 6 months ago (2016-05-30 11:49:25 UTC) #9
aluebs-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, On 2016/05/30 11:49:25, peah-webrtc ...
4 years, 6 months ago (2016-06-01 00:16:34 UTC) #10
peah-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, On 2016/06/01 00:16:34, aluebs-webrtc ...
4 years, 6 months ago (2016-06-01 14:51:02 UTC) #11
aluebs-webrtc
https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h File webrtc/modules/audio_processing/beamformer/beamformer.h (right): https://codereview.webrtc.org/1982183002/diff/1/webrtc/modules/audio_processing/beamformer/beamformer.h#newcode37 webrtc/modules/audio_processing/beamformer/beamformer.h:37: virtual void PostFilter(const ChannelBuffer<float>& input, On 2016/06/01 14:51:01, peah-webrtc ...
4 years, 6 months ago (2016-06-01 22:13:21 UTC) #12
aluebs-webrtc
Friendly ping
4 years, 6 months ago (2016-06-03 16:08:20 UTC) #13
aluebs-webrtc
peah, could you please have a look at this?
4 years, 6 months ago (2016-06-07 22:49:07 UTC) #14
peah-webrtc
https://codereview.webrtc.org/1982183002/diff/60001/webrtc/common_audio/channel_buffer.h File webrtc/common_audio/channel_buffer.h (right): https://codereview.webrtc.org/1982183002/diff/60001/webrtc/common_audio/channel_buffer.h#newcode92 webrtc/common_audio/channel_buffer.h:92: // 0 <= channel < |num_official_channels_| On 2016/06/01 22:13:20, ...
4 years, 6 months ago (2016-06-08 12:04:55 UTC) #15
aluebs-webrtc
https://codereview.webrtc.org/1982183002/diff/60001/webrtc/common_audio/channel_buffer.h File webrtc/common_audio/channel_buffer.h (right): https://codereview.webrtc.org/1982183002/diff/60001/webrtc/common_audio/channel_buffer.h#newcode92 webrtc/common_audio/channel_buffer.h:92: // 0 <= channel < |num_official_channels_| On 2016/06/08 12:04:55, ...
4 years, 6 months ago (2016-06-09 02:11:46 UTC) #17
peah-webrtc
https://codereview.webrtc.org/1982183002/diff/60001/webrtc/modules/audio_processing/splitting_filter.cc File webrtc/modules/audio_processing/splitting_filter.cc (right): https://codereview.webrtc.org/1982183002/diff/60001/webrtc/modules/audio_processing/splitting_filter.cc#newcode75 webrtc/modules/audio_processing/splitting_filter.cc:75: RTC_DCHECK_LE(data->num_channels(), two_bands_states_.size()); On 2016/06/09 02:11:46, aluebs-webrtc wrote: > On ...
4 years, 6 months ago (2016-06-09 09:36:30 UTC) #18
aluebs-webrtc
https://codereview.webrtc.org/1982183002/diff/60001/webrtc/modules/audio_processing/splitting_filter.cc File webrtc/modules/audio_processing/splitting_filter.cc (right): https://codereview.webrtc.org/1982183002/diff/60001/webrtc/modules/audio_processing/splitting_filter.cc#newcode75 webrtc/modules/audio_processing/splitting_filter.cc:75: RTC_DCHECK_LE(data->num_channels(), two_bands_states_.size()); On 2016/06/09 09:36:30, peah-webrtc wrote: > On ...
4 years, 6 months ago (2016-06-09 19:21:42 UTC) #19
peah-webrtc
On 2016/06/09 19:21:42, aluebs-webrtc wrote: > https://codereview.webrtc.org/1982183002/diff/60001/webrtc/modules/audio_processing/splitting_filter.cc > File webrtc/modules/audio_processing/splitting_filter.cc (right): > > https://codereview.webrtc.org/1982183002/diff/60001/webrtc/modules/audio_processing/splitting_filter.cc#newcode75 > ...
4 years, 6 months ago (2016-06-10 11:42:44 UTC) #20
aluebs-webrtc
On 2016/06/10 11:42:44, peah-webrtc wrote: > On 2016/06/09 19:21:42, aluebs-webrtc wrote: > > > https://codereview.webrtc.org/1982183002/diff/60001/webrtc/modules/audio_processing/splitting_filter.cc ...
4 years, 6 months ago (2016-06-13 22:59:44 UTC) #22
aluebs-webrtc
peah, do you have any additional comments on this?
4 years, 6 months ago (2016-06-21 17:28:19 UTC) #23
peah-webrtc
https://codereview.webrtc.org/1982183002/diff/200001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1982183002/diff/200001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode691 webrtc/modules/audio_processing/audio_processing_impl.cc:691: ca->set_num_channels(1); The handling of the number of channels is ...
4 years, 5 months ago (2016-06-23 22:02:41 UTC) #24
aluebs-webrtc
https://codereview.webrtc.org/1982183002/diff/200001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1982183002/diff/200001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode691 webrtc/modules/audio_processing/audio_processing_impl.cc:691: ca->set_num_channels(1); On 2016/06/23 22:02:40, peah-webrtc wrote: > The handling ...
4 years, 5 months ago (2016-06-24 03:00:54 UTC) #26
peah-webrtc
On 2016/06/24 03:00:54, aluebs-webrtc wrote: > https://codereview.webrtc.org/1982183002/diff/200001/webrtc/modules/audio_processing/audio_processing_impl.cc > File webrtc/modules/audio_processing/audio_processing_impl.cc (right): > > https://codereview.webrtc.org/1982183002/diff/200001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode691 > ...
4 years, 5 months ago (2016-06-24 21:26:33 UTC) #27
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/1982183002/280001
4 years, 5 months ago (2016-06-27 18:21:27 UTC) #30
aluebs-webrtc
henrik.lundin, could you please have a look at webrtc/common_audio/lapped_transform.cc. Thank you very much!
4 years, 5 months ago (2016-06-27 18:22:53 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14522)
4 years, 5 months ago (2016-06-27 18:32:42 UTC) #34
hlundin-webrtc
lgtm
4 years, 5 months ago (2016-06-28 07:18:31 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/1982183002/280001
4 years, 5 months ago (2016-06-28 16:18:32 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14565)
4 years, 5 months ago (2016-06-28 16:25:43 UTC) #39
aluebs-webrtc
Committed patchset #12 (id:280001) manually as b983112bc7686ed4276def4c9215c498444c6bdd (presubmit successful).
4 years, 5 months ago (2016-06-28 17:03:05 UTC) #42
commit-bot: I haz the power
4 years, 5 months ago (2016-06-28 17:03:05 UTC) #43
Patchset 12 (id:??) landed as
https://crrev.com/b983112bc7686ed4276def4c9215c498444c6bdd
Cr-Commit-Position: refs/heads/master@{#13314}

Powered by Google App Engine
This is Rietveld 408576698