view Gui/bitmap.h @ 8839:c932c17042bf

For solaris, sys/smedia.h header is not needed any more. Compilation was failing on Solaris 7, where sys/smedia.h is not available.
author jkeil
date Wed, 08 Jan 2003 14:11:33 +0000
parents 30a9a6358ee9
children aa55f2f0b057
line wrap: on
line source


#ifndef __MYSAMPLE
#define __MYSAMPLE

typedef struct _txSample
{
 unsigned int  Width;
 unsigned int  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