47 int step = depth > 8 ? 2 : 1;
50 declare_func(
void,
const uint8_t *in,
const uint8_t *threshold,
51 const uint8_t *
min,
const uint8_t *
max, uint8_t *
out,
52 ptrdiff_t ilinesize, ptrdiff_t tlinesize,
53 ptrdiff_t flinesize, ptrdiff_t slinesize,
54 ptrdiff_t olinesize,
int w,
int h);
69 if (
check_func(
s.threshold,
"threshold%d", depth)) {
70 for (
int i = 1;
i <
w;
i++) {
74 line_size, line_size, line_size, line_size, line_size,
i, 1);
76 line_size, line_size, line_size, line_size, line_size,
i, 1);
77 if (memcmp(out_ref, out_new,
BUF_SIZE))
83 line_size, line_size, line_size, line_size, line_size,
w,
HEIGHT);
85 line_size, line_size, line_size, line_size, line_size,
w,
HEIGHT);
86 if (memcmp(out_ref, out_new,
BUF_SIZE))
91 line_size + 0, line_size + 8, line_size + 16,
92 line_size + 24, line_size + 32,
w,
HEIGHT);
94 line_size + 0, line_size + 8, line_size + 16,
95 line_size + 24, line_size + 32,
w,
HEIGHT);
96 if (memcmp(out_ref, out_new,
BUF_SIZE))
99 line_size, line_size, line_size, line_size, line_size,
w, 1);