From 08c3180732002ce7d639381d931db371e8fdf84c Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 25 Feb 2014 23:11:49 -0800 Subject: [PATCH] fdct4x4_test: add NEON functions Trans4x4HT is disabled as the tests currently fail. note not all functions have NEON implementations: - fdct4x4/fht4x4 Change-Id: I26f8724bf2a9ea01d59205a1c57119ed25d043bc --- test/fdct4x4_test.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/test/fdct4x4_test.cc b/test/fdct4x4_test.cc index dc6668759..127775c9a 100644 --- a/test/fdct4x4_test.cc +++ b/test/fdct4x4_test.cc @@ -286,6 +286,21 @@ INSTANTIATE_TEST_CASE_P( make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 2), make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_c, 3))); +#if HAVE_NEON +INSTANTIATE_TEST_CASE_P( + NEON, Trans4x4DCT, + ::testing::Values( + make_tuple(&vp9_fdct4x4_c, + &vp9_idct4x4_16_add_neon, 0))); +INSTANTIATE_TEST_CASE_P( + DISABLED_NEON, Trans4x4HT, + ::testing::Values( + make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 0), + make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 1), + make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 2), + make_tuple(&vp9_fht4x4_c, &vp9_iht4x4_16_add_neon, 3))); +#endif + #if HAVE_SSE2 INSTANTIATE_TEST_CASE_P( SSE2, Trans4x4DCT, -- 2.40.0