root/trunk/lib/cc3-ilp/cc3_conv.h

Revision 363, 286 bytes (checked in by anthony_rowe, 2 years ago)

blah

Line 
1 #ifndef _CONV_H_
2 #define _CONV_H_
3
4 #include "cc3_ilp.h"
5 #include <stdint.h>
6
7 #define MAX_KERNEL_SIZE 3
8
9 typedef struct{
10 uint8_t mat[MAX_KERNEL_SIZE][MAX_KERNEL_SIZE];
11 uint8_t divisor;
12 uint32_t size;
13 } cc3_kernel_t;
14
15
16 int cc3_convolve_img(cc3_image_t *img, cc3_kernel_t kernel);
17
18 #endif
Note: See TracBrowser for help on using the browser.