2001-08-25 21:04:29 +00: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"
|
2002-02-23 15:12:55 +00:00
|
|
|
#include "../../mp_msg.h"
|
2001-08-25 21:04:29 +00:00
|
|
|
|
|
|
|
extern int bpRead( char * fname, txSample * bf );
|
|
|
|
extern int conv24to32( txSample * bf );
|
2001-11-05 17:00:42 +00:00
|
|
|
extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
|
|
|
|
extern void Convert1to32( txSample * in,txSample * out );
|
2001-08-25 21:04:29 +00:00
|
|
|
|
2001-09-27 17:40:43 +00:00
|
|
|
#endif
|