diff options
author | Niklas Haas <git@haasn.xyz> | 2017-07-03 11:23:48 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-07-03 11:51:37 +0200 |
commit | 8854a2bef61090fdcc6b815112ddd966ef07d771 (patch) | |
tree | 553ec82e7df0eeff9aa980c00f6ad5c14b385518 /DOCS/man | |
parent | 41b3b116695bcad3fdb3129b133e2a97d9a76847 (diff) | |
download | mpv-8854a2bef61090fdcc6b815112ddd966ef07d771.tar.bz2 mpv-8854a2bef61090fdcc6b815112ddd966ef07d771.tar.xz |
filter_kernels: add radius cutoff functionality
This allows filter functions to be prematurely cut off once their
contributions start becoming insignificant. This effectively prevents
wasted GPU time sampling from parts of the function that are essentially
reduced to zero by the window function, providing anywhere from a 10% to
20% speedup. (5700μs -> 4700μs for me)
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/options.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index a7ec35b3ae..94a153408a 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -4004,6 +4004,14 @@ The following video options are currently all specific to ``--vo=opengl`` and fringes of black, mostly around moving edges) in exchange for potentially adding more blur. +``--scale-cutoff=<value>``, ``--cscale-cutoff=<value>``, ``--dscale-cutoff=<value>`` + Cut off the filter kernel prematurely once the value range drops below + this threshold. Doing so allows more aggressive pruning of skippable + coefficients by disregarding parts of the LUT which are effectively zeroed + out by the window function. Only affects polar (EWA) filters. The default + is 0.001 for each, which is perceptually transparent but provides a 10%-20% + speedup, depending on the exact radius and filter kernel chosen. + ``--scale-taper=<value>``, ``--scale-wtaper=<value>``, ``--dscale-taper=<value>``, ``--dscale-wtaper=<value>``, ``--cscale-taper=<value>``, ``--cscale-wtaper=<value>``, ``--tscale-taper=<value>``, ``--tscale-wtaper=<value>`` Kernel/window taper factor. Increasing this flattens the filter function. Value range is 0 to 1. A value of 0 (the default) means no flattening, a |