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

Issue 1316673010: AudioEncoderOpusTest.PacketLossRateOptimized: Fix bug and make prettier (Closed)

Created:
5 years, 3 months ago by kwiberg-webrtc
Modified:
5 years, 3 months ago
Reviewers:
minyue-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, hlundin-webrtc, kwiberg-webrtc, tlegrand-webrtc, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@opus-test
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

AudioEncoderOpusTest.PacketLossRateOptimized: Fix bug and make prettier Fix bug 4981, which caused the second half (decreasing loss rates) to not test anything. In the process, the test is changed slightly to make it less dependent on the exact rounding behavior of doubles (by not testing exactly at the the points where the effective loss rate goes through a step---just very very close). A bunch of symbolic constants are also replaced with easy-to-read literal numbers. BUG=4981 Committed: https://crrev.com/942a699f14317927f9069a908e74c28338c5c5a8 Cr-Commit-Position: refs/heads/master@{#9908}

Patch Set 1 #

Total comments: 6

Patch Set 2 : looks better #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -42 lines) Patch
M webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc View 1 2 chunks +32 lines, -42 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 8 (2 generated)
minyue-webrtc
https://codereview.webrtc.org/1316673010/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc (left): https://codereview.webrtc.org/1316673010/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc#oldcode117 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc:117: for (double loss = from; loss <= to; all ...
5 years, 3 months ago (2015-09-09 11:40:29 UTC) #2
kwiberg-webrtc
https://codereview.webrtc.org/1316673010/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc (right): https://codereview.webrtc.org/1316673010/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc#newcode100 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc:100: // If a < b, returns a vector with ...
5 years, 3 months ago (2015-09-09 11:51:42 UTC) #3
minyue-webrtc
lgtm https://codereview.webrtc.org/1316673010/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc File webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc (right): https://codereview.webrtc.org/1316673010/diff/1/webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc#newcode115 webrtc/modules/audio_coding/codecs/opus/audio_encoder_opus_unittest.cc:115: return points; On 2015/09/09 11:51:42, kwiberg-webrtc wrote: > ...
5 years, 3 months ago (2015-09-09 12:13:39 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1316673010/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1316673010/20001
5 years, 3 months ago (2015-09-09 12:15:54 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-09 13:43:00 UTC) #7
commit-bot: I haz the power
5 years, 3 months ago (2015-09-09 13:43:12 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/942a699f14317927f9069a908e74c28338c5c5a8
Cr-Commit-Position: refs/heads/master@{#9908}

Powered by Google App Engine
This is Rietveld 408576698