annotate gui/bitmap.h @ 23636:46a6e2183078
define HAVE_FAST_UNALIGNED on x86 (32 and 64 bit).
Please add more architectures if you know they support unaligned
access reasonably fast.
author |
reimar |
date |
Sun, 24 Jun 2007 14:39:11 +0000 |
parents |
019bfce0c0dc |
children |
f15bce7943b9 |
rev |
line source |
23077
|
1 #ifndef __BITMAP_H
|
|
2 #define __BITMAP_H
|
|
3
|
|
4 typedef struct _txSample
|
|
5 {
|
|
6 unsigned long Width;
|
|
7 unsigned long Height;
|
|
8 unsigned int BPP;
|
|
9 unsigned long ImageSize;
|
|
10 char * Image;
|
|
11 } txSample;
|
|
12
|
23194
|
13 int bpRead( char * fname, txSample * bf );
|
|
14 void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
|
23077
|
15
|
|
16 #endif /* __BITMAP_H */
|