Fix convolve_round's compile error
Change-Id: I63fc3f1f010e77c6dc033f37e3e91ade17a55099
diff --git a/test/convolve_round_test.cc b/test/convolve_round_test.cc
index 8f78a53..6f77dbb 100644
--- a/test/convolve_round_test.cc
+++ b/test/convolve_round_test.cc
@@ -151,6 +151,7 @@
using std::tr1::make_tuple;
#if HAVE_AVX2
+#if CONFIG_HIGHBITDEPTH
const ConvolveRoundParam kConvRndParamArray[] = {
make_tuple(&av1_convolve_rounding_c, &av1_convolve_rounding_avx2,
LOWBITDEPTH_TEST),
@@ -164,6 +165,10 @@
&highbd_convolve_rounding_12<av1_highbd_convolve_rounding_avx2>,
HIGHBITDEPTH_TEST)
};
+#else
+const ConvolveRoundParam kConvRndParamArray[] = { make_tuple(
+ &av1_convolve_rounding_c, &av1_convolve_rounding_avx2, LOWBITDEPTH_TEST) };
+#endif
INSTANTIATE_TEST_CASE_P(AVX2, ConvolveRoundTest,
::testing::ValuesIn(kConvRndParamArray));