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 /libmpcodecs/sws_utils.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 'libmpcodecs/sws_utils.h')
-rw-r--r-- | libmpcodecs/sws_utils.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libmpcodecs/sws_utils.h b/libmpcodecs/sws_utils.h index 70b7d0b7fb..a0cc47d850 100644 --- a/libmpcodecs/sws_utils.h +++ b/libmpcodecs/sws_utils.h @@ -25,9 +25,7 @@ int mp_sws_set_colorspace(struct SwsContext *sws, struct mp_csp_details *csp); bool mp_sws_supported_format(int imgfmt); -void mp_image_swscale(struct mp_image *dst, - const struct mp_image *src, - struct mp_csp_details *csp, +void mp_image_swscale(struct mp_image *dst, struct mp_image *src, int my_sws_flags); #endif /* MP_SWS_UTILS_H */ |