summaryrefslogtreecommitdiffstats
path: root/sub/sub.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-27 18:06:09 +0200
committerwm4 <wm4@nowhere>2012-11-01 02:07:45 +0100
commit9ba52ea6efd41db9dbd08311380f7fa633e22aa2 (patch)
tree698757630c88e96f323bc66461045234505ace91 /sub/sub.h
parentd9839fe8623c855b6b335df3a5b9783e3ed22266 (diff)
downloadmpv-9ba52ea6efd41db9dbd08311380f7fa633e22aa2.tar.bz2
mpv-9ba52ea6efd41db9dbd08311380f7fa633e22aa2.tar.xz
screenshot, draw_bmp: use colorspace passed with mp_image
Remove the explicit struct mp_csp_details parameters from all related functions, and use mp_image.colorspace/levels instead.
Diffstat (limited to 'sub/sub.h')
-rw-r--r--sub/sub.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sub/sub.h b/sub/sub.h
index 5013611e61..cdc094d290 100644
--- a/sub/sub.h
+++ b/sub/sub.h
@@ -205,10 +205,8 @@ void osd_draw(struct osd_state *osd, struct mp_osd_res res,
void (*cb)(void *ctx, struct sub_bitmaps *imgs), void *cb_ctx);
struct mp_image;
-struct mp_csp_details;
bool osd_draw_on_image(struct osd_state *osd, struct mp_osd_res res,
- double video_pts, int draw_flags, struct mp_image *dest,
- struct mp_csp_details *dest_csp);
+ double video_pts, int draw_flags, struct mp_image *dest);
struct mp_rect;
bool sub_bitmaps_bb(struct sub_bitmaps *imgs, struct mp_rect *out_bb);