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

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

Issue 1308403003: Refactoring full stack and loopback tests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase updates Created 5 years, 3 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 | « no previous file | webrtc/video/full_stack.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/full_stack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698