view libvo/font_load.h @ 5488:3f183ca22747

fixed SPU pts, it's 1024/90000 based instead of 1/100 spudec code doesn't requires dvdread - removed some #ifdefs - from dvdnav patch by Kees Cook <mplayer@outflux.net>
author arpi
date Thu, 04 Apr 2002 14:24:11 +0000
parents 4e64fca268e9
children 48e91dc9534b
line wrap: on
line source


typedef struct {
    unsigned char *bmp;
    unsigned char *pal;
    int w,h,c;
} raw_file;

typedef struct {
    char *name;
    char *fpath;
    int spacewidth;
    int charspace;
    int height;
//    char *fname_a;
//    char *fname_b;
    raw_file* pic_a[16];
    raw_file* pic_b[16];
    short font[65536];
    short start[65536];
    short width[65536];
} font_desc_t;

extern font_desc_t* vo_font;

raw_file* load_raw(char *name,int verbose);
font_desc_t* read_font_desc(char* fname,float factor,int verbose);