summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-24 21:27:34 +0100
committerwm4 <wm4@nowhere>2012-11-24 21:27:34 +0100
commit4c21ad1f55c31596c32eb006b4d91fe0d036f466 (patch)
tree1798988ce5847876823820e352c5decc056255d5 /video/sws_utils.h
parente6ed0b1d3c21c2fc39d0c602829014590d6d99de (diff)
downloadmpv-4c21ad1f55c31596c32eb006b4d91fe0d036f466.tar.bz2
mpv-4c21ad1f55c31596c32eb006b4d91fe0d036f466.tar.xz
sws_utils: remove unused helper
sws_getContextFromCmdLine_hq() was used by the screenshot code, which now uses mp_image_swscale(). Also move the mp_sws_set_colorspace() declaration from sws_utils.h to vf_scale.c.
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r--video/sws_utils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/video/sws_utils.h b/video/sws_utils.h
index a0cc47d850..d9e22d763b 100644
--- a/video/sws_utils.h
+++ b/video/sws_utils.h
@@ -17,11 +17,6 @@ void sws_getFlagsAndFilterFromCmdLine(int *flags, SwsFilter **srcFilterParam,
struct SwsContext *sws_getContextFromCmdLine(int srcW, int srcH, int srcFormat,
int dstW, int dstH,
int dstFormat);
-struct SwsContext *sws_getContextFromCmdLine_hq(int srcW, int srcH,
- int srcFormat, int dstW,
- int dstH,
- int dstFormat);
-int mp_sws_set_colorspace(struct SwsContext *sws, struct mp_csp_details *csp);
bool mp_sws_supported_format(int imgfmt);