Mercurial > mplayer.hg
annotate gui/bitmap.h @ 32940:5bab4a2e1b59
100l, actually only dnet tag indicates byte-swapped AC-3.
author | reimar |
---|---|
date | Sat, 05 Mar 2011 12:09:25 +0000 |
parents | 9949f3a123cf |
children | dc026d74dfce |
rev | line source |
---|---|
26458 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
18 | |
26029 | 19 #ifndef MPLAYER_GUI_BITMAP_H |
20 #define MPLAYER_GUI_BITMAP_H | |
23077 | 21 |
32913 | 22 typedef struct { |
23 unsigned long Width; | |
24 unsigned long Height; | |
25 unsigned int BPP; | |
26 unsigned long ImageSize; | |
27 char *Image; | |
23077 | 28 } txSample; |
29 | |
32917
9949f3a123cf
Add new function bpFree() to free txSamples (bitmaps).
ib
parents:
32913
diff
changeset
|
30 void bpFree(txSample *); |
32913 | 31 int bpRead(char *, txSample *); |
32 void Convert32to1(txSample *, txSample *, int); | |
23077 | 33 |
26029 | 34 #endif /* MPLAYER_GUI_BITMAP_H */ |