diff options
author | Niklas Haas <git@haasn.xyz> | 2017-07-12 19:08:58 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-07-12 19:08:58 +0200 |
commit | 18c74f7dfe9cbefe9de818caa00c3f77ce600f71 (patch) | |
tree | 2e73a2686a0fd1fadb7f45740c191741b1e4372c /DOCS | |
parent | e18656732995f235516f49a88bd0d6e0e7d3fc7e (diff) | |
download | mpv-18c74f7dfe9cbefe9de818caa00c3f77ce600f71.tar.bz2 mpv-18c74f7dfe9cbefe9de818caa00c3f77ce600f71.tar.xz |
vo_opengl: generalize --scale-clamp etc.
This can help fight ringing without completely killing it, thus
providing a middle-ground between ringing and aliasing.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 3 | ||||
-rw-r--r-- | DOCS/man/options.rst | 16 |
2 files changed, 13 insertions, 6 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index a09329f264..baf767649e 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -56,6 +56,9 @@ Interface changes --demux-lavf-o=decryption_key=<hex> instead (whatever fits your situation). - rename --opengl-dumb-mode=no to --opengl-dumb-mode=auto, and make `no` always disable it (unless forced on by hardware limitation). + - generalize --scale-clamp, --cscale-clamp etc. to accept a float between + 0.0 and 1.0 instead of just being a flag. A value of 1.0 corresponds to + the old `yes`, and a value of 0.0 corresponds to the old `no`. --- mpv 0.25.0 --- - remove opengl-cb dxva2 dummy hwdec interop (see git "vo_opengl: remove dxva2 dummy hwdec backend") diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index bcf207470a..07f961af83 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4012,12 +4012,16 @@ The following video options are currently all specific to ``--vo=opengl`` and this too low (eg. 0.5) leads to bad results. It's generally recommended to stick to values between 0.8 and 1.2. -``--scale-clamp``, ``--cscale-clamp``, ``--dscale-clamp``, ``--tscale-clamp`` - Clamp the filter kernel's value range to [0-1]. This is especially useful - for ``--tscale``, where it reduces excessive ringing artifacts in the - temporal domain (which typically manifest themselves as short flashes or - fringes of black, mostly around moving edges) in exchange for potentially - adding more blur. +``--scale-clamp=<0.0-1.0>``, ``--cscale-clamp``, ``--dscale-clamp``, ``--tscale-clamp`` + Specifies a weight bias to multiply into negative coefficients. Specifying + ``--scale-clamp=1`` has the effect of removing negative weights completely, + thus effectively clamping the value range to [0-1]. Values between 0.0 and + 1.0 can be specified to apply only a moderate diminishment of negative + weights. This is especially useful for ``--tscale``, where it reduces + excessive ringing artifacts in the temporal domain (which typically + manifest themselves as short flashes or fringes of black, mostly around + moving edges) in exchange for potentially adding more blur. The default for + ``--tscale-clamp`` is 1.0, the others default to 0.0. ``--scale-cutoff=<value>``, ``--cscale-cutoff=<value>``, ``--dscale-cutoff=<value>`` Cut off the filter kernel prematurely once the value range drops below |