| OLD | NEW |
| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // locations. | 67 // locations. |
| 68 void TestBody() override; | 68 void TestBody() override; |
| 69 | 69 |
| 70 void CreateCapturer(const Params& params, VideoCaptureInput* input); | 70 void CreateCapturer(const Params& params, VideoCaptureInput* input); |
| 71 void ValidateParams(const Params& params); | 71 void ValidateParams(const Params& params); |
| 72 void SetupFullStack(const Params& params, | 72 void SetupFullStack(const Params& params, |
| 73 newapi::Transport* send_transport, | 73 newapi::Transport* send_transport, |
| 74 newapi::Transport* recv_transport); | 74 newapi::Transport* recv_transport); |
| 75 void SetupScreenshare(const Params& params); | 75 void SetupScreenshare(const Params& params); |
| 76 | 76 |
| 77 // We need a more general capturer than the FrameGeneratorCapturer. |
| 78 rtc::scoped_ptr<test::VideoCapturer> capturer_; |
| 77 rtc::scoped_ptr<test::TraceToStderr> trace_to_stderr_; | 79 rtc::scoped_ptr<test::TraceToStderr> trace_to_stderr_; |
| 78 rtc::scoped_ptr<test::FrameGenerator> frame_generator_; | 80 rtc::scoped_ptr<test::FrameGenerator> frame_generator_; |
| 79 rtc::scoped_ptr<VideoEncoder> encoder_; | 81 rtc::scoped_ptr<VideoEncoder> encoder_; |
| 80 VideoCodecUnion codec_settings_; | 82 VideoCodecUnion codec_settings_; |
| 81 Clock* const clock_; | 83 Clock* const clock_; |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 } // namespace webrtc | 86 } // namespace webrtc |
| 85 | 87 |
| 86 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ | 88 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ |
| OLD | NEW |