summaryrefslogtreecommitdiffstats
path: root/sub/osd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-13 00:19:17 +0100
committerwm4 <wm4@nowhere>2013-12-13 00:19:17 +0100
commitb0bd93cbc18032dde6abb42cbc3068e906622e48 (patch)
treec645527986f85a5ea735ff81c2fcd0115651489b /sub/osd.h
parent88432b817d0ca115ff97ec76065f1dabcb5f9137 (diff)
downloadmpv-b0bd93cbc18032dde6abb42cbc3068e906622e48.tar.bz2
mpv-b0bd93cbc18032dde6abb42cbc3068e906622e48.tar.xz
dvdnav: support mouse interaction
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);