1 #ifndef _BLUR_H 2 #define _BLUR_H 3 4 #include <stdint.h> 5 #include <cairo.h> 6 7 #define KERNEL_SIZE 7 8 #define SIGMA_AV 2 9 #define HALF_KERNEL KERNEL_SIZE / 2 10 11 void blur_image_surface(cairo_surface_t *surface, int sigma); 12 #ifdef __SSE2__ 13 void blur_impl_horizontal_pass_sse2(uint32_t *src, uint32_t *dst, int width, int height); 14 #endif 15 void blur_impl_horizontal_pass_generic(uint32_t *src, uint32_t *dst, int width, int height); 16 #endif
