comparison vobsub.h @ 5388:3af2729c5c87

* New command line switch for mplayer & mencoder: -ifo <ifo file> Indicate the file that will be used to load palette and frame size for MPEG subtitles. * mencoder.c: Fix cropping when decoding MPEG2. * spudec.c: If scaling is needed only do it once. Change WITH_NO_ANTIALIASING to ANTIALIASING_ALGORITHM. * vobsub.c: Support reading info regarding size and palette from IDX file instead of IFO file. Support streams containing audio or video.
author kmkaplan
date Fri, 29 Mar 2002 03:17:57 +0000
parents 1ee5574d67d6
children 7bea806b9c5f
comparison
equal deleted inserted replaced
5387:44661cb881d0 5388:3af2729c5c87
3 3
4 extern void *vobsub_open(const char *subname, const int force); 4 extern void *vobsub_open(const char *subname, const int force);
5 extern void vobsub_process(void *vob, float pts); 5 extern void vobsub_process(void *vob, float pts);
6 extern void vobsub_reset(void *vob); 6 extern void vobsub_reset(void *vob);
7 extern void vobsub_draw(void *vob, int dxs, int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride)); 7 extern void vobsub_draw(void *vob, int dxs, int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
8 extern int vobsub_parse_ifo(const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force);
8 9
9 #endif /* MPLAYER_VOBSUB_H */ 10 #endif /* MPLAYER_VOBSUB_H */