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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10168
22572f1dafa3 some fixes and bigendian fix for 32bpp pngs
alex
parents: 9190
diff changeset
1 #ifndef __BITMAP_H
22572f1dafa3 some fixes and bigendian fix for 32bpp pngs
alex
parents: 9190
diff changeset
2 #define __BITMAP_H
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4 typedef struct _txSample
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 {
9190
aa55f2f0b057 commit Dominik Mierzejewski's patch
pontscho
parents: 8046
diff changeset
6 unsigned long Width;
aa55f2f0b057 commit Dominik Mierzejewski's patch
pontscho
parents: 8046
diff changeset
7 unsigned long Height;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 unsigned int BPP;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 unsigned long ImageSize;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 char * Image;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 } txSample;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 extern int bpRead( char * fname, txSample * bf );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 extern int conv24to32( txSample * bf );
2717
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
15 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
16 extern void Convert1to32( txSample * in,txSample * out );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17
10168
22572f1dafa3 some fixes and bigendian fix for 32bpp pngs
alex
parents: 9190
diff changeset
18 #endif /* __BITMAP_H */