OLD | NEW |
1 /* | 1 /* |
2 Copyright (c) 2012 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 |
11 #include "third_party/googletest/src/include/gtest/gtest.h" | 11 #include "third_party/googletest/src/include/gtest/gtest.h" |
12 #include "test/codec_factory.h" | 12 #include "test/codec_factory.h" |
13 #include "test/encode_test_driver.h" | 13 #include "test/encode_test_driver.h" |
14 #include "test/i420_video_source.h" | 14 #include "test/i420_video_source.h" |
15 #include "test/util.h" | 15 #include "test/util.h" |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 const int kMaxErrorFrames = 8; | 19 const int kMaxErrorFrames = 8; |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 std::cout << " Mismatch PSNR: " | 224 std::cout << " Mismatch PSNR: " |
225 << psnr_resilience_mismatch << "\n"; | 225 << psnr_resilience_mismatch << "\n"; |
226 EXPECT_GT(psnr_resilience_mismatch, 20.0); | 226 EXPECT_GT(psnr_resilience_mismatch, 20.0); |
227 #endif | 227 #endif |
228 } | 228 } |
229 | 229 |
230 VP8_INSTANTIATE_TEST_CASE(ErrorResilienceTest, ONE_PASS_TEST_MODES); | 230 VP8_INSTANTIATE_TEST_CASE(ErrorResilienceTest, ONE_PASS_TEST_MODES); |
231 VP9_INSTANTIATE_TEST_CASE(ErrorResilienceTest, ONE_PASS_TEST_MODES); | 231 VP9_INSTANTIATE_TEST_CASE(ErrorResilienceTest, ONE_PASS_TEST_MODES); |
232 | 232 |
233 } // namespace | 233 } // namespace |
OLD | NEW |