OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 | 10 |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 // Construct md5 file name. | 82 // Construct md5 file name. |
83 const std::string md5_filename = filename + ".md5"; | 83 const std::string md5_filename = filename + ".md5"; |
84 OpenMD5File(md5_filename); | 84 OpenMD5File(md5_filename); |
85 | 85 |
86 // Decode frame, and check the md5 matching. | 86 // Decode frame, and check the md5 matching. |
87 ASSERT_NO_FATAL_FAILURE(RunLoop(video)); | 87 ASSERT_NO_FATAL_FAILURE(RunLoop(video)); |
88 delete video; | 88 delete video; |
89 } | 89 } |
90 | 90 |
91 VP8_INSTANTIATE_TEST_CASE(TestVectorTest, | 91 VP8_INSTANTIATE_TEST_CASE(TestVectorTest, |
92 ::testing::ValuesIn(libvpx_test::kVP8TestVectors)); | 92 ::testing::ValuesIn(libvpx_test::kVP8TestVectors, |
| 93 libvpx_test::kVP8TestVectors + |
| 94 libvpx_test::kNumVP8TestVectors)); |
93 VP9_INSTANTIATE_TEST_CASE(TestVectorTest, | 95 VP9_INSTANTIATE_TEST_CASE(TestVectorTest, |
94 ::testing::ValuesIn(libvpx_test::kVP9TestVectors)); | 96 ::testing::ValuesIn(libvpx_test::kVP9TestVectors, |
| 97 libvpx_test::kVP9TestVectors + |
| 98 libvpx_test::kNumVP9TestVectors)); |
95 | 99 |
96 } // namespace | 100 } // namespace |
OLD | NEW |