Hi, @edrosten, Thanks for your great library! :+1:
Please, take a look at these two commits: one is a minor fix to -Wshadow warnings, but the important one is the fix to what seems a bug in the SSE2 code for faster.
The bug would reveal only if width!=stride, which might explain it went unnoticed (?). However, I can't explain the 3 in 3*w for grayscale images, so I set it to row_stride() anyway.
Hi, @edrosten, Thanks for your great library! :+1:
Please, take a look at these two commits: one is a minor fix to
-Wshadow
warnings, but the important one is the fix to what seems a bug in the SSE2 code for faster. The bug would reveal only if width!=stride, which might explain it went unnoticed (?). However, I can't explain the3
in3*w
for grayscale images, so I set it torow_stride()
anyway.