diff options
author | wm4 <wm4@nowhere> | 2012-10-27 18:06:09 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-11-01 02:07:45 +0100 |
commit | 9ba52ea6efd41db9dbd08311380f7fa633e22aa2 (patch) | |
tree | 698757630c88e96f323bc66461045234505ace91 /sub/sub.h | |
parent | d9839fe8623c855b6b335df3a5b9783e3ed22266 (diff) | |
download | mpv-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.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |