view Gui/bitmap.h @ 22678:6ab7d3a5efb0

Remove support for 2.5.x kernels. It's just a bunch of ugly #ifdef conditionals and probably does not work with later 2.5.x versions anyway. For 2.6.x there is an external version.
author diego
date Sat, 17 Mar 2007 15:12:58 +0000
parents 22572f1dafa3
children
line wrap: on
line source

#ifndef __BITMAP_H
#define __BITMAP_H

typedef struct _txSample
{
 unsigned long Width;
 unsigned long Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

extern int bpRead( char * fname, txSample * bf );
extern int conv24to32( txSample * bf );
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
extern void Convert1to32( txSample * in,txSample * out );

#endif /* __BITMAP_H */