shithub: libvpx

Download patch

ref: a6effda70ff3cb4582ccce1ddb8d929bba06b147
parent: adbb881497cb1171f8344b77577488f42c94e889
author: James Zern <[email protected]>
date: Tue Feb 25 18:11:49 EST 2014

dct32x32_test: add NEON functions

note not all functions have NEON implementations:
- vp9_fdct32x32/vp9_fdct32x32_rd

Change-Id: I3795d78bf215e41ab8801c2c37cf633f16931f9d

--- a/test/dct32x32_test.cc
+++ b/test/dct32x32_test.cc
@@ -248,6 +248,16 @@
         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,