diff options
author | wm4 <wm4@nowhere> | 2015-02-06 23:20:41 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-02-06 23:22:16 +0100 |
commit | be5994a7818a63e16d78ed4817eb1ac490869bfe (patch) | |
tree | a6322d3e942bd945b32a1310aaa35a7fa2c0c116 /video/sws_utils.h | |
parent | 5de29b860b25bb4ba8b1e02d9b3aee7a81009be0 (diff) | |
download | mpv-be5994a7818a63e16d78ed4817eb1ac490869bfe.tar.bz2 mpv-be5994a7818a63e16d78ed4817eb1ac490869bfe.tar.xz |
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).
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r-- | video/sws_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |