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

Side by Side Diff: source/libvpx/test/borders_test.cc

Issue 111463005: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « source/libvpx/test/android/get_files.py ('k') | source/libvpx/test/codec_factory.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) 2012 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebM 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 #include <climits> 10 #include <climits>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); 61 ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
62 } 62 }
63 TEST_P(BordersTest, TestLowBitrate) { 63 TEST_P(BordersTest, TestLowBitrate) {
64 // Validate that this clip encodes and decodes without a mismatch 64 // Validate that this clip encodes and decodes without a mismatch
65 // when passing in a very high min q. This pushes the encoder to producing 65 // when passing in a very high min q. This pushes the encoder to producing
66 // lots of small partitions which might will test the other condition. 66 // lots of small partitions which might will test the other condition.
67 67
68 cfg_.g_lag_in_frames = 25; 68 cfg_.g_lag_in_frames = 25;
69 cfg_.rc_2pass_vbr_minsection_pct = 5; 69 cfg_.rc_2pass_vbr_minsection_pct = 5;
70 cfg_.rc_2pass_vbr_minsection_pct = 2000; 70 cfg_.rc_2pass_vbr_maxsection_pct = 2000;
71 cfg_.rc_target_bitrate = 200; 71 cfg_.rc_target_bitrate = 200;
72 cfg_.rc_min_quantizer = 40; 72 cfg_.rc_min_quantizer = 40;
73 73
74 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0, 74 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", 208, 144, 30, 1, 0,
75 40); 75 40);
76 76
77 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); 77 ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
78 } 78 }
79 79
80 VP9_INSTANTIATE_TEST_CASE(BordersTest, ::testing::Values( 80 VP9_INSTANTIATE_TEST_CASE(BordersTest, ::testing::Values(
81 ::libvpx_test::kTwoPassGood)); 81 ::libvpx_test::kTwoPassGood));
82 } // namespace 82 } // namespace
OLDNEW
« no previous file with comments | « source/libvpx/test/android/get_files.py ('k') | source/libvpx/test/codec_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698