/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/dsp/ |
D | dec.c | 589 int thresh, int ithresh, int hev_thresh) { in FilterLoop26() argument 591 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop26() 604 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 606 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 619 int thresh, int ithresh, int hev_thresh) { in VFilter16() argument 620 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16() 624 int thresh, int ithresh, int hev_thresh) { in HFilter16() argument 625 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16() 630 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 634 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() [all …]
|
D | dec_sse2.c | 677 #define COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask) { \ argument 679 const __m128i it = _mm_set1_epi8(ithresh); \ 688 int thresh, int ithresh, int hev_thresh) { in VFilter16SSE2() argument 701 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16SSE2() 714 int thresh, int ithresh, int hev_thresh) { in HFilter16SSE2() argument 725 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16SSE2() 734 int thresh, int ithresh, int hev_thresh) { in VFilter16iSSE2() argument 750 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16iSSE2() 762 int thresh, int ithresh, int hev_thresh) { in HFilter16iSSE2() argument 777 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16iSSE2() [all …]
|
D | dsp.h | 125 int thresh, int ithresh, int hev_t); 127 int thresh, int ithresh, int hev_t);
|
/external/webp/src/enc/ |
D | filter.c | 137 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 139 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 152 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 156 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() 161 int thresh, int ithresh, int hev_thresh) { in HFilter16i() argument 165 FilterLoop24(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16i() 170 int thresh, int ithresh, int hev_thresh) { in VFilter8i() argument 171 FilterLoop24(u + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 172 FilterLoop24(v + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 176 int thresh, int ithresh, int hev_thresh) { in HFilter8i() argument [all …]
|