Move enum blur_method to backend.h

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-06-09 12:43:51 +01:00
parent 8e0b467138
commit e16e592302
2 changed files with 23 additions and 8 deletions

View File

@ -48,6 +48,28 @@ enum image_operations {
IMAGE_OP_RESIZE_TILE,
};
enum blur_method {
BLUR_METHOD_NONE = 0,
BLUR_METHOD_KERNEL,
BLUR_METHOD_BOX,
BLUR_METHOD_GAUSSIAN,
BLUR_METHOD_INVALID,
};
struct gaussian_kernel_args {
int size;
double deviation;
};
struct box_kernel_args {
int size;
};
struct kernel_args {
struct conv **kernels;
int kernel_count;
};
struct backend_operations {
// =========== Initialization ===========