Searched refs:x2_x (Results 1 – 1 of 1) sorted by relevance
382 const double x2_x = x2 * x; in filter_cubic_convolution() local384 if (x <= 1.0) return ((4.0 / 3.0)* x2_x - (7.0 / 3.0) * x2 + 1.0); in filter_cubic_convolution()385 if (x <= 2.0) return (- (7.0 / 12.0) * x2_x + 3 * x2 - (59.0 / 12.0) * x + 2.5); in filter_cubic_convolution()386 if (x <= 3.0) return ( (1.0/12.0) * x2_x - (2.0 / 3.0) * x2 + 1.75 * x - 1.5); in filter_cubic_convolution()
Completed in 20 milliseconds