Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_csp_enc.c341 static void InterpolateTwoRows(const fixed_y_t* const best_y, in InterpolateTwoRows() argument
353 out1[0] = Filter2(cur_uv[0], prev_uv[0], best_y[0]); in InterpolateTwoRows()
354 out2[0] = Filter2(cur_uv[0], next_uv[0], best_y[w]); in InterpolateTwoRows()
356 WebPSharpYUVFilterRow(cur_uv, prev_uv, len, best_y + 0 + 1, out1 + 1); in InterpolateTwoRows()
357 WebPSharpYUVFilterRow(cur_uv, next_uv, len, best_y + w + 1, out2 + 1); in InterpolateTwoRows()
362 best_y[w - 1 + 0]); in InterpolateTwoRows()
364 best_y[w - 1 + w]); in InterpolateTwoRows()
389 static int ConvertWRGBToYUV(const fixed_y_t* best_y, const fixed_t* best_uv, in ConvertWRGBToYUV() argument
403 const int W = best_y[i]; in ConvertWRGBToYUV()
409 best_y += w; in ConvertWRGBToYUV()
[all …]
/external/webp/src/dsp/
Dyuv.c277 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_C() argument
282 out[2 * i + 0] = clip_y(best_y[2 * i + 0] + v0); in SharpYUVFilterRow_C()
283 out[2 * i + 1] = clip_y(best_y[2 * i + 1] + v1); in SharpYUVFilterRow_C()
305 const uint16_t* best_y, uint16_t* out);
Dyuv_sse2.c798 const uint16_t* best_y, uint16_t* out) { in SharpYUVFilterRow_SSE2() argument
822 const __m128i g0 = _mm_loadu_si128((const __m128i*)(best_y + 2 * i + 0)); in SharpYUVFilterRow_SSE2()
823 const __m128i g1 = _mm_loadu_si128((const __m128i*)(best_y + 2 * i + 8)); in SharpYUVFilterRow_SSE2()
840 out[2 * i + 0] = clip_y(best_y[2 * i + 0] + v0); in SharpYUVFilterRow_SSE2()
841 out[2 * i + 1] = clip_y(best_y[2 * i + 1] + v1); in SharpYUVFilterRow_SSE2()
Ddsp.h438 const uint16_t* best_y, uint16_t* out);
/external/freetype/src/autofit/
Daflatin.c453 FT_Pos best_y; in af_latin_metrics_init_blues() local
487 best_y = 0; /* make compiler happy */ in af_latin_metrics_init_blues()
517 if ( best_point < 0 || points[pp].y > best_y ) in af_latin_metrics_init_blues()
520 best_y = points[pp].y; in af_latin_metrics_init_blues()
521 ascender = FT_MAX( ascender, best_y + y_offset ); in af_latin_metrics_init_blues()
531 if ( best_point < 0 || points[pp].y < best_y ) in af_latin_metrics_init_blues()
534 best_y = points[pp].y; in af_latin_metrics_init_blues()
535 descender = FT_MIN( descender, best_y + y_offset ); in af_latin_metrics_init_blues()
589 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues()
614 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues()
[all …]
Daflatin2.c227 FT_Int best_point, best_y, best_first, best_last; in af_latin2_metrics_init_blues() local
244 best_y = 0; /* make compiler happy */ in af_latin2_metrics_init_blues()
271 if ( best_point < 0 || points[pp].y > best_y ) in af_latin2_metrics_init_blues()
274 best_y = points[pp].y; in af_latin2_metrics_init_blues()
280 if ( best_point < 0 || points[pp].y < best_y ) in af_latin2_metrics_init_blues()
283 best_y = points[pp].y; in af_latin2_metrics_init_blues()
293 FT_TRACE5(( " %c %d", *p, best_y )); in af_latin2_metrics_init_blues()
315 dist = FT_ABS( points[prev].y - best_y ); in af_latin2_metrics_init_blues()
332 dist = FT_ABS( points[next].y - best_y ); in af_latin2_metrics_init_blues()
350 rounds[num_rounds++] = best_y; in af_latin2_metrics_init_blues()
[all …]