History

avfilter/vf_v360: improve xyz_to_dfisheye() even more

Paul B Mahol committed 4 years ago

Commit 3981dbd1 parent 2f323b11 file · +1 −1Browse files

Unified · Split

libavfilter/vf_v360.c+1−1
@@ -3479,7 +3479,7 @@ static int xyz_to_dfisheye(const V360Context *s, · 3478 unmodified lines
34793479
34803480 for (int i = 0; i < 4; i++) {
34813481 for (int j = 0; j < 4; j++) {
3482− us[i][j] = av_clip(u_shift + ui + j - 1, 0, width - 1);
3482+ us[i][j] = u_shift + av_clip(ui + j - 1, 0, ew - 1);
34833483 vs[i][j] = av_clip( vi + i - 1, 0, height - 1);
34843484 }
34853485 }

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