46 declare_func(
void,
const uint8_t *in,
const uint8_t *threshold,
47 const uint8_t *
min,
const uint8_t *
max, uint8_t *
out,
48 ptrdiff_t ilinesize, ptrdiff_t tlinesize,
49 ptrdiff_t flinesize, ptrdiff_t slinesize,
50 ptrdiff_t olinesize,
int w,
int h);
70 if (
check_func(
s.threshold,
"threshold%d", depth)) {
71 call_ref(in, threshold,
min,
max, out_ref, line_size, line_size, line_size, line_size, line_size,
w, 1);
72 call_new(in, threshold,
min,
max, out_new, line_size, line_size, line_size, line_size, line_size,
w, 1);
73 if (memcmp(out_ref, out_new,
WIDTH))
75 bench_new(in, threshold,
min,
max, out_new, line_size, line_size, line_size, line_size, line_size,
w, 1);