Home
last modified time | relevance | path

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

/php-src/ext/gd/libgd/
H A Dgd_interpolation.c331 const double abs_t_sq = abs_t * abs_t; in filter_bicubic() local
332 if (abs_t<1) return 1-2*abs_t_sq+abs_t_sq*abs_t; in filter_bicubic()
333 if (abs_t<2) return 4 - 8*abs_t +5*abs_t_sq - abs_t_sq*abs_t; in filter_bicubic()
352 double abs_t_sq = abs_t * abs_t; in filter_generalized_cubic() local
353 if (abs_t < 1) return (a + 2) * abs_t_sq * abs_t - (a + 3) * abs_t_sq + 1; in filter_generalized_cubic()
354 if (abs_t < 2) return a * abs_t_sq * abs_t - 5 * a * abs_t_sq + 8 * a * abs_t - 4 * a; in filter_generalized_cubic()

Completed in 10 milliseconds