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

Issue 1928923002: Making NetEq bitexactness test independent on reference files. (Closed)

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

Description

Making NetEq bitexactness test independent on reference files. NetEq bitexactness test depended on reference files which differs from platform to platform. This makes it very hard to update Neteq. New method maintains the ability to save output into files. But it verifies the checksum only. With this, when bitexactness test fails, we can still check closely to the output file if need, but the test becomes much easier to modify. BUG= Committed: https://crrev.com/4f90677527d8577d310ef718d3bba089bc7b36b9 Cr-Commit-Position: refs/heads/master@{#12567}

Patch Set 1 : redirect dependency to .sha1 file #

Patch Set 2 : removing dependency on .sha1 files #

Patch Set 3 : cleaning up #

Total comments: 14

Patch Set 4 : on comments #

Patch Set 5 : fixing an compiling error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -218 lines) Patch
D resources/audio_coding/neteq4_network_stats.dat.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_network_stats_android.dat.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_network_stats_win_32.dat.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_opus_network_stats.dat.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_opus_ref.pcm.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_opus_ref_win_32.pcm.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_opus_ref_win_64.pcm.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_opus_rtcp_stats.dat.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_rtcp_stats.dat.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_rtcp_stats_android.dat.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_universal_ref.pcm.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_universal_ref_android.pcm.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_universal_ref_win_32.pcm.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
D resources/audio_coding/neteq4_universal_ref_win_64.pcm.sha1 View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/modules/audio_coding/neteq/neteq_unittest.cc View 1 2 3 4 8 chunks +143 lines, -204 lines 0 comments Download

Messages

Total messages: 22 (11 generated)
minyue-webrtc
Hi Henrik, I updated the NetEq bit exactness tests in a way that it checks ...
4 years, 7 months ago (2016-04-28 15:21:36 UTC) #4
hlundin-webrtc
Very nice. Please, see my comments. https://codereview.webrtc.org/1928923002/diff/50001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_unittest.cc (right): https://codereview.webrtc.org/1928923002/diff/50001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc#newcode51 webrtc/modules/audio_coding/neteq/neteq_unittest.cc:51: if (!checksum_android.empty()) I ...
4 years, 7 months ago (2016-04-29 12:26:29 UTC) #5
minyue-webrtc
thanks for comments! now addressed. https://codereview.webrtc.org/1928923002/diff/50001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_unittest.cc (right): https://codereview.webrtc.org/1928923002/diff/50001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc#newcode51 webrtc/modules/audio_coding/neteq/neteq_unittest.cc:51: if (!checksum_android.empty()) On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 13:11:27 UTC) #6
hlundin-webrtc
Awesome! LGTM https://codereview.webrtc.org/1928923002/diff/50001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc File webrtc/modules/audio_coding/neteq/neteq_unittest.cc (right): https://codereview.webrtc.org/1928923002/diff/50001/webrtc/modules/audio_coding/neteq/neteq_unittest.cc#newcode112 webrtc/modules/audio_coding/neteq/neteq_unittest.cc:112: void WriteMessage(FILE* file, rtc::MessageDigest* digest, On 2016/04/29 ...
4 years, 7 months ago (2016-04-29 13:19:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928923002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928923002/70001
4 years, 7 months ago (2016-04-29 13:38:46 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_rel/builds/14651) win_x64_rel on tryserver.webrtc (JOB_FAILED, ...
4 years, 7 months ago (2016-04-29 13:41:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928923002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928923002/90001
4 years, 7 months ago (2016-04-29 14:07:48 UTC) #14
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, 7 months ago (2016-04-29 16:08:24 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928923002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928923002/90001
4 years, 7 months ago (2016-04-29 17:23:58 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:90001)
4 years, 7 months ago (2016-04-29 18:05:18 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-01 22:02:06 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/4f90677527d8577d310ef718d3bba089bc7b36b9
Cr-Commit-Position: refs/heads/master@{#12567}

Powered by Google App Engine
This is Rietveld 408576698