summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
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 239286c5e6..048256bb92 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -200,6 +200,9 @@ void osd_draw_on_image_p(struct osd_state *osd, struct mp_osd_res res,
double video_pts, int draw_flags,
struct mp_image_pool *pool, struct mp_image *dest);
+struct mp_image_params;
+struct mp_osd_res osd_res_from_image_params(const struct mp_image_params *p);
+
void osd_object_get_scale_factor(struct osd_state *osd, int obj,
double *sw, double *sh);