original 1.0.1 release
[xwelltris.git] / src / image / accel.h
blobc21c75c6c0d6f240d9d07928354216cb328daea3
1 #ifndef ACCEL_H
2 #define ACCEL_H
3 #include <stdlib.h>
4 extern int depth,bdep,b_pad,translation;
5 extern unsigned int rmask,gmask,bmask,rsh,bsh,gsh;
6 extern unsigned int red_rsh,green_rsh,blue_rsh,red_lsh,green_lsh,blue_lsh;
7 #ifdef __cplusplus
8 extern "C" char *im_alloc_true(int l,int h);
9 extern "C" void im_memcopy(char*,char*,int);
10 extern "C" void im_setzero(char*,int);
11 extern "C" unsigned int im_get_linew_true(unsigned int w);
12 #else
13 extern char *im_alloc_true(int l,int h);
14 extern void im_memcopy(char*,char*,int);
15 extern void im_setzero(char*,int);
16 #endif
17 extern void (*im_coding)(unsigned int,unsigned int,unsigned int,char**);
18 extern void im_truetruecoding(unsigned int ir,unsigned int ig,unsigned int ib,char **imdata);
19 extern void im_truenocoding(unsigned int ir,unsigned int ig,unsigned int ib,char **imdata);
21 #endif
22 /* ------------ End of file -------------- */