You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
409 B
17 lines
409 B
#ifndef _BLUR_H
|
|
#define _BLUR_H
|
|
|
|
#include <stdint.h>
|
|
#include <cairo.h>
|
|
|
|
#define KERNEL_SIZE 7
|
|
#define SIGMA_AV 2
|
|
#define HALF_KERNEL KERNEL_SIZE / 2
|
|
|
|
void blur_image_surface (cairo_surface_t *surface, int radius);
|
|
|
|
void blur_impl_horizontal_pass_sse2(uint32_t *src, uint32_t *dst, int width, int height);
|
|
void blur_impl_horizontal_pass_generic(uint32_t *src, uint32_t *dst, int width, int height);
|
|
|
|
#endif
|
|
|
|
|