Mercurial > mplayer.hg
view libvo/font_load.h @ 392:50214d6c1826
- completely rewrote depth switching
- support for -bpp
(needs at least mplayer.c 1.53 and cfg-mplayer.h 1.18 and latest stuff from
libvo to work)
author | acki2 |
---|---|
date | Fri, 13 Apr 2001 18:49:59 +0000 |
parents | e7e89cd4169f |
children | 8a7666a78f83 |
line wrap: on
line source
typedef struct { unsigned char *bmp; unsigned char *pal; int w,h,c; } raw_file; typedef struct { char *name; int spacewidth; int charspace; int height; // char *fname_a; // char *fname_b; raw_file* pic_a[16]; raw_file* pic_b[16]; short font[512]; short start[512]; short width[512]; } font_desc_t; raw_file* load_raw(char *name,int verbose); font_desc_t* read_font_desc(char* fname,float factor,int verbose);