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

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

Issue 2681683003: Added Vp9 simulcast tests. (Closed)
Patch Set: rebase Created 3 years, 10 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/full_stack_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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 std::string GenerateGraphTitle() const; 104 std::string GenerateGraphTitle() const;
105 void CheckParams(); 105 void CheckParams();
106 106
107 // Helper static methods. 107 // Helper static methods.
108 static VideoStream DefaultVideoStream(const Params& params); 108 static VideoStream DefaultVideoStream(const Params& params);
109 static std::vector<int> ParseCSV(const std::string& str); 109 static std::vector<int> ParseCSV(const std::string& str);
110 110
111 // Helper methods for setting up the call. 111 // Helper methods for setting up the call.
112 void CreateCapturer(); 112 void CreateCapturer();
113 void SetupVideo(Transport* send_transport, Transport* recv_transport); 113 void SetupVideo(Transport* send_transport, Transport* recv_transport);
114 void SetupScreenshare(); 114 void SetupScreenshareOrSVC();
115 void SetupAudio(int send_channel_id, 115 void SetupAudio(int send_channel_id,
116 int receive_channel_id, 116 int receive_channel_id,
117 Call* call, 117 Call* call,
118 Transport* transport, 118 Transport* transport,
119 AudioReceiveStream** audio_receive_stream); 119 AudioReceiveStream** audio_receive_stream);
120 120
121 void StartEncodedFrameLogs(VideoSendStream* stream); 121 void StartEncodedFrameLogs(VideoSendStream* stream);
122 void StartEncodedFrameLogs(VideoReceiveStream* stream); 122 void StartEncodedFrameLogs(VideoReceiveStream* stream);
123 123
124 // We need a more general capturer than the FrameGeneratorCapturer. 124 // We need a more general capturer than the FrameGeneratorCapturer.
125 std::unique_ptr<test::VideoCapturer> video_capturer_; 125 std::unique_ptr<test::VideoCapturer> video_capturer_;
126 std::unique_ptr<test::TraceToStderr> trace_to_stderr_; 126 std::unique_ptr<test::TraceToStderr> trace_to_stderr_;
127 std::unique_ptr<test::FrameGenerator> frame_generator_; 127 std::unique_ptr<test::FrameGenerator> frame_generator_;
128 std::unique_ptr<VideoEncoder> video_encoder_; 128 std::unique_ptr<VideoEncoder> video_encoder_;
129 Clock* const clock_; 129 Clock* const clock_;
130 130
131 int receive_logs_; 131 int receive_logs_;
132 int send_logs_; 132 int send_logs_;
133 133
134 VideoSendStream::DegradationPreference degradation_preference_ = 134 VideoSendStream::DegradationPreference degradation_preference_ =
135 VideoSendStream::DegradationPreference::kBalanced; 135 VideoSendStream::DegradationPreference::kBalanced;
136 Params params_; 136 Params params_;
137 }; 137 };
138 138
139 } // namespace webrtc 139 } // namespace webrtc
140 140
141 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_ 141 #endif // WEBRTC_VIDEO_VIDEO_QUALITY_TEST_H_
OLDNEW
« no previous file with comments | « webrtc/video/full_stack_tests.cc ('k') | webrtc/video/video_quality_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698