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 75536f6692..6399804288 100644
--- a/sub/osd.h
+++ b/sub/osd.h
@@ -235,6 +235,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_coords_to_video(struct osd_state *osd, int frame_w, int frame_h,
+ int *x, int *y);
+
void osd_rescale_bitmaps(struct sub_bitmaps *imgs, int frame_w, int frame_h,
struct mp_osd_res res, double compensate_par);