blob: 913f2636a2d62dd1d15fbd7fc0f04e818be34d92 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#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"
#include "../../mp_msg.h"
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
|