| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ |
| OLD | NEW |