Home
last modified time | relevance | path

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

/third_party/libinput/udev/
Dlibinput-device-group.c103 int best_dist = -1; in wacom_handle_ekr() local
136 if (dist > 0 && (dist < best_dist || best_dist < 0)) { in wacom_handle_ekr()
139 best_dist = dist; in wacom_handle_ekr()
/third_party/ffmpeg/libavcodec/
Delbg.c383 int best_dist, best_idx = 0; in avpriv_do_elbg() local
416best_dist = distance_limited(elbg->points + i*elbg->dim, elbg->codebook + best_idx*elbg->dim, dim,… in avpriv_do_elbg()
418 … dist = distance_limited(elbg->points + i*elbg->dim, elbg->codebook + k*elbg->dim, dim, best_dist); in avpriv_do_elbg()
419 if (dist < best_dist) { in avpriv_do_elbg()
420 best_dist = dist; in avpriv_do_elbg()
425 dist_cb[i] = best_dist; in avpriv_do_elbg()
Droqvideoenc.c436 int i, best_dist; in gather_data_for_subcel() local
480 best_dist = INT_MAX; in gather_data_for_subcel()
483 best_dist) { in gather_data_for_subcel()
486 best_dist = ROQ_LAMBDA_SCALE*subcel->eval_dist[i] + in gather_data_for_subcel()
500 int i, j, best_dist, divide_bit_use; in gather_data_for_cel() local
542 best_dist = INT_MAX; in gather_data_for_cel()
547 best_dist) { in gather_data_for_cel()
549 best_dist = ROQ_LAMBDA_SCALE*cel->eval_dist[i] + in gather_data_for_cel()
Dopusenc_psy.c401 float dist, best_dist = FLT_MAX; in celt_search_for_intensity() local
411 if (best_dist > dist) { in celt_search_for_intensity()
412 best_dist = dist; in celt_search_for_intensity()
/third_party/flutter/skia/third_party/externals/sdl/src/video/windows/
DSDL_windowsopengl.c206 unsigned int dist, best_dist = ~0U; in WIN_GL_ChoosePixelFormat() local
290 if (dist < best_dist) { in WIN_GL_ChoosePixelFormat()
292 best_dist = dist; in WIN_GL_ChoosePixelFormat()
/third_party/skia/third_party/externals/freetype/src/autofit/
Daflatin.c2517 FT_Pos best_dist; /* initial threshold */ in af_latin_hints_compute_blue_edges() local
2522 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges()
2525 if ( best_dist > 64 / 2 ) in af_latin_hints_compute_blue_edges()
2526 best_dist = 64 / 2; in af_latin_hints_compute_blue_edges()
2562 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges()
2564 best_dist = dist; in af_latin_hints_compute_blue_edges()
2588 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges()
2590 best_dist = dist; in af_latin_hints_compute_blue_edges()
Dafcjk.c1317 FT_Pos best_dist = best_dist0; in af_cjk_hints_compute_blue_edges() local
1360 if ( dist < best_dist ) in af_cjk_hints_compute_blue_edges()
1362 best_dist = dist; in af_cjk_hints_compute_blue_edges()
/third_party/freetype/src/autofit/
Daflatin.c2497 FT_Pos best_dist; /* initial threshold */ in af_latin_hints_compute_blue_edges() local
2502 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges()
2505 if ( best_dist > 64 / 2 ) in af_latin_hints_compute_blue_edges()
2506 best_dist = 64 / 2; in af_latin_hints_compute_blue_edges()
2542 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges()
2544 best_dist = dist; in af_latin_hints_compute_blue_edges()
2568 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges()
2570 best_dist = dist; in af_latin_hints_compute_blue_edges()
Daflatin2.c1436 FT_Pos best_dist = best_dist0; in af_latin2_hints_compute_blue_edges() local
1476 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges()
1478 best_dist = dist; in af_latin2_hints_compute_blue_edges()
1499 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges()
1501 best_dist = dist; in af_latin2_hints_compute_blue_edges()
Dafcjk.c1323 FT_Pos best_dist = best_dist0; in af_cjk_hints_compute_blue_edges() local
1366 if ( dist < best_dist ) in af_cjk_hints_compute_blue_edges()
1368 best_dist = dist; in af_cjk_hints_compute_blue_edges()
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Daflatin.c2498 FT_Pos best_dist; /* initial threshold */ in af_latin_hints_compute_blue_edges() local
2503 best_dist = FT_MulFix( metrics->units_per_em / 40, scale ); in af_latin_hints_compute_blue_edges()
2506 if ( best_dist > 64 / 2 ) in af_latin_hints_compute_blue_edges()
2507 best_dist = 64 / 2; in af_latin_hints_compute_blue_edges()
2543 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges()
2545 best_dist = dist; in af_latin_hints_compute_blue_edges()
2569 if ( dist < best_dist ) in af_latin_hints_compute_blue_edges()
2571 best_dist = dist; in af_latin_hints_compute_blue_edges()
Daflatin2.c1436 FT_Pos best_dist = best_dist0; in af_latin2_hints_compute_blue_edges() local
1476 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges()
1478 best_dist = dist; in af_latin2_hints_compute_blue_edges()
1499 if ( dist < best_dist ) in af_latin2_hints_compute_blue_edges()
1501 best_dist = dist; in af_latin2_hints_compute_blue_edges()
Dafcjk.c1324 FT_Pos best_dist = best_dist0; in af_cjk_hints_compute_blue_edges() local
1367 if ( dist < best_dist ) in af_cjk_hints_compute_blue_edges()
1369 best_dist = dist; in af_cjk_hints_compute_blue_edges()
/third_party/ffmpeg/libavfilter/
Dvf_paletteuse.c255 int pos = 0, best_node_id = -1, best_dist = INT_MAX, cur_color_id = 0; in colormap_nearest_iterative() local
267 if (current_to_target < best_dist) { in colormap_nearest_iterative()
271 best_dist = current_to_target; in colormap_nearest_iterative()
298 } else if (dx*dx < best_dist) { in colormap_nearest_iterative()
314 } while (node->dx2 >= best_dist); in colormap_nearest_iterative()
/third_party/freetype/
DChangeLog.216373 Increase threshold for `best_dist'.
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.216373 Increase threshold for `best_dist'.