Mercurial > mplayer.hg
annotate gui/bitmap.h @ 25065:54dba785e683
New media format negotiation code:
loop through all available formats trying to
establish connection between pins.
Negotiation stops either when all formats are rejected
(error reported in this case) or when connection is
established (which can happen only when current media
format is accepted by both of the pins).
author | voroshil |
---|---|
date | Sun, 18 Nov 2007 11:13:28 +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 */ |