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

Issue 1783203002: Bitexactness test for the noise suppressor (Closed)

Created:
4 years, 9 months ago by peah-webrtc
Modified:
4 years, 9 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, peah-webrtc, 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

Added a bitexactness test for the noise suppressor. This CL also extracts part of the functionality used in the bitexactness test for the high-pass filter into a separate file in order to be able to reuse that functionality in bitexactness tests for the other submodules in APM (including the bitexactness test for the noise suppressor). BUG=wertc:5336 Committed: https://crrev.com/5585001e5d3f867753752a8569a4f778636c583d Cr-Commit-Position: refs/heads/master@{#12061}

Patch Set 1 #

Patch Set 2 : Added missing include #

Patch Set 3 : Corrected include #

Patch Set 4 : Changed format to be float in order to avoid implicit conversion #

Patch Set 5 : Added missing variable initialization #

Patch Set 6 : Added all tests #

Patch Set 7 : Minor modifications #

Patch Set 8 : Update the unit test reference values #

Patch Set 9 : Added correct test vectors for Android #

Patch Set 10 : Corrected comments #

Total comments: 51

Patch Set 11 : Changes in response to reviewer comments, and harmonize the code with the other bitexactness tests #

Patch Set 12 : Corrected usage of ArrayView and changed to using a constant for the number of frames to process #

Total comments: 11

Patch Set 13 : Changes in response to reviewer comments" #

Total comments: 2

Patch Set 14 : Changed to use CHECK #

Patch Set 15 : Rebase #

Patch Set 16 : Rebase #

Patch Set 17 : Added explicit truncation to float #

Patch Set 18 : Added new reference vectors for Android #

Patch Set 19 : Rebase #

Patch Set 20 : Corrected syntax error #

Patch Set 21 : Fixed another Android specific code syntax error #

Patch Set 22 : Updated testvectors for Android #

Patch Set 23 : Fixed typo #

Patch Set 24 : Removed accidental code change #

Patch Set 25 : Removed effects from bad merge #

Patch Set 26 : Corrected reference value for Android #

Patch Set 27 : Furher Android bitexactness test changes #

Patch Set 28 : Corrected preprocessor directive #

Patch Set 29 : Fixed syntax error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+485 lines, -60 lines) Patch
M webrtc/modules/audio_processing/high_pass_filter_bitexactness_unittest.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +7 lines, -45 lines 0 comments Download
A webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +260 lines, -0 lines 0 comments Download
M webrtc/modules/audio_processing/test/audio_buffer_tools.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -4 lines 0 comments Download
M webrtc/modules/audio_processing/test/audio_buffer_tools.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +11 lines, -11 lines 0 comments Download
A webrtc/modules/audio_processing/test/bitexactness_tools.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +54 lines, -0 lines 0 comments Download
A webrtc/modules/audio_processing/test/bitexactness_tools.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +145 lines, -0 lines 0 comments Download
M webrtc/modules/modules.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 80 (41 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/1
4 years, 9 months ago (2016-03-11 06:43:36 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/11626) mac_compile_dbg on ...
4 years, 9 months ago (2016-03-11 06:46:10 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/20001
4 years, 9 months ago (2016-03-11 07:03:23 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/6177) android_dbg on ...
4 years, 9 months ago (2016-03-11 07:05:34 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/100001
4 years, 9 months ago (2016-03-11 09:59:59 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/11646)
4 years, 9 months ago (2016-03-11 11:16:14 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/120001
4 years, 9 months ago (2016-03-14 07:07:33 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/11686) linux_rel on ...
4 years, 9 months ago (2016-03-14 07:16:08 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/140001
4 years, 9 months ago (2016-03-15 10:04:39 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/11742)
4 years, 9 months ago (2016-03-15 11:35:08 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/1783203002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/160001
4 years, 9 months ago (2016-03-15 12:04:19 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 9 months ago (2016-03-15 14:05:00 UTC) #24
peah-webrtc
4 years, 9 months ago (2016-03-15 14:35:39 UTC) #27
hlundin-webrtc
https://codereview.webrtc.org/1783203002/diff/180001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc File webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1783203002/diff/180001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc#newcode2 webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc:2: * Copyright (c) 2015 The WebRTC project authors. All ...
4 years, 9 months ago (2016-03-16 12:44:29 UTC) #28
peah-webrtc
https://codereview.webrtc.org/1783203002/diff/180001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc File webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1783203002/diff/180001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc#newcode2 webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc:2: * Copyright (c) 2015 The WebRTC project authors. All ...
4 years, 9 months ago (2016-03-17 13:15:01 UTC) #29
peah-webrtc
Some minor further updates.
4 years, 9 months ago (2016-03-17 13:34:33 UTC) #30
hlundin-webrtc
Much improved. Just a few minor comments left. https://codereview.webrtc.org/1783203002/diff/180001/webrtc/modules/audio_processing/test/audio_buffer_tools.cc File webrtc/modules/audio_processing/test/audio_buffer_tools.cc (right): https://codereview.webrtc.org/1783203002/diff/180001/webrtc/modules/audio_processing/test/audio_buffer_tools.cc#newcode42 webrtc/modules/audio_processing/test/audio_buffer_tools.cc:42: AudioBuffer* ...
4 years, 9 months ago (2016-03-17 14:14:40 UTC) #31
peah-webrtc
https://codereview.webrtc.org/1783203002/diff/220001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc File webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1783203002/diff/220001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc#newcode36 webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc:36: capture_buffer->MergeFrequencyBands(); On 2016/03/17 14:14:40, hlundin-webrtc wrote: > I think ...
4 years, 9 months ago (2016-03-17 22:26:02 UTC) #32
hlundin-webrtc
LGTM with one nit. https://codereview.webrtc.org/1783203002/diff/220001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc File webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc (right): https://codereview.webrtc.org/1783203002/diff/220001/webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc#newcode36 webrtc/modules/audio_processing/noise_suppression_bitexactness_unittest.cc:36: capture_buffer->MergeFrequencyBands(); On 2016/03/17 22:26:02, peah-webrtc ...
4 years, 9 months ago (2016-03-18 07:53:35 UTC) #33
peah-webrtc
https://codereview.webrtc.org/1783203002/diff/240001/webrtc/modules/audio_processing/test/audio_buffer_tools.cc File webrtc/modules/audio_processing/test/audio_buffer_tools.cc (right): https://codereview.webrtc.org/1783203002/diff/240001/webrtc/modules/audio_processing/test/audio_buffer_tools.cc#newcode37 webrtc/modules/audio_processing/test/audio_buffer_tools.cc:37: RTC_DCHECK_EQ(input_samples.size(), source.size()); On 2016/03/18 07:53:35, hlundin-webrtc wrote: > Change ...
4 years, 9 months ago (2016-03-18 08:48:09 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/300001
4 years, 9 months ago (2016-03-18 08:48:23 UTC) #36
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_rel/builds/13611)
4 years, 9 months ago (2016-03-18 08:53:14 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/360001
4 years, 9 months ago (2016-03-18 10:29:15 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_mips_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_mips_dbg/builds/572)
4 years, 9 months ago (2016-03-18 11:13:35 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/380001
4 years, 9 months ago (2016-03-18 11:43:38 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_mips_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_mips_dbg/builds/576)
4 years, 9 months ago (2016-03-18 11:56:06 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/400001
4 years, 9 months ago (2016-03-18 12:36:30 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
4 years, 9 months ago (2016-03-18 14:37:20 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/420001
4 years, 9 months ago (2016-03-18 22:53:06 UTC) #56
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_clang_dbg/builds/11634) android_compile_x86_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 9 months ago (2016-03-18 22:56:36 UTC) #58
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/440001
4 years, 9 months ago (2016-03-19 00:37:00 UTC) #61
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/6096) ios_arm64_dbg on tryserver.webrtc (JOB_FAILED, ...
4 years, 9 months ago (2016-03-19 00:38:34 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/470001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/470001
4 years, 9 months ago (2016-03-19 01:14:32 UTC) #66
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/11864)
4 years, 9 months ago (2016-03-19 02:42:52 UTC) #68
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/490001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/490001
4 years, 9 months ago (2016-03-19 18:31:46 UTC) #71
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/6415)
4 years, 9 months ago (2016-03-19 19:43:40 UTC) #73
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783203002/550001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783203002/550001
4 years, 9 months ago (2016-03-20 00:01:33 UTC) #76
commit-bot: I haz the power
Committed patchset #29 (id:550001)
4 years, 9 months ago (2016-03-20 01:01:15 UTC) #78
commit-bot: I haz the power
4 years, 9 months ago (2016-03-20 01:01:27 UTC) #80
Message was sent while issue was closed.
Patchset 29 (id:??) landed as
https://crrev.com/5585001e5d3f867753752a8569a4f778636c583d
Cr-Commit-Position: refs/heads/master@{#12061}

Powered by Google App Engine
This is Rietveld 408576698