Clib32: preliminary support for new v30 datafile format
[rofl0r-agsutils.git] / rle.h
blob4da106fea1643e77559e5790e6048536e97a8db4
1 #ifndef RLE_H
2 #define RLE_H
4 unsigned rle_encode(
5 unsigned char *data, unsigned data_size,
6 unsigned bpp, unsigned char** result);
8 /* caller needs to provide result buffer of w*h*bpp size. */
9 void rle_decode(
10 unsigned char *data, unsigned data_size,
11 unsigned bpp, unsigned char* result, unsigned result_size);
13 #pragma RcB2 DEP "rle.c"
15 #endif