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

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

Issue 1877113003: vp8-intergationtest: Adjust paramter in resize test. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | 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) 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 943 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 rate_profile.num_frames = kNbrFramesLong; 954 rate_profile.num_frames = kNbrFramesLong;
955 // Codec/network settings. 955 // Codec/network settings.
956 CodecConfigPars process_settings; 956 CodecConfigPars process_settings;
957 SetCodecParameters(&process_settings, kVideoCodecVP8, 0.0f, -1, 1, false, 957 SetCodecParameters(&process_settings, kVideoCodecVP8, 0.0f, -1, 1, false,
958 true, true, true); 958 true, true, true);
959 // Metrics for expected quality. 959 // Metrics for expected quality.
960 QualityMetrics quality_metrics; 960 QualityMetrics quality_metrics;
961 SetQualityMetrics(&quality_metrics, 25.0, 15.0, 0.70, 0.40); 961 SetQualityMetrics(&quality_metrics, 25.0, 15.0, 0.70, 0.40);
962 // Metrics for rate control. 962 // Metrics for rate control.
963 RateControlMetrics rc_metrics[1]; 963 RateControlMetrics rc_metrics[1];
964 SetRateControlMetrics(rc_metrics, 0, 160, 60, 120, 20, 70, 1, 2); 964 SetRateControlMetrics(rc_metrics, 0, 160, 80, 120, 20, 70, 1, 2);
965 ProcessFramesAndVerify(quality_metrics, rate_profile, process_settings, 965 ProcessFramesAndVerify(quality_metrics, rate_profile, process_settings,
966 rc_metrics); 966 rc_metrics);
967 } 967 }
968 968
969 // VP8: Run with no packet loss, with 3 temporal layers, with a rate update in 969 // VP8: Run with no packet loss, with 3 temporal layers, with a rate update in
970 // the middle of the sequence. The max values for the frame size mismatch and 970 // the middle of the sequence. The max values for the frame size mismatch and
971 // encoding rate mismatch are applied to each layer. 971 // encoding rate mismatch are applied to each layer.
972 // No dropped frames in this test, and internal spatial resizer is off. 972 // No dropped frames in this test, and internal spatial resizer is off.
973 // One key frame (first frame only) in sequence, so no spatial resizing. 973 // One key frame (first frame only) in sequence, so no spatial resizing.
974 // Too slow to finish before timeout on iOS. See webrtc:4755. 974 // Too slow to finish before timeout on iOS. See webrtc:4755.
(...skipping 19 matching lines...) Expand all
994 QualityMetrics quality_metrics; 994 QualityMetrics quality_metrics;
995 SetQualityMetrics(&quality_metrics, 32.5, 30.0, 0.85, 0.80); 995 SetQualityMetrics(&quality_metrics, 32.5, 30.0, 0.85, 0.80);
996 // Metrics for rate control. 996 // Metrics for rate control.
997 RateControlMetrics rc_metrics[2]; 997 RateControlMetrics rc_metrics[2];
998 SetRateControlMetrics(rc_metrics, 0, 0, 20, 30, 10, 10, 0, 1); 998 SetRateControlMetrics(rc_metrics, 0, 0, 20, 30, 10, 10, 0, 1);
999 SetRateControlMetrics(rc_metrics, 1, 0, 0, 30, 15, 10, 0, 0); 999 SetRateControlMetrics(rc_metrics, 1, 0, 0, 30, 15, 10, 0, 0);
1000 ProcessFramesAndVerify(quality_metrics, rate_profile, process_settings, 1000 ProcessFramesAndVerify(quality_metrics, rate_profile, process_settings,
1001 rc_metrics); 1001 rc_metrics);
1002 } 1002 }
1003 } // namespace webrtc 1003 } // namespace webrtc
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698