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

123

/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/arm/neon/
H A Dvp9_loopfilter_16_neon.c50 const uint8_t *thresh) {
51 vp9_lpf_vertical_16_neon(s, p, blimit, limit, thresh);
52 vp9_lpf_vertical_16_neon(s + 8 * p, p, blimit, limit, thresh);
47 vp9_lpf_vertical_16_dual_neon(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
/external/libvpx/libvpx/vp9/common/arm/neon/
H A Dvp9_loopfilter_16_neon.c49 const uint8_t *thresh) {
50 vp9_lpf_vertical_16_neon(s, p, blimit, limit, thresh);
51 vp9_lpf_vertical_16_neon(s + 8 * p, p, blimit, limit, thresh);
46 vp9_lpf_vertical_16_dual_neon(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
/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/chromium_org/third_party/libvpx/source/libvpx/vp9/common/mips/dspr2/
H A Dvp9_loopfilter_masks_dspr2.h32 uint32_t thresh, uint32_t *hev,
55 * hev |= (abs(p1 - p0) > thresh)
60 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
66 * hev |= (abs(q1 - q0) > thresh)
71 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
95 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh)
134 uint32_t thresh,
165 * hev |= (abs(p1 - p0) > thresh)
166 * flat |= (abs(p1 - p0) > thresh)
27 vp9_filter_hev_mask_dspr2(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
132 vp9_filter_hev_mask_flatmask4_dspr2(uint32_t limit, uint32_t flimit, uint32_t thresh, 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 *hev, uint32_t *mask, uint32_t *flat) argument
[all...]
H A Dvp9_loopfilter_filters_dspr2.c27 const uint8_t *thresh,
39 uthresh = *thresh;
121 const uint8_t *thresh,
133 uthresh = *thresh;
358 const uint8_t *thresh) {
359 vp9_lpf_vertical_16_dspr2(s, p, blimit, limit, thresh);
360 vp9_lpf_vertical_16_dspr2(s + 8 * p, p, blimit, limit, thresh);
23 vp9_lpf_horizontal_4_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
117 vp9_lpf_vertical_4_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
355 vp9_lpf_vertical_16_dual_dspr2(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
H A Dvp9_mbloop_loopfilter_dspr2.c27 const uint8_t *thresh,
42 uthresh = *thresh;
326 const uint8_t *thresh,
341 uthresh = *thresh;
23 vp9_lpf_horizontal_8_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
322 vp9_lpf_vertical_8_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
/external/eigen/Eigen/src/SparseLU/
H A DSparseLU_pivotL.h40 * (1) Compute thresh = u * max_(i>=j) abs(A_ij);
41 * (2) IF user specifies pivot row k and abs(A_kj) >= thresh THEN
43 * ELSE IF abs(A_jj) >= thresh THEN
95 RealScalar thresh = diagpivotthresh * pivmax; local
105 if (rtemp != 0.0 && rtemp >= thresh) pivptr = diag;
/external/libvpx/libvpx/vp9/common/mips/dspr2/
H A Dvp9_loopfilter_masks_dspr2.h32 uint32_t thresh, uint32_t *hev,
55 * hev |= (abs(p1 - p0) > thresh)
60 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
66 * hev |= (abs(q1 - q0) > thresh)
71 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t"
95 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh)
134 uint32_t thresh,
165 * hev |= (abs(p1 - p0) > thresh)
166 * flat |= (abs(p1 - p0) > thresh)
27 vp9_filter_hev_mask_dspr2(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
132 vp9_filter_hev_mask_flatmask4_dspr2(uint32_t limit, uint32_t flimit, uint32_t thresh, 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 *hev, uint32_t *mask, uint32_t *flat) argument
[all...]
H A Dvp9_loopfilter_filters_dspr2.c27 const uint8_t *thresh,
39 uthresh = *thresh;
121 const uint8_t *thresh,
133 uthresh = *thresh;
358 const uint8_t *thresh) {
359 vp9_lpf_vertical_16_dspr2(s, p, blimit, limit, thresh);
360 vp9_lpf_vertical_16_dspr2(s + 8 * p, p, blimit, limit, thresh);
23 vp9_lpf_horizontal_4_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
117 vp9_lpf_vertical_4_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
355 vp9_lpf_vertical_16_dual_dspr2(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
H A Dvp9_mbloop_loopfilter_dspr2.c27 const uint8_t *thresh,
42 uthresh = *thresh;
326 const uint8_t *thresh,
341 uthresh = *thresh;
23 vp9_lpf_horizontal_8_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
322 vp9_lpf_vertical_8_dspr2(unsigned char *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
/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/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dloopfilter_filters.c43 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1) argument
46 hev |= (abs(p1 - p0) > thresh) * -1;
47 hev |= (abs(q1 - q0) > thresh) * -1;
104 const unsigned char *thresh,
121 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
136 const unsigned char *thresh,
152 hev = vp8_hevmask(thresh[0], s[-2], s[-1], s[0], s[1]);
222 const unsigned char *thresh,
240 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
257 const unsigned char *thresh,
98 vp8_loop_filter_horizontal_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned char *thresh, int count ) argument
130 vp8_loop_filter_vertical_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned char *thresh, int count ) argument
216 vp8_mbloop_filter_horizontal_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned char *thresh, int count ) argument
251 vp8_mbloop_filter_vertical_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned char *thresh, int count ) argument
[all...]
/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/libvpx/vp8/common/
H A Dloopfilter_filters.c43 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1) argument
46 hev |= (abs(p1 - p0) > thresh) * -1;
47 hev |= (abs(q1 - q0) > thresh) * -1;
104 const unsigned char *thresh,
121 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
136 const unsigned char *thresh,
152 hev = vp8_hevmask(thresh[0], s[-2], s[-1], s[0], s[1]);
222 const unsigned char *thresh,
240 hev = vp8_hevmask(thresh[0], s[-2*p], s[-1*p], s[0*p], s[1*p]);
257 const unsigned char *thresh,
98 vp8_loop_filter_horizontal_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned char *thresh, int count ) argument
130 vp8_loop_filter_vertical_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned char *thresh, int count ) argument
216 vp8_mbloop_filter_horizontal_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned char *thresh, int count ) argument
251 vp8_mbloop_filter_vertical_edge_c( unsigned char *s, int p, const unsigned char *blimit, const unsigned char *limit, const unsigned 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...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
H A Dvp9_loopfilter_filters.c37 static INLINE int8_t flat_mask4(uint8_t thresh, argument
43 mask |= (abs(p1 - p0) > thresh) * -1;
44 mask |= (abs(q1 - q0) > thresh) * -1;
45 mask |= (abs(p2 - p0) > thresh) * -1;
46 mask |= (abs(q2 - q0) > thresh) * -1;
47 mask |= (abs(p3 - p0) > thresh) * -1;
48 mask |= (abs(q3 - q0) > thresh) * -1;
52 static INLINE int8_t flat_mask5(uint8_t thresh, argument
58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3);
59 mask |= (abs(p4 - p0) > thresh) *
65 hev_mask(uint8_t thresh, uint8_t p1, uint8_t p0, uint8_t q0, uint8_t q1) argument
73 filter4(int8_t mask, uint8_t thresh, uint8_t *op1, uint8_t *op0, uint8_t *oq0, uint8_t *oq1) argument
105 vp9_lpf_horizontal_4_c(uint8_t *s, int p , const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
130 vp9_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
156 filter8(int8_t mask, uint8_t thresh, uint8_t flat, uint8_t *op3, uint8_t *op2, uint8_t *op1, uint8_t *op0, uint8_t *oq0, uint8_t *oq1, uint8_t *oq2, uint8_t *oq3) argument
177 vp9_lpf_horizontal_8_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
205 vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
231 filter16(int8_t mask, uint8_t thresh, uint8_t flat, uint8_t flat2, uint8_t *op7, uint8_t *op6, uint8_t *op5, uint8_t *op4, uint8_t *op3, uint8_t *op2, uint8_t *op1, uint8_t *op0, uint8_t *oq0, uint8_t *oq1, uint8_t *oq2, uint8_t *oq3, uint8_t *oq4, uint8_t *oq5, uint8_t *oq6, uint8_t *oq7) argument
282 vp9_lpf_horizontal_16_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
308 mb_lpf_vertical_edge_w(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
331 vp9_lpf_vertical_16_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
336 vp9_lpf_vertical_16_dual_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/
H A Dvp9_rd.h150 static INLINE int rd_less_than_thresh(int64_t best_rd, int thresh, argument
152 return best_rd < ((int64_t)thresh * thresh_fact >> 5) || thresh == INT_MAX;
/external/chromium_org/third_party/libwebp/dsp/
H A Ddec_mips32.c66 static WEBP_INLINE int hev(const uint8_t* p, int step, int thresh) { argument
68 return (abs_mips32(p1 - p0) > thresh) || (abs_mips32(q1 - q0) > thresh);
71 static WEBP_INLINE int needs_filter(const uint8_t* p, int step, int thresh) { argument
73 return ((2 * abs_mips32(p0 - q0) + (abs_mips32(p1 - q1) >> 1)) <= thresh);
91 int thresh, int ithresh, int hev_thresh) {
93 if (needs_filter2(p, hstride, thresh, ithresh)) {
106 int thresh, int ithresh, int hev_thresh) {
108 if (needs_filter2(p, hstride, thresh, ithresh)) {
121 int thresh, in
89 FilterLoop26(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument
104 FilterLoop24(uint8_t* p, int hstride, int vstride, int size, int thresh, int ithresh, int hev_thresh) argument
120 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
125 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
131 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
137 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
143 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
149 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
156 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
165 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
177 SimpleVFilter16(uint8_t* p, int stride, int thresh) argument
186 SimpleHFilter16(uint8_t* p, int stride, int thresh) argument
195 SimpleVFilter16i(uint8_t* p, int stride, int thresh) argument
203 SimpleHFilter16i(uint8_t* p, int stride, int thresh) argument
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dpitch.c458 opus_val16 thresh; local
494 thresh = MAX16(QCONST16(.3f,15), MULT16_16_Q15(QCONST16(.7f,15),g0)-cont);
498 thresh = MAX16(QCONST16(.4f,15), MULT16_16_Q15(QCONST16(.85f,15),g0)-cont);
500 thresh = MAX16(QCONST16(.5f,15), MULT16_16_Q15(QCONST16(.9f,15),g0)-cont);
501 if (g1 > thresh)
/external/chromium_org/third_party/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)
/external/kernel-headers/original/uapi/drm/
H A Dtegra_drm.h48 __u32 thresh; member in struct:drm_tegra_syncpt_wait
106 __u32 thresh; member in struct:drm_tegra_waitchk
/external/libopus/celt/
H A Dpitch.c458 opus_val16 thresh; local
494 thresh = MAX16(QCONST16(.3f,15), MULT16_16_Q15(QCONST16(.7f,15),g0)-cont);
498 thresh = MAX16(QCONST16(.4f,15), MULT16_16_Q15(QCONST16(.85f,15),g0)-cont);
500 thresh = MAX16(QCONST16(.5f,15), MULT16_16_Q15(QCONST16(.9f,15),g0)-cont);
501 if (g1 > thresh)
/external/libvpx/libvpx/vp9/common/
H A Dvp9_loopfilter_filters.c37 static INLINE int8_t flat_mask4(uint8_t thresh, argument
43 mask |= (abs(p1 - p0) > thresh) * -1;
44 mask |= (abs(q1 - q0) > thresh) * -1;
45 mask |= (abs(p2 - p0) > thresh) * -1;
46 mask |= (abs(q2 - q0) > thresh) * -1;
47 mask |= (abs(p3 - p0) > thresh) * -1;
48 mask |= (abs(q3 - q0) > thresh) * -1;
52 static INLINE int8_t flat_mask5(uint8_t thresh, argument
58 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3);
59 mask |= (abs(p4 - p0) > thresh) *
65 hev_mask(uint8_t thresh, uint8_t p1, uint8_t p0, uint8_t q0, uint8_t q1) argument
73 filter4(int8_t mask, uint8_t thresh, uint8_t *op1, uint8_t *op0, uint8_t *oq0, uint8_t *oq1) argument
105 vp9_lpf_horizontal_4_c(uint8_t *s, int p , const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
130 vp9_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
156 filter8(int8_t mask, uint8_t thresh, uint8_t flat, uint8_t *op3, uint8_t *op2, uint8_t *op1, uint8_t *op0, uint8_t *oq0, uint8_t *oq1, uint8_t *oq2, uint8_t *oq3) argument
177 vp9_lpf_horizontal_8_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
205 vp9_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
231 filter16(int8_t mask, uint8_t thresh, uint8_t flat, uint8_t flat2, uint8_t *op7, uint8_t *op6, uint8_t *op5, uint8_t *op4, uint8_t *op3, uint8_t *op2, uint8_t *op1, uint8_t *op0, uint8_t *oq0, uint8_t *oq1, uint8_t *oq2, uint8_t *oq3, uint8_t *oq4, uint8_t *oq5, uint8_t *oq6, uint8_t *oq7) argument
282 vp9_lpf_horizontal_16_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
308 mb_lpf_vertical_edge_w(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count) argument
331 vp9_lpf_vertical_16_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
336 vp9_lpf_vertical_16_dual_c(uint8_t *s, int p, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh) argument
[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)

Completed in 7042 milliseconds

123