| OLD | NEW |
| 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 | 10 |
| (...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 ::testing::Values( | 330 ::testing::Values( |
| 331 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 0), | 331 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 0), |
| 332 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 1), | 332 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 1), |
| 333 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 2), | 333 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 2), |
| 334 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 3))); | 334 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_c, 3))); |
| 335 | 335 |
| 336 #if HAVE_NEON_ASM | 336 #if HAVE_NEON_ASM |
| 337 INSTANTIATE_TEST_CASE_P( | 337 INSTANTIATE_TEST_CASE_P( |
| 338 NEON, FwdTrans8x8DCT, | 338 NEON, FwdTrans8x8DCT, |
| 339 ::testing::Values( | 339 ::testing::Values( |
| 340 make_tuple(&vp9_fdct8x8_c, &vp9_idct8x8_64_add_neon, 0))); | 340 make_tuple(&vp9_fdct8x8_neon, &vp9_idct8x8_64_add_neon, 0))); |
| 341 INSTANTIATE_TEST_CASE_P( | 341 INSTANTIATE_TEST_CASE_P( |
| 342 DISABLED_NEON, FwdTrans8x8HT, | 342 DISABLED_NEON, FwdTrans8x8HT, |
| 343 ::testing::Values( | 343 ::testing::Values( |
| 344 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 0), | 344 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 0), |
| 345 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 1), | 345 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 1), |
| 346 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 2), | 346 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 2), |
| 347 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 3))); | 347 make_tuple(&vp9_fht8x8_c, &vp9_iht8x8_64_add_neon, 3))); |
| 348 #endif | 348 #endif |
| 349 | 349 |
| 350 #if HAVE_SSE2 | 350 #if HAVE_SSE2 |
| 351 INSTANTIATE_TEST_CASE_P( | 351 INSTANTIATE_TEST_CASE_P( |
| 352 SSE2, FwdTrans8x8DCT, | 352 SSE2, FwdTrans8x8DCT, |
| 353 ::testing::Values( | 353 ::testing::Values( |
| 354 make_tuple(&vp9_fdct8x8_sse2, &vp9_idct8x8_64_add_sse2, 0))); | 354 make_tuple(&vp9_fdct8x8_sse2, &vp9_idct8x8_64_add_sse2, 0))); |
| 355 INSTANTIATE_TEST_CASE_P( | 355 INSTANTIATE_TEST_CASE_P( |
| 356 SSE2, FwdTrans8x8HT, | 356 SSE2, FwdTrans8x8HT, |
| 357 ::testing::Values( | 357 ::testing::Values( |
| 358 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 0), | 358 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 0), |
| 359 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 1), | 359 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 1), |
| 360 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 2), | 360 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 2), |
| 361 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 3))); | 361 make_tuple(&vp9_fht8x8_sse2, &vp9_iht8x8_64_add_sse2, 3))); |
| 362 #endif | 362 #endif |
| 363 | 363 |
| 364 #if HAVE_SSSE3 && ARCH_X86_64 | 364 #if HAVE_SSSE3 && ARCH_X86_64 |
| 365 INSTANTIATE_TEST_CASE_P( | 365 INSTANTIATE_TEST_CASE_P( |
| 366 SSSE3, FwdTrans8x8DCT, | 366 SSSE3, FwdTrans8x8DCT, |
| 367 ::testing::Values( | 367 ::testing::Values( |
| 368 make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0))); | 368 make_tuple(&vp9_fdct8x8_ssse3, &vp9_idct8x8_64_add_ssse3, 0))); |
| 369 #endif | 369 #endif |
| 370 | |
| 371 #if HAVE_AVX2 | |
| 372 INSTANTIATE_TEST_CASE_P( | |
| 373 AVX2, FwdTrans8x8DCT, | |
| 374 ::testing::Values( | |
| 375 make_tuple(&vp9_fdct8x8_avx2, &vp9_idct8x8_64_add_c, 0))); | |
| 376 INSTANTIATE_TEST_CASE_P( | |
| 377 AVX2, FwdTrans8x8HT, | |
| 378 ::testing::Values( | |
| 379 make_tuple(&vp9_fht8x8_avx2, &vp9_iht8x8_64_add_c, 0), | |
| 380 make_tuple(&vp9_fht8x8_avx2, &vp9_iht8x8_64_add_c, 1), | |
| 381 make_tuple(&vp9_fht8x8_avx2, &vp9_iht8x8_64_add_c, 2), | |
| 382 make_tuple(&vp9_fht8x8_avx2, &vp9_iht8x8_64_add_c, 3))); | |
| 383 #endif | |
| 384 } // namespace | 370 } // namespace |
| OLD | NEW |