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