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

Side by Side Diff: video/screenshare_loopback.cc

Issue 3019593002: Reland of Add full stack tests for MediaCodec.
Patch Set: Created 3 years, 2 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 | « video/full_stack_tests.cc ('k') | 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 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config}; 272 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config};
273 params.video = {true, 273 params.video = {true,
274 flags::Width(), 274 flags::Width(),
275 flags::Height(), 275 flags::Height(),
276 flags::Fps(), 276 flags::Fps(),
277 flags::MinBitrateKbps() * 1000, 277 flags::MinBitrateKbps() * 1000,
278 flags::TargetBitrateKbps() * 1000, 278 flags::TargetBitrateKbps() * 1000,
279 flags::MaxBitrateKbps() * 1000, 279 flags::MaxBitrateKbps() * 1000,
280 false, 280 false,
281 flags::Codec(), 281 flags::Codec(),
282 false, // No HW encoder.
283 false, // No SW fallback encoder.
282 flags::NumTemporalLayers(), 284 flags::NumTemporalLayers(),
283 flags::SelectedTL(), 285 flags::SelectedTL(),
284 flags::MinTransmitBitrateKbps() * 1000, 286 flags::MinTransmitBitrateKbps() * 1000,
285 false, // ULPFEC disabled. 287 false, // ULPFEC disabled.
286 false, // FlexFEC disabled. 288 false, // FlexFEC disabled.
287 ""}; 289 ""};
288 params.screenshare = {true, flags::GenerateSlides(), 290 params.screenshare = {true, flags::GenerateSlides(),
289 flags::SlideChangeInterval(), 291 flags::SlideChangeInterval(),
290 flags::ScrollDuration(), flags::Slides()}; 292 flags::ScrollDuration(), flags::Slides()};
291 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(), 293 params.analyzer = {"screenshare", 0.0, 0.0, flags::DurationSecs(),
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 } 329 }
328 330
329 // InitFieldTrialsFromString needs a reference to an std::string instance, 331 // InitFieldTrialsFromString needs a reference to an std::string instance,
330 // with a scope that outlives the test. 332 // with a scope that outlives the test.
331 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; 333 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials;
332 webrtc::test::InitFieldTrialsFromString(field_trials); 334 webrtc::test::InitFieldTrialsFromString(field_trials);
333 335
334 webrtc::test::RunTest(webrtc::Loopback); 336 webrtc::test::RunTest(webrtc::Loopback);
335 return 0; 337 return 0;
336 } 338 }
OLDNEW
« no previous file with comments | « video/full_stack_tests.cc ('k') | video/video_loopback.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698