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 struct FullStackTestParams { |
| 21 const char* test_label; |
| 22 struct { |
| 23 const char* name; |
| 24 size_t width, height; |
| 25 int fps; |
| 26 } clip; |
| 27 bool screenshare; |
| 28 int min_bitrate_bps; |
| 29 int target_bitrate_bps; |
| 30 int max_bitrate_bps; |
| 31 double avg_psnr_threshold; |
| 32 double avg_ssim_threshold; |
| 33 int test_durations_secs; |
| 34 std::string codec; |
| 35 FakeNetworkPipe::Config link; |
| 36 std::string stats_output_filename; |
| 37 }; |
| 38 |
| 39 class FullStackTest : public test::CallTest { |
| 40 protected: |
| 41 void RunTest(const FullStackTestParams& params); |
| 42 }; |
| 43 |
| 44 } // namespace webrtc |
| 45 |
| 46 #endif // WEBRTC_VIDEO_FULL_STACK_H_ |
OLD | NEW |