Mercurial > mplayer.hg
view libvo/font_load.h @ 2232:65996b3467d7
MMX & MMX2 optimizations (MMX2 is buggy and commented out)
32, 24, 16, 15 bit support in C (only 32 & 16 tested)
32, 16 bit support in mmx (16 with dithering)
ranges of some variables changed so mmx likes them more
author | michael |
---|---|
date | Wed, 17 Oct 2001 02:30:39 +0000 |
parents | c3e3b0ae4d06 |
children | 4e64fca268e9 |
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; raw_file* load_raw(char *name,int verbose); font_desc_t* read_font_desc(char* fname,float factor,int verbose);