summaryrefslogtreecommitdiffstats
path: root/DOCS/man/vo.rst
diff options
context:
space:
mode:
authorBin Jin <bjin1990@gmail.com>2014-08-26 01:26:48 +0200
committerwm4 <wm4@nowhere>2014-08-26 22:19:32 +0200
commit08b5dccd1212e442fa3105fc9f14ebe2e8fc445b (patch)
tree3b61f3ffde183ddc6f88b9bf889e6cea42c048f7 /DOCS/man/vo.rst
parentb3e788d3f462e4f8acaf4ea9bf0cb07f8d622c7c (diff)
downloadmpv-08b5dccd1212e442fa3105fc9f14ebe2e8fc445b.tar.bz2
mpv-08b5dccd1212e442fa3105fc9f14ebe2e8fc445b.tar.xz
vo_opengl: add parameter to gaussian filter
Add a new parameter 'p' to gaussian filter. The new formula used a different base taken from fmtconv plugin, so that the new parameter is exactly same as the one used in Avisynth and Vapoursynth. The new default value is 2 / log(2) * 10, with the default value it conforms to the original kernel taken from vector-agg.
Diffstat (limited to 'DOCS/man/vo.rst')
-rw-r--r--DOCS/man/vo.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst
index a928809d93..13e6e587ee 100644
--- a/DOCS/man/vo.rst
+++ b/DOCS/man/vo.rst
@@ -319,6 +319,14 @@ Available video output drivers are:
Mitchell-Netravali. The ``b`` and ``c`` parameters can be set with
``lparam1`` and ``lparam2``. Both are set to 1/3 by default.
+ ``gaussian``
+ Gaussian filter with a parameter ``p`` for sharpness control.
+ ``p`` can be set to float number between 1(blurry) and 100(sharp)
+ and has a default value of about 28.8 (see ``lparam1``).
+
+ Note that for extremely small value of ``p``, a large filter radius
+ might be required to avoid unintended artifacts (see ``lradius``).
+
There are some more filters. For a complete list, pass ``help`` as
value, e.g.::
@@ -336,7 +344,7 @@ Available video output drivers are:
Set radius for filters listed below, must be a float number between 1.0
and 8.0. Defaults to be 2.0 if not specified.
- ``sinc``, ``lanczos``, ``blackman``
+ ``sinc``, ``lanczos``, ``blackman``, ``gaussian``
Note that depending on filter implementation details and video scaling
ratio, the radius that actually being used might be different