Lines Matching refs:kScale
2482 template <int kScale>
2484 *x = sk_unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bilinear_x()
2488 if (kScale == -1) { scalex = 1.0f - fx; } in bilinear_x()
2489 if (kScale == +1) { scalex = fx; } in bilinear_x()
2492 template <int kScale>
2494 *y = sk_unaligned_load<F>(ctx->y) + (kScale * 0.5f); in bilinear_y()
2498 if (kScale == -1) { scaley = 1.0f - fy; } in bilinear_y()
2499 if (kScale == +1) { scaley = fy; } in bilinear_y()
2524 template <int kScale>
2526 *x = sk_unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bicubic_x()
2530 if (kScale == -3) { scalex = bicubic_far (1.0f - fx); } in bicubic_x()
2531 if (kScale == -1) { scalex = bicubic_near(1.0f - fx); } in bicubic_x()
2532 if (kScale == +1) { scalex = bicubic_near( fx); } in bicubic_x()
2533 if (kScale == +3) { scalex = bicubic_far ( fx); } in bicubic_x()
2536 template <int kScale>
2538 *y = sk_unaligned_load<F>(ctx->y) + (kScale * 0.5f); in bicubic_y()
2542 if (kScale == -3) { scaley = bicubic_far (1.0f - fy); } in bicubic_y()
2543 if (kScale == -1) { scaley = bicubic_near(1.0f - fy); } in bicubic_y()
2544 if (kScale == +1) { scaley = bicubic_near( fy); } in bicubic_y()
2545 if (kScale == +3) { scaley = bicubic_far ( fy); } in bicubic_y()