Home
last modified time | relevance | path

Searched refs:best_y (Results 1 – 11 of 11) sorted by relevance

/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
376 if (y < best_y) { in stbrp__skyline_find_best_pos()
377 best_y = y; in stbrp__skyline_find_best_pos()
384 if (y < best_y || (y == best_y && waste < best_waste)) { in stbrp__skyline_find_best_pos()
385 best_y = y; in stbrp__skyline_find_best_pos()
433 if (y <= best_y) { 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()
436 STBRP_ASSERT(y <= best_y); in stbrp__skyline_find_best_pos()
437 best_y = y; in stbrp__skyline_find_best_pos()
449 fr.y = best_y; 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
367 if (y < best_y) { in stbrp__skyline_find_best_pos()
368 best_y = y; in stbrp__skyline_find_best_pos()
375 if (y < best_y || (y == best_y && waste < best_waste)) { in stbrp__skyline_find_best_pos()
376 best_y = y; in stbrp__skyline_find_best_pos()
424 if (y <= best_y) { 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()
427 STBRP_ASSERT(y <= best_y); in stbrp__skyline_find_best_pos()
428 best_y = y; in stbrp__skyline_find_best_pos()
440 fr.y = best_y; in stbrp__skyline_find_best_pos()
/third_party/ffmpeg/libavfilter/
Dvf_find_rect.c146 …s, int maxpass, int xmin, int xmax, int ymin, int ymax, int *best_x, int *best_y, float best_score) in search() argument
165 *best_y = y; in search()
177 int best_x, best_y; in filter_frame() local
191 &best_x, &best_y, 2.0); in filter_frame()
194 &best_x, &best_y, best_score); in filter_frame()
211 best_x, best_y, best_score); in filter_frame()
213 foc->last_y = best_y; in filter_frame()
220 av_dict_set_int(&in->metadata, "lavfi.rect.y", best_y, 0); in filter_frame()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_csp_enc.c352 static void InterpolateTwoRows(const fixed_y_t* const best_y, in InterpolateTwoRows() argument
364 out1[0] = Filter2(cur_uv[0], prev_uv[0], best_y[0]); in InterpolateTwoRows()
365 out2[0] = Filter2(cur_uv[0], next_uv[0], best_y[w]); in InterpolateTwoRows()
367 WebPSharpYUVFilterRow(cur_uv, prev_uv, len, best_y + 0 + 1, out1 + 1); in InterpolateTwoRows()
368 WebPSharpYUVFilterRow(cur_uv, next_uv, len, best_y + w + 1, out2 + 1); in InterpolateTwoRows()
373 best_y[w - 1 + 0]); in InterpolateTwoRows()
375 best_y[w - 1 + w]); in InterpolateTwoRows()
400 static int ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, in ConvertWRGBToYUV() argument
414 const int W = best_y[i]; in ConvertWRGBToYUV()
420 best_y += w; in ConvertWRGBToYUV()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dyuv.c226 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_C() argument
231 out[2 * i + 0] = clip_y(best_y[2 * i + 0] + v0); in SharpYUVFilterRow_C()
232 out[2 * i + 1] = clip_y(best_y[2 * i + 1] + v1); in SharpYUVFilterRow_C()
255 const uint16_t* best_y, uint16_t* out);
Dyuv_neon.c231 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_NEON() argument
252 const int16x8_t g0 = vreinterpretq_s16_u16(vld1q_u16(best_y + 2 * i + 0)); in SharpYUVFilterRow_NEON()
253 const int16x8_t g1 = vreinterpretq_s16_u16(vld1q_u16(best_y + 2 * i + 8)); in SharpYUVFilterRow_NEON()
267 out[2 * i + 0] = clip_y_NEON(best_y[2 * i + 0] + v0); in SharpYUVFilterRow_NEON()
268 out[2 * i + 1] = clip_y_NEON(best_y[2 * i + 1] + v1); in SharpYUVFilterRow_NEON()
Dyuv_sse2.c809 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_SSE2() argument
833 const __m128i g0 = _mm_loadu_si128((const __m128i*)(best_y + 2 * i + 0)); in SharpYUVFilterRow_SSE2()
834 const __m128i g1 = _mm_loadu_si128((const __m128i*)(best_y + 2 * i + 8)); in SharpYUVFilterRow_SSE2()
851 out[2 * i + 0] = clip_y(best_y[2 * i + 0] + v0); in SharpYUVFilterRow_SSE2()
852 out[2 * i + 1] = clip_y(best_y[2 * i + 1] + v1); in SharpYUVFilterRow_SSE2()
Ddsp.h555 const uint16_t* best_y, uint16_t* out);
/third_party/skia/third_party/externals/freetype/src/autofit/
Daflatin.c465 FT_Pos best_y; in af_latin_metrics_init_blues() local
499 best_y = 0; /* make compiler happy */ in af_latin_metrics_init_blues()
529 if ( best_point < 0 || points[pp].y > best_y ) in af_latin_metrics_init_blues()
532 best_y = points[pp].y; in af_latin_metrics_init_blues()
533 ascender = FT_MAX( ascender, best_y + y_offset ); in af_latin_metrics_init_blues()
543 if ( best_point < 0 || points[pp].y < best_y ) in af_latin_metrics_init_blues()
546 best_y = points[pp].y; in af_latin_metrics_init_blues()
547 descender = FT_MIN( descender, best_y + y_offset ); in af_latin_metrics_init_blues()
601 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues()
626 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues()
[all …]
/third_party/skia/third_party/externals/freetype/docs/oldlogs/
DChangeLog.252548 `y_offset' to adjust `best_y'.
DChangeLog.231309 The type of `best_y' is matched to FT_Vector.y.