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

Side by Side Diff: webrtc/video/full_stack_tests.cc

Issue 2585703002: Add full stack tests (ForemanCif30kbpsWithoutPacketLoss, ForemanCif30kbpsWithoutPacketLossH264) (Closed)
Patch Set: address comments Created 4 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include <stdio.h> 10 #include <stdio.h>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. 72 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
73 VideoQualityTest::Params foreman_cif; 73 VideoQualityTest::Params foreman_cif;
74 foreman_cif.call.send_side_bwe = true; 74 foreman_cif.call.send_side_bwe = true;
75 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, "VP8", 75 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, "VP8",
76 1, 0, 0, false, false, "", "foreman_cif"}; 76 1, 0, 0, false, false, "", "foreman_cif"};
77 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0, 77 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0,
78 kFullStackTestDurationSecs}; 78 kFullStackTestDurationSecs};
79 RunTest(foreman_cif); 79 RunTest(foreman_cif);
80 } 80 }
81 81
82 TEST_F(FullStackTest, ForemanCif30kbpsWithoutPacketLoss) {
83 VideoQualityTest::Params foreman_cif;
84 foreman_cif.call.send_side_bwe = true;
85 foreman_cif.video = {true, 352, 288, 10, 30000, 30000, 30000, false,
86 "VP8", 1, 0, 0, false, false, "", "foreman_cif"};
87 foreman_cif.analyzer = {"foreman_cif_30kbps_net_delay_0_0_plr_0", 0.0, 0.0,
88 kFullStackTestDurationSecs};
89 RunTest(foreman_cif);
90 }
91
82 TEST_F(FullStackTest, ForemanCifPlr5) { 92 TEST_F(FullStackTest, ForemanCifPlr5) {
83 VideoQualityTest::Params foreman_cif; 93 VideoQualityTest::Params foreman_cif;
84 foreman_cif.call.send_side_bwe = true; 94 foreman_cif.call.send_side_bwe = true;
85 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 95 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
86 1, 0, 0, false, false, "", "foreman_cif"}; 96 1, 0, 0, false, false, "", "foreman_cif"};
87 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0, 97 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0,
88 kFullStackTestDurationSecs}; 98 kFullStackTestDurationSecs};
89 foreman_cif.pipe.loss_percent = 5; 99 foreman_cif.pipe.loss_percent = 5;
90 foreman_cif.pipe.queue_delay_ms = 50; 100 foreman_cif.pipe.queue_delay_ms = 50;
91 RunTest(foreman_cif); 101 RunTest(foreman_cif);
(...skipping 28 matching lines...) Expand all
120 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. 130 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
121 VideoQualityTest::Params foreman_cif; 131 VideoQualityTest::Params foreman_cif;
122 foreman_cif.call.send_side_bwe = true; 132 foreman_cif.call.send_side_bwe = true;
123 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, 133 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false,
124 "H264", 1, 0, 0, false, false, "", "foreman_cif"}; 134 "H264", 1, 0, 0, false, false, "", "foreman_cif"};
125 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_H264", 0.0, 0.0, 135 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_H264", 0.0, 0.0,
126 kFullStackTestDurationSecs}; 136 kFullStackTestDurationSecs};
127 RunTest(foreman_cif); 137 RunTest(foreman_cif);
128 } 138 }
129 139
140 TEST_F(FullStackTest, ForemanCif30kbpsWithoutPacketlossH264) {
141 VideoQualityTest::Params foreman_cif;
142 foreman_cif.call.send_side_bwe = true;
143 foreman_cif.video = {true, 352, 288, 10, 30000, 30000, 30000, false, "H264",
144 1, 0, 0, false, false, "", "foreman_cif"};
145 foreman_cif.analyzer = {"foreman_cif_30kbps_net_delay_0_0_plr_0_H264", 0.0,
146 0.0, kFullStackTestDurationSecs};
147 RunTest(foreman_cif);
148 }
149
130 TEST_F(FullStackTest, ForemanCifPlr5H264) { 150 TEST_F(FullStackTest, ForemanCifPlr5H264) {
131 VideoQualityTest::Params foreman_cif; 151 VideoQualityTest::Params foreman_cif;
132 foreman_cif.call.send_side_bwe = true; 152 foreman_cif.call.send_side_bwe = true;
133 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, 153 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false,
134 "H264", 1, 0, 0, false, false, "", "foreman_cif"}; 154 "H264", 1, 0, 0, false, false, "", "foreman_cif"};
135 std::string fec_description; 155 std::string fec_description;
136 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_H264", 0.0, 0.0, 156 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_H264", 0.0, 0.0,
137 kFullStackTestDurationSecs}; 157 kFullStackTestDurationSecs};
138 foreman_cif.pipe.loss_percent = 5; 158 foreman_cif.pipe.loss_percent = 5;
139 foreman_cif.pipe.queue_delay_ms = 50; 159 foreman_cif.pipe.queue_delay_ms = 50;
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 screenshare.screenshare = {true, 10}; 339 screenshare.screenshare = {true, 10};
320 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0, 340 screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0,
321 kFullStackTestDurationSecs}; 341 kFullStackTestDurationSecs};
322 screenshare.logs = false; 342 screenshare.logs = false;
323 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1}; 343 screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1};
324 RunTest(screenshare); 344 RunTest(screenshare);
325 } 345 }
326 #endif // !defined(RTC_DISABLE_VP9) 346 #endif // !defined(RTC_DISABLE_VP9)
327 347
328 } // namespace webrtc 348 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698