Mercurial > mplayer.hg
annotate libvo/font_load.h @ 5684:47daf6075bc6
fixed block artefacts and speedup at the same time
author | iive |
---|---|
date | Thu, 18 Apr 2002 17:08:08 +0000 |
parents | 4e64fca268e9 |
children | 48e91dc9534b |
rev | line source |
---|---|
213 | 1 |
2 typedef struct { | |
3 unsigned char *bmp; | |
4 unsigned char *pal; | |
5 int w,h,c; | |
6 } raw_file; | |
7 | |
8 typedef struct { | |
214 | 9 char *name; |
1353 | 10 char *fpath; |
213 | 11 int spacewidth; |
12 int charspace; | |
13 int height; | |
14 // char *fname_a; | |
15 // char *fname_b; | |
16 raw_file* pic_a[16]; | |
17 raw_file* pic_b[16]; | |
706
8a7666a78f83
better .smi support and display two-byte characters- patch by Sunjin Yang
arpi_esp
parents:
339
diff
changeset
|
18 short font[65536]; |
8a7666a78f83
better .smi support and display two-byte characters- patch by Sunjin Yang
arpi_esp
parents:
339
diff
changeset
|
19 short start[65536]; |
8a7666a78f83
better .smi support and display two-byte characters- patch by Sunjin Yang
arpi_esp
parents:
339
diff
changeset
|
20 short width[65536]; |
213 | 21 } font_desc_t; |
22 | |
5294 | 23 extern font_desc_t* vo_font; |
24 | |
339 | 25 raw_file* load_raw(char *name,int verbose); |
26 font_desc_t* read_font_desc(char* fname,float factor,int verbose); |