view vobsub.h @ 6008:c0b50929b2cd

Sometimes yuvscaler can't determine the output size/norm of pal/secam/ntsc, so new option "-norm" is implemented for such source files! by Juergen Hammelmann <juergen.hammelmann@gmx.de>
author jaf
date Tue, 07 May 2002 08:39:22 +0000
parents 3af2729c5c87
children 7bea806b9c5f
line wrap: on
line source

#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 */