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

Side by Side Diff: webrtc/video/screenshare_loopback.cc

Issue 2227733004: Add an HD resolution perf test. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add a new test which still runs with recv-side bwe. Created 4 years, 4 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.cc ('k') | webrtc/video/video_loopback.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 10
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 Call::Config::BitrateConfig call_bitrate_config; 221 Call::Config::BitrateConfig call_bitrate_config;
222 call_bitrate_config.min_bitrate_bps = flags::MinBitrateKbps() * 1000; 222 call_bitrate_config.min_bitrate_bps = flags::MinBitrateKbps() * 1000;
223 call_bitrate_config.start_bitrate_bps = flags::StartBitrateKbps() * 1000; 223 call_bitrate_config.start_bitrate_bps = flags::StartBitrateKbps() * 1000;
224 call_bitrate_config.max_bitrate_bps = flags::MaxBitrateKbps() * 1000; 224 call_bitrate_config.max_bitrate_bps = flags::MaxBitrateKbps() * 1000;
225 225
226 VideoQualityTest::Params params{ 226 VideoQualityTest::Params params{
227 {flags::Width(), flags::Height(), flags::Fps(), 227 {flags::Width(), flags::Height(), flags::Fps(),
228 flags::MinBitrateKbps() * 1000, flags::TargetBitrateKbps() * 1000, 228 flags::MinBitrateKbps() * 1000, flags::TargetBitrateKbps() * 1000,
229 flags::MaxBitrateKbps() * 1000, false, flags::Codec(), 229 flags::MaxBitrateKbps() * 1000, false, flags::Codec(),
230 flags::NumTemporalLayers(), flags::SelectedTL(), 230 flags::NumTemporalLayers(), flags::SelectedTL(),
231 flags::MinTransmitBitrateKbps() * 1000, call_bitrate_config, 231 flags::MinTransmitBitrateKbps() * 1000, flags::FLAGS_send_side_bwe,
232 flags::FLAGS_send_side_bwe}, 232 false, call_bitrate_config},
233 {}, // Video specific. 233 {}, // Video specific.
234 {true, flags::SlideChangeInterval(), flags::ScrollDuration()}, 234 {true, flags::SlideChangeInterval(), flags::ScrollDuration()},
235 {"screenshare", 0.0, 0.0, flags::DurationSecs(), flags::OutputFilename(), 235 {"screenshare", 0.0, 0.0, flags::DurationSecs(), flags::OutputFilename(),
236 flags::GraphTitle()}, 236 flags::GraphTitle()},
237 pipe_config, 237 pipe_config,
238 flags::FLAGS_logs}; 238 flags::FLAGS_logs};
239 239
240 std::vector<std::string> stream_descriptors; 240 std::vector<std::string> stream_descriptors;
241 stream_descriptors.push_back(flags::Stream0()); 241 stream_descriptors.push_back(flags::Stream0());
242 stream_descriptors.push_back(flags::Stream1()); 242 stream_descriptors.push_back(flags::Stream1());
(...skipping 14 matching lines...) Expand all
257 } // namespace webrtc 257 } // namespace webrtc
258 258
259 int main(int argc, char* argv[]) { 259 int main(int argc, char* argv[]) {
260 ::testing::InitGoogleTest(&argc, argv); 260 ::testing::InitGoogleTest(&argc, argv);
261 google::ParseCommandLineFlags(&argc, &argv, true); 261 google::ParseCommandLineFlags(&argc, &argv, true);
262 webrtc::test::InitFieldTrialsFromString( 262 webrtc::test::InitFieldTrialsFromString(
263 webrtc::flags::FLAGS_force_fieldtrials); 263 webrtc::flags::FLAGS_force_fieldtrials);
264 webrtc::test::RunTest(webrtc::Loopback); 264 webrtc::test::RunTest(webrtc::Loopback);
265 return 0; 265 return 0;
266 } 266 }
OLDNEW
« no previous file with comments | « webrtc/video/full_stack.cc ('k') | webrtc/video/video_loopback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698