Sebastian Frysztak
efcee548b2
Properly detect SSE2 on 32-bit systems
2017-02-15 12:22:44 +01:00
Sebastian Frysztak
0f989add08
Pass blur strength from command line arguments
2017-02-15 12:01:08 +01:00
Sebastian Frysztak
024dc2980e
Minor style changes
2017-02-15 11:27:43 +01:00
Sebastian Frysztak
3598cf19e8
Implement generic box blur
2017-02-15 11:22:06 +01: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