Mercurial > mplayer.hg
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 |
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 | 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 |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
23685
diff
changeset
|
16 #endif /* GUI_BITMAP_H */ |