annotate Gui/bitmap.h @ 16477:c2e0e8c6f00a
Make the fourcc output endianness-independent.
patch by Luca Barbato < lu_zero -- at -- gentoo -- at -- org >
author |
diego |
date |
Tue, 13 Sep 2005 18:13:58 +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 */
|