Chromium Code Reviews| Index: webrtc/video/full_stack_tests.cc |
| diff --git a/webrtc/video/full_stack_tests.cc b/webrtc/video/full_stack_tests.cc |
| index 06445401bdf7547b942bc28165e13e18b0e7ae86..e8b72430b54ff89691027e91174d132cc1568c9f 100644 |
| --- a/webrtc/video/full_stack_tests.cc |
| +++ b/webrtc/video/full_stack_tests.cc |
| @@ -14,6 +14,13 @@ |
| namespace webrtc { |
| +#if defined(WEBRTC_ANDROID) || defined(WEBRTC_WIN) |
| +// Fails on Android and win |
|
kjellander_webrtc
2017/03/07 09:39:27
Please track fixing this in a bug that you add a r
ilnik
2017/03/07 09:54:07
50 thumbnails will be too large even without main
|
| +#define MAYBE_FullStackTest DISABLED_FullStackTest |
| +#else |
| +#define MAYBE_FullStackTest FullStackTest |
|
kjellander_webrtc
2017/03/07 09:39:27
If you're only looking for disabling a single test
ilnik
2017/03/07 09:54:07
Done.
|
| +#endif |
| + |
| static const int kFullStackTestDurationSecs = 45; |
| class FullStackTest : public VideoQualityTest { |
| @@ -364,7 +371,7 @@ TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) { |
| TEST_F(FullStackTest, VP9SVC_3SL_High) { |
| VideoQualityTest::Params simulcast; |
| simulcast.call.send_side_bwe = true; |
| - simulcast.video = {true, 1280, 720, 50, |
| + simulcast.video = {true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP9", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -378,7 +385,7 @@ TEST_F(FullStackTest, VP9SVC_3SL_High) { |
| TEST_F(FullStackTest, VP9SVC_3SL_Medium) { |
| VideoQualityTest::Params simulcast; |
| simulcast.call.send_side_bwe = true; |
| - simulcast.video = {true, 1280, 720, 50, |
| + simulcast.video = {true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP9", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -392,7 +399,7 @@ TEST_F(FullStackTest, VP9SVC_3SL_Medium) { |
| TEST_F(FullStackTest, VP9SVC_3SL_Low) { |
| VideoQualityTest::Params simulcast; |
| simulcast.call.send_side_bwe = true; |
| - simulcast.video = {true, 1280, 720, 50, |
| + simulcast.video = {true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP9", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -406,7 +413,7 @@ TEST_F(FullStackTest, VP9SVC_3SL_Low) { |
| TEST_F(FullStackTest, SimulcastVP8_3SL_High) { |
| VideoQualityTest::Params simulcast; |
| simulcast.call.send_side_bwe = true; |
| - simulcast.video = {true, 1280, 720, 50, |
| + simulcast.video = {true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -416,19 +423,19 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_High) { |
| simulcast.pipe.queue_delay_ms = 100; |
| VideoQualityTest::Params video_params_high; |
| video_params_high.video = { |
| - true, 1280, 720, 50, |
| + true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| VideoQualityTest::Params video_params_medium; |
| video_params_medium.video = { |
| - true, 640, 360, 50, |
| + true, 640, 360, 30, |
| 150000, 500000, 700000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| VideoQualityTest::Params video_params_low; |
| video_params_low.video = { |
| - true, 320, 180, 50, |
| + true, 320, 180, 30, |
| 30000, 150000, 200000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -443,7 +450,7 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_High) { |
| TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { |
| VideoQualityTest::Params simulcast; |
| simulcast.call.send_side_bwe = true; |
| - simulcast.video = {true, 1280, 720, 50, |
| + simulcast.video = {true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -453,19 +460,19 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { |
| simulcast.pipe.queue_delay_ms = 100; |
| VideoQualityTest::Params video_params_high; |
| video_params_high.video = { |
| - true, 1280, 720, 50, |
| + true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| VideoQualityTest::Params video_params_medium; |
| video_params_medium.video = { |
| - true, 640, 360, 50, |
| + true, 640, 360, 30, |
| 150000, 500000, 700000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| VideoQualityTest::Params video_params_low; |
| video_params_low.video = { |
| - true, 320, 180, 50, |
| + true, 320, 180, 30, |
| 30000, 150000, 200000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -480,7 +487,7 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) { |
| TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { |
| VideoQualityTest::Params simulcast; |
| simulcast.call.send_side_bwe = true; |
| - simulcast.video = {true, 1280, 720, 50, |
| + simulcast.video = {true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -490,19 +497,19 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { |
| simulcast.pipe.queue_delay_ms = 100; |
| VideoQualityTest::Params video_params_high; |
| video_params_high.video = { |
| - true, 1280, 720, 50, |
| + true, 1280, 720, 30, |
| 800000, 2500000, 2500000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| VideoQualityTest::Params video_params_medium; |
| video_params_medium.video = { |
| - true, 640, 360, 50, |
| + true, 640, 360, 30, |
| 150000, 500000, 700000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| VideoQualityTest::Params video_params_low; |
| video_params_low.video = { |
| - true, 320, 180, 50, |
| + true, 320, 180, 30, |
| 30000, 150000, 200000, false, |
| "VP8", 1, 0, 400000, |
| false, false, "", "ConferenceMotion_1280_720_50"}; |
| @@ -514,4 +521,119 @@ TEST_F(FullStackTest, SimulcastVP8_3SL_Low) { |
| RunTest(simulcast); |
| } |
| +TEST_F(FullStackTest, LargeRoomVP8_5thumb) { |
| + VideoQualityTest::Params large_room; |
| + large_room.call.send_side_bwe = true; |
| + large_room.video = {true, 1280, 720, 30, |
| + 800000, 2500000, 2500000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + large_room.analyzer = {"largeroom_5thumb", 0.0, 0.0, |
| + kFullStackTestDurationSecs}; |
| + large_room.pipe.loss_percent = 0; |
| + large_room.pipe.queue_delay_ms = 100; |
| + VideoQualityTest::Params video_params_high; |
| + video_params_high.video = { |
| + true, 1280, 720, 30, |
| + 800000, 2500000, 2500000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_medium; |
| + video_params_medium.video = { |
| + true, 640, 360, 30, |
| + 150000, 500000, 700000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_low; |
| + video_params_low.video = { |
| + true, 320, 180, 30, |
| + 30000, 150000, 200000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + |
| + std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| + DefaultVideoStream(video_params_medium), |
| + DefaultVideoStream(video_params_high)}; |
| + large_room.num_thumbnails = 5; |
| + large_room.ss = {streams, 2, 1, 0}; |
| + RunTest(large_room); |
| +} |
| + |
| +TEST_F(FullStackTest, LargeRoomVP8_15thumb) { |
| + VideoQualityTest::Params large_room; |
| + large_room.call.send_side_bwe = true; |
| + large_room.video = {true, 1280, 720, 30, |
| + 800000, 2500000, 2500000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + large_room.analyzer = {"largeroom_15thumb", 0.0, 0.0, |
| + kFullStackTestDurationSecs}; |
| + large_room.pipe.loss_percent = 0; |
| + large_room.pipe.queue_delay_ms = 100; |
| + VideoQualityTest::Params video_params_high; |
| + video_params_high.video = { |
| + true, 1280, 720, 30, |
| + 800000, 2500000, 2500000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_medium; |
| + video_params_medium.video = { |
| + true, 640, 360, 30, |
| + 150000, 500000, 700000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_low; |
| + video_params_low.video = { |
| + true, 320, 180, 30, |
| + 30000, 150000, 200000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + |
| + std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| + DefaultVideoStream(video_params_medium), |
| + DefaultVideoStream(video_params_high)}; |
| + large_room.num_thumbnails = 15; |
| + large_room.ss = {streams, 2, 1, 0}; |
| + RunTest(large_room); |
| +} |
| + |
| +TEST_F(MAYBE_FullStackTest, LargeRoomVP8_50thumb) { |
| + VideoQualityTest::Params large_room; |
| + large_room.call.send_side_bwe = true; |
| + large_room.video = {true, 1280, 720, 30, |
| + 800000, 2500000, 2500000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + large_room.analyzer = {"largeroom_50thumb", 0.0, 0.0, |
| + kFullStackTestDurationSecs}; |
| + large_room.pipe.loss_percent = 0; |
| + large_room.pipe.queue_delay_ms = 100; |
| + VideoQualityTest::Params video_params_high; |
| + video_params_high.video = { |
| + true, 1280, 720, 30, |
| + 800000, 2500000, 2500000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_medium; |
| + video_params_medium.video = { |
| + true, 640, 360, 30, |
| + 150000, 500000, 700000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + VideoQualityTest::Params video_params_low; |
| + video_params_low.video = { |
| + true, 320, 180, 30, |
| + 30000, 150000, 200000, false, |
| + "VP8", 3, 2, 400000, |
| + false, false, "", "ConferenceMotion_1280_720_50"}; |
| + |
| + std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low), |
| + DefaultVideoStream(video_params_medium), |
| + DefaultVideoStream(video_params_high)}; |
| + large_room.num_thumbnails = 50; |
| + large_room.ss = {streams, 2, 1, 0}; |
| + RunTest(large_room); |
| +} |
| + |
| + |
| } // namespace webrtc |