Searched refs:min_dist (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/modules/audio_processing/agc2/rnn_vad/ |
D | spectral_features.cc | 198 float min_dist = std::numeric_limits<float>::max(); in ComputeVariability() local 202 min_dist = in ComputeVariability() 203 std::min(min_dist, cepstral_diffs_buf_.GetValue(delay1, delay2)); in ComputeVariability() 205 variability += min_dist; in ComputeVariability()
|
/external/libaom/libaom/av1/encoder/ |
D | k_means_template.h | 38 int min_dist = RENAME(calc_dist)(data + i * AV1_K_MEANS_DIM, centroids); in RENAME() local 43 if (this_dist < min_dist) { in RENAME() 44 min_dist = this_dist; in RENAME()
|
/external/brotli/research/ |
D | draw_histogram.cc | 82 double min_dist = min_distance > 0 ? DistanceTransform(min_distance) : 0; in BuildHistogram() local 83 double max_dist = DistanceTransform(GetMaxDistance()) - min_dist; in BuildHistogram() 95 dist = DistanceTransform(static_cast<double>(distance)) - min_dist; in BuildHistogram()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/ |
D | PolynomialFunctionLagrangeForm.java | 170 double min_dist = Double.POSITIVE_INFINITY; in evaluate() local 177 if (dist < min_dist) { in evaluate() 179 min_dist = dist; in evaluate()
|
/external/libjpeg-turbo/ |
D | jquant2.c | 640 JLONG minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local 671 min_dist = tdist * tdist; in find_nearby_colors() 676 min_dist = tdist * tdist; in find_nearby_colors() 681 min_dist = 0; in find_nearby_colors() 694 min_dist += tdist * tdist; in find_nearby_colors() 699 min_dist += tdist * tdist; in find_nearby_colors() 716 min_dist += tdist * tdist; in find_nearby_colors() 721 min_dist += tdist * tdist; in find_nearby_colors() 735 mindist[i] = min_dist; /* save away the results */ in find_nearby_colors()
|
/external/aac/libAACdec/src/ |
D | usacdec_lpc.cpp | 642 static void reorder_lsf(FIXP_LPC *lsf, FIXP_LPC min_dist, int n) { in reorder_lsf() argument 646 lsf_min = min_dist; in reorder_lsf() 651 lsf_min = fAddSaturate(lsf[i], min_dist); in reorder_lsf() 655 lsf_min = FL2FXCONST_LPC(FREQ_MAX / (1 << LSF_SCALE)) - min_dist; in reorder_lsf() 661 lsf_min = lsf[i] - min_dist; in reorder_lsf()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_fs_scoreboard.cpp | 703 unsigned min_dist = ~0u; in ordered_dependency_swsb() local 711 min_dist = MIN3(min_dist, dist, 7); in ordered_dependency_swsb() 715 return { min_dist == ~0u ? 0 : min_dist }; in ordered_dependency_swsb()
|
/external/libxaac/decoder/ |
D | ixheaacd_lpc.c | 308 void ixheaacd_reorder_lsf(float *lsf, float min_dist, int n) { in ixheaacd_reorder_lsf() argument 312 lsf_min = min_dist; in ixheaacd_reorder_lsf() 316 lsf_min = lsf[i] + min_dist; in ixheaacd_reorder_lsf() 319 lsf_min = FREQ_MAX_F - min_dist; in ixheaacd_reorder_lsf() 323 lsf_min = lsf[i] - min_dist; in ixheaacd_reorder_lsf()
|
/external/webp/src/utils/ |
D | quant_levels_dec_utils.c | 160 static void InitCorrectionLUT(int16_t* const lut, int min_dist) { in InitCorrectionLUT() argument 167 const int threshold1 = min_dist << LFIX; in InitCorrectionLUT()
|
/external/mesa3d/src/imgui/ |
D | imstb_truetype.h | 4473 float min_dist = 999999.0f; in stbtt_GetGlyphSDF() local 4486 if (dist2 < min_dist*min_dist) in stbtt_GetGlyphSDF() 4487 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF() 4497 if (dist < min_dist) { in stbtt_GetGlyphSDF() 4507 min_dist = dist; in stbtt_GetGlyphSDF() 4517 …if (sx > box_x0-min_dist && sx < box_x1+min_dist && sy > box_y0-min_dist && sy < box_y1+min_dist) { in stbtt_GetGlyphSDF() 4554 if (dist2 < min_dist * min_dist) in stbtt_GetGlyphSDF() 4555 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF() 4562 if (dist2 < min_dist * min_dist) in stbtt_GetGlyphSDF() 4563 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF() [all …]
|