Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -3451,7 +3451,7 @@ static int xyz_to_dfisheye(const V360Context *s, · 3450 unmodified lines | |||
| 3451 | const float *vec, int width, int height, | 3451 | const float *vec, int width, int height, |
| 3452 | int16_t us[4][4], int16_t vs[4][4], float *du, float *dv) | 3452 | int16_t us[4][4], int16_t vs[4][4], float *du, float *dv) |
| 3453 | { | 3453 | { |
| 3454 | const float ew = (width - 1) * 0.5f; | 3454 | const float ew = width * 0.5f; |
| 3455 | const float eh = height; | 3455 | const float eh = height; |
| 3456 | 3456 | ||
| 3457 | const float h = hypotf(vec[0], vec[1]); | 3457 | const float h = hypotf(vec[0], vec[1]); |