Mercurial > mplayer.hg
annotate Gui/bitmap.h @ 8635:81dbd28ef7c0
these patches let ,,oldstyle'' and freetype subtitle renderers live
together happily. if an oldstyle subtitle (font.desc) is found, it will
be used. otherwise mplayer will choose subfont.ttf, if freetype was
detected during ./configure.
(also you can use -font /path/to/font.desc and -font /path/to/foobar.ttf too)
patch-set by Wojtek Kaniewski <wojtekka@bydg.pdi.net>
author | arpi |
---|---|
date | Sun, 29 Dec 2002 14:59:23 +0000 |
parents | 30a9a6358ee9 |
children | aa55f2f0b057 |
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 extern int bpRead( char * fname, txSample * bf ); | |
15 extern int conv24to32( txSample * bf ); | |
2717 | 16 extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); |
17 extern void Convert1to32( txSample * in,txSample * out ); | |
1693 | 18 |
1991
dee4b2ea5e5b
add gui support to config scripts, and fixed some warning.
pontscho
parents:
1693
diff
changeset
|
19 #endif |