From: James Zern Date: Wed, 26 Feb 2014 07:11:49 +0000 (-0800) Subject: partial_idct_test: add NEON functions X-Git-Tag: v1.4.0~2246^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a66e9f74680f4fcb1711c49b3fe67ab7b6ecd87;p=libvpx partial_idct_test: add NEON functions note not all functions have NEON implementations: - vp9_idct32x32_34_add Change-Id: I3db3acbd5b33839aabd1beadc6e0742ec50b1072 --- 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,