OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 cfg_.g_pass = VPX_RC_ONE_PASS; | 76 cfg_.g_pass = VPX_RC_ONE_PASS; |
77 cfg_.rc_end_usage = VPX_CBR; | 77 cfg_.rc_end_usage = VPX_CBR; |
78 cfg_.kf_max_dist = 90000; | 78 cfg_.kf_max_dist = 90000; |
79 | 79 |
80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, | 80 ::libvpx_test::I420VideoSource video("hantro_odd.yuv", kWidth, kHeight, 30, |
81 1, 0, 20); | 81 1, 0, 20); |
82 | 82 |
83 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); | 83 ASSERT_NO_FATAL_FAILURE(RunLoop(&video)); |
84 } | 84 } |
85 | 85 |
86 #define VP9_FACTORY \ | |
87 static_cast<const libvpx_test::CodecFactory *>(&libvpx_test::kVP9) | |
88 | |
89 VP9_INSTANTIATE_TEST_CASE(ActiveMapTest, | 86 VP9_INSTANTIATE_TEST_CASE(ActiveMapTest, |
90 ::testing::Values(::libvpx_test::kRealTime), | 87 ::testing::Values(::libvpx_test::kRealTime), |
91 ::testing::Range(0, 6)); | 88 ::testing::Range(0, 6)); |
92 } // namespace | 89 } // namespace |
OLD | NEW |