summaryrefslogtreecommitdiffstats
path: root/sub/sub.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sub.h')
-rw-r--r--sub/sub.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sub/sub.h b/sub/sub.h
index 649f196414..cc59077011 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -238,6 +238,12 @@ bool osd_draw_sub(struct osd_state *osd, struct sub_bitmaps *out_imgs,
struct sub_render_params *sub_params,
const bool formats[SUBBITMAP_COUNT]);
+struct mp_image;
+struct mp_csp_details;
+bool osd_draw_on_image(struct osd_state *osd, struct mp_image *dest,
+ struct mp_csp_details *dest_csp,
+ struct sub_render_params *sub_params);
+
bool sub_bitmaps_bb(struct sub_bitmaps *imgs, int *x1, int *y1,
int *x2, int *y2);