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

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

Issue 1397363002: Revert of Adding support for simulcast and spatial layers into VideoQualityTest (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « webrtc/test/layer_filtering_transport.cc ('k') | webrtc/video/screenshare_loopback.cc » ('j') | 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>
11 11
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include "webrtc/video/video_quality_test.h" 13 #include "webrtc/video/video_quality_test.h"
14 14
15 namespace webrtc { 15 namespace webrtc {
16 16
17 static const int kFullStackTestDurationSecs = 60; 17 static const int kFullStackTestDurationSecs = 60;
18 18
19 class FullStackTest : public VideoQualityTest { 19 class FullStackTest : public VideoQualityTest {
20 public: 20 public:
21 void RunTest(const VideoQualityTest::Params &params) { 21 void RunTest(const VideoQualityTest::Params &params) {
22 RunWithAnalyzer(params); 22 RunWithAnalyzer(params);
23 } 23 }
24 }; 24 };
25 25
26 // VideoQualityTest::Params params = {
27 // { ... }, // Common.
28 // { ... }, // Video-specific settings.
29 // { ... }, // Screenshare-specific settings.
30 // { ... }, // Analyzer settings.
31 // pipe, // FakeNetworkPipe::Config
32 // { ... }, // Spatial scalability.
33 // logs // bool
34 // };
35 26
36 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) { 27 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) {
37 VideoQualityTest::Params paris_qcif = { 28 VideoQualityTest::Params paris_qcif = {
38 {176, 144, 30, 300000, 300000, 300000, "VP8", 1}, 29 {176, 144, 30, 300000, 300000, 300000, "VP8", 1},
39 {"paris_qcif"}, 30 {"paris_qcif"},
40 {}, 31 {},
41 {"net_delay_0_0_plr_0", 36.0, 0.96, kFullStackTestDurationSecs}}; 32 {"net_delay_0_0_plr_0", 36.0, 0.96, kFullStackTestDurationSecs}};
42 RunTest(paris_qcif); 33 RunTest(paris_qcif);
43 } 34 }
44 35
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0, 113 {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0,
123 kFullStackTestDurationSecs}}; 114 kFullStackTestDurationSecs}};
124 foreman_cif.pipe.queue_length_packets = 32; 115 foreman_cif.pipe.queue_length_packets = 32;
125 foreman_cif.pipe.queue_delay_ms = 100; 116 foreman_cif.pipe.queue_delay_ms = 100;
126 foreman_cif.pipe.link_capacity_kbps = 1000; 117 foreman_cif.pipe.link_capacity_kbps = 1000;
127 RunTest(foreman_cif); 118 RunTest(foreman_cif);
128 } 119 }
129 120
130 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) { 121 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) {
131 VideoQualityTest::Params screenshare = { 122 VideoQualityTest::Params screenshare = {
132 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000}, 123 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 400000},
133 {}, 124 {}, // Video-specific.
134 {true, 10}, 125 {true, 10}, // Screenshare-specific.
135 {"screenshare_slides", 0.0, 0.0, kFullStackTestDurationSecs}}; 126 {"screenshare_slides", 0.0, 0.0, kFullStackTestDurationSecs}};
136 RunTest(screenshare); 127 RunTest(screenshare);
137 } 128 }
138 129
139 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) { 130 TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
140 VideoQualityTest::Params config = { 131 VideoQualityTest::Params config = {
141 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000}, 132 {1850, 1110 / 2, 5, 50000, 200000, 2000000, "VP8", 2, 400000},
142 {}, 133 {},
143 {true, 10, 2}, 134 {true, 10, 2},
144 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}}; 135 {"screenshare_slides_scrolling", 0.0, 0.0, kFullStackTestDurationSecs}};
145 RunTest(config); 136 RunTest(config);
146 } 137 }
147 138
148 TEST_F(FullStackTest, ScreenshareSlidesVP9_2TL) { 139 TEST_F(FullStackTest, ScreenshareSlidesVP9_2TL) {
149 VideoQualityTest::Params screenshare = { 140 VideoQualityTest::Params screenshare = {
150 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 2, 1, 400000}, 141 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 2, 400000},
151 {}, 142 {},
152 {true, 10}, 143 {true, 10},
153 {"screenshare_slides_vp9_2tl", 0.0, 0.0, kFullStackTestDurationSecs}}; 144 {"screenshare_slides_vp9_2tl", 0.0, 0.0, kFullStackTestDurationSecs}};
154 RunTest(screenshare); 145 RunTest(screenshare);
155 } 146 }
156 } // namespace webrtc 147 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/test/layer_filtering_transport.cc ('k') | webrtc/video/screenshare_loopback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698