Unified · Split
| @@ -2777,7 +2777,7 @@ static int dfisheye_to_xyz(const V360Context *s, · 2776 unmodified lines | ||
| 2777 | 2777 | const float m = i >= ew ? -1.f : 1.f; |
| 2778 | 2778 | |
| 2779 | 2779 | const float uf = ((2.f * ei) / ew - 1.f) * scale; |
| 2780 | − const float vf = ((2.f * j) / eh - 1.f) * scale; | |
| 2780 | + const float vf = ((2.f * j + 1.f) / eh - 1.f) * scale; | |
| 2781 | 2781 | |
| 2782 | 2782 | const float h = hypotf(uf, vf); |
| 2783 | 2783 | const float lh = h > 0.f ? h : 1.f; |