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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 &vp9_idct4x4_16_add_sse2, 0))); | 369 &vp9_idct4x4_16_add_sse2, 0))); |
370 INSTANTIATE_TEST_CASE_P( | 370 INSTANTIATE_TEST_CASE_P( |
371 SSE2, Trans4x4HT, | 371 SSE2, Trans4x4HT, |
372 ::testing::Values( | 372 ::testing::Values( |
373 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 0), | 373 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 0), |
374 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 1), | 374 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 1), |
375 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 2), | 375 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 2), |
376 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 3))); | 376 make_tuple(&vp9_fht4x4_sse2, &vp9_iht4x4_16_add_sse2, 3))); |
377 #endif | 377 #endif |
378 | 378 |
379 #if HAVE_AVX2 | |
380 INSTANTIATE_TEST_CASE_P( | |
381 AVX2, Trans4x4DCT, | |
382 ::testing::Values( | |
383 make_tuple(&vp9_fdct4x4_avx2, | |
384 &vp9_idct4x4_16_add_c, 0))); | |
385 INSTANTIATE_TEST_CASE_P( | |
386 AVX2, Trans4x4HT, | |
387 ::testing::Values( | |
388 make_tuple(&vp9_fht4x4_avx2, &vp9_iht4x4_16_add_c, 0), | |
389 make_tuple(&vp9_fht4x4_avx2, &vp9_iht4x4_16_add_c, 1), | |
390 make_tuple(&vp9_fht4x4_avx2, &vp9_iht4x4_16_add_c, 2), | |
391 make_tuple(&vp9_fht4x4_avx2, &vp9_iht4x4_16_add_c, 3))); | |
392 #endif | |
393 | |
394 } // namespace | 379 } // namespace |
OLD | NEW |