1
0
Fork 0
mirror of https://github.com/Raymo111/i3lock-color.git synced 2024-11-11 13:50:52 -05:00
i3lock-color/blur.h

17 lines
406 B
C
Raw Normal View History

#ifndef _BLUR_H
#define _BLUR_H
#include <stdint.h>
#include <cairo.h>
2017-02-15 05:22:06 -05:00
#define KERNEL_SIZE 7
#define SIGMA_AV 2
#define HALF_KERNEL KERNEL_SIZE / 2
void blur_image_surface(cairo_surface_t *surface, int sigma);
2016-11-11 12:45:20 -05:00
void blur_impl_horizontal_pass_sse2(uint32_t *src, uint32_t *dst, int width, int height);
2017-02-15 05:22:06 -05:00
void blur_impl_horizontal_pass_generic(uint32_t *src, uint32_t *dst, int width, int height);
#endif