/external/webp/src/enc/ |
H A D | filter.c | 75 static inline int hev(const uint8_t* p, int step, int thresh) { argument 77 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh); 80 static inline int needs_filter(const uint8_t* p, int step, int thresh) { argument 82 return (2 * abs0[255 + p0 - q0] + abs1[255 + p1 - q1]) <= thresh; 98 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { argument 101 if (needs_filter(p + i, stride, thresh)) { 107 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { argument 110 if (needs_filter(p + i * stride, 1, thresh)) { 116 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { argument 124 SimpleHFilter16i(uint8_t* p, int stride, int thresh) argument 135 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 150 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 159 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 168 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 174 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
/external/opencv/cv/src/ |
H A D | cvthresh.cpp | 46 CvSize roi, uchar thresh, uchar maxval, int type ) 54 for( i = 0; i <= thresh; i++ ) 60 for( i = 0; i <= thresh; i++ ) 66 for( i = 0; i <= thresh; i++ ) 69 tab[i] = thresh; 72 for( i = 0; i <= thresh; i++ ) 78 for( i = 0; i <= thresh; i++ ) 114 CvSize roi, float thresh, float maxval, int type ) 122 v.f = thresh; iThresh = CV_TOGGLE_FLT(v.i); 159 if( temp > thresh ) 45 icvThresh_8u_C1R( const uchar* src, int src_step, uchar* dst, int dst_step, CvSize roi, uchar thresh, uchar maxval, int type ) argument 113 icvThresh_32f_C1R( const float *src, int src_step, float *dst, int dst_step, CvSize roi, float thresh, float maxval, int type ) argument 297 cvThreshold( const void* srcarr, void* dstarr, double thresh, double maxval, int type ) argument [all...] |
H A D | cvhistogram.cpp | 188 cvThreshHist( CvHistogram* hist, double thresh ) 201 CV_CALL( cvThreshold( &mat, &mat, thresh, 0, CV_THRESH_TOZERO )); 213 if( *val <= thresh ) 662 float** thresh = 0; local 705 ranges[i] = (float*)src->thresh[i]; 706 thresh = ranges; 709 thresh = src->thresh2; 710 CV_CALL( cvSetHistBinRanges( dst, thresh, CV_IS_UNIFORM_HIST(src))); 746 hist->thresh[i][0] = ranges[i][0]; 747 hist->thresh[ 1308 float* thresh = hist->thresh2[i]; local 1369 float* thresh = hist->thresh2[i]; local 1960 float* thresh = hist->thresh2[i]; local 2017 float* thresh = hist->thresh2[i]; local [all...] |
H A D | cvcalccontrasthistogram.cpp | 84 if( !hist->thresh[i] ) 198 if( !hist->thresh[i] )
|
/external/libvpx/vp8/common/ |
H A D | loopfilter_filters.c | 43 static __inline signed char vp8_hevmask(signed char thresh, uc p1, uc p0, uc q0, uc q1) argument 46 hev |= (abs(p1 - p0) > thresh) * -1; 47 hev |= (abs(q1 - q0) > thresh) * -1; 103 const signed char *thresh, 120 hev = vp8_hevmask(thresh[i], s[-2*p], s[-1*p], s[0*p], s[1*p]); 135 const signed char *thresh, 151 hev = vp8_hevmask(thresh[i], s[-2], s[-1], s[0], s[1]); 221 const signed char *thresh, 239 hev = vp8_hevmask(thresh[i], s[-2*p], s[-1*p], s[0*p], s[1*p]); 256 const signed char *thresh, 97 vp8_loop_filter_horizontal_edge_c( unsigned char *s, int p, const signed char *flimit, const signed char *limit, const signed char *thresh, int count ) argument 129 vp8_loop_filter_vertical_edge_c( unsigned char *s, int p, const signed char *flimit, const signed char *limit, const signed char *thresh, int count ) argument 215 vp8_mbloop_filter_horizontal_edge_c( unsigned char *s, int p, const signed char *flimit, const signed char *limit, const signed char *thresh, int count ) argument 250 vp8_mbloop_filter_vertical_edge_c( unsigned char *s, int p, const signed char *flimit, const signed char *limit, const signed char *thresh, int count ) argument 316 vp8_loop_filter_simple_horizontal_edge_c( unsigned char *s, int p, const signed char *flimit, const signed char *limit, const signed char *thresh, int count ) argument 340 vp8_loop_filter_simple_vertical_edge_c( unsigned char *s, int p, const signed char *flimit, const signed char *limit, const signed char *thresh, int count ) argument [all...] |
H A D | loopfilter.h | 40 const signed char *limit, const signed char *thresh, int count) 120 const signed char *thresh,
|
/external/webp/src/dec/ |
H A D | dsp.c | 530 static inline int hev(const uint8_t* p, int step, int thresh) { argument 532 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh); 535 static inline int needs_filter(const uint8_t* p, int step, int thresh) { argument 537 return (2 * abs0[255 + p0 - q0] + abs1[255 + p1 - q1]) <= thresh; 553 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { argument 556 if (needs_filter(p + i, stride, thresh)) { 562 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { argument 565 if (needs_filter(p + i * stride, 1, thresh)) { 571 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { argument 579 SimpleHFilter16i(uint8_t* p, int stride, int thresh) argument 590 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 604 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument 619 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 624 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 630 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 639 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 649 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 655 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 661 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 667 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
H A D | dsp_sse2.c | 325 const __m128i* q1, int thresh, __m128i *mask) { 335 t1 = _mm_set1_epi8(thresh); 336 *mask = _mm_subs_epu8(*mask, t1); // mask <= thresh 345 const __m128i* q1, int thresh) { 351 NeedsFilter(p1, p0, q0, q1, thresh, &mask); 592 static void SimpleVFilter16SSE2(uint8_t* p, int stride, int thresh) { argument 599 DoFilter2(&p1, &p0, &q0, &q1, thresh); 606 static void SimpleHFilter16SSE2(uint8_t* p, int stride, int thresh) { argument 612 DoFilter2(&p1, &p0, &q0, &q1, thresh); 616 static void SimpleVFilter16iSSE2(uint8_t* p, int stride, int thresh) { argument 324 NeedsFilter(const __m128i* p1, const __m128i* p0, const __m128i* q0, const __m128i* q1, int thresh, __m128i *mask) argument 344 DoFilter2(const __m128i* p1, __m128i* p0, __m128i* q0, const __m128i* q1, int thresh) argument 624 SimpleHFilter16iSSE2(uint8_t* p, int stride, int thresh) argument 682 VFilter16SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 708 HFilter16SSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 728 VFilter16iSSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 756 HFilter16iSSE2(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument 783 VFilter8SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 808 HFilter8SSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 828 VFilter8iSSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument 854 HFilter8iSSE2(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument [all...] |
H A 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/tcpdump/ |
H A D | print-dvmrp.c | 264 register u_char thresh; local 272 thresh = *bp++; 279 ipaddr_string(bp), metric, thresh); 294 register u_char metric, thresh, flags; local 306 thresh = *bp++; 313 metric, thresh);
|
/external/libvpx/vp8/common/arm/neon/ |
H A 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...] |
H A 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...] |
H A 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,
|
H A 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/kernel-headers/original/linux/ |
H A D | netfilter.h | 153 int (*okfn)(struct sk_buff *), int thresh); 166 int (*okfn)(struct sk_buff *), int thresh) 172 return nf_hook_slow(pf, hook, skb, indev, outdev, okfn, thresh); 202 int (*okfn)(struct sk_buff *), int thresh) 204 int ret = nf_hook_thresh(pf, hook, skb, in, out, okfn, thresh); 340 int (*okfn)(struct sk_buff *), int thresh) 162 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *), int thresh) argument 200 NF_HOOK_THRESH(uint8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *in, struct net_device *out, int (*okfn)(struct sk_buff *), int thresh) argument 336 nf_hook_thresh(u_int8_t pf, unsigned int hook, struct sk_buff *skb, struct net_device *indev, struct net_device *outdev, int (*okfn)(struct sk_buff *), int thresh) argument
|
/external/srec/srec/clib/ |
H A D | jacobi.c | 56 double g, thresh, sum, c, s, t, tau, h; local 104 thresh = 20.0 * sum / (dim * dim); /* .. first 3 iterations only */ 106 thresh = 0.0; /* .. thereafter */ 120 else if (g > thresh)
|
/external/bluetooth/glib/glib/ |
H A D | gqsort.c | 243 char *thresh = min(end_ptr, base_ptr + max_thresh); local 250 for (run_ptr = tmp_ptr + size; run_ptr <= thresh; run_ptr += size)
|
/external/libvpx/vp8/common/ppc/ |
H A D | loopfilter_altivec.c | 21 const signed char *thresh 31 const signed char *thresh
|
/external/openssh/ |
H A D | misc.h | 84 u_int64_t rate, thresh, lamt; member in struct:bwlimit
|
H A D | misc.c | 863 bw->thresh = bw->rate; 882 if (bw->lamt < bw->thresh) 901 bw->thresh /= 2; 902 if (bw->thresh < bw->buflen / 4) 903 bw->thresh = bw->buflen / 4; 905 bw->thresh *= 2; 906 if (bw->thresh > bw->buflen * 8) 907 bw->thresh = bw->buflen * 8;
|
/external/aac/libAACenc/src/ |
H A D | grp_data.cpp | 177 FIXP_DBL thresh = sfbThreshold->Short[wnd][sfb]; local 180 thresh += sfbThreshold->Short[wnd+j][sfb]; 182 sfbThreshold->Long[i++] = thresh;
|
/external/dropbear/ |
H A D | scp.c | 770 static int lamt, thresh = 16384; local 780 if (lamt < thresh) 799 thresh /= 2; 800 if (thresh < 2048) 801 thresh = 2048; 803 thresh *= 2; 804 if (thresh > 32768) 805 thresh = 32768;
|
/external/libvpx/vp8/common/x86/ |
H A 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 235 ; const char *thresh, 432 mov rdx, arg(4) ;thresh ; get thresh 441 por mm4, mm3 ; abs(q1 - q0) > thresh || abs(p1 - p0) > thresh [all...] |
/external/libvpx/vp8/common/arm/armv6/ |
H A 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 [all...] |
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
H A D | SsaRenamer.java | 151 * @param thresh registers below this number are unchanged 153 public SsaRenamer(SsaMethod ssaMeth, int thresh) { argument 155 threshold = thresh;
|