Mercurial > mplayer.hg
view libvo/font_load.h @ 2798:ee2cd36a81a2
Code cleanup - emms is not required when MMX block is commented out.
Special notes for Michael Niedermayer:
Are you still here?
If you don't like for(cond;cond;cond) C-constructions and prefer
asm ones: "jb 1b" then use .align 16 pseudo assembler instructions
else loops rather will be not aligned on correct boundary.
(16 it's for K7 for pent should be 8).
Your parts have a lot such lacks.
author | nick |
---|---|
date | Sat, 10 Nov 2001 18:40:49 +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);