annotate gui/bitmap.h @ 25072:6c3f9215d606

Rearrange scaletempo inner loop. Speedup on x86 with gcc 3.4 36%, on x86_64 with gcc 4.1 5%
author reimar
date Sun, 18 Nov 2007 17:28:27 +0000
parents 3f0d00abc073
children 9d0b189ce1b2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23689
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 23685
diff changeset
1 #ifndef GUI_BITMAP_H
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 23685
diff changeset
2 #define GUI_BITMAP_H
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
3
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
4 typedef struct _txSample
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
5 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
6 unsigned long Width;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
7 unsigned long Height;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
8 unsigned int BPP;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
9 unsigned long ImageSize;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
10 char * Image;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
11 } txSample;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
12
23194
41bbba7c3850 Remove useless extern before function prototypes
reimar
parents: 23077
diff changeset
13 int bpRead( char * fname, txSample * bf );
41bbba7c3850 Remove useless extern before function prototypes
reimar
parents: 23077
diff changeset
14 void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
15
23689
3f0d00abc073 Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents: 23685
diff changeset
16 #endif /* GUI_BITMAP_H */