/external/opencv/cv/src/ |
D | cvthresh.cpp | 311 int ithresh, imaxval, cn; in cvThreshold() local 391 ithresh = cvFloor(thresh); in cvThreshold() 394 imaxval = ithresh; in cvThreshold() 397 if( ithresh < 0 || ithresh >= 255 ) in cvThreshold() 400 ((type == CV_THRESH_TRUNC || type == CV_THRESH_TOZERO_INV) && ithresh < 0) || in cvThreshold() 401 (type == CV_THRESH_TOZERO && ithresh >= 255) ) in cvThreshold() 403 int v = type == CV_THRESH_BINARY ? (ithresh >= 255 ? 0 : imaxval) : in cvThreshold() 404 type == CV_THRESH_BINARY_INV ? (ithresh >= 255 ? imaxval : 0) : in cvThreshold() 422 (uchar)ithresh, dst->data.ptr, dst_step, roi, in cvThreshold() 436 dst->data.ptr, dst_step, roi, (uchar)ithresh, in cvThreshold() [all …]
|
/external/webp/src/dec/ |
D | dsp.c | 591 int thresh, int ithresh, int hev_thresh) { in FilterLoop26() argument 593 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop26() 605 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 607 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 620 int thresh, int ithresh, int hev_thresh) { in VFilter16() argument 621 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16() 625 int thresh, int ithresh, int hev_thresh) { in HFilter16() argument 626 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16() 631 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 635 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() [all …]
|
D | dsp_sse2.c | 672 #define COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask) { \ argument 674 const __m128i it = _mm_set1_epi8(ithresh); \ 683 int thresh, int ithresh, int hev_thresh) { in VFilter16SSE2() argument 696 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16SSE2() 709 int thresh, int ithresh, int hev_thresh) { in HFilter16SSE2() argument 720 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16SSE2() 729 int thresh, int ithresh, int hev_thresh) { in VFilter16iSSE2() argument 745 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16iSSE2() 757 int thresh, int ithresh, int hev_thresh) { in HFilter16iSSE2() argument 772 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16iSSE2() [all …]
|
D | vp8i.h | 337 int thresh, int ithresh, int hev_t); 339 int thresh, int ithresh, int hev_t);
|
/external/webp/src/enc/ |
D | filter.c | 136 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 138 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 151 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 155 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() 160 int thresh, int ithresh, int hev_thresh) { in HFilter16i() argument 164 FilterLoop24(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16i() 169 int thresh, int ithresh, int hev_thresh) { in VFilter8i() argument 170 FilterLoop24(u + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 171 FilterLoop24(v + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 175 int thresh, int ithresh, int hev_thresh) { in HFilter8i() argument [all …]
|