mp_msg: print messages to stdout, statusline to stderr
[mplayer.git] / sub / sd.h
blob7a0740f82399009b3429f7541d899904248b7092
1 #ifndef MPLAYER_SD_H
2 #define MPLAYER_SD_H
4 struct osd_state;
5 struct sh_sub;
6 struct sub_bitmaps;
8 struct sd_functions {
9 int (*init)(struct sh_sub *sh, struct osd_state *osd);
10 void (*decode)(struct sh_sub *sh, struct osd_state *osd,
11 void *data, int data_len, double pts, double duration);
12 void (*get_bitmaps)(struct sh_sub *sh, struct osd_state *osd,
13 struct sub_bitmaps *res);
14 void (*reset)(struct sh_sub *sh, struct osd_state *osd);
15 void (*switch_off)(struct sh_sub *sh, struct osd_state *osd);
16 void (*uninit)(struct sh_sub *sh);
19 #endif