From: James Zern Date: Wed, 26 Feb 2014 07:11:49 +0000 (-0800) Subject: fdct4x4_test: add NEON functions X-Git-Tag: v1.4.0~2246^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08c3180732002ce7d639381d931db371e8fdf84c;p=libvpx 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 --- 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,