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 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 ::testing::Values( | 331 ::testing::Values( |
332 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 0), | 332 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 0), |
333 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 1), | 333 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 1), |
334 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 2), | 334 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 2), |
335 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 3))); | 335 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 3))); |
336 INSTANTIATE_TEST_CASE_P( | 336 INSTANTIATE_TEST_CASE_P( |
337 C, Trans4x4WHT, | 337 C, Trans4x4WHT, |
338 ::testing::Values( | 338 ::testing::Values( |
339 make_tuple(&vp9_fwht4x4_c, &vp9_iwht4x4_16_add_c, 0))); | 339 make_tuple(&vp9_fwht4x4_c, &vp9_iwht4x4_16_add_c, 0))); |
340 | 340 |
341 #if HAVE_NEON | 341 #if HAVE_NEON_ASM |
342 INSTANTIATE_TEST_CASE_P( | 342 INSTANTIATE_TEST_CASE_P( |
343 NEON, Trans4x4DCT, | 343 NEON, Trans4x4DCT, |
344 ::testing::Values( | 344 ::testing::Values( |
345 make_tuple(&vp9_fdct4x4_c, | 345 make_tuple(&vp9_fdct4x4_c, |
346 &vp9_idct4x4_16_add_neon, 0))); | 346 &vp9_idct4x4_16_add_neon, 0))); |
347 INSTANTIATE_TEST_CASE_P( | 347 INSTANTIATE_TEST_CASE_P( |
348 DISABLED_NEON, Trans4x4HT, | 348 DISABLED_NEON, Trans4x4HT, |
349 ::testing::Values( | 349 ::testing::Values( |
350 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 0), | 350 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 0), |
351 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 1), | 351 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 1), |
352 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 2), | 352 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 2), |
353 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 3))); | 353 make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 3))); |
354 #endif | 354 #endif |
355 | 355 |
| 356 #if CONFIG_USE_X86INC && HAVE_MMX |
| 357 INSTANTIATE_TEST_CASE_P( |
| 358 MMX, Trans4x4WHT, |
| 359 ::testing::Values( |
| 360 make_tuple(&vp9_fwht4x4_mmx, &vp9_iwht4x4_16_add_c, 0))); |
| 361 #endif |
| 362 |
356 #if HAVE_SSE2 | 363 #if HAVE_SSE2 |
357 INSTANTIATE_TEST_CASE_P( | 364 INSTANTIATE_TEST_CASE_P( |
358 SSE2, Trans4x4DCT, | 365 SSE2, Trans4x4DCT, |
359 ::testing::Values( | 366 ::testing::Values( |
360 make_tuple(&vp9_fdct4x4_sse2, | 367 make_tuple(&vp9_fdct4x4_sse2, |
361 &vp9_idct4x4_16_add_sse2, 0))); | 368 &vp9_idct4x4_16_add_sse2, 0))); |
362 INSTANTIATE_TEST_CASE_P( | 369 INSTANTIATE_TEST_CASE_P( |
363 SSE2, Trans4x4HT, | 370 SSE2, Trans4x4HT, |
364 ::testing::Values( | 371 ::testing::Values( |
365 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 0), | 372 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 0), |
366 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 1), | 373 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 1), |
367 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 2), | 374 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 2), |
368 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 3))); | 375 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 3))); |
369 #endif | 376 #endif |
370 | 377 |
371 } // namespace | 378 } // namespace |
OLD | NEW |