OLD | NEW |
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // VideoQualityTest::Params params = { | 49 // VideoQualityTest::Params params = { |
50 // { ... }, // Common. | 50 // { ... }, // Common. |
51 // { ... }, // Video-specific settings. | 51 // { ... }, // Video-specific settings. |
52 // { ... }, // Screenshare-specific settings. | 52 // { ... }, // Screenshare-specific settings. |
53 // { ... }, // Analyzer settings. | 53 // { ... }, // Analyzer settings. |
54 // pipe, // FakeNetworkPipe::Config | 54 // pipe, // FakeNetworkPipe::Config |
55 // { ... }, // Spatial scalability. | 55 // { ... }, // Spatial scalability. |
56 // logs // bool | 56 // logs // bool |
57 // }; | 57 // }; |
58 | 58 |
| 59 #if !defined(RTC_DISABLE_VP9) |
59 TEST_F(FullStackTest, ForemanCifWithoutPacketLossVp9) { | 60 TEST_F(FullStackTest, ForemanCifWithoutPacketLossVp9) { |
60 ForemanCifWithoutPacketLoss("VP9"); | 61 ForemanCifWithoutPacketLoss("VP9"); |
61 } | 62 } |
62 | 63 |
63 TEST_F(FullStackTest, ForemanCifPlr5Vp9) { | 64 TEST_F(FullStackTest, ForemanCifPlr5Vp9) { |
64 ForemanCifPlr5("VP9"); | 65 ForemanCifPlr5("VP9"); |
65 } | 66 } |
| 67 #endif // !defined(RTC_DISABLE_VP9) |
66 | 68 |
67 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) { | 69 TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) { |
68 VideoQualityTest::Params paris_qcif = { | 70 VideoQualityTest::Params paris_qcif = { |
69 {176, 144, 30, 300000, 300000, 300000, "VP8", 1}, | 71 {176, 144, 30, 300000, 300000, 300000, "VP8", 1}, |
70 {"paris_qcif"}, | 72 {"paris_qcif"}, |
71 {}, | 73 {}, |
72 {"net_delay_0_0_plr_0", 36.0, 0.96, kFullStackTestDurationSecs}}; | 74 {"net_delay_0_0_plr_0", 36.0, 0.96, kFullStackTestDurationSecs}}; |
73 RunTest(paris_qcif); | 75 RunTest(paris_qcif); |
74 } | 76 } |
75 | 77 |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000}, | 195 {1850, 1110, 5, 50000, 200000, 2000000, "VP8", 2, 1, 400000}, |
194 {}, // Video-specific. | 196 {}, // Video-specific. |
195 {true, 10}, // Screenshare-specific. | 197 {true, 10}, // Screenshare-specific. |
196 {"screenshare_slides_very_lossy", 0.0, 0.0, kFullStackTestDurationSecs}}; | 198 {"screenshare_slides_very_lossy", 0.0, 0.0, kFullStackTestDurationSecs}}; |
197 screenshare.pipe.loss_percent = 10; | 199 screenshare.pipe.loss_percent = 10; |
198 screenshare.pipe.queue_delay_ms = 200; | 200 screenshare.pipe.queue_delay_ms = 200; |
199 screenshare.pipe.link_capacity_kbps = 500; | 201 screenshare.pipe.link_capacity_kbps = 500; |
200 RunTest(screenshare); | 202 RunTest(screenshare); |
201 } | 203 } |
202 | 204 |
| 205 #if !defined(RTC_DISABLE_VP9) |
203 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { | 206 TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { |
204 VideoQualityTest::Params screenshare = { | 207 VideoQualityTest::Params screenshare = { |
205 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 1, 0, 400000}, | 208 {1850, 1110, 5, 50000, 200000, 2000000, "VP9", 1, 0, 400000}, |
206 {}, | 209 {}, |
207 {true, 10}, | 210 {true, 10}, |
208 {"screenshare_slides_vp9_2sl", 0.0, 0.0, kFullStackTestDurationSecs}, | 211 {"screenshare_slides_vp9_2sl", 0.0, 0.0, kFullStackTestDurationSecs}, |
209 {}, | 212 {}, |
210 false, | 213 false, |
211 {std::vector<VideoStream>(), 0, 2, 1}}; | 214 {std::vector<VideoStream>(), 0, 2, 1}}; |
212 RunTest(screenshare); | 215 RunTest(screenshare); |
213 } | 216 } |
| 217 #endif // !defined(RTC_DISABLE_VP9) |
214 } // namespace webrtc | 218 } // namespace webrtc |
OLD | NEW |