Lines Matching refs:kScale
2102 template <int kScale>
2104 *x = unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bilinear_x()
2108 if (kScale == -1) { scalex = 1.0f - fx; } in bilinear_x()
2109 if (kScale == +1) { scalex = fx; } in bilinear_x()
2112 template <int kScale>
2114 *y = unaligned_load<F>(ctx->y) + (kScale * 0.5f); in bilinear_y()
2118 if (kScale == -1) { scaley = 1.0f - fy; } in bilinear_y()
2119 if (kScale == +1) { scaley = fy; } in bilinear_y()
2144 template <int kScale>
2146 *x = unaligned_load<F>(ctx->x) + (kScale * 0.5f); in bicubic_x()
2150 if (kScale == -3) { scalex = bicubic_far (1.0f - fx); } in bicubic_x()
2151 if (kScale == -1) { scalex = bicubic_near(1.0f - fx); } in bicubic_x()
2152 if (kScale == +1) { scalex = bicubic_near( fx); } in bicubic_x()
2153 if (kScale == +3) { scalex = bicubic_far ( fx); } in bicubic_x()
2156 template <int kScale>
2158 *y = unaligned_load<F>(ctx->y) + (kScale * 0.5f); in bicubic_y()
2162 if (kScale == -3) { scaley = bicubic_far (1.0f - fy); } in bicubic_y()
2163 if (kScale == -1) { scaley = bicubic_near(1.0f - fy); } in bicubic_y()
2164 if (kScale == +1) { scaley = bicubic_near( fy); } in bicubic_y()
2165 if (kScale == +3) { scaley = bicubic_far ( fy); } in bicubic_y()