OLD | NEW |
| (Empty) |
1 /* | |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | |
3 * | |
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 | |
6 * tree. An additional intellectual property rights grant can be found | |
7 * in the file PATENTS. All contributing project authors may | |
8 * be found in the AUTHORS file in the root of the source tree. | |
9 */ | |
10 #ifndef WEBRTC_VIDEO_FULL_STACK_H_ | |
11 #define WEBRTC_VIDEO_FULL_STACK_H_ | |
12 | |
13 #include <string> | |
14 | |
15 #include "webrtc/test/call_test.h" | |
16 #include "webrtc/test/direct_transport.h" | |
17 | |
18 namespace webrtc { | |
19 | |
20 enum class ContentMode { | |
21 kRealTimeVideo, | |
22 kScreensharingStaticImage, | |
23 kScreensharingScrollingImage, | |
24 }; | |
25 | |
26 struct FullStackTestParams { | |
27 const char* test_label; | |
28 struct { | |
29 const char* name; | |
30 size_t width, height; | |
31 int fps; | |
32 } clip; | |
33 ContentMode mode; | |
34 int min_bitrate_bps; | |
35 int target_bitrate_bps; | |
36 int max_bitrate_bps; | |
37 double avg_psnr_threshold; | |
38 double avg_ssim_threshold; | |
39 int test_durations_secs; | |
40 std::string codec; | |
41 FakeNetworkPipe::Config link; | |
42 std::string graph_data_output_filename; | |
43 }; | |
44 | |
45 class FullStackTest : public test::CallTest { | |
46 protected: | |
47 void RunTest(const FullStackTestParams& params); | |
48 }; | |
49 | |
50 } // namespace webrtc | |
51 | |
52 #endif // WEBRTC_VIDEO_FULL_STACK_H_ | |
OLD | NEW |