diff options
author | James Zern <jzern@google.com> | 2014-02-25 23:11:49 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2014-02-26 19:25:01 -0800 |
commit | 2a66e9f74680f4fcb1711c49b3fe67ab7b6ecd87 (patch) | |
tree | af669b32f46b870d64ce41cabf68c4c802d96363 | |
parent | c3331105f2840c432e2224444a7736f207d0e426 (diff) | |
download | libvpx-2a66e9f74680f4fcb1711c49b3fe67ab7b6ecd87.tar libvpx-2a66e9f74680f4fcb1711c49b3fe67ab7b6ecd87.tar.gz libvpx-2a66e9f74680f4fcb1711c49b3fe67ab7b6ecd87.tar.bz2 libvpx-2a66e9f74680f4fcb1711c49b3fe67ab7b6ecd87.zip |
partial_idct_test: add NEON functions
note not all functions have NEON implementations:
- vp9_idct32x32_34_add
Change-Id: I3db3acbd5b33839aabd1beadc6e0742ec50b1072
-rw-r--r-- | test/partial_idct_test.cc | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/partial_idct_test.cc b/test/partial_idct_test.cc index 2a32410f3..8849ce626 100644 --- a/test/partial_idct_test.cc +++ b/test/partial_idct_test.cc @@ -140,6 +140,30 @@ INSTANTIATE_TEST_CASE_P( make_tuple(&vp9_idct4x4_16_add_c, &vp9_idct4x4_1_add_c, TX_4X4, 1))); +#if HAVE_NEON +INSTANTIATE_TEST_CASE_P( + NEON, PartialIDctTest, + ::testing::Values( + make_tuple(&vp9_idct32x32_1024_add_c, + &vp9_idct32x32_1_add_neon, + TX_32X32, 1), + make_tuple(&vp9_idct16x16_256_add_c, + &vp9_idct16x16_10_add_neon, + TX_16X16, 10), + make_tuple(&vp9_idct16x16_256_add_c, + &vp9_idct16x16_1_add_neon, + TX_16X16, 1), + make_tuple(&vp9_idct8x8_64_add_c, + &vp9_idct8x8_10_add_neon, + TX_8X8, 10), + make_tuple(&vp9_idct8x8_64_add_c, + &vp9_idct8x8_1_add_neon, + TX_8X8, 1), + make_tuple(&vp9_idct4x4_16_add_c, + &vp9_idct4x4_1_add_neon, + TX_4X4, 1))); +#endif + #if HAVE_SSE2 INSTANTIATE_TEST_CASE_P( SSE2, PartialIDctTest, |