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

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

Issue 1369263002: Unify Transport and newapi::Transport interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: self-review Created 5 years, 2 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 | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 #ifndef WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ 10 #ifndef WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void RunWithVideoRenderer(const Params& params); 64 void RunWithVideoRenderer(const Params& params);
65 65
66 protected: 66 protected:
67 // No-op implementation to be able to instantiate this class from non-TEST_F 67 // No-op implementation to be able to instantiate this class from non-TEST_F
68 // locations. 68 // locations.
69 void TestBody() override; 69 void TestBody() override;
70 70
71 void CreateCapturer(const Params& params, VideoCaptureInput* input); 71 void CreateCapturer(const Params& params, VideoCaptureInput* input);
72 void ValidateParams(const Params& params); 72 void ValidateParams(const Params& params);
73 void SetupFullStack(const Params& params, 73 void SetupFullStack(const Params& params,
74 newapi::Transport* send_transport, 74 Transport* send_transport,
75 newapi::Transport* recv_transport); 75 Transport* recv_transport);
76 void SetupScreenshare(const Params& params); 76 void SetupScreenshare(const Params& params);
77 77
78 // We need a more general capturer than the FrameGeneratorCapturer. 78 // We need a more general capturer than the FrameGeneratorCapturer.
79 rtc::scoped_ptr<test::VideoCapturer> capturer_; 79 rtc::scoped_ptr<test::VideoCapturer> capturer_;
80 rtc::scoped_ptr<test::TraceToStderr> trace_to_stderr_; 80 rtc::scoped_ptr<test::TraceToStderr> trace_to_stderr_;
81 rtc::scoped_ptr<test::FrameGenerator> frame_generator_; 81 rtc::scoped_ptr<test::FrameGenerator> frame_generator_;
82 rtc::scoped_ptr<VideoEncoder> encoder_; 82 rtc::scoped_ptr<VideoEncoder> encoder_;
83 VideoCodecUnion codec_settings_; 83 VideoCodecUnion codec_settings_;
84 Clock* const clock_; 84 Clock* const clock_;
85 }; 85 };
86 86
87 } // namespace webrtc 87 } // namespace webrtc
88 88
89 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ 89 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_
OLDNEW
« no previous file with comments | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698