From be5994a7818a63e16d78ed4817eb1ac490869bfe Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 6 Feb 2015 23:20:41 +0100 Subject: video: work around libswscale for PNG pixel formats The intention is that we can test vo_opengl with high bit depth PNGs better. This throws libswscale completely out of the loop, which before was needed in order to convert from big endian to little endian. Also apply a minimal cleanup to fmt-conversion.c (unrelated). --- video/sws_utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video/sws_utils.h') diff --git a/video/sws_utils.h b/video/sws_utils.h index 7c7c1af34b..ac643dd7cf 100644 --- a/video/sws_utils.h +++ b/video/sws_utils.h @@ -59,6 +59,8 @@ struct vf_seteq; int mp_sws_set_vf_equalizer(struct mp_sws_context *sws, struct vf_seteq *eq); int mp_sws_get_vf_equalizer(struct mp_sws_context *sws, struct vf_seteq *eq); +struct mp_image *mp_img_swap_to_native(struct mp_image *img); + #endif /* MP_SWS_UTILS_H */ // vim: ts=4 sw=4 et tw=80 -- cgit v1.2.3