Mercurial > mplayer.hg
annotate Gui/bitmap.h @ 4077:62f672249df1
Add spudec_new_scaled and spudec_draw_scaled for vobsub support.
Change what is passed to spudec_new for vobsub support.
Suppress conditional on USE_DVDREAD.
Transform everything that should into unsigned.
author | kmkaplan |
---|---|
date | Thu, 10 Jan 2002 17:17:05 +0000 |
parents | 5fa8c079ee3c |
children | 3473ca9ef158 |
rev | line source |
---|---|
1693 | 1 |
2 #ifndef __MYSAMPLE | |
3 #define __MYSAMPLE | |
4 | |
5 typedef struct _txSample | |
6 { | |
7 unsigned int Width; | |
8 unsigned int Height; | |
9 unsigned int BPP; | |
10 unsigned long ImageSize; | |
11 char * Image; | |
12 } txSample; | |
13 | |
14 #include "tga/tga.h" | |
15 #include "bmp/bmp.h" | |
16 #include "png/png.h" | |
17 | |
18 extern int bpRead( char * fname, txSample * bf ); | |
19 extern int conv24to32( txSample * bf ); | |
2717 | 20 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); |
21 extern void Convert1to32( txSample * in,txSample * out ); | |
1693 | 22 |
1991
dee4b2ea5e5b
add gui support to config scripts, and fixed some warning.
pontscho
parents:
1693
diff
changeset
|
23 #endif |