| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2011 The LibYuv Project Authors. All rights reserved. | 2 * Copyright 2011 The LibYuv 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 1312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1323 } | 1323 } |
| 1324 | 1324 |
| 1325 TEST_F(LibYUVPlanarTest, I420Blend_Opt) { | 1325 TEST_F(LibYUVPlanarTest, I420Blend_Opt) { |
| 1326 TestI420Blend(benchmark_width_, benchmark_height_, benchmark_iterations_, | 1326 TestI420Blend(benchmark_width_, benchmark_height_, benchmark_iterations_, |
| 1327 disable_cpu_flags_, benchmark_cpu_info_, +1, 0); | 1327 disable_cpu_flags_, benchmark_cpu_info_, +1, 0); |
| 1328 } | 1328 } |
| 1329 TEST_F(LibYUVPlanarTest, I420Blend_Unaligned) { | 1329 TEST_F(LibYUVPlanarTest, I420Blend_Unaligned) { |
| 1330 TestI420Blend(benchmark_width_, benchmark_height_, benchmark_iterations_, | 1330 TestI420Blend(benchmark_width_, benchmark_height_, benchmark_iterations_, |
| 1331 disable_cpu_flags_, benchmark_cpu_info_, +1, 1); | 1331 disable_cpu_flags_, benchmark_cpu_info_, +1, 1); |
| 1332 } | 1332 } |
| 1333 TEST_F(LibYUVPlanarTest, I420Blend_Any) { | 1333 |
| 1334 // TODO(fbarchard): DISABLED because _Any uses C. Avoid C and re-enable. |
| 1335 TEST_F(LibYUVPlanarTest, DISABLED_I420Blend_Any) { |
| 1334 TestI420Blend(benchmark_width_ - 4, benchmark_height_, benchmark_iterations_, | 1336 TestI420Blend(benchmark_width_ - 4, benchmark_height_, benchmark_iterations_, |
| 1335 disable_cpu_flags_, benchmark_cpu_info_, +1, 0); | 1337 disable_cpu_flags_, benchmark_cpu_info_, +1, 0); |
| 1336 } | 1338 } |
| 1337 TEST_F(LibYUVPlanarTest, I420Blend_Invert) { | 1339 TEST_F(LibYUVPlanarTest, I420Blend_Invert) { |
| 1338 TestI420Blend(benchmark_width_, benchmark_height_, benchmark_iterations_, | 1340 TestI420Blend(benchmark_width_, benchmark_height_, benchmark_iterations_, |
| 1339 disable_cpu_flags_, benchmark_cpu_info_, -1, 0); | 1341 disable_cpu_flags_, benchmark_cpu_info_, -1, 0); |
| 1340 } | 1342 } |
| 1341 | 1343 |
| 1342 TEST_F(LibYUVPlanarTest, TestAffine) { | 1344 TEST_F(LibYUVPlanarTest, TestAffine) { |
| 1343 SIMD_ALIGNED(uint8 orig_pixels_0[1280][4]); | 1345 SIMD_ALIGNED(uint8 orig_pixels_0[1280][4]); |
| (...skipping 1177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2521 | 2523 |
| 2522 TEST_F(LibYUVPlanarTest, SetPlane_Opt) { | 2524 TEST_F(LibYUVPlanarTest, SetPlane_Opt) { |
| 2523 int max_diff = TestARGBRect(benchmark_width_, benchmark_height_, | 2525 int max_diff = TestARGBRect(benchmark_width_, benchmark_height_, |
| 2524 benchmark_iterations_, | 2526 benchmark_iterations_, |
| 2525 disable_cpu_flags_, benchmark_cpu_info_, | 2527 disable_cpu_flags_, benchmark_cpu_info_, |
| 2526 +1, 0, 1); | 2528 +1, 0, 1); |
| 2527 EXPECT_EQ(0, max_diff); | 2529 EXPECT_EQ(0, max_diff); |
| 2528 } | 2530 } |
| 2529 | 2531 |
| 2530 } // namespace libyuv | 2532 } // namespace libyuv |
| OLD | NEW |