Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dpicture_csp.c362 static void InterpolateTwoRows(const fixed_y_t* const best_y, in InterpolateTwoRows() argument
371 const int W0 = FixedYToW(best_y[0]); in InterpolateTwoRows()
372 const int W1 = FixedYToW(best_y[w]); in InterpolateTwoRows()
379 const int W0 = FixedYToW(best_y[i + 0]); in InterpolateTwoRows()
380 const int W1 = FixedYToW(best_y[i + w]); in InterpolateTwoRows()
390 const int W0 = FixedYToW(best_y[i + 0]); in InterpolateTwoRows()
391 const int W1 = FixedYToW(best_y[i + w]); in InterpolateTwoRows()
417 static int ConvertWRGBToYUV(const fixed_y_t* const best_y, in ConvertWRGBToYUV() argument
429 const int W = FixedYToW(best_y[i + j * w]); in ConvertWRGBToYUV()
471 fixed_y_t* const best_y = SAFE_ALLOC(w, h, fixed_y_t); in PreprocessARGB() local
[all …]
/external/freetype/src/autofit/
Daflatin.c347 FT_Pos best_y; /* same as points.y */ in af_latin_metrics_init_blues() local
375 best_y = 0; /* make compiler happy */ in af_latin_metrics_init_blues()
402 if ( best_point < 0 || points[pp].y > best_y ) in af_latin_metrics_init_blues()
405 best_y = points[pp].y; in af_latin_metrics_init_blues()
411 if ( best_point < 0 || points[pp].y < best_y ) in af_latin_metrics_init_blues()
414 best_y = points[pp].y; in af_latin_metrics_init_blues()
465 dist = FT_ABS( points[prev].y - best_y ); in af_latin_metrics_init_blues()
490 dist = FT_ABS( points[next].y - best_y ); in af_latin_metrics_init_blues()
607 if ( FT_ABS( best_y - points[first].y ) > height_threshold ) in af_latin_metrics_init_blues()
670 best_y = points[first].y; in af_latin_metrics_init_blues()
[all …]
Daflatin2.c222 FT_Int best_point, best_y, best_first, best_last; in af_latin2_metrics_init_blues() local
239 best_y = 0; /* make compiler happy */ in af_latin2_metrics_init_blues()
266 if ( best_point < 0 || points[pp].y > best_y ) in af_latin2_metrics_init_blues()
269 best_y = points[pp].y; in af_latin2_metrics_init_blues()
275 if ( best_point < 0 || points[pp].y < best_y ) in af_latin2_metrics_init_blues()
278 best_y = points[pp].y; in af_latin2_metrics_init_blues()
288 FT_TRACE5(( " %c %d", *p, best_y )); in af_latin2_metrics_init_blues()
310 dist = FT_ABS( points[prev].y - best_y ); in af_latin2_metrics_init_blues()
327 dist = FT_ABS( points[next].y - best_y ); in af_latin2_metrics_init_blues()
345 rounds[num_rounds++] = best_y; in af_latin2_metrics_init_blues()
[all …]