sad_test: (arm) fix vp9-only build

Change-Id: I08fa0e90039186cd237001b7e43b1eabe6d326a3
This commit is contained in:
James Zern 2014-02-27 14:03:21 -08:00
Родитель d7cff28796
Коммит 5f1486feff
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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