Unified · Split
| @@ -90,14 +90,14 @@ static av_cold int init(AVFilterContext *ctx) · 89 unmodified lines | |||
| 90 | return 0; | 90 | return 0; |
| 91 | } | 91 | } |
| 92 | 92 | ||
| 93 | static inline float hermite_interpolation(float x, float x0, float x1, | 93 | static inline double hermite_interpolation(double x, double x0, double x1, |
| 94 | float p0, float p1, | 94 | double p0, double p1, |
| 95 | float m0, float m1) | 95 | double m0, double m1) |
| 96 | { | 96 | { |
| 97 | float width = x1 - x0; | 97 | double width = x1 - x0; |
| 98 | float t = (x - x0) / width; | 98 | double t = (x - x0) / width; |
| 99 | float t2, t3; | 99 | double t2, t3; |
| 100 | float ct0, ct1, ct2, ct3; | 100 | double ct0, ct1, ct2, ct3; |
| 101 | 101 | ||
| 102 | m0 *= width; | 102 | m0 *= width; |
| 103 | m1 *= width; | 103 | m1 *= width; |