summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-07-18 13:48:57 +0200
committerwm4 <wm4@nowhere>2013-07-18 13:48:57 +0200
commitb606a6ce1a94017ee6519d884661ef828878226a (patch)
treeb05fec355ffec3edb2b818e9f3a5460622d2588c /video/sws_utils.h
parent7f88e36911fc1ad8a59c7335a0d33119519742fc (diff)
downloadmpv-b606a6ce1a94017ee6519d884661ef828878226a.tar.bz2
mpv-b606a6ce1a94017ee6519d884661ef828878226a.tar.xz
sws_utils: make hq swscale flags available with mp_sws_hq_flags
No need to duplicate this on the call-site.
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r--video/sws_utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/sws_utils.h b/video/sws_utils.h
index f35cd626d1..07fc3c76b1 100644
--- a/video/sws_utils.h
+++ b/video/sws_utils.h
@@ -13,6 +13,8 @@ struct mp_csp_details;
// Guaranteed to be a power of 2 and > 1.
#define SWS_MIN_BYTE_ALIGN 16
+extern const int mp_sws_hq_flags;
+
bool mp_sws_supported_format(int imgfmt);
void mp_image_swscale(struct mp_image *dst, struct mp_image *src,