annotate Gui/bitmap.h @ 4515:4064940f3f9b

optimization
author nick
date Sun, 03 Feb 2002 15:16:46 +0000
parents 5fa8c079ee3c
children 3473ca9ef158
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
1
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
2 #ifndef __MYSAMPLE
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3 #define __MYSAMPLE
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 typedef struct _txSample
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
6 {
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
7 unsigned int Width;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 unsigned int Height;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 unsigned int BPP;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 unsigned long ImageSize;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 char * Image;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12 } txSample;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 #include "tga/tga.h"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
15 #include "bmp/bmp.h"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
16 #include "png/png.h"
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
18 extern int bpRead( char * fname, txSample * bf );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
19 extern int conv24to32( txSample * bf );
2717
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
20 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
21 extern void Convert1to32( txSample * in,txSample * out );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
22
1991
dee4b2ea5e5b add gui support to config scripts, and fixed some warning.
pontscho
parents: 1693
diff changeset
23 #endif