]> granicus.if.org Git - libvpx/commitdiff
sixtap_predict_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:25:01 +0000 (19:25 -0800)
Change-Id: Id0a2d9ef9636c84ee988dabecd5d4dc2b8641944

test/sixtap_predict_test.cc

index 3434662fb84d71f2cbdcc08a315150920b20add8..1b2f03f53414fa92e304703d95d94854bb774558 100644 (file)
@@ -193,6 +193,16 @@ INSTANTIATE_TEST_CASE_P(
         make_tuple(8, 8, sixtap_8x8_c),
         make_tuple(8, 4, sixtap_8x4_c),
         make_tuple(4, 4, sixtap_4x4_c)));
+#if HAVE_NEON
+const sixtap_predict_fn_t sixtap_16x16_neon = vp8_sixtap_predict16x16_neon;
+const sixtap_predict_fn_t sixtap_8x8_neon = vp8_sixtap_predict8x8_neon;
+const sixtap_predict_fn_t sixtap_8x4_neon = vp8_sixtap_predict8x4_neon;
+INSTANTIATE_TEST_CASE_P(
+    NEON, SixtapPredictTest, ::testing::Values(
+        make_tuple(16, 16, sixtap_16x16_neon),
+        make_tuple(8, 8, sixtap_8x8_neon),
+        make_tuple(8, 4, sixtap_8x4_neon)));
+#endif
 #if HAVE_MMX
 const sixtap_predict_fn_t sixtap_16x16_mmx = vp8_sixtap_predict16x16_mmx;
 const sixtap_predict_fn_t sixtap_8x8_mmx = vp8_sixtap_predict8x8_mmx;