Home
last modified time | relevance | path

Searched refs:best_x (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavfilter/
Dvf_find_rect.c155 …foc, int pass, int maxpass, int xmin, int xmax, int ymin, int ymax, int *best_x, int *best_y, floa… in search() argument
173 *best_x = x; in search()
186 int best_x, best_y; in filter_frame() local
199 &best_x, &best_y, 2.0); in filter_frame()
202 &best_x, &best_y, best_score); in filter_frame()
212 av_log(ctx, AV_LOG_DEBUG, "Found at %d %d score %f\n", best_x, best_y, best_score); in filter_frame()
213 foc->last_x = best_x; in filter_frame()
220 av_dict_set_int(&in->metadata, "lavfi.rect.x", best_x, 0); in filter_frame()
/third_party/skia/third_party/externals/imgui/
Dimstb_rectpack.h353 int best_waste = (1<<30), best_x, best_y = (1 << 30); in stbrp__skyline_find_best_pos() local
395 best_x = (best == NULL) ? 0 : (*best)->x; in stbrp__skyline_find_best_pos()
434 if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { in stbrp__skyline_find_best_pos()
435 best_x = xpos; in stbrp__skyline_find_best_pos()
448 fr.x = best_x; in stbrp__skyline_find_best_pos()
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_rectpack.h343 int best_waste = (1<<30), best_x, best_y = (1 << 30); in stbrp__skyline_find_best_pos() local
378 best_x = (best == NULL) ? 0 : (*best)->x; in stbrp__skyline_find_best_pos()
417 if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { in stbrp__skyline_find_best_pos()
418 best_x = xpos; in stbrp__skyline_find_best_pos()
431 fr.x = best_x; in stbrp__skyline_find_best_pos()
/third_party/mesa3d/src/imgui/
Dimstb_rectpack.h351 int best_waste = (1<<30), best_x, best_y = (1 << 30); in stbrp__skyline_find_best_pos() local
386 best_x = (best == NULL) ? 0 : (*best)->x; in stbrp__skyline_find_best_pos()
425 if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { in stbrp__skyline_find_best_pos()
426 best_x = xpos; in stbrp__skyline_find_best_pos()
439 fr.x = best_x; in stbrp__skyline_find_best_pos()
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/
Daflatin.c573 FT_Pos best_x = points[best_point].x; in af_latin_metrics_init_blues() local
611 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
634 if ( FT_ABS( points[next].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
702 if ( points[prev].x != best_x ) in af_latin_metrics_init_blues()
Daflatin2.c304 FT_Pos best_x = points[best_point].x; in af_latin2_metrics_init_blues() local
323 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin2_metrics_init_blues()
338 if ( FT_ABS( points[next].x - best_x ) <= 20 * dist ) in af_latin2_metrics_init_blues()
/third_party/skia/third_party/externals/freetype/src/autofit/
Daflatin.c567 FT_Pos best_x = points[best_point].x; in af_latin_metrics_init_blues() local
605 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
628 if ( FT_ABS( points[next].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
696 if ( points[prev].x != best_x ) in af_latin_metrics_init_blues()
/third_party/freetype/src/autofit/
Daflatin.c572 FT_Pos best_x = points[best_point].x; in af_latin_metrics_init_blues() local
610 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
633 if ( FT_ABS( points[next].x - best_x ) <= 20 * dist ) in af_latin_metrics_init_blues()
701 if ( points[prev].x != best_x ) in af_latin_metrics_init_blues()
Daflatin2.c304 FT_Pos best_x = points[best_point].x; in af_latin2_metrics_init_blues() local
323 if ( FT_ABS( points[prev].x - best_x ) <= 20 * dist ) in af_latin2_metrics_init_blues()
338 if ( FT_ABS( points[next].x - best_x ) <= 20 * dist ) in af_latin2_metrics_init_blues()