12#ifndef FILTERS_GP_CONVOLUTION_H
13#define FILTERS_GP_CONVOLUTION_H
16#include <filters/gp_linear.h>
41typedef struct gp_filter_kernel_2d {
56int gp_filter_convolution_ex(
const gp_pixmap *src,
61 const gp_filter_kernel_2d *kernel,
74 const gp_filter_kernel_2d *kernel,
79 const gp_filter_kernel_2d *kernel,
82 return gp_filter_convolution_ex(src, 0, 0, dst->
w, dst->
h, dst, 0, 0,
87 const gp_filter_kernel_2d *kernel,
90 return gp_filter_convolution_ex_alloc(src, 0, 0, src->
w, src->
h,
97static inline void gp_filter_kernel_2d_print(
const gp_filter_kernel_2d *kernel)
99 gp_filter_kernel_print_raw(kernel->kernel, kernel->w, kernel->h,
int gp_coord
Integer type for coordinates i.e. x, y, ...
unsigned int gp_size
Integer type for sizes i.e. w, h, ...
uint32_t h
Pixmap height in pixels.
uint32_t w
Pixmap width in pixels.