Home
last modified time | relevance | path

Searched refs:best_y (Results 1 - 10 of 10) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Dvf_find_rect.c146 static float search(FOCContext *foc, int pass, 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/mesa3d/src/imgui/
H A 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 in stbrp__skyline_find_best_pos()
[all...]
/third_party/skia/third_party/externals/imgui/
H A 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 in stbrp__skyline_find_best_pos()
[all...]
/third_party/skia/third_party/externals/libwebp/src/enc/
H A 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 in ConvertWRGBToYUV()
467 fixed_y_t* best_y = best_y_base; PreprocessARGB() local
[all...]
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A Dyuv.c226 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_C()
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);
225 SharpYUVFilterRow_C(const int16_t* A, const int16_t* B, int len, const uint16_t* best_y, uint16_t* out) SharpYUVFilterRow_C() argument
H A Dyuv_neon.c231 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_NEON()
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()
230 SharpYUVFilterRow_NEON(const int16_t* A, const int16_t* B, int len, const uint16_t* best_y, uint16_t* out) SharpYUVFilterRow_NEON() argument
H A Dyuv_sse2.c809 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_SSE2()
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()
808 SharpYUVFilterRow_SSE2(const int16_t* A, const int16_t* B, int len, const uint16_t* best_y, uint16_t* out) SharpYUVFilterRow_SSE2() argument
H A Ddsp.h555 const uint16_t* best_y, uint16_t* out);
/third_party/skia/third_party/externals/freetype/src/autofit/
H A 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/glfw/deps/
H A Dnuklear.h10700 int best_waste = (1<<30), best_x, best_y = (1 << 30); in nk_rp__skyline_find_best_pos() local
10717 if (y < best_y) { in nk_rp__skyline_find_best_pos()
10718 best_y = y; in nk_rp__skyline_find_best_pos()
10725 if (y < best_y || (y == best_y && waste < best_waste)) { in nk_rp__skyline_find_best_pos()
10726 best_y = y; in nk_rp__skyline_find_best_pos()
10774 if (y <= best_y) { in nk_rp__skyline_find_best_pos()
10775 if (y < best_y || waste < best_waste || (waste==best_waste && xpos < best_x)) { in nk_rp__skyline_find_best_pos()
10777 NK_ASSERT(y <= best_y); in nk_rp__skyline_find_best_pos()
10778 best_y in nk_rp__skyline_find_best_pos()
[all...]

Completed in 40 milliseconds