diff options
author | wm4 <wm4@nowhere> | 2013-12-11 23:15:29 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-12 01:25:21 +0100 |
commit | fcfd04409008cf1eed62b778f0b388023f00c005 (patch) | |
tree | 692b19f8010d36b086b802d2b7d7dfd4fc816271 /sub/osd.h | |
parent | 7c7d214775f87e82312aa1441d59ddf7c0df9d2e (diff) | |
download | mpv-fcfd04409008cf1eed62b778f0b388023f00c005.tar.bz2 mpv-fcfd04409008cf1eed62b778f0b388023f00c005.tar.xz |
sd_lavc: factor out bitmap positioning code
Diffstat (limited to 'sub/osd.h')
-rw-r--r-- | sub/osd.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -231,6 +231,9 @@ void osd_draw_on_image_p(struct osd_state *osd, struct mp_osd_res res, void osd_object_get_scale_factor(struct osd_state *osd, struct osd_object *obj, double *sw, double *sh); +void osd_rescale_bitmaps(struct sub_bitmaps *imgs, int frame_w, int frame_h, + struct mp_osd_res res, double compensate_par); + // defined in osd_libass.c and osd_dummy.c void osd_object_get_bitmaps(struct osd_state *osd, struct osd_object *obj, |