]> granicus.if.org Git - libvpx/commitdiff
dct32x32_test: add NEON functions
authorJames Zern <jzern@google.com>
Wed, 26 Feb 2014 07:11:49 +0000 (23:11 -0800)
committerJames Zern <jzern@google.com>
Thu, 27 Feb 2014 03:24:05 +0000 (19:24 -0800)
note not all functions have NEON implementations:
- vp9_fdct32x32/vp9_fdct32x32_rd

Change-Id: I3795d78bf215e41ab8801c2c37cf633f16931f9d

test/dct32x32_test.cc

index a2608acb53e250ed50830b349157e8ddf30d855b..013f4513eb691944c004d21bb6ff35c27867b1c5 100644 (file)
@@ -248,6 +248,16 @@ INSTANTIATE_TEST_CASE_P(
         make_tuple(&vp9_fdct32x32_c, &vp9_idct32x32_1024_add_c, 0),
         make_tuple(&vp9_fdct32x32_rd_c, &vp9_idct32x32_1024_add_c, 1)));
 
+#if HAVE_NEON
+INSTANTIATE_TEST_CASE_P(
+    NEON, Trans32x32Test,
+    ::testing::Values(
+        make_tuple(&vp9_fdct32x32_c,
+                   &vp9_idct32x32_1024_add_neon, 0),
+        make_tuple(&vp9_fdct32x32_rd_c,
+                   &vp9_idct32x32_1024_add_neon, 1)));
+#endif
+
 #if HAVE_SSE2
 INSTANTIATE_TEST_CASE_P(
     SSE2, Trans32x32Test,