2001-08-25 23:04:29 +02:00
|
|
|
|
|
|
|
#ifndef __MYSAMPLE
|
|
|
|
#define __MYSAMPLE
|
|
|
|
|
|
|
|
typedef struct _txSample
|
|
|
|
{
|
|
|
|
unsigned int Width;
|
|
|
|
unsigned int Height;
|
|
|
|
unsigned int BPP;
|
|
|
|
unsigned long ImageSize;
|
|
|
|
char * Image;
|
|
|
|
} txSample;
|
|
|
|
|
|
|
|
#include "tga/tga.h"
|
|
|
|
#include "bmp/bmp.h"
|
|
|
|
#include "png/png.h"
|
|
|
|
|
|
|
|
extern int bpRead( char * fname, txSample * bf );
|
|
|
|
extern int conv24to32( txSample * bf );
|
2001-11-05 18:00:42 +01:00
|
|
|
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
|
|
|
|
extern void Convert1to32( txSample * in,txSample * out );
|
2001-08-25 23:04:29 +02:00
|
|
|
|
2001-09-27 19:40:43 +02:00
|
|
|
#endif
|