diff options
author | wm4 <wm4@nowhere> | 2019-10-20 01:57:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-10-20 02:17:31 +0200 |
commit | 51e141f7ba8a9207a752d295da59b01286e02c23 (patch) | |
tree | 60431bc29d227a65b97228924bc8e8950f39c91e /DOCS/man | |
parent | 07aa29ed8e11797310bbc8d569cc58e29bb794e3 (diff) | |
download | mpv-51e141f7ba8a9207a752d295da59b01286e02c23.tar.bz2 mpv-51e141f7ba8a9207a752d295da59b01286e02c23.tar.xz |
sws_utils: hack in zimg redirection support
Awful shit. I probably wouldn't accept this code from someone else, just
so you know.
The idea is that a sws_utils user can automatically use zimg without
large code changes. Basically, laziness. Since zimg support is still
very new, and I don't want that anything breaks just because zimg was
enabled at build time, an option needs to be set to enable it. (I have
especially especially obscure stuff in mind, which is all what
libswscale is used in mpv.)
This _still_ doesn't cause zimg to be used anywhere, because the
sws_utils user has to opt-in by setting allow_zimg. This is because some
users depend on certain libswscale features.
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 6b402d3224..008867feab 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -3830,6 +3830,21 @@ Software Scaler ``--sws-cvs=<v>`` Software scaler chroma vertical shifting. See ``--sws-scaler``. +``--sws-allow-zimg=<yes|no>`` + Allow using zimg (if the component using the internal swscale wrapper + explicitly allows so). In this case, zimg *may* be used, if the internal + zimg wrapper supports the input and output formats. It will silently + fall back to libswscale if one of these conditions does not apply. + + If zimg is used, the other ``--sws-`` options are ignored, and the + ``--zimg-`` options are used instead. + + If the internal component using the swscale wrapper hooks up logging + correctly, a verbose priority log message will indicate whether zimg is + being used. + + Currently, barely anything uses this. + ``--zimg--scaler=<point|bilinear|bicubic|spline16|lanczos>`` Zimg luma scaler to use (default: bilinear). |