ref: a22bb9809efd372dd4c5d23cecc6ff4d99a6580d
parent: 3e08a888544117e192e35b2b977bb24096435fdc
parent: 23d60be414d21b5acd3a2119cca3dcb41e2cd867
author: James Zern <jzern@google.com>
date: Wed Jul 5 17:08:46 EDT 2017
Merge "dct_partial_test: cover vpx_fdct8x8_1_msa in hbd"
--- a/test/dct_partial_test.cc
+++ b/test/dct_partial_test.cc
@@ -153,11 +153,17 @@
#endif // CONFIG_VP9_HIGHBITDEPTH
#endif // HAVE_NEON
-#if HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH
+#if HAVE_MSA
+#if CONFIG_VP9_HIGHBITDEPTH
+INSTANTIATE_TEST_CASE_P(MSA, PartialFdctTest,
+ ::testing::Values(make_tuple(&vpx_fdct8x8_1_msa, 8,
+ VPX_BITS_8)));
+#else // !CONFIG_VP9_HIGHBITDEPTH
INSTANTIATE_TEST_CASE_P(
MSA, PartialFdctTest,
::testing::Values(make_tuple(&vpx_fdct32x32_1_msa, 32, VPX_BITS_8),
make_tuple(&vpx_fdct16x16_1_msa, 16, VPX_BITS_8),
make_tuple(&vpx_fdct8x8_1_msa, 8, VPX_BITS_8)));
-#endif // HAVE_MSA && !CONFIG_VP9_HIGHBITDEPTH
+#endif // CONFIG_VP9_HIGHBITDEPTH
+#endif // HAVE_MSA
} // namespace