view Gui/bitmap.h @ 11765:e0b096f0e640

linux 2.6 patch by "ismail 'cartman' d«Ónmez" <ismail.donmez@boun.edu.tr> no idea whether this really works :)
author attila
date Sat, 10 Jan 2004 09:48:15 +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 */