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

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

Issue 2966153002: Fix issue with zero rtt reports when using FlexFEC and add perf test. (Closed)
Patch Set: Created 3 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 unified diff | Download patch
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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 foreman_cif.call.send_side_bwe = true; 129 foreman_cif.call.send_side_bwe = true;
130 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8", 130 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
131 1, 0, 0, false, true, "", "foreman_cif"}; 131 1, 0, 0, false, true, "", "foreman_cif"};
132 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_flexfec", 0.0, 0.0, 132 foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_flexfec", 0.0, 0.0,
133 kFullStackTestDurationSecs}; 133 kFullStackTestDurationSecs};
134 foreman_cif.pipe.loss_percent = 5; 134 foreman_cif.pipe.loss_percent = 5;
135 foreman_cif.pipe.queue_delay_ms = 50; 135 foreman_cif.pipe.queue_delay_ms = 50;
136 RunTest(foreman_cif); 136 RunTest(foreman_cif);
137 } 137 }
138 138
139 TEST_F(FullStackTest, ForemanCif500kbpsPlr3Flexfec) {
140 VideoQualityTest::Params foreman_cif;
141 foreman_cif.call.send_side_bwe = true;
142 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
143 false, "VP8", 1, 0, 0, false, true,
144 "", "foreman_cif"};
145 foreman_cif.analyzer = {"foreman_cif_500kbps_delay_50_0_plr_3_flexfec", 0.0,
146 0.0, kFullStackTestDurationSecs};
147 foreman_cif.pipe.loss_percent = 3;
148 foreman_cif.pipe.link_capacity_kbps = 500;
149 foreman_cif.pipe.queue_delay_ms = 50;
150 RunTest(foreman_cif);
151 }
152
153 TEST_F(FullStackTest, ForemanCif500kbpsPlr3Ulpfec) {
154 VideoQualityTest::Params foreman_cif;
155 foreman_cif.call.send_side_bwe = true;
156 foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000,
157 false, "VP8", 1, 0, 0, true, false,
158 "", "foreman_cif"};
159 foreman_cif.analyzer = {"foreman_cif_500kbps_delay_50_0_plr_3_ulpfec", 0.0,
160 0.0, kFullStackTestDurationSecs};
161 foreman_cif.pipe.loss_percent = 3;
162 foreman_cif.pipe.link_capacity_kbps = 500;
163 foreman_cif.pipe.queue_delay_ms = 50;
164 RunTest(foreman_cif);
165 }
166
139 #if defined(WEBRTC_USE_H264) 167 #if defined(WEBRTC_USE_H264)
140 TEST_F(FullStackTest, ForemanCifWithoutPacketlossH264) { 168 TEST_F(FullStackTest, ForemanCifWithoutPacketlossH264) {
141 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif. 169 // TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
142 VideoQualityTest::Params foreman_cif; 170 VideoQualityTest::Params foreman_cif;
143 foreman_cif.call.send_side_bwe = true; 171 foreman_cif.call.send_side_bwe = true;
144 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, 172 foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false,
145 "H264", 1, 0, 0, false, false, "", "foreman_cif"}; 173 "H264", 1, 0, 0, false, false, "", "foreman_cif"};
146 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_H264", 0.0, 0.0, 174 foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_H264", 0.0, 0.0,
147 kFullStackTestDurationSecs}; 175 kFullStackTestDurationSecs};
148 RunTest(foreman_cif); 176 RunTest(foreman_cif);
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), 755 std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
728 DefaultVideoStream(video_params_medium), 756 DefaultVideoStream(video_params_medium),
729 DefaultVideoStream(video_params_high)}; 757 DefaultVideoStream(video_params_high)};
730 large_room.num_thumbnails = 50; 758 large_room.num_thumbnails = 50;
731 large_room.ss = {streams, 2, 1, 0, std::vector<SpatialLayer>(), false}; 759 large_room.ss = {streams, 2, 1, 0, std::vector<SpatialLayer>(), false};
732 RunTest(large_room); 760 RunTest(large_room);
733 } 761 }
734 762
735 763
736 } // namespace webrtc 764 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/bitrate_controller/send_side_bandwidth_estimation.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698