ref: c1b3e1a9c77cd27d9a7326a6858de29f0b6f484f
parent: c950e7101bdf5f7117bfca816984a21e550509f0
author: Martin Storsjö <[email protected]>
date: Thu May 9 10:36:08 EDT 2019
checkasm: itx: Add verbose printouts for the pixel differences
--- a/tests/checkasm/itx.c
+++ b/tests/checkasm/itx.c
@@ -273,11 +273,12 @@
HIGHBD_TAIL_SUFFIX);
call_new(a_dst, w * sizeof(*c_dst), coeff[1], eob
HIGHBD_TAIL_SUFFIX);
- if (memcmp(c_dst, a_dst, w * h * sizeof(*c_dst)) ||
- memcmp(coeff[0], coeff[1], sizeof(*coeff)))
- {
+
+ checkasm_check_pixel(c_dst, w * sizeof(*c_dst),
+ a_dst, w * sizeof(*a_dst),
+ w, h, "dst");
+ if (memcmp(coeff[0], coeff[1], sizeof(*coeff)))
fail();
- }
bench_new(a_dst, w * sizeof(*c_dst), coeff[0], eob
HIGHBD_TAIL_SUFFIX);