Searched refs:abs_t (Results 1 – 1 of 1) sorted by relevance
331 const double abs_t = (double)fabs(t); in filter_bicubic() local332 const double abs_t_sq = abs_t * abs_t; in filter_bicubic()333 if (abs_t<1) return 1-2*abs_t_sq+abs_t_sq*abs_t; in filter_bicubic()334 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 = (double)fabs(t); in filter_generalized_cubic() local353 double abs_t_sq = abs_t * abs_t; in filter_generalized_cubic()354 if (abs_t < 1) return (a + 2) * abs_t_sq * abs_t - (a + 3) * abs_t_sq + 1; in filter_generalized_cubic()355 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