annotate libvo/font_load.h @ 213:6ec8f6ab6cb1

subtitle+OSD font support
author arpi_esp
date Sun, 25 Mar 2001 04:28:40 +0000
parents
children 09d0f437b817
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
213
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
1
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
2 typedef struct {
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
3 unsigned char *bmp;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
4 unsigned char *pal;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
5 int w,h,c;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
6 } raw_file;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
7
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
8 typedef struct {
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
9 int spacewidth;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
10 int charspace;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
11 int height;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
12 // char *fname_a;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
13 // char *fname_b;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
14 raw_file* pic_a[16];
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
15 raw_file* pic_b[16];
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
16 short font[512];
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
17 short start[512];
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
18 short width[512];
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
19 } font_desc_t;
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
20
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
21 raw_file* load_raw(char *name);
6ec8f6ab6cb1 subtitle+OSD font support
arpi_esp
parents:
diff changeset
22 font_desc_t* read_font_desc(char* fname);