Searched defs:thresh (Results 1 - 25 of 29) sorted by relevance

12

/external/libvpx/vp8/common/mips/
H A Dloopfilter_mips.c31 unsigned char thresh, flimit, limit, flimit_temp; local
38 thresh = *(lfi->thr);
43 "replv.qb %[thresh_vec], %[thresh] \n\t"
47 : [thresh] "r" (thresh), [flimit] "r" (flimit), [limit] "r" (limit)
67 unsigned char thresh, flimit, limit, flimit_temp; local
74 thresh = *(lfi->thr);
79 "replv.qb %[thresh_vec], %[thresh] \n\t"
83 : [thresh] "r" (thresh), [flimi
101 unsigned char thresh, flimit, limit, flimit_temp; local
137 unsigned char thresh, flimit, limit, flimit_temp; local
[all...]
H A Dloopfilter_filters_mips.c52 uint32_t thresh,
78 * hev |= (abs(p1 - p0) > thresh)
83 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
89 * hev |= (abs(q1 - q0) > thresh)
94 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
118 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh)
347 unsigned int thresh,
395 thresh, &hev, &mask);
438 thresh,
40 vp8_filter_mask_vec_mips( uint32_t limit, uint32_t flimit, uint32_t p1, uint32_t p0, uint32_t p3, uint32_t p2, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, uint32_t thresh, uint32_t *hev, uint32_t *mask ) argument
341 vp8_loop_filter_horizontal_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
541 vp8_loop_filter_uvhorizontal_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
652 vp8_loop_filter_vertical_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
991 vp8_loop_filter_uvvertical_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
1599 vp8_mbloop_filter_horizontal_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
1739 vp8_mbloop_filter_uvhorizontal_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
1857 vp8_mbloop_filter_vertical_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
2060 vp8_mbloop_filter_uvvertical_edge_mips( unsigned char *s, int p, unsigned int flimit, unsigned int limit, unsigned int thresh, int count ) argument
[all...]
/external/openssh/
H A Dmisc.h84 u_int64_t rate, thresh, lamt; member in struct:bwlimit
/external/webp/src/dsp/
H A Ddec_neon.c34 #define NEEDS_FILTER(p1, p0, q0, q1, thresh, mask) \
40 "vdup.8 q14, " #thresh " \n" \
41 "vcge.u8 " #mask ", q14, q15 \n" /* mask <= thresh */
62 #define DO_FILTER2(p1, p0, q0, q1, thresh) \
63 NEEDS_FILTER(p1, p0, q0, q1, thresh, q9) /* filter mask in q9 */ \
95 static void SimpleVFilter16NEON(uint8_t* p, int stride, int thresh) { argument
104 DO_FILTER2(q1, q2, q3, q4, %[thresh])
111 : [stride] "r"(stride), [thresh] "r"(thresh)
116 static void SimpleHFilter16NEON(uint8_t* p, int stride, int thresh) { argument
142 SimpleVFilter16iNEON(uint8_t* p, int stride, int thresh) argument
150 SimpleHFilter16iNEON(uint8_t* p, int stride, int thresh) argument
[all...]
H A Ddec.c526 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { argument
528 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh);
531 static WEBP_INLINE int needs_filter(const uint8_t* p, int step, int thresh) { argument
533 return (2 * abs0[255 + p0 - q0] + abs1[255 + p1 - q1]) <= thresh;
550 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { argument
553 if (needs_filter(p + i, stride, thresh)) {
559 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { argument
562 if (needs_filter(p + i * stride, 1, thresh)) {
568 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { argument
576 SimpleHFilter16i(uint8_t* p, int stride, int thresh) argument
587 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument
602 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument
618 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
623 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
629 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
638 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
648 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
654 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
660 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
666 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
[all...]
H A Ddec_sse2.c327 const __m128i* q1, int thresh, __m128i *mask) {
337 t1 = _mm_set1_epi8(thresh);
338 *mask = _mm_subs_epu8(*mask, t1); // mask <= thresh
347 const __m128i* q1, int thresh) {
353 NeedsFilter(p1, p0, q0, q1, thresh, &mask);
597 static void SimpleVFilter16SSE2(uint8_t* p, int stride, int thresh) { argument
604 DoFilter2(&p1, &p0, &q0, &q1, thresh);
611 static void SimpleHFilter16SSE2(uint8_t* p, int stride, int thresh) { argument
617 DoFilter2(&p1, &p0, &q0, &q1, thresh);
621 static void SimpleVFilter16iSSE2(uint8_t* p, int stride, int thresh) { argument
326 NeedsFilter(const __m128i* p1, const __m128i* p0, const __m128i* q0, const __m128i* q1, int thresh, __m128i *mask) argument
346 DoFilter2(const __m128i* p1, __m128i* p0, __m128i* q0, const __m128i* q1, int thresh) argument
629 SimpleHFilter16iSSE2(uint8_t* p, int stride, int thresh) argument
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/aac/libAACenc/src/
H A Dgrp_data.cpp181 FIXP_DBL thresh = sfbThreshold->Short[wnd][sfb]; local
184 thresh = nrgAddSaturate(thresh, sfbThreshold->Short[wnd+j][sfb]);
186 sfbThreshold->Long[i++] = thresh;
/external/srec/srec/clib/
H A Djacobi.c56 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/tcpdump/
H A Dprint-dvmrp.c264 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/dexmaker/src/dx/java/com/android/dx/ssa/
H A DSsaRenamer.java151 * @param thresh registers below this number are unchanged
153 public SsaRenamer(SsaMethod ssaMeth, int thresh) { argument
155 threshold = thresh;
/external/libvpx/vp8/common/
H A Dloopfilter_filters.c43 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...]
/external/opencv/cv/src/
H A Dcvthresh.cpp46 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 Dcvstereobm.cpp352 int thresh = minsad + (minsad * uniquenessRatio/100); local
353 __m128i thresh8 = _mm_set1_epi16((short)(thresh + 1));
523 int thresh = minsad + (minsad * uniquenessRatio/100); local
526 if( sad[d] <= thresh && (d < mind-1 || d > mind+1))
H A Dcvhistogram.cpp188 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...]
/external/speex/libspeex/
H A Dsb_celp.c467 float thresh; local
470 thresh = mode->vbr_thresh[modeid][v1];
472 thresh = (st->vbr_quality-v1) * mode->vbr_thresh[modeid][v1+1] +
474 if (st->relative_quality >= thresh && st->sampling_rate*st->submodes[modeid]->bits_per_frame/st->full_frame_size <= st->vbr_max_high)
H A Dnb_celp.c462 float thresh; local
465 thresh = vbr_nb_thresh[mode][v1];
467 thresh = (st->vbr_quality-v1)*vbr_nb_thresh[mode][v1+1] + (1+v1-st->vbr_quality)*vbr_nb_thresh[mode][v1];
468 if (st->relative_quality > thresh &&
469 st->relative_quality-thresh<min_diff)
472 min_diff = st->relative_quality-thresh;
/external/kernel-headers/original/linux/
H A Dnetfilter.h153 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/dropbear/
H A Dscp.c770 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/webp/src/enc/
H A Dfilter.c74 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { argument
76 return (abs0[255 + p1 - p0] > thresh) || (abs0[255 + q1 - q0] > thresh);
79 static WEBP_INLINE int needs_filter(const uint8_t* p, int step, int thresh) { argument
81 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
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...]
H A Dquant.c437 const int thresh = mtx->q_[1] * mtx->q_[1] / 4; local
446 if (err > thresh) last = n;
/external/grub/stage2/
H A Djfs.h154 u8 thresh; /* Alert Threshold (in percent) */ member in struct:dasd
/external/icu4c/tools/tzcode/
H A Dtz2icu.cpp1197 bool isAfter(const Transition t, int64_t thresh) { argument
1198 return t.time >= thresh;
/external/libvpx/vp8/encoder/
H A Donyx_if.c1042 int thresh; local
1060 // i starts from 2 to make sure thresh started from 2048
1070 thresh = (i << 7);
1072 if (thresh < 2000)
1073 thresh = 2000;
1077 sf->thresh_mult[THR_NEWMV] = thresh;
1078 sf->thresh_mult[THR_NEARESTMV ] = thresh >> 1;
1079 sf->thresh_mult[THR_NEARMV ] = thresh >> 1;
1084 sf->thresh_mult[THR_NEWG] = thresh << 1;
1085 sf->thresh_mult[THR_NEARESTG ] = thresh;
[all...]
/external/opencv/cvaux/src/
H A Dcvvecfacetracking.cpp222 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) argument
236 FindContours(img, thresh, nLayers, dMinSize / 4);
263 }// void CvFaceElement::FindRects(IplImage* img, IplImage* thresh, int nLayers, int dMinSize)
265 void CvFaceElement::FindContours(IplImage* img, IplImage* thresh, int nLayers, int dMinSize) argument
271 cvSetImageROI(thresh, roi);
310 cvThreshold(img, thresh, colors[i], 255.0, CV_THRESH_BINARY);
311 if (cvFindContours(thresh, m_mstgRects, &seq, sizeof(CvContour), CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE))
340 cvResetImageROI(thresh);
[all...]
/external/opencv/cxcore/include/
H A Dcxtypes.h813 float thresh[CV_MAX_DIM][2]; /* For uniform histograms. */ member in struct:CvHistogram

Completed in 1985 milliseconds

12