History

avfilter/vf_v360: improve xyz_to_dfisheye()

Paul B Mahol committed 4 years ago

Commit 06a54a41 parent 741b5061 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_v360.c+1−1
@@ -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]);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t