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

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

Issue 1717843002: vp9: Adjust parameter for a test in videoprocessor_integrationtest.cc (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 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 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 SetRateProfilePars(&rate_profile, 1, 100, 15, 100); 715 SetRateProfilePars(&rate_profile, 1, 100, 15, 100);
716 SetRateProfilePars(&rate_profile, 2, 100, 10, 200); 716 SetRateProfilePars(&rate_profile, 2, 100, 10, 200);
717 rate_profile.frame_index_rate_update[3] = kNbrFramesLong + 1; 717 rate_profile.frame_index_rate_update[3] = kNbrFramesLong + 1;
718 rate_profile.num_frames = kNbrFramesLong; 718 rate_profile.num_frames = kNbrFramesLong;
719 // Codec/network settings. 719 // Codec/network settings.
720 CodecConfigPars process_settings; 720 CodecConfigPars process_settings;
721 SetCodecParameters(&process_settings, kVideoCodecVP9, 0.0f, -1, 1, false, 721 SetCodecParameters(&process_settings, kVideoCodecVP9, 0.0f, -1, 1, false,
722 false, true, false); 722 false, true, false);
723 // Metrics for expected quality. 723 // Metrics for expected quality.
724 QualityMetrics quality_metrics; 724 QualityMetrics quality_metrics;
725 SetQualityMetrics(&quality_metrics, 31.5, 18.0, 0.80, 0.44); 725 SetQualityMetrics(&quality_metrics, 31.5, 18.0, 0.80, 0.43);
726 // Metrics for rate control. 726 // Metrics for rate control.
727 RateControlMetrics rc_metrics[3]; 727 RateControlMetrics rc_metrics[3];
728 SetRateControlMetrics(rc_metrics, 0, 38, 50, 75, 15, 45, 0, 1); 728 SetRateControlMetrics(rc_metrics, 0, 38, 50, 75, 15, 45, 0, 1);
729 SetRateControlMetrics(rc_metrics, 1, 10, 0, 40, 10, 30, 0, 0); 729 SetRateControlMetrics(rc_metrics, 1, 10, 0, 40, 10, 30, 0, 0);
730 SetRateControlMetrics(rc_metrics, 2, 5, 0, 30, 5, 20, 0, 0); 730 SetRateControlMetrics(rc_metrics, 2, 5, 0, 30, 5, 20, 0, 0);
731 ProcessFramesAndVerify(quality_metrics, rate_profile, process_settings, 731 ProcessFramesAndVerify(quality_metrics, rate_profile, process_settings,
732 rc_metrics); 732 rc_metrics);
733 } 733 }
734 734
735 // VP9: Run with no packet loss and denoiser on. One key frame (first frame). 735 // VP9: Run with no packet loss and denoiser on. One key frame (first frame).
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
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