zimg: make --zimg-fast=yes default

This is mostly just because of the odd RGB default gamma issue, which
shouldn't have any real impact. This also sets allow_approximate_gamma,
which I hope is fine for normal use cases.
This commit is contained in:
wm4 2019-11-02 02:22:16 +01:00
parent c9d685f5d6
commit 00838fe0c3
3 changed files with 2 additions and 2 deletions

View File

@ -3889,7 +3889,7 @@ Software Scaler
``--zimg-fast=<yes|no>`` ``--zimg-fast=<yes|no>``
Allow optimizations that help with performance, but reduce quality (default: Allow optimizations that help with performance, but reduce quality (default:
no). Currently, this may simplify gamma conversion operations. yes). Currently, this may simplify gamma conversion operations.
Audio Resampler Audio Resampler

View File

@ -69,7 +69,6 @@ sws-fast=yes
sws-allow-zimg=yes sws-allow-zimg=yes
zimg-scaler=bilinear zimg-scaler=bilinear
zimg-dither=no zimg-dither=no
zimg-fast=yes
# Compatibility alias (deprecated) # Compatibility alias (deprecated)
[opengl-hq] [opengl-hq]

View File

@ -64,6 +64,7 @@ const struct m_sub_options zimg_conf = {
.scaler_chroma_params = {NAN, NAN}, .scaler_chroma_params = {NAN, NAN},
.scaler_chroma = ZIMG_RESIZE_BILINEAR, .scaler_chroma = ZIMG_RESIZE_BILINEAR,
.dither = ZIMG_DITHER_RANDOM, .dither = ZIMG_DITHER_RANDOM,
.fast = 1,
}, },
}; };