summaryrefslogtreecommitdiff
path: root/csrc/mkf/mkf.h
blob: f42d70902f5bbd7d871d0da819084f9ef347c313 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdint.h>
#include "graph_struct.h"

int load_mkf(const char *fn);
void unload_mkf(int mkf_idx);
char * read_mkf(int mkf_idx, int a1, char *buf, int *bufsize);

extern int pixel_fmt;

struct spr_smp
{
	char sig[4]; /* "SPR" or "SMP" */
	int32_t nchunk;
	int32_t start_offset;
	struct graph_st chunk_tab[0];
};