summaryrefslogtreecommitdiffstats
path: root/vobsub.h
blob: a5700c06b3b696350720e485a2d4a1a54fa52609 (plain)
1
2
3
4
5
6
7
8
9
10
#ifndef MPLAYER_VOBSUB_H
#define MPLAYER_VOBSUB_H

extern void *vobsub_open(const char *subname, const int force);
extern void vobsub_process(void *vob, float pts);
extern void vobsub_reset(void *vob);
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));
extern int vobsub_parse_ifo(const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force);

#endif /* MPLAYER_VOBSUB_H */