diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-25 04:28:40 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-25 04:28:40 +0000 |
commit | 54afa85eef799a463366cc6a9e56ea78298f9c30 (patch) | |
tree | 286c20688b9e8ada162609939265d2cef2c66ec8 /libvo/font_load.h | |
parent | 920d0153359f96350666b5e7b92ecc919825368c (diff) | |
download | mpv-54afa85eef799a463366cc6a9e56ea78298f9c30.tar.bz2 mpv-54afa85eef799a463366cc6a9e56ea78298f9c30.tar.xz |
subtitle+OSD font support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@214 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/font_load.h')
-rw-r--r-- | libvo/font_load.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libvo/font_load.h b/libvo/font_load.h new file mode 100644 index 0000000000..3fce15e689 --- /dev/null +++ b/libvo/font_load.h @@ -0,0 +1,22 @@ + +typedef struct { + unsigned char *bmp; + unsigned char *pal; + int w,h,c; +} raw_file; + +typedef struct { + 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); +font_desc_t* read_font_desc(char* fname); |