/external/opencv3/modules/imgproc/src/ |
thresh.cpp | 50 thresh_8u( const Mat& _src, Mat& _dst, uchar thresh, uchar maxval, int type ) 67 if (tegra::useTegra() && tegra::thresh_8u(_src, _dst, roi.width, roi.height, thresh, maxval, type)) 80 if (_src.data == _dst.data && ippiThreshold_GT_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh) >= 0) 86 if (ippiThreshold_GT_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh) >= 0) 95 if (_src.data == _dst.data && ippiThreshold_LTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh+1, 0) >= 0) 101 if (ippiThreshold_LTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh+1, 0) >= 0) 110 if (_src.data == _dst.data && ippiThreshold_GTVal_8u_C1IR(_dst.ptr(), (int)dst_step, sz, thresh, 0) >= 0) 116 if (ippiThreshold_GTVal_8u_C1R(_src.ptr(), (int)src_step, _dst.ptr(), (int)dst_step, sz, thresh, 0) >= 0) 131 for( i = 0; i <= thresh; i++ ) 137 for( i = 0; i <= thresh; i++ 924 Ipp8u thresh; local 1068 double thresh = left_bound; local 1132 double thresh; member in class:cv::ThresholdRunner [all...] |
/external/pdfium/third_party/libopenjpeg20/ |
t1.c | 1320 OPJ_INT32 thresh = 1 << tccp->roishift; local [all...] |
tcd.c | 220 OPJ_FLOAT64 thresh, 271 if (thresh - (dd / dr) < DBL_EPSILON) /* do not rely on float equality, check with DBL_EPSILON margin */ 479 tile_info->thresh = (OPJ_FLOAT64 *) opj_malloc(tcd_tcp->numlayers * sizeof(OPJ_FLOAT64)); 480 if (!tile_info->thresh) { 505 OPJ_FLOAT64 thresh = 0; local 514 thresh = (lo + hi) / 2; 516 opj_tcd_makelayer(tcd, layno, thresh, 0); 522 lo = thresh; 530 hi=thresh; 531 stable_thresh = thresh; [all...] |
/external/speex/libspeex/ |
nb_celp.c | 462 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; [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
sf_estim.c | 146 Word32 thresh, 155 Word32 thresh125 = L_add(thresh, (thresh >> 2)); 203 Word32 thresh08 = fixmul(COEF08_31, thresh); 706 Word32 thresh, energy; local 718 thresh = psyOutChan->sfbThreshold[i]; 732 /* scfs without energy or with thresh>energy are marked with MIN_16 */ 736 if ((maxSpec > 0) && (energy > thresh)) { 739 thresholdPart = iLog4(thresh); 753 thresh, scfInt, minSfMaxQuant[i] [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/ |
loopfilter_filters_dspr2.c | 55 uint32_t thresh, 81 * hev |= (abs(p1 - p0) > thresh) 86 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t" 92 * hev |= (abs(q1 - q0) > thresh) 97 "cmpgu.lt.qb %[c], %[thresh], %[r_k] \n\t" 121 [q2] "r" (q2), [q3] "r" (q3), [thresh] "r" (thresh) 349 unsigned int thresh, 401 thresh, &hev, &mask); 446 thresh, &hev, &mask) 2492 unsigned char thresh, flimit, limit, flimit_temp; local 2528 unsigned char thresh, flimit, limit, flimit_temp; local 2560 unsigned char thresh, flimit, limit, flimit_temp; local 2594 unsigned char thresh, flimit, limit, flimit_temp; local [all...] |
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/ |
btConeTwistConstraint.cpp | 552 btScalar thresh = btScalar(10.); local 562 fact = (swy*swy + swx*swx) * thresh * thresh; 573 fact = (swy*swy + swx*swx) * thresh * thresh; [all...] |
/external/libopus/celt/ |
bands.c | 266 opus_val16 thresh, sqrt_1; local 279 thresh = MULT16_32_Q15(QCONST16(0.5f, 15), MIN32(32767,thresh32)); 288 thresh = .5f*celt_exp2(-.125f*depth); 320 r = SHR16(MIN16(thresh, r),1); 328 r = MIN16(thresh, r); [all...] |
/external/libvpx/libvpx/vpx_dsp/x86/ |
highbd_loopfilter_sse2.c | 62 __m128i blimit, limit, thresh; local 81 thresh = _mm_unpacklo_epi8(_mm_load_si128((const __m128i *)_thresh), zero); 87 thresh = _mm_slli_epi16( 94 thresh = _mm_slli_epi16( 120 hev = _mm_subs_epu16(flat, thresh); 534 __m128i blimit, limit, thresh; local 564 thresh = _mm_unpacklo_epi8(_mm_load_si128((const __m128i *)_thresh), zero); 571 thresh = _mm_slli_epi16( 579 thresh = _mm_slli_epi16( 600 hev = _mm_subs_epu16(flat, thresh); 778 __m128i blimit, limit, thresh; local [all...] |
loopfilter_avx2.c | 25 const __m128i thresh = _mm_broadcastb_epi8( local 62 hev = _mm_subs_epu8(flat, thresh); 416 const __m128i thresh = _mm_broadcastb_epi8( local 468 hev = _mm_subs_epu8(flat, thresh); [all...] |
loopfilter_sse2.c | 30 const __m128i thresh = _mm_load_si128((const __m128i *)_thresh); local 62 hev = _mm_subs_epu8(flat, thresh); 395 const __m128i thresh = _mm_load_si128((const __m128i *)_thresh); local 490 hev = _mm_subs_epu8(max_abs_p1p0q1q0, thresh); 743 const __m128i thresh = _mm_load_si128((const __m128i *)_thresh); local 966 const __m128i thresh = local 1206 const __m128i thresh = local [all...] |
/external/opencv/cv/src/ |
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[i][1] = ranges[i][1] 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...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
BatteryMeterDrawable.java | 279 int thresh, color = 0; local 281 thresh = mColors[i]; 283 if (percent <= thresh) {
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/ |
vp9_loopfilter_intrin_avx2.c | 22 const __m128i thresh = _mm_broadcastb_epi8( local 59 hev = _mm_subs_epu8(flat, thresh); 405 const __m128i thresh = _mm_broadcastb_epi8( local 436 hev = _mm_subs_epu8(flat, thresh); [all...] |
vp9_loopfilter_intrin_sse2.c | 24 const __m128i thresh = _mm_load_si128((const __m128i *)_thresh); local 59 hev = _mm_subs_epu8(flat, thresh); 385 const __m128i thresh = _mm_load_si128((const __m128i *)_thresh); local 428 hev = _mm_subs_epu8(flat, thresh); 872 const __m128i thresh = _mm_load_si128((const __m128i *)_thresh); local 1102 const __m128i thresh = local 1342 const __m128i thresh = local [all...] |
/external/ImageMagick/MagickCore/ |
accelerate.c | 5098 thresh; local [all...] |
/external/libvpx/libvpx/vpx_dsp/mips/ |
loopfilter_16_msa.c | 21 v16u8 flat, mask, hev, thresh, b_limit, limit; local 31 thresh = (v16u8)__msa_fill_b(*thresh_ptr); 36 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, 434 v16u8 flat2, mask, hev, flat, thresh, b_limit, limit; local 448 thresh = (v16u8)__msa_fill_b(*thresh_ptr); 452 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, 754 v16u8 flat, mask, hev, thresh, b_limit, limit; local 763 thresh = (v16u8)__msa_fill_b(*thresh_ptr); 768 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh, 1066 v16u8 flat, mask, hev, thresh, b_limit, limit; local [all...] |
/external/opencv3/3rdparty/libjasper/ |
jpc_dec.c | 1800 int thresh; local [all...] |
jpc_enc.c | 1636 jpc_flt_t thresh; local [all...] |
/external/opencv3/3rdparty/libwebp/enc/ |
quant.c | 505 const int thresh = mtx->q_[1] * mtx->q_[1] / 4; local 514 if (err > thresh) last = n; [all...] |
/external/opencv3/modules/imgproc/test/ |
test_color.cpp | 1073 static const float thresh = 7.787f * 0.008856f + 16.0f \/ 116.0f; local [all...] |
/external/opencv3/modules/objdetect/test/ |
test_cascadeandhog.cpp | 954 float scale = 1.f\/(std::sqrt(sum)+sz*0.1f), thresh = (float)descriptor->L2HysThreshold; local [all...] |
/external/webp/src/enc/ |
quant.c | 589 const int thresh = mtx->q_[1] * mtx->q_[1] / 4; local 597 if (err > thresh) { 883 static score_t IsFlat(const int16_t* levels, int num_blocks, score_t thresh) { 889 if (score > thresh) return 0; [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
onyx_if.c | 947 int thresh; local 965 /* i starts from 2 to make sure thresh started from 2048 */ [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
onyx_if.c | 604 // filter below some qp thresh. The filter is reduced for all 973 int thresh; local [all...] |