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

Unified Diff: webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc

Issue 1246083006: Median filter (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comment addressed Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/estimators/nada.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc
diff --git a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc
index 80768966b5bad08032d0aab1188bb37140ad89b2..a0f56b73b7d5cdc7ad704e88daa74f36b14c1bd5 100644
--- a/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc
+++ b/webrtc/modules/remote_bitrate_estimator/test/estimators/nada_unittest.cc
@@ -356,7 +356,7 @@ TEST_F(NadaReceiverSideTest, FeedbackIncreasingDelay) {
// Raw delays are = [10 20 30 40 50 60 70 80] ms.
// Baseline delay will be 50 ms.
// Delay signals should be: [0 10 20 30 40 50 60 70] ms.
- const int64_t kMedianFilteredDelaysMs[] = {0, 10, 10, 20, 20, 30, 40, 50};
+ const int64_t kMedianFilteredDelaysMs[] = {0, 5, 10, 15, 20, 30, 40, 50};
const int kNumPackets = ARRAY_SIZE(kMedianFilteredDelaysMs);
const float kAlpha = 0.1f; // Used for exponential smoothing.
@@ -425,7 +425,7 @@ TEST_F(NadaReceiverSideTest, FeedbackWarpedDelay) {
// Baseline delay will be 50 ms.
// Delay signals should be: [0 200 400 600 800 1000 1200 1400] ms.
const int64_t kMedianFilteredDelaysMs[] = {
- 0, 200, 200, 400, 400, 600, 800, 1000};
+ 0, 100, 200, 300, 400, 600, 800, 1000};
const int kNumPackets = ARRAY_SIZE(kMedianFilteredDelaysMs);
const float kAlpha = 0.1f; // Used for exponential smoothing.
« no previous file with comments | « webrtc/modules/remote_bitrate_estimator/test/estimators/nada.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698