Lines Matching defs:thresh

37 static INLINE int8_t flat_mask4(uint8_t thresh,
43 mask |= (abs(p1 - p0) > thresh) * -1;
44 mask |= (abs(q1 - q0) > thresh) * -1;
45 mask |= (abs(p2 - p0) > thresh) * -1;
46 mask |= (abs(q2 - q0) > thresh) * -1;
47 mask |= (abs(p3 - p0) > thresh) * -1;
48 mask |= (abs(q3 - q0) > thresh) * -1;
52 static INLINE int8_t flat_mask5(uint8_t thresh,
58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3);
59 mask |= (abs(p4 - p0) > thresh) * -1;
60 mask |= (abs(q4 - q0) > thresh) * -1;
65 static INLINE int8_t hev_mask(uint8_t thresh, uint8_t p1, uint8_t p0,
68 hev |= (abs(p1 - p0) > thresh) * -1;
69 hev |= (abs(q1 - q0) > thresh) * -1;
73 static INLINE void filter4(int8_t mask, uint8_t thresh, uint8_t *op1,
81 const uint8_t hev = hev_mask(thresh, *op1, *op0, *oq0, *oq1);
107 const uint8_t *thresh, int count) {
117 filter4(mask, *thresh, s - 2 * p, s - 1 * p, s, s + 1 * p);
131 const uint8_t *limit, const uint8_t *thresh,
142 filter4(mask, *thresh, s - 2, s - 1, s, s + 1);
156 static INLINE void filter8(int8_t mask, uint8_t thresh, uint8_t flat,
173 filter4(mask, thresh, op1, op0, oq0, oq1);
178 const uint8_t *limit, const uint8_t *thresh,
191 filter8(mask, *thresh, flat, s - 4 * p, s - 3 * p, s - 2 * p, s - 1 * p,
206 const uint8_t *limit, const uint8_t *thresh,
216 filter8(mask, *thresh, flat, s - 4, s - 3, s - 2, s - 1,
231 static INLINE void filter16(int8_t mask, uint8_t thresh,
278 filter8(mask, thresh, flat, op3, op2, op1, op0, oq0, oq1, oq2, oq3);
283 const uint8_t *limit, const uint8_t *thresh,
299 filter16(mask, *thresh, flat, flat2,
311 const uint8_t *thresh,
324 filter16(mask, *thresh, flat, flat2,
332 const uint8_t *limit, const uint8_t *thresh) {
333 mb_lpf_vertical_edge_w(s, p, blimit, limit, thresh, 8);
337 const uint8_t *limit, const uint8_t *thresh) {
338 mb_lpf_vertical_edge_w(s, p, blimit, limit, thresh, 16);