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

Side by Side Diff: webrtc/modules/video_coding/codecs/test/videoprocessor_integrationtest_libvpx.cc

Issue 3009963002: Add ability to instantiate VideoEncoderSoftwareFallback in VP tests. (Closed)
Patch Set: srte comments 1. Created 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 26 matching lines...) Expand all
37 protected: 37 protected:
38 VideoProcessorIntegrationTestLibvpx() { 38 VideoProcessorIntegrationTestLibvpx() {
39 config_.filename = "foreman_cif"; 39 config_.filename = "foreman_cif";
40 config_.input_filename = ResourcePath(config_.filename, "yuv"); 40 config_.input_filename = ResourcePath(config_.filename, "yuv");
41 config_.output_filename = 41 config_.output_filename =
42 TempFilename(OutputPath(), "videoprocessor_integrationtest_libvpx"); 42 TempFilename(OutputPath(), "videoprocessor_integrationtest_libvpx");
43 config_.networking_config.packet_loss_probability = 0.0; 43 config_.networking_config.packet_loss_probability = 0.0;
44 // Only allow encoder/decoder to use single core, for predictability. 44 // Only allow encoder/decoder to use single core, for predictability.
45 config_.use_single_core = true; 45 config_.use_single_core = true;
46 config_.verbose = false; 46 config_.verbose = false;
47 config_.hw_codec = false; 47 config_.hw_encoder = false;
48 config_.hw_decoder = false;
48 } 49 }
49 }; 50 };
50 51
51 // Fails on iOS. See webrtc:4755. 52 // Fails on iOS. See webrtc:4755.
52 #if !defined(WEBRTC_IOS) 53 #if !defined(WEBRTC_IOS)
53 54
54 #if !defined(RTC_DISABLE_VP9) 55 #if !defined(RTC_DISABLE_VP9)
55 // VP9: Run with no packet loss and fixed bitrate. Quality should be very high. 56 // VP9: Run with no packet loss and fixed bitrate. Quality should be very high.
56 // One key frame (first frame only) in sequence. 57 // One key frame (first frame only) in sequence.
57 TEST_F(VideoProcessorIntegrationTestLibvpx, Process0PercentPacketLossVP9) { 58 TEST_F(VideoProcessorIntegrationTestLibvpx, Process0PercentPacketLossVP9) {
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
369 AddRateControlThresholds(0, 0, 30, 15, 10, 0, 0, &rc_thresholds); 370 AddRateControlThresholds(0, 0, 30, 15, 10, 0, 0, &rc_thresholds);
370 371
371 QualityThresholds quality_thresholds(32.5, 30.0, 0.85, 0.80); 372 QualityThresholds quality_thresholds(32.5, 30.0, 0.85, 0.80);
372 373
373 ProcessFramesAndMaybeVerify(rate_profile, &rc_thresholds, &quality_thresholds, 374 ProcessFramesAndMaybeVerify(rate_profile, &rc_thresholds, &quality_thresholds,
374 kNoVisualizationParams); 375 kNoVisualizationParams);
375 } 376 }
376 377
377 } // namespace test 378 } // namespace test
378 } // namespace webrtc 379 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698