annotate Gui/bitmap.h @ 12167:6421ebfc0018
avoid unneeded stream_reset()
aspect ratio support (rarely works ...)
author, title, ...
author |
michael |
date |
Sun, 11 Apr 2004 16:48:48 +0000 |
parents |
22572f1dafa3 |
children |
|
rev |
line source |
10168
|
1 #ifndef __BITMAP_H
|
|
2 #define __BITMAP_H
|
1693
|
3
|
|
4 typedef struct _txSample
|
|
5 {
|
9190
|
6 unsigned long Width;
|
|
7 unsigned long Height;
|
1693
|
8 unsigned int BPP;
|
|
9 unsigned long ImageSize;
|
|
10 char * Image;
|
|
11 } txSample;
|
|
12
|
|
13 extern int bpRead( char * fname, txSample * bf );
|
|
14 extern int conv24to32( txSample * bf );
|
2717
|
15 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
|
|
16 extern void Convert1to32( txSample * in,txSample * out );
|
1693
|
17
|
10168
|
18 #endif /* __BITMAP_H */
|