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

Issue 2484153002: Move smoothing filter to common audio. (Closed)

Created:
4 years, 1 month ago by michaelt
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, yujie_mao (webrtc), kwiberg-webrtc, hlundin-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, qiang.lu, niklas.enbom, peah-webrtc
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Move smoothing filter to common audio. This will make the smoothing filter a basic tool that is going to be used by both voice engine and ANA. BUG=webrtc:6443 Committed: https://crrev.com/a82395bf7cd15b7396456df06fe952ede8db0c39 Cr-Commit-Position: refs/heads/master@{#15146}

Patch Set 1 #

Total comments: 12

Patch Set 2 : Resond to comments. #

Patch Set 3 : Move smoothing filter to common audio and creat target for exp_filter. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -276 lines) Patch
M webrtc/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/base/BUILD.gn View 1 2 3 chunks +8 lines, -2 lines 0 comments Download
M webrtc/common_audio/BUILD.gn View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
A + webrtc/common_audio/mocks/mock_smoothing_filter.h View 1 2 1 chunk +4 lines, -6 lines 0 comments Download
A + webrtc/common_audio/smoothing_filter.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
A + webrtc/common_audio/smoothing_filter.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + webrtc/common_audio/smoothing_filter_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc View 1 2 4 chunks +1 line, -4 lines 0 comments Download
D webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h View 1 chunk +0 lines, -29 lines 0 comments Download
D webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.h View 1 chunk +0 lines, -54 lines 0 comments Download
D webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter.cc View 1 chunk +0 lines, -62 lines 0 comments Download
D webrtc/modules/audio_coding/audio_network_adaptor/smoothing_filter_unittest.cc View 1 chunk +0 lines, -108 lines 0 comments Download
M webrtc/modules/remote_bitrate_estimator/aimd_rate_control_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 57 (33 generated)
michaelt
Hi i moved smoothing filter to base to be able to smooth the BWE to ...
4 years, 1 month ago (2016-11-08 09:50:55 UTC) #5
minyue-webrtc
I updated the description. See if you like it. Otherwise, LGTM.
4 years, 1 month ago (2016-11-08 09:58:43 UTC) #8
michaelt
On 2016/11/08 09:58:43, minyue-webrtc wrote: > I updated the description. See if you like it. ...
4 years, 1 month ago (2016-11-08 10:03:33 UTC) #11
the sun
https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h File webrtc/base/mocks/mock_smoothing_filter.h (right): https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h#newcode19 webrtc/base/mocks/mock_smoothing_filter.h:19: class MockSmoothingFilter : public SmoothingFilter { Do you really ...
4 years, 1 month ago (2016-11-09 10:02:59 UTC) #12
michaelt
https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h File webrtc/base/mocks/mock_smoothing_filter.h (right): https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h#newcode19 webrtc/base/mocks/mock_smoothing_filter.h:19: class MockSmoothingFilter : public SmoothingFilter { fec_controller_unittest.cc, the place ...
4 years, 1 month ago (2016-11-09 10:46:35 UTC) #13
the sun
lgtm https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h File webrtc/base/mocks/mock_smoothing_filter.h (right): https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h#newcode19 webrtc/base/mocks/mock_smoothing_filter.h:19: class MockSmoothingFilter : public SmoothingFilter { On 2016/11/09 ...
4 years, 1 month ago (2016-11-09 11:12:17 UTC) #14
michaelt
https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h File webrtc/base/mocks/mock_smoothing_filter.h (right): https://codereview.webrtc.org/2484153002/diff/1/webrtc/base/mocks/mock_smoothing_filter.h#newcode22 webrtc/base/mocks/mock_smoothing_filter.h:22: MOCK_METHOD0(Die, void()); On 2016/11/09 11:12:17, the sun wrote: > ...
4 years, 1 month ago (2016-11-09 12:33:52 UTC) #15
minyue-webrtc
still lgtm
4 years, 1 month ago (2016-11-09 12:47:14 UTC) #18
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/2484153002/20001
4 years, 1 month ago (2016-11-09 13:00:07 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/9976)
4 years, 1 month ago (2016-11-09 13:02:51 UTC) #25
michaelt
@perkj: I need your owner's approval for this CL.
4 years, 1 month ago (2016-11-09 14:43:21 UTC) #27
perkj_webrtc
Tommi, this is for rtc_base_approved. Would you mind taking a look?
4 years, 1 month ago (2016-11-10 12:09:07 UTC) #29
minyue-webrtc
On 2016/11/10 12:09:07, perkj_webrtc wrote: > Tommi, this is for rtc_base_approved. > Would you mind ...
4 years, 1 month ago (2016-11-14 09:02:29 UTC) #30
minyue-webrtc
Tommi, Would you take a look?
4 years, 1 month ago (2016-11-16 09:02:04 UTC) #32
tommi
On 2016/11/16 09:02:04, minyue-webrtc wrote: > Tommi, > > Would you take a look? Thanks ...
4 years, 1 month ago (2016-11-16 09:58:03 UTC) #34
the sun
On 2016/11/16 09:58:03, tommi (webrtc) wrote: > On 2016/11/16 09:02:04, minyue-webrtc wrote: > > Tommi, ...
4 years, 1 month ago (2016-11-16 10:04:58 UTC) #35
tommi
On 2016/11/16 10:04:58, the sun wrote: > On 2016/11/16 09:58:03, tommi (webrtc) wrote: > > ...
4 years, 1 month ago (2016-11-16 10:11:46 UTC) #36
michaelt
As discussed offline, I moved smoothing filter to common audio. And created a target for ...
4 years, 1 month ago (2016-11-17 10:37:10 UTC) #37
minyue-webrtc
On 2016/11/17 10:37:10, michaelt wrote: > As discussed offline, I moved smoothing filter to common ...
4 years, 1 month ago (2016-11-17 11:06:55 UTC) #48
tommi
lgtm. Thanks for making the change.
4 years, 1 month ago (2016-11-17 11:25:26 UTC) #49
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/2484153002/60001
4 years, 1 month ago (2016-11-18 08:21:39 UTC) #52
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-11-18 08:23:22 UTC) #54
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a82395bf7cd15b7396456df06fe952ede8db0c39 Cr-Commit-Position: refs/heads/master@{#15146}
4 years, 1 month ago (2016-11-18 08:23:29 UTC) #56
magjed_webrtc
4 years, 1 month ago (2016-11-18 09:31:03 UTC) #57
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:60001) has been created in
https://codereview.webrtc.org/2510373002/ by magjed@webrtc.org.

The reason for reverting is: Breaks downstream projects:
error: undefined reference to 'rtc::ExpFilter::kValueUndefined'
error: undefined reference to 'rtc::ExpFilter::Apply(float, float)'
error: undefined reference to 'rtc::ExpFilter::Reset(float)'
rror: undefined reference to 'rtc::ExpFilter::UpdateBase(float)'.

Powered by Google App Engine
This is Rietveld 408576698