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

Issue 1510493004: Bitexactness test for the highpass filter (Closed)

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

Description

A bitexactness test for the highpass filter in the audio processing module. The test also adds a new helper class called VectorBasedAudioFrame that is intended to be reused for the bitexactness tests for the other submodules. BUG=webrtc:1091 Committed: https://crrev.com/0197363d18354af532b3a01abfd5d79fa63454c6 Cr-Commit-Position: refs/heads/master@{#11864}

Patch Set 1 : Initial test version #

Patch Set 2 : Added float specifiers #

Patch Set 3 : Added missing float specifiers #

Patch Set 4 : Changed printf format #

Patch Set 5 : Change printf format #

Patch Set 6 : Refactored the test not to use fixtures in response to reviewer comments #

Total comments: 64

Patch Set 7 : Major changes in response to reviewer comments #

Patch Set 8 : Sorted the files in the build file #

Total comments: 20

Patch Set 9 : Changes in response to reviewer comments #

Total comments: 18

Patch Set 10 : Changes in response to reviewer comments #

Total comments: 8

Patch Set 11 : Removed redundant include, updated test input to be different for different channels, changed comme… #

Patch Set 12 : Merge from latest master and changed type from int to size_t for looping variable #

Patch Set 13 : Reverted changes to audio_processing_impl.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+816 lines, -0 lines) Patch
A webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +724 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/test/audio_buffer_tools.h View 1 2 3 4 5 6 7 8 9 1 chunk +34 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/test/audio_buffer_tools.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +55 lines, -0 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 44 (19 generated)
peah-webrtc
5 years ago (2015-12-09 13:24:19 UTC) #5
The Sun (google.com)
I don't think a parameterized test is warranted in this case. Normal test cases would ...
5 years ago (2015-12-10 08:53:49 UTC) #8
peah-webrtc
On 2015/12/10 08:53:49, solenberg wrote: > I don't think a parameterized test is warranted in ...
5 years ago (2015-12-10 10:15:39 UTC) #9
peah-webrtc
5 years ago (2015-12-10 10:15:48 UTC) #10
the sun
https://codereview.webrtc.org/1510493004/diff/140001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1510493004/diff/140001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc#newcode29 webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc:29: const float kReference8000InitMono[1][kReferenceLength] = { Move these down locally, ...
5 years ago (2015-12-10 12:03:54 UTC) #12
hlundin-webrtc
https://codereview.webrtc.org/1510493004/diff/140001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1510493004/diff/140001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc#newcode74 webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc:74: num_channels = (channels_type == ChannelsType::kMono ? 1 : 2); ...
5 years ago (2015-12-10 12:12:17 UTC) #13
peah-webrtc
Major update in response to your great comments! https://codereview.webrtc.org/1510493004/diff/140001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1510493004/diff/140001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc#newcode29 webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc:29: const ...
5 years ago (2015-12-22 06:28:11 UTC) #14
the sun
https://codereview.webrtc.org/1510493004/diff/180001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1510493004/diff/180001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode920 webrtc/modules/audio_processing/audio_processing_impl.cc:920: if (public_submodules_->echo_control_mobile->is_enabled() && Why is this change in this ...
4 years, 11 months ago (2016-01-07 14:35:35 UTC) #15
the sun
https://codereview.webrtc.org/1510493004/diff/180001/webrtc/modules/audio_processing/test/audio_buffer_tools.h File webrtc/modules/audio_processing/test/audio_buffer_tools.h (right): https://codereview.webrtc.org/1510493004/diff/180001/webrtc/modules/audio_processing/test/audio_buffer_tools.h#newcode21 webrtc/modules/audio_processing/test/audio_buffer_tools.h:21: void CopyVectorToAudioBuffer(StreamConfig stream_config, Nice. Could this perhaps live in ...
4 years, 11 months ago (2016-01-07 14:56:28 UTC) #16
hlundin-webrtc
I don't have any other comments than what solenberg already provided. https://codereview.webrtc.org/1510493004/diff/180001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): ...
4 years, 11 months ago (2016-01-08 09:24:39 UTC) #17
peah-webrtc
https://codereview.webrtc.org/1510493004/diff/180001/webrtc/modules/audio_processing/audio_processing_impl.cc File webrtc/modules/audio_processing/audio_processing_impl.cc (right): https://codereview.webrtc.org/1510493004/diff/180001/webrtc/modules/audio_processing/audio_processing_impl.cc#newcode920 webrtc/modules/audio_processing/audio_processing_impl.cc:920: if (public_submodules_->echo_control_mobile->is_enabled() && On 2016/01/07 14:35:35, the sun wrote: ...
4 years, 10 months ago (2016-02-22 13:38:36 UTC) #18
the sun
Very nice! https://codereview.webrtc.org/1510493004/diff/200001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1510493004/diff/200001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc#newcode16 webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc:16: #include "webrtc/modules/audio_processing/audio_processing_impl.h" Why do you need this? ...
4 years, 10 months ago (2016-02-22 19:50:58 UTC) #19
peah-webrtc
https://codereview.webrtc.org/1510493004/diff/200001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1510493004/diff/200001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc#newcode16 webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc:16: #include "webrtc/modules/audio_processing/audio_processing_impl.h" On 2016/02/22 19:50:58, the sun wrote: > ...
4 years, 10 months ago (2016-02-22 23:11:36 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510493004/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510493004/220001
4 years, 10 months ago (2016-02-22 23:11:49 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_arm64_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_arm64_dbg/builds/7653) ios_rel on ...
4 years, 10 months ago (2016-02-22 23:12:43 UTC) #24
the sun
lgtm % last set of comments https://codereview.webrtc.org/1510493004/diff/220001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1510493004/diff/220001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc#newcode14 webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc:14: #include "webrtc/base/scoped_ptr.h" Not ...
4 years, 10 months ago (2016-02-23 08:53:39 UTC) #25
hlundin-webrtc
lgtm % solenberg's comments.
4 years, 10 months ago (2016-02-24 11:24:40 UTC) #26
peah-webrtc
https://codereview.webrtc.org/1510493004/diff/220001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc File webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1510493004/diff/220001/webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc#newcode14 webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc:14: #include "webrtc/base/scoped_ptr.h" On 2016/02/23 08:53:39, the sun wrote: > ...
4 years, 9 months ago (2016-03-03 09:22:04 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510493004/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510493004/240001
4 years, 9 months ago (2016-03-03 09:27:00 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/5625) ios_arm64_rel on tryserver.webrtc (JOB_FAILED, ...
4 years, 9 months ago (2016-03-03 09:28:50 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510493004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510493004/280001
4 years, 9 months ago (2016-03-03 13:00:23 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) win_baremetal on ...
4 years, 9 months ago (2016-03-03 15:01:20 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510493004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510493004/280001
4 years, 9 months ago (2016-03-03 19:16:23 UTC) #40
commit-bot: I haz the power
Committed patchset #13 (id:280001)
4 years, 9 months ago (2016-03-03 19:21:55 UTC) #42
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 19:22:00 UTC) #44
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/0197363d18354af532b3a01abfd5d79fa63454c6
Cr-Commit-Position: refs/heads/master@{#11864}

Powered by Google App Engine
This is Rietveld 408576698