Mercurial > mplayer.hg
comparison vobsub.h @ 6110:7bea806b9c5f
Improvment for spu subtitles.
Removed the integreted spudec in vobsub.
Various cleanup/bugfix in vobsub (no more auto palette when a true one is
here)
HW spu rendering moved in spudec because we first need to reassable the
packet before sending them to the hw.
Spudec is now created only if nedded.
author | albeu |
---|---|
date | Fri, 17 May 2002 23:47:27 +0000 |
parents | 3af2729c5c87 |
children | f8551f89dd48 |
comparison
equal
deleted
inserted
replaced
6109:d43d06d9d658 | 6110:7bea806b9c5f |
---|---|
1 #ifndef MPLAYER_VOBSUB_H | 1 #ifndef MPLAYER_VOBSUB_H |
2 #define MPLAYER_VOBSUB_H | 2 #define MPLAYER_VOBSUB_H |
3 | 3 |
4 extern void *vobsub_open(const char *subname, const int force); | 4 extern void *vobsub_open(const char *subname, const char *const ifo, const int force, void** spu); |
5 extern void vobsub_process(void *vob, float pts); | |
6 extern void vobsub_reset(void *vob); | 5 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)); | 6 extern int vobsub_parse_ifo(void* this, const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force); |
8 extern int vobsub_parse_ifo(const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force); | 7 extern int vobsub_get_packet(void *vobhandle, float pts,void** data, int* timestamp); |
8 extern void vobsub_close(void *this); | |
9 | 9 |
10 #endif /* MPLAYER_VOBSUB_H */ | 10 #endif /* MPLAYER_VOBSUB_H */ |