comparison Gui/bitmap.h @ 10168:22572f1dafa3

some fixes and bigendian fix for 32bpp pngs
author alex
date Fri, 23 May 2003 17:04:24 +0000
parents aa55f2f0b057
children
comparison
equal deleted inserted replaced
10167:531b00ad6f2d 10168:22572f1dafa3
1 #ifndef __MYSAMPLE 1 #ifndef __BITMAP_H
2 #define __MYSAMPLE 2 #define __BITMAP_H
3 3
4 typedef struct _txSample 4 typedef struct _txSample
5 { 5 {
6 unsigned long Width; 6 unsigned long Width;
7 unsigned long Height; 7 unsigned long Height;
13 extern int bpRead( char * fname, txSample * bf ); 13 extern int bpRead( char * fname, txSample * bf );
14 extern int conv24to32( txSample * bf ); 14 extern int conv24to32( txSample * bf );
15 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); 15 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
16 extern void Convert1to32( txSample * in,txSample * out ); 16 extern void Convert1to32( txSample * in,txSample * out );
17 17
18 #endif 18 #endif /* __BITMAP_H */