/external/webp/src/enc/ |
D | filter.c | 75 static inline int hev(const uint8_t* p, int step, int thresh) { in hev() argument 77 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh); in hev() 80 static inline int needs_filter(const uint8_t* p, int step, int thresh) { in needs_filter() argument 82 return (2 * abs0[255 + p0 - q0] + abs1[255 + p1 - q1]) <= thresh; in needs_filter() 98 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { in SimpleVFilter16() argument 101 if (needs_filter(p + i, stride, thresh)) { in SimpleVFilter16() 107 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { in SimpleHFilter16() argument 110 if (needs_filter(p + i * stride, 1, thresh)) { in SimpleHFilter16() 116 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { in SimpleVFilter16i() argument 120 SimpleVFilter16(p, stride, thresh); in SimpleVFilter16i() [all …]
|
/external/opencv/cv/src/ |
D | cvthresh.cpp | 46 CvSize roi, uchar thresh, uchar maxval, int type ) in icvThresh_8u_C1R() argument 54 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R() 60 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R() 66 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R() 69 tab[i] = thresh; in icvThresh_8u_C1R() 72 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R() 78 for( i = 0; i <= thresh; i++ ) in icvThresh_8u_C1R() 114 CvSize roi, float thresh, float maxval, int type ) in icvThresh_32f_C1R() argument 122 v.f = thresh; iThresh = CV_TOGGLE_FLT(v.i); in icvThresh_32f_C1R() 159 if( temp > thresh ) in icvThresh_32f_C1R() [all …]
|
D | cvhistogram.cpp | 188 cvThreshHist( CvHistogram* hist, double thresh ) in cvThreshHist() argument 201 CV_CALL( cvThreshold( &mat, &mat, thresh, 0, CV_THRESH_TOZERO )); in cvThreshHist() 213 if( *val <= thresh ) in cvThreshHist() 662 float** thresh = 0; in cvCopyHist() local 705 ranges[i] = (float*)src->thresh[i]; in cvCopyHist() 706 thresh = ranges; in cvCopyHist() 709 thresh = src->thresh2; in cvCopyHist() 710 CV_CALL( cvSetHistBinRanges( dst, thresh, CV_IS_UNIFORM_HIST(src))); in cvCopyHist() 746 hist->thresh[i][0] = ranges[i][0]; in cvSetHistBinRanges() 747 hist->thresh[i][1] = ranges[i][1]; in cvSetHistBinRanges() [all …]
|
D | cvcalccontrasthistogram.cpp | 84 if( !hist->thresh[i] ) 198 if( !hist->thresh[i] )
|
/external/webp/src/dec/ |
D | dsp.c | 530 static inline int hev(const uint8_t* p, int step, int thresh) { in hev() argument 532 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh); in hev() 535 static inline int needs_filter(const uint8_t* p, int step, int thresh) { in needs_filter() argument 537 return (2 * abs0[255 + p0 - q0] + abs1[255 + p1 - q1]) <= thresh; in needs_filter() 553 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { in SimpleVFilter16() argument 556 if (needs_filter(p + i, stride, thresh)) { in SimpleVFilter16() 562 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { in SimpleHFilter16() argument 565 if (needs_filter(p + i * stride, 1, thresh)) { in SimpleHFilter16() 571 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { in SimpleVFilter16i() argument 575 SimpleVFilter16(p, stride, thresh); in SimpleVFilter16i() [all …]
|
D | dsp_sse2.c | 325 const __m128i* q1, int thresh, __m128i *mask) { in NeedsFilter() argument 335 t1 = _mm_set1_epi8(thresh); in NeedsFilter() 345 const __m128i* q1, int thresh) { in DoFilter2() argument 351 NeedsFilter(p1, p0, q0, q1, thresh, &mask); in DoFilter2() 592 static void SimpleVFilter16SSE2(uint8_t* p, int stride, int thresh) { in SimpleVFilter16SSE2() argument 599 DoFilter2(&p1, &p0, &q0, &q1, thresh); in SimpleVFilter16SSE2() 606 static void SimpleHFilter16SSE2(uint8_t* p, int stride, int thresh) { in SimpleHFilter16SSE2() argument 612 DoFilter2(&p1, &p0, &q0, &q1, thresh); in SimpleHFilter16SSE2() 616 static void SimpleVFilter16iSSE2(uint8_t* p, int stride, int thresh) { in SimpleVFilter16iSSE2() argument 620 SimpleVFilter16SSE2(p, stride, thresh); in SimpleVFilter16iSSE2() [all …]
|
D | vp8i.h | 329 typedef void (*VP8SimpleFilterFunc)(uint8_t* p, int stride, int thresh); 337 int thresh, int ithresh, int hev_t); 339 int thresh, int ithresh, int hev_t);
|
/external/libvpx/vp8/common/ |
D | loopfilter_filters.c | 43 static __inline signed char vp8_hevmask(signed char thresh, uc p1, uc p0, uc q0, uc q1) in vp8_hevmask() argument 46 hev |= (abs(p1 - p0) > thresh) * -1; in vp8_hevmask() 47 hev |= (abs(q1 - q0) > thresh) * -1; in vp8_hevmask() 103 const signed char *thresh, in vp8_loop_filter_horizontal_edge_c() argument 120 hev = vp8_hevmask(thresh[i], s[-2*p], s[-1*p], s[0*p], s[1*p]); in vp8_loop_filter_horizontal_edge_c() 135 const signed char *thresh, in vp8_loop_filter_vertical_edge_c() argument 151 hev = vp8_hevmask(thresh[i], s[-2], s[-1], s[0], s[1]); in vp8_loop_filter_vertical_edge_c() 221 const signed char *thresh, in vp8_mbloop_filter_horizontal_edge_c() argument 239 hev = vp8_hevmask(thresh[i], s[-2*p], s[-1*p], s[0*p], s[1*p]); in vp8_mbloop_filter_horizontal_edge_c() 256 const signed char *thresh, in vp8_mbloop_filter_vertical_edge_c() argument [all …]
|
D | loopfilter.h | 40 const signed char *limit, const signed char *thresh, int count) 120 const signed char *thresh,
|
/external/libvpx/vp8/common/arm/neon/ |
D | loopfilter_neon.asm | 22 ; flimit, limit, and thresh should be positive numbers. 28 ; const signed char *thresh, 34 ; sp const signed char *thresh, 41 ldr r12, [sp, #4] ; load thresh pointer 51 vld1.s8 {d4[], d5[]}, [r12] ; thresh 67 ; const signed char *thresh, 73 ; sp const signed char *thresh, 91 ldr r3, [sp, #4] ; load thresh pointer 103 vld1.s8 {d4[], d5[]}, [r3] ; thresh 125 ; const signed char *thresh, [all …]
|
D | mbloopfilter_neon.asm | 22 ; flimit, limit, and thresh should be positive numbers. 28 ; const signed char *thresh, 34 ; sp const signed char *thresh, 39 ldr r12, [sp, #4] ; load thresh pointer 44 vld1.s8 {d4[], d5[]}, [r12] ; thresh 73 ; const signed char *thresh, 79 ; sp const signed char *thresh, 86 ldr r12, [sp, #4] ; load thresh pointer 106 vld1.s8 {d4[], d5[]}, [r12] ; thresh 135 ; const signed char *thresh, [all …]
|
D | loopfiltersimplehorizontaledge_neon.asm | 18 ;Note: flimit, limit, and thresh shpuld be positive numbers. All 16 elements in flimit 20 ;for flimit. Same way applies to limit and thresh. 25 ; stack(r4) const signed char *thresh,
|
D | loopfiltersimpleverticaledge_neon.asm | 18 ;Note: flimit, limit, and thresh should be positive numbers. All 16 elements in flimit 20 ;for flimit. Same way applies to limit and thresh. 25 ; stack(r4) const signed char *thresh,
|
/external/tcpdump/ |
D | print-dvmrp.c | 264 register u_char thresh; in print_neighbors() local 272 thresh = *bp++; in print_neighbors() 279 ipaddr_string(bp), metric, thresh); in print_neighbors() 294 register u_char metric, thresh, flags; in print_neighbors2() local 306 thresh = *bp++; in print_neighbors2() 313 metric, thresh); in print_neighbors2()
|
/external/kernel-headers/original/linux/ |
D | netfilter.h | 153 int (*okfn)(struct sk_buff *), int thresh); 166 int (*okfn)(struct sk_buff *), int thresh) in nf_hook_thresh() argument 172 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh); in nf_hook_thresh() 202 int (*okfn)(struct sk_buff *), int thresh) in NF_HOOK_THRESH() argument 204 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh); in NF_HOOK_THRESH() 340 int (*okfn)(struct sk_buff *), int thresh) in nf_hook_thresh() argument
|
/external/srec/srec/clib/ |
D | jacobi.c | 56 double g, thresh, sum, c, s, t, tau, h; in Jacobi() local 104 thresh = 20.0 * sum / (dim * dim); /* .. first 3 iterations only */ in Jacobi() 106 thresh = 0.0; /* .. thereafter */ in Jacobi() 120 else if (g > thresh) in Jacobi()
|
/external/dropbear/ |
D | scp.c | 770 static int lamt, thresh = 16384; in bwlimit() local 780 if (lamt < thresh) in bwlimit() 799 thresh /= 2; in bwlimit() 800 if (thresh < 2048) in bwlimit() 801 thresh = 2048; in bwlimit() 803 thresh *= 2; in bwlimit() 804 if (thresh > 32768) in bwlimit() 805 thresh = 32768; in bwlimit()
|
/external/libvpx/vp8/common/ppc/ |
D | loopfilter_altivec.c | 21 const signed char *thresh 31 const signed char *thresh
|
/external/bluetooth/glib/glib/ |
D | gqsort.c | 243 char *thresh = min(end_ptr, base_ptr + max_thresh); in g_qsort_with_data() local 250 for (run_ptr = tmp_ptr + size; run_ptr <= thresh; run_ptr += size) in g_qsort_with_data()
|
/external/libvpx/vp8/common/arm/armv6/ |
D | simpleloopfilter_v6.asm | 55 ;stack const char *thresh, 59 ; for flimit. Same applies to limit. thresh is not used in simple looopfilter
|
D | loopfilter_v6.asm | 58 ;stack const char *thresh, 62 ;for flimit. Same way applies to limit and thresh. 71 ldr r6, [sp, #36] ; load thresh address 80 ldr r3, [r6], #4 ; thresh 105 uqsub8 r8, r6, r3 ; compare to thresh -- save r8 for later 132 uqsub8 r6, r6, r3 ; compare to thresh -- save r6 for later 280 ldr r6, [sp, #36] ; load thresh address 289 ldr r3, [r6], #4 ; thresh 316 uqsub8 r8, r6, r3 ; compare to thresh -- save r8 for later 344 uqsub8 r6, r6, r3 ; compare to thresh -- save r6 for later
|
/external/libvpx/vp8/common/x86/ |
D | loopfilter_mmx.asm | 21 ; const char *thresh, 136 mov rdx, arg(4) ;thresh ; get thresh 142 paddb mm4, mm3 ; abs(q1 - q0) > thresh || abs(p1 - p0) > thresh 608 ; const char *thresh, 736 mov rdx, arg(4) ;thresh ; get thresh 742 paddb mm4, mm3 ; abs(q1 - q0) > thresh || abs(p1 - p0) > thresh 751 ; mm1 = mask, mm0=q0, mm7 = thresh, t0 = abs(q0-q1) t1 = abs(p1-p0) 1397 ; const char *thresh,
|
D | loopfilter_sse2.asm | 131 mov rdx, arg(4) ; hev get thresh 160 … xmm4, xmm3 ; hev abs(q1 - q0) > thresh || abs(p1 - p0) > thresh 579 ; const char *thresh, 629 ; const char *thresh, 926 mov rdx, arg(4) ; get thresh 940 psubusb xmm6, xmm7 ; abs(q1 - q0) > thresh 943 psubusb xmm3, xmm7 ; abs(p1 - p0)> thresh 946 … por xmm6, xmm3 ; abs(q1 - q0) > thresh || abs(p1 - p0) > thresh 1019 ; const char *thresh, 1086 ; const char *thresh, [all …]
|
D | postproc_mmx.c | 212 mm1 select vals > thresh from source in vp8_post_proc_down_and_across_mmx() 214 mm7 select vals < thresh from blurred result in vp8_post_proc_down_and_across_mmx() 363 mm1 select vals > thresh from source in vp8_post_proc_down_and_across_mmx() 365 mm7 select vals < thresh from blurred result in vp8_post_proc_down_and_across_mmx() 540 mm1 select vals > thresh from source in vp8_post_proc_down_and_across_xmm() 542 mm7 select vals < thresh from blurred result in vp8_post_proc_down_and_across_xmm() 672 mm1 select vals > thresh from source in vp8_post_proc_down_and_across_xmm() 674 mm7 select vals < thresh from blurred result in vp8_post_proc_down_and_across_xmm()
|
/external/opencv/cvaux/src/ |
D | cvvecfacetracking.cpp | 222 void FindRects(IplImage* img, IplImage* thresh, int nLayers, int dMinSize); 224 void FindContours(IplImage* img, IplImage* thresh, int nLayers, int dMinSize); 234 void CvFaceElement::FindRects(IplImage* img, IplImage* thresh, int nLayers, int dMinSize) in FindRects() argument 236 FindContours(img, thresh, nLayers, dMinSize / 4); in FindRects() 265 void CvFaceElement::FindContours(IplImage* img, IplImage* thresh, int nLayers, int dMinSize) in FindContours() argument 271 cvSetImageROI(thresh, roi); in FindContours() 310 cvThreshold(img, thresh, colors[i], 255.0, CV_THRESH_BINARY); in FindContours() 311 …if (cvFindContours(thresh, m_mstgRects, &seq, sizeof(CvContour), CV_RETR_CCOMP, CV_CHAIN_APPROX_SI… in FindContours() 340 cvResetImageROI(thresh); in FindContours()
|