Home
last modified time | relevance | path

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

/external/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()
/external/libaom/libaom/av1/encoder/
Dcorner_match.c92 int x, y, best_x = 0, best_y = 0; in improve_correspondence() local
109 best_y = y; in improve_correspondence()
115 correspondences[i].ry += best_y; in improve_correspondence()
118 int x, y, best_x = 0, best_y = 0; in improve_correspondence() local
135 best_y = y; in improve_correspondence()
140 correspondences[i].y += best_y; in improve_correspondence()
/external/webp/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 …]
/external/webp/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.h524 const uint16_t* best_y, uint16_t* out);
/external/freetype/src/autofit/
Daflatin.c470 FT_Pos best_y; in af_latin_metrics_init_blues() local
504 best_y = 0; /* make compiler happy */ in af_latin_metrics_init_blues()
534 if ( best_point < 0 || points[pp].y > best_y ) in af_latin_metrics_init_blues()
537 best_y = points[pp].y; in af_latin_metrics_init_blues()
538 ascender = FT_MAX( ascender, best_y + y_offset ); in af_latin_metrics_init_blues()
548 if ( best_point < 0 || points[pp].y < best_y ) in af_latin_metrics_init_blues()
551 best_y = points[pp].y; in af_latin_metrics_init_blues()
552 descender = FT_MIN( descender, best_y + y_offset ); in af_latin_metrics_init_blues()
606 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues()
631 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues()
[all …]
Daflatin2.c230 FT_Int best_point, best_y, best_first, best_last; in af_latin2_metrics_init_blues() local
247 best_y = 0; /* make compiler happy */ in af_latin2_metrics_init_blues()
274 if ( best_point < 0 || points[pp].y > best_y ) in af_latin2_metrics_init_blues()
277 best_y = points[pp].y; in af_latin2_metrics_init_blues()
283 if ( best_point < 0 || points[pp].y < best_y ) in af_latin2_metrics_init_blues()
286 best_y = points[pp].y; in af_latin2_metrics_init_blues()
296 FT_TRACE5(( " %c %d", *p, best_y )); in af_latin2_metrics_init_blues()
319 dist = FT_ABS( points[prev].y - best_y ); in af_latin2_metrics_init_blues()
336 dist = FT_ABS( points[next].y - best_y ); in af_latin2_metrics_init_blues()
354 rounds[num_rounds++] = best_y; in af_latin2_metrics_init_blues()
[all …]
/external/freetype/
DChangeLog.252548 `y_offset' to adjust `best_y'.
DChangeLog.231309 The type of `best_y' is matched to FT_Vector.y.