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

Side by Side Diff: video/video_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/screenshare_loopback.cc ('k') | video/video_quality_test.h » ('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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config, 0}; 269 params.call = {flags::FLAG_send_side_bwe, call_bitrate_config, 0};
270 params.video = {flags::FLAG_video, 270 params.video = {flags::FLAG_video,
271 flags::Width(), 271 flags::Width(),
272 flags::Height(), 272 flags::Height(),
273 flags::Fps(), 273 flags::Fps(),
274 flags::MinBitrateKbps() * 1000, 274 flags::MinBitrateKbps() * 1000,
275 flags::TargetBitrateKbps() * 1000, 275 flags::TargetBitrateKbps() * 1000,
276 flags::MaxBitrateKbps() * 1000, 276 flags::MaxBitrateKbps() * 1000,
277 flags::FLAG_suspend_below_min_bitrate, 277 flags::FLAG_suspend_below_min_bitrate,
278 flags::Codec(), 278 flags::Codec(),
279 false, // No HW encoder.
280 false, // No SW fallback encoder.
279 flags::NumTemporalLayers(), 281 flags::NumTemporalLayers(),
280 flags::SelectedTL(), 282 flags::SelectedTL(),
281 0, // No min transmit bitrate. 283 0, // No min transmit bitrate.
282 flags::FLAG_use_ulpfec, 284 flags::FLAG_use_ulpfec,
283 flags::FLAG_use_flexfec, 285 flags::FLAG_use_flexfec,
284 flags::Clip(), 286 flags::Clip(),
285 flags::GetCaptureDevice()}; 287 flags::GetCaptureDevice()};
286 params.audio = {flags::FLAG_audio, flags::FLAG_audio_video_sync, 288 params.audio = {flags::FLAG_audio, flags::FLAG_audio_video_sync,
287 flags::FLAG_audio_dtx}; 289 flags::FLAG_audio_dtx};
288 params.logging = {flags::FLAG_logs, flags::FLAG_rtc_event_log_name, 290 params.logging = {flags::FLAG_logs, flags::FLAG_rtc_event_log_name,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 } 327 }
326 328
327 // InitFieldTrialsFromString needs a reference to an std::string instance, 329 // InitFieldTrialsFromString needs a reference to an std::string instance,
328 // with a scope that outlives the test. 330 // with a scope that outlives the test.
329 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials; 331 std::string field_trials = webrtc::flags::FLAG_force_fieldtrials;
330 webrtc::test::InitFieldTrialsFromString(field_trials); 332 webrtc::test::InitFieldTrialsFromString(field_trials);
331 333
332 webrtc::test::RunTest(webrtc::Loopback); 334 webrtc::test::RunTest(webrtc::Loopback);
333 return 0; 335 return 0;
334 } 336 }
OLDNEW
« no previous file with comments | « video/screenshare_loopback.cc ('k') | video/video_quality_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698