1 // clang-format off
2 #ifndef FAST_H
3 #define FAST_H
4 
5 typedef struct { int x, y; } xy;
6 typedef unsigned char byte;
7 
8 int fast9_corner_score(const byte* p, const int pixel[], int bstart);
9 
10 xy* fast9_detect(const byte* im, int xsize, int ysize, int stride, int b, int* ret_num_corners);
11 
12 int* fast9_score(const byte* i, int stride, xy* corners, int num_corners, int b);
13 
14 xy* fast9_detect_nonmax(const byte* im, int xsize, int ysize, int stride, int b, int* ret_num_corners);
15 
16 xy* nonmax_suppression(const xy* corners, const int* scores, int num_corners, int* ret_num_nonmax);
17 
18 
19 #endif
20 // clang-format on
21