Mercurial > mplayer.hg
view Gui/bitmap.h @ 9009:f2d4324561b2
1) Removed the code to remove {} from sub_read_line_ssa
2) Put this code in a separated function: sub_pp_ssa
3) After recoding added a call to sub_pp_ssa. To be more acqurate: I
added a pointer to function to hold a postprocessing function to be
invoked after using iconv. There are one pointer for each format, if
this pointer isn.t NULL the post processing function is called.
patch by Salvador Eduardo Tropea <salvador@inti.gov.ar>
help by <hephooey@fastmail.fm>
author | arpi |
---|---|
date | Sun, 19 Jan 2003 00:54:55 +0000 |
parents | 30a9a6358ee9 |
children | aa55f2f0b057 |
line wrap: on
line source
#ifndef __MYSAMPLE #define __MYSAMPLE typedef struct _txSample { unsigned int Width; unsigned int Height; unsigned int BPP; unsigned long ImageSize; char * Image; } txSample; extern int bpRead( char * fname, txSample * bf ); extern int conv24to32( txSample * bf ); extern void Convert32to1( txSample * in,txSample * out,int adaptivlimit ); extern void Convert1to32( txSample * in,txSample * out ); #endif