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
);