Home
last modified time | relevance | path

Searched refs:min_dist (Results 1 – 16 of 16) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dg723_1.c1275 int min_dist, pred; in ff_g723_1_inverse_quant() local
1280 min_dist = 0x100; in ff_g723_1_inverse_quant()
1283 min_dist = 0x200; in ff_g723_1_inverse_quant()
1312 temp = min_dist + cur_lsp[j - 1] - cur_lsp[j]; in ff_g723_1_inverse_quant()
1321 temp = cur_lsp[j - 1] + min_dist - cur_lsp[j] - 4; in ff_g723_1_inverse_quant()
Dtwinvq.c250 static void rearrange_lsp(int order, float *lsp, float min_dist) in rearrange_lsp() argument
253 float min_dist2 = min_dist * 0.5; in rearrange_lsp()
255 if (lsp[i] - lsp[i - 1] < min_dist) { in rearrange_lsp()
/third_party/libunwind/src/
Delfxx.c91 char *buf, size_t buf_len, Elf_W (Addr) *min_dist) in elf_w()
140 if ((Elf_W (Addr)) (ip - val) < *min_dist) in elf_w()
142 *min_dist = (Elf_W (Addr)) (ip - val); in elf_w()
357 Elf_W (Addr) min_dist = ~(Elf_W (Addr))0; in elf_w()
361 ret = elf_w (lookup_symbol) (as, ip, ei, load_offset, buf, buf_len, &min_dist); in elf_w()
369 buf_len, &min_dist); in elf_w()
380 if (min_dist >= ei->size) in elf_w()
383 *offp = min_dist; in elf_w()
/third_party/skia/third_party/externals/brotli/research/
Ddraw_histogram.cc82 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()
/third_party/skia/third_party/externals/freetype/src/sdf/
Dftsdf.c2941 SDF_Signed_Distance min_dist = max_sdf; in sdf_contour_get_min_distance() local
2966 diff = current_dist.distance - min_dist.distance; in sdf_contour_get_min_distance()
2970 min_dist = resolve_corner( min_dist, current_dist ); in sdf_contour_get_min_distance()
2972 min_dist = current_dist; in sdf_contour_get_min_distance()
2980 *out = min_dist; in sdf_contour_get_min_distance()
3079 SDF_Signed_Distance min_dist = max_sdf; in sdf_generate() local
3106 if ( current_dist.distance < min_dist.distance ) in sdf_generate()
3107 min_dist = current_dist; in sdf_generate()
3116 if ( min_dist.distance > sp_sq ) in sdf_generate()
3117 min_dist.distance = sp_sq; in sdf_generate()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djquant2.c640 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()
/third_party/libjpeg-turbo/
Djquant2.c640 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()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djquant2.c640 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()
/third_party/flutter/skia/third_party/externals/libwebp/src/utils/
Dquant_levels_dec_utils.c160 static void InitCorrectionLUT(int16_t* const lut, int min_dist) { in InitCorrectionLUT() argument
167 const int threshold1 = min_dist << LFIX; in InitCorrectionLUT()
/third_party/skia/third_party/externals/libwebp/src/utils/
Dquant_levels_dec_utils.c160 static void InitCorrectionLUT(int16_t* const lut, int min_dist) { in InitCorrectionLUT() argument
167 const int threshold1 = min_dist << LFIX; in InitCorrectionLUT()
/third_party/mesa3d/src/imgui/
Dimstb_truetype.h4473 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 …]
/third_party/skia/third_party/externals/imgui/
Dimstb_truetype.h4473 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 …]
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_truetype.h4424 float min_dist = 999999.0f; in stbtt_GetGlyphSDF() local
4437 if (dist2 < min_dist*min_dist) in stbtt_GetGlyphSDF()
4438 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF()
4448 if (dist < min_dist) { in stbtt_GetGlyphSDF()
4458 min_dist = dist; in stbtt_GetGlyphSDF()
4468 …if (sx > box_x0-min_dist && sx < box_x1+min_dist && sy > box_y0-min_dist && sy < box_y1+min_dist) { in stbtt_GetGlyphSDF()
4505 if (dist2 < min_dist * min_dist) in stbtt_GetGlyphSDF()
4506 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF()
4513 if (dist2 < min_dist * min_dist) in stbtt_GetGlyphSDF()
4514 min_dist = (float) STBTT_sqrt(dist2); in stbtt_GetGlyphSDF()
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_scoreboard.cpp835 unsigned min_dist = ~0u; in ordered_dependency_swsb() local
846 min_dist = MIN3(min_dist, dist, 7); in ordered_dependency_swsb()
852 return { p ? min_dist : 0, p }; in ordered_dependency_swsb()
/third_party/ffmpeg/libavfilter/
Dvf_paletteuse.c182 int i, pal_id = -1, min_dist = INT_MAX; in colormap_nearest_bruteforce() local
195 if (d < min_dist) { in colormap_nearest_bruteforce()
197 min_dist = d; in colormap_nearest_bruteforce()
/third_party/chromium/patch/
D0001-cve.patch22150 diff = current_dist.distance - min_dist.distance;
22155 min_dist = resolve_corner( min_dist, current_dist );
22157 min_dist = current_dist;
22159 if ( min_dist.distance > sp_sq )
22160 min_dist.distance = sp_sq;
22165 min_dist.distance = square_root( min_dist.distance );