annotate Gui/bitmap.h @ 10560:11826d9f90c7

this patch fixes 1) some bugs introduced in the tuner autodetection and in the channel-parsing functions, 3) retries reading when the mplayer/mencoder don't read fast enough (sooner it exited) but especially 4) makes the stream compliant with the new, modular stream api (the one currently in CVS is not and is totally unreachable). [and maybe more, next time please include cvslog in patch! -- A'rpi] patch by Nico <nsabbi@libero.it>
author arpi
date Mon, 11 Aug 2003 00:02:46 +0000
parents 22572f1dafa3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10168
22572f1dafa3 some fixes and bigendian fix for 32bpp pngs
alex
parents: 9190
diff changeset
1 #ifndef __BITMAP_H
22572f1dafa3 some fixes and bigendian fix for 32bpp pngs
alex
parents: 9190
diff changeset
2 #define __BITMAP_H
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
3
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
4 typedef struct _txSample
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
5 {
9190
aa55f2f0b057 commit Dominik Mierzejewski's patch
pontscho
parents: 8046
diff changeset
6 unsigned long Width;
aa55f2f0b057 commit Dominik Mierzejewski's patch
pontscho
parents: 8046
diff changeset
7 unsigned long Height;
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
8 unsigned int BPP;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
9 unsigned long ImageSize;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
10 char * Image;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
11 } txSample;
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
12
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
13 extern int bpRead( char * fname, txSample * bf );
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
14 extern int conv24to32( txSample * bf );
2717
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
15 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit );
5fa8c079ee3c fix small xshape bug
pontscho
parents: 1991
diff changeset
16 extern void Convert1to32( txSample * in,txSample * out );
1693
d237c5d4b216 GUI version n-1
arpi
parents:
diff changeset
17
10168
22572f1dafa3 some fixes and bigendian fix for 32bpp pngs
alex
parents: 9190
diff changeset
18 #endif /* __BITMAP_H */