History

lavfi/bwdif_vulkan: fix typo in temp_diff assignment

Thanks to Niklas Haas for pointing this out. (cherry picked from commit 451e6bed436ada70a761a90f1d08f1fa505020fd)

Lynne committed 1 year ago

Commit c1a7f401 parent 17f4cc01 file · +1 −1Browse files

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

Unified · Split

libavfilter/vulkan/bwdif.comp+1−1
@@ -47,7 +47,7 @@ vec4 process_line(vec4 prev2[5], vec4 prev1[2], vec4 cur[4], vec4 next1[2], vec4 · 46 unmodified lines
4747 vec4 temp_diff[3];
4848 temp_diff[0] = abs(prev2[2] - next2[2]);
4949 temp_diff[1] = (abs(prev1[0] - fc) + abs(prev1[1] - fe)) / 2;
50− temp_diff[1] = (abs(next1[0] - fc) + abs(next1[1] - fe)) / 2;
50+ temp_diff[2] = (abs(next1[0] - fc) + abs(next1[1] - fe)) / 2;
5151 vec4 diff = max(temp_diff[0] / 2, max(temp_diff[1], temp_diff[2]));
5252 bvec4 diff_mask = equal(diff, vec4(0));
5353

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