osd: rewrite OSD rendering to use libass
[mplayer.git] / sub / sd.h
blobd5aea5c1a66e52c29f6d53b74060da860eead7dc
1 #ifndef MPLAYER_SD_H
2 #define MPLAYER_SD_H
4 struct osd_state;
5 struct sh_sub;
7 struct sd_functions {
8 void (*init)(struct sh_sub *sh, struct osd_state *osd);
9 void (*decode)(struct sh_sub *sh, struct osd_state *osd,
10 void *data, int data_len, double pts, double duration);
11 void (*reset)(struct sh_sub *sh, struct osd_state *osd);
12 void (*switch_off)(struct sh_sub *sh, struct osd_state *osd);
13 void (*uninit)(struct sh_sub *sh);
16 #endif