From 5f1486feff01990f07fa7f3b93a40ce796024d22 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 27 Feb 2014 14:03:21 -0800 Subject: [PATCH] sad_test: (arm) fix vp9-only build Change-Id: I08fa0e90039186cd237001b7e43b1eabe6d326a3 --- test/sad_test.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/sad_test.cc b/test/sad_test.cc index 9c156e020..401fa1d25 100644 --- a/test/sad_test.cc +++ b/test/sad_test.cc @@ -371,12 +371,15 @@ INSTANTIATE_TEST_CASE_P(C, SADx4Test, ::testing::Values( //------------------------------------------------------------------------------ // ARM functions #if HAVE_MEDIA +#if CONFIG_VP8_ENCODER const sad_m_by_n_fn_t sad_16x16_armv6 = vp8_sad16x16_armv6; INSTANTIATE_TEST_CASE_P(MEDIA, SADTest, ::testing::Values( make_tuple(16, 16, sad_16x16_armv6))); - #endif +#endif + #if HAVE_NEON +#if CONFIG_VP8_ENCODER const sad_m_by_n_fn_t sad_16x16_neon = vp8_sad16x16_neon; const sad_m_by_n_fn_t sad_8x16_neon = vp8_sad8x16_neon; const sad_m_by_n_fn_t sad_16x8_neon = vp8_sad16x8_neon; @@ -389,6 +392,7 @@ INSTANTIATE_TEST_CASE_P(NEON, SADTest, ::testing::Values( make_tuple(8, 8, sad_8x8_neon), make_tuple(4, 4, sad_4x4_neon))); #endif +#endif //------------------------------------------------------------------------------ // x86 functions -- 2.40.0