summaryrefslogtreecommitdiff
path: root/test/fdct4x4_test.cc
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-02-25 23:11:49 -0800
committerJames Zern <jzern@google.com>2014-02-26 19:25:00 -0800
commit08c3180732002ce7d639381d931db371e8fdf84c (patch)
treed6f8fe02c4a954b03231f5458444740e94d9c75a /test/fdct4x4_test.cc
parenta6effda70ff3cb4582ccce1ddb8d929bba06b147 (diff)
downloadlibvpx-08c3180732002ce7d639381d931db371e8fdf84c.tar
libvpx-08c3180732002ce7d639381d931db371e8fdf84c.tar.gz
libvpx-08c3180732002ce7d639381d931db371e8fdf84c.tar.bz2
libvpx-08c3180732002ce7d639381d931db371e8fdf84c.zip
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
Diffstat (limited to 'test/fdct4x4_test.cc')
-rw-r--r--test/fdct4x4_test.cc15
1 files changed, 15 insertions, 0 deletions
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,