ref: 9dcdf20ce91b6f86913c4c2c97bea443f826f80f
parent: 38da7af64eed06cc8c013d8a60b08bc41a8a0675
author: Martin Storsjö <martin@martin.st>
date: Thu Oct 18 20:45:20 EDT 2018
checkasm: Fix building with some bitdepths disabled
--- a/tests/checkasm/checkasm.c
+++ b/tests/checkasm/checkasm.c
@@ -61,16 +61,20 @@
const char *name;
void (*func)(void);
} tests[] = {
+#if CONFIG_8BPC
{ "ipred_8bpc", checkasm_check_ipred_8bpc },
- { "ipred_10bpc", checkasm_check_ipred_10bpc },
{ "itx_8bpc", checkasm_check_itx_8bpc },
- { "itx_10bpc", checkasm_check_itx_10bpc },
{ "loopfilter_8bpc", checkasm_check_loopfilter_8bpc },
- { "loopfilter_10bpc", checkasm_check_loopfilter_10bpc },
{ "looprestoration_8bpc", checkasm_check_looprestoration_8bpc },
- { "looprestoration_10bpc", checkasm_check_looprestoration_10bpc },
{ "mc_8bpc", checkasm_check_mc_8bpc },
+#endif
+#if CONFIG_10BPC
+ { "ipred_10bpc", checkasm_check_ipred_10bpc },
+ { "itx_10bpc", checkasm_check_itx_10bpc },
+ { "loopfilter_10bpc", checkasm_check_loopfilter_10bpc },
+ { "looprestoration_10bpc", checkasm_check_looprestoration_10bpc },
{ "mc_10bpc", checkasm_check_mc_10bpc },
+#endif
{ 0 }
};