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

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

Issue 1356933005: Fixing camera capture for video_loopback (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressing comments 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/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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698