Neon version of vp9_sub_pixel_variance32x32(),

vp9_variance32x32(), and vp9_get32x32var().

Change-Id: I8137e2540e50984744da59ae3a41e94f8af4a548
This commit is contained in:
Scott LaVarnway
2014-07-31 08:00:36 -07:00
parent 3249f26ff8
commit d39448e2d4
3 changed files with 60 additions and 16 deletions

View File

@@ -758,15 +758,20 @@ INSTANTIATE_TEST_CASE_P(
#endif // HAVE_AVX2
#if HAVE_NEON
const vp9_variance_fn_t variance16x16_neon = vp9_variance16x16_neon;
const vp9_variance_fn_t variance32x32_neon = vp9_variance32x32_neon;
INSTANTIATE_TEST_CASE_P(
NEON, VP9VarianceTest,
::testing::Values(make_tuple(4, 4, variance16x16_neon)));
::testing::Values(make_tuple(4, 4, variance16x16_neon),
make_tuple(5, 5, variance32x32_neon)));
const vp9_subpixvariance_fn_t subpel_variance16x16_neon =
vp9_sub_pixel_variance16x16_neon;
const vp9_subpixvariance_fn_t subpel_variance32x32_neon =
vp9_sub_pixel_variance32x32_neon;
INSTANTIATE_TEST_CASE_P(
NEON, VP9SubpelVarianceTest,
::testing::Values(make_tuple(4, 4, subpel_variance16x16_neon)));
::testing::Values(make_tuple(4, 4, subpel_variance16x16_neon),
make_tuple(5, 5, subpel_variance32x32_neon)));
#endif // HAVE_NEON
#endif // CONFIG_VP9_ENCODER