/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/chromium_org/third_party/libwebp/dsp/ |
D | dec.c | 596 int thresh, int ithresh, int hev_thresh) { in FilterLoop26() argument 598 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop26() 611 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 613 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 626 int thresh, int ithresh, int hev_thresh) { in VFilter16() argument 627 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16() 631 int thresh, int ithresh, int hev_thresh) { in HFilter16() argument 632 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16() 637 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 641 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() [all …]
|
D | dec_sse2.c | 679 #define COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask) { \ argument 681 const __m128i it = _mm_set1_epi8(ithresh); \ 690 int thresh, int ithresh, int hev_thresh) { in VFilter16SSE2() argument 703 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16SSE2() 716 int thresh, int ithresh, int hev_thresh) { in HFilter16SSE2() argument 727 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16SSE2() 736 int thresh, int ithresh, int hev_thresh) { in VFilter16iSSE2() argument 752 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16iSSE2() 764 int thresh, int ithresh, int hev_thresh) { in HFilter16iSSE2() argument 779 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16iSSE2() [all …]
|
D | dsp.h | 126 int thresh, int ithresh, int hev_t); 128 int thresh, int ithresh, int hev_t);
|
/external/webp/src/dsp/ |
D | dec.c | 596 int thresh, int ithresh, int hev_thresh) { in FilterLoop26() argument 598 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop26() 611 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 613 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 626 int thresh, int ithresh, int hev_thresh) { in VFilter16() argument 627 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16() 631 int thresh, int ithresh, int hev_thresh) { in HFilter16() argument 632 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16() 637 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 641 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() [all …]
|
D | dec_sse2.c | 679 #define COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask) { \ argument 681 const __m128i it = _mm_set1_epi8(ithresh); \ 690 int thresh, int ithresh, int hev_thresh) { in VFilter16SSE2() argument 703 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16SSE2() 716 int thresh, int ithresh, int hev_thresh) { in HFilter16SSE2() argument 727 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16SSE2() 736 int thresh, int ithresh, int hev_thresh) { in VFilter16iSSE2() argument 752 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in VFilter16iSSE2() 764 int thresh, int ithresh, int hev_thresh) { in HFilter16iSSE2() argument 779 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); in HFilter16iSSE2() [all …]
|
D | dsp.h | 126 int thresh, int ithresh, int hev_t); 128 int thresh, int ithresh, int hev_t);
|
/external/webp/src/enc/ |
D | filter.c | 139 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 141 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 154 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 158 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() 163 int thresh, int ithresh, int hev_thresh) { in HFilter16i() argument 167 FilterLoop24(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16i() 172 int thresh, int ithresh, int hev_thresh) { in VFilter8i() argument 173 FilterLoop24(u + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 174 FilterLoop24(v + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 178 int thresh, int ithresh, int hev_thresh) { in HFilter8i() argument [all …]
|
/external/chromium_org/third_party/libwebp/enc/ |
D | filter.c | 139 int thresh, int ithresh, int hev_thresh) { in FilterLoop24() argument 141 if (needs_filter2(p, hstride, thresh, ithresh)) { in FilterLoop24() 154 int thresh, int ithresh, int hev_thresh) { in VFilter16i() argument 158 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); in VFilter16i() 163 int thresh, int ithresh, int hev_thresh) { in HFilter16i() argument 167 FilterLoop24(p, 1, stride, 16, thresh, ithresh, hev_thresh); in HFilter16i() 172 int thresh, int ithresh, int hev_thresh) { in VFilter8i() argument 173 FilterLoop24(u + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 174 FilterLoop24(v + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); in VFilter8i() 178 int thresh, int ithresh, int hev_thresh) { in HFilter8i() argument [all …]
|