Commit d5e07a84 authored by James Zern's avatar James Zern
Browse files

variance_test: add NEON functions

note not all functions have NEON implementations:
- variance4x4_neon

Change-Id: I03c1ba21f3b02aa2482d7ca8feedc3ef74b5947f
parent 15b57a2b
......@@ -307,6 +307,19 @@ INSTANTIATE_TEST_CASE_P(
make_tuple(4, 3, variance16x8_c),
make_tuple(4, 4, variance16x16_c)));
#if HAVE_NEON
const vp8_variance_fn_t variance8x8_neon = vp8_variance8x8_neon;
const vp8_variance_fn_t variance8x16_neon = vp8_variance8x16_neon;
const vp8_variance_fn_t variance16x8_neon = vp8_variance16x8_neon;
const vp8_variance_fn_t variance16x16_neon = vp8_variance16x16_neon;
INSTANTIATE_TEST_CASE_P(
NEON, VP8VarianceTest,
::testing::Values(make_tuple(3, 3, variance8x8_neon),
make_tuple(3, 4, variance8x16_neon),
make_tuple(4, 3, variance16x8_neon),
make_tuple(4, 4, variance16x16_neon)));
#endif
#if HAVE_MMX
const vp8_variance_fn_t variance4x4_mmx = vp8_variance4x4_mmx;
const vp8_variance_fn_t variance8x8_mmx = vp8_variance8x8_mmx;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment