/external/opencv/cv/src/ |
H A D | cvthresh.cpp | 311 int ithresh, imaxval, cn; local 391 ithresh = cvFloor(thresh); 394 imaxval = ithresh; 397 if( ithresh < 0 || ithresh >= 255 ) 400 ((type == CV_THRESH_TRUNC || type == CV_THRESH_TOZERO_INV) && ithresh < 0) || 401 (type == CV_THRESH_TOZERO && ithresh >= 255) ) 403 int v = type == CV_THRESH_BINARY ? (ithresh >= 255 ? 0 : imaxval) : 404 type == CV_THRESH_BINARY_INV ? (ithresh >= 255 ? imaxval : 0) : 422 (uchar)ithresh, ds [all...] |
/external/webp/src/dsp/ |
H A D | dec.c | 594 int thresh, int ithresh, int hev_thresh) { 596 if (needs_filter2(p, hstride, thresh, ithresh)) { 609 int thresh, int ithresh, int hev_thresh) { 611 if (needs_filter2(p, hstride, thresh, ithresh)) { 624 int thresh, int ithresh, int hev_thresh) { 625 FilterLoop26(p, stride, 1, 16, thresh, ithresh, hev_thresh); 629 int thresh, int ithresh, int hev_thresh) { 630 FilterLoop26(p, 1, stride, 16, thresh, ithresh, hev_thresh); 635 int thresh, int ithresh, int hev_thresh) { 639 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thres 592 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 607 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 623 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 628 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 634 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 643 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 653 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 659 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 665 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 671 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
H A D | dec_sse2.c | 677 #define COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask) { \ 679 const __m128i it = _mm_set1_epi8(ithresh); \ 688 int thresh, int ithresh, int hev_thresh) { 701 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); 714 int thresh, int ithresh, int hev_thresh) { 725 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); 734 int thresh, int ithresh, int hev_thresh) { 750 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mask); 762 int thresh, int ithresh, int hev_thresh) { 777 COMPLEX_FL_MASK(p1, p0, q0, q1, thresh, ithresh, mas 687 VFilter16SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 713 HFilter16SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 733 VFilter16iSSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 761 HFilter16iSSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 788 VFilter8SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 813 HFilter8SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 833 VFilter8iSSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 859 HFilter8iSSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
/external/webp/src/enc/ |
H A D | filter.c | 137 int thresh, int ithresh, int hev_thresh) { 139 if (needs_filter2(p, hstride, thresh, ithresh)) { 152 int thresh, int ithresh, int hev_thresh) { 156 FilterLoop24(p, stride, 1, 16, thresh, ithresh, hev_thresh); 161 int thresh, int ithresh, int hev_thresh) { 165 FilterLoop24(p, 1, stride, 16, thresh, ithresh, hev_thresh); 170 int thresh, int ithresh, int hev_thresh) { 171 FilterLoop24(u + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); 172 FilterLoop24(v + 4 * stride, stride, 1, 8, thresh, ithresh, hev_thresh); 176 int thresh, int ithresh, in 135 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 151 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 160 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 169 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 175 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |