Commit Graph

12 Commits

Author SHA1 Message Date
Raymond Li 85b7438787
CRLF -> LF 2021-02-14 15:19:29 -05:00
Pandora 4318dbe051
fix compiling for 32-bit machines / machine without SSE2 2017-12-07 16:09:13 -05:00
Chris Guillott 29251d61cd fix naive blur 2017-12-06 14:20:04 -05:00
Pandora 2040285ce9 revert back to better blurring behaviour 2017-12-06 13:57:07 -05:00
Pandora 613e9cb66d
fix SSE version check 2017-12-06 12:26:37 -05:00
Chris Guillott 9f8496441c blurring stuff should work perfectly fine now 2017-12-05 22:07:38 -05:00
Chris Guillott 0fe47c14e8 comment out (seemingly?) unused code to remove warnings 2016-11-01 20:43:25 -04:00
Sebastian Frysztak 72aec87047 Add SSSE3-based blur implementation.
Calculations are done on integer, rather than floating point numbers,
so this implementation is not as accurate (but when scale factor is
reasonable enough, no artifacs are visible).
It is, however, faster by a factor of ~3.
2016-10-29 14:32:49 +02:00
Sebastian Frysztak afe41c5754 Extend kernel size to 15x15. 2016-10-28 17:35:33 +02:00
Sebastian Frysztak fb5dbbe661 Add SSE2-optimized blur.
About 4-6 times faster than naive implementation.
2016-10-22 15:30:27 +02:00
Sebastian Frysztak ade9a20788 Isolate blur implementation to a function.
This will allow easier switching between naive/SSE2/AVX implementations.
2016-10-22 14:32:35 +02:00
Chris Guillott c3a95b86d6 add initial blur support
thanks to https://github.com/shiver/i3lock
2016-10-14 22:06:43 -04:00