Lines Matching refs:kScale
2118 template <int kScale>
2120 *x = unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bilinear_x()
2124 if (kScale == -1) { scalex = 1.0f - fx; } in bilinear_x()
2125 if (kScale == +1) { scalex = fx; } in bilinear_x()
2128 template <int kScale>
2130 *y = unaligned_load<F>(ctx->y) + (kScale * 0.5f); in bilinear_y()
2134 if (kScale == -1) { scaley = 1.0f - fy; } in bilinear_y()
2135 if (kScale == +1) { scaley = fy; } in bilinear_y()
2160 template <int kScale>
2162 *x = unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bicubic_x()
2166 if (kScale == -3) { scalex = bicubic_far (1.0f - fx); } in bicubic_x()
2167 if (kScale == -1) { scalex = bicubic_near(1.0f - fx); } in bicubic_x()
2168 if (kScale == +1) { scalex = bicubic_near( fx); } in bicubic_x()
2169 if (kScale == +3) { scalex = bicubic_far ( fx); } in bicubic_x()
2172 template <int kScale>
2174 *y = unaligned_load<F>(ctx->y) + (kScale * 0.5f); in bicubic_y()
2178 if (kScale == -3) { scaley = bicubic_far (1.0f - fy); } in bicubic_y()
2179 if (kScale == -1) { scaley = bicubic_near(1.0f - fy); } in bicubic_y()
2180 if (kScale == +1) { scaley = bicubic_near( fy); } in bicubic_y()
2181 if (kScale == +3) { scaley = bicubic_far ( fy); } in bicubic_y()