mirror of
https://github.com/Raymo111/i3lock-color.git
synced 2024-12-02 14:05:43 -05:00
fix compiling on ARM
thanks toshi
This commit is contained in:
parent
11ad3d569a
commit
599158e2ee
1 changed files with 3 additions and 3 deletions
|
@ -7,12 +7,12 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "blur.h"
|
|
||||||
#include <xmmintrin.h>
|
|
||||||
|
|
||||||
// number of xmm registers needed to store input pixels for given kernel size
|
// number of xmm registers needed to store input pixels for given kernel size
|
||||||
#define REGISTERS_CNT (KERNEL_SIZE + 4/2) / 4
|
|
||||||
#ifdef __SSE2__
|
#ifdef __SSE2__
|
||||||
|
#include "blur.h"
|
||||||
|
#define REGISTERS_CNT (KERNEL_SIZE + 4/2) / 4
|
||||||
|
#include <xmmintrin.h>
|
||||||
void blur_impl_horizontal_pass_sse2(uint32_t *src, uint32_t *dst, int width, int height) {
|
void blur_impl_horizontal_pass_sse2(uint32_t *src, uint32_t *dst, int width, int height) {
|
||||||
uint32_t* o_src = src;
|
uint32_t* o_src = src;
|
||||||
for (int row = 0; row < height; row++) {
|
for (int row = 0; row < height; row++) {
|
||||||
|
|
Loading…
Reference in a new issue