summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-11 23:15:29 +0100
committerwm4 <wm4@nowhere>2013-12-12 01:25:21 +0100
commitfcfd04409008cf1eed62b778f0b388023f00c005 (patch)
tree692b19f8010d36b086b802d2b7d7dfd4fc816271 /sub/osd.h
parent7c7d214775f87e82312aa1441d59ddf7c0df9d2e (diff)
downloadmpv-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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sub/osd.h b/sub/osd.h
index cdd681b339..fc2b76df00 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -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,