blob: 8d82ee91b440ccc6ad74ec0da6c51c42d8a46ac9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <stdlib.h>
#include <tak.h>
#define MAX_NUM_CACHED 123
extern uint32_t cnn1986_num_cached, cnn1986_max_num_cached;
typedef struct node_s {
struct node_s *next, *prev;
uint16_t data[25], white_count, black_count;
float result;
} node_t;
int cnn1986_cache_init(void);
void cnn1986_cache_free(void);
int cnn1986_cache_seek(float *out_result);
int cnn1986_cache_insert(float in_result);
|