diff options
author | wm4 <wm4@nowhere> | 2015-09-23 22:43:27 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-23 22:43:27 +0200 |
commit | cb1c0725345d4bf7e0226aceb934f06f40cc0ee1 (patch) | |
tree | 5816d4e8e30f845fe0d3637061f8db2722601de4 /DOCS/man/vo.rst | |
parent | c17ff1703a85679e3129b3755318fe926d85d9a6 (diff) | |
download | mpv-cb1c0725345d4bf7e0226aceb934f06f40cc0ee1.tar.bz2 mpv-cb1c0725345d4bf7e0226aceb934f06f40cc0ee1.tar.xz |
vo_opengl: remove sharpen scalers, add sharpen sub-option
This turns the old scalers (inherited from MPlayer) into a pre-
processing step (after color conversion and before scaling). The code
for the "sharpen5" scaler is reused for this.
The main reason MPlayer implemented this as scalers was perhaps because
FBOs were too expensive, and making it a scaler allowed to implement
this in 1 pass. But unsharp masking is not really a scaler, and I would
guess the result is more like combining bilinear scaling and unsharp
masking.
Diffstat (limited to 'DOCS/man/vo.rst')
-rw-r--r-- | DOCS/man/vo.rst | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index e3f0757280..52aedfa494 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -375,10 +375,6 @@ Available video output drivers are: Scale parameter (``t``). Increasing this makes the result blurrier. Defaults to 1. - sharpen3, sharpen5 - Sharpening strength. Increasing this makes the image sharper but - adds more ringing and aliasing. Defaults to 0.5. - oversample Minimum distance to an edge before interpolation is used. Setting this to 0 will always interpolate edges, whereas setting it to 0.5 @@ -408,8 +404,8 @@ Available video output drivers are: between 0.0 and 1.0. The default value of 0.0 disables antiringing entirely. - Note that this doesn't affect the special filters ``bilinear``, - ``bicubic_fast`` or ``sharpen``. + Note that this doesn't affect the special filters ``bilinear`` and + ``bicubic_fast``. ``scale-window=<window>`` (Advanced users only) Choose a custom windowing function for the kernel. @@ -645,6 +641,16 @@ Available video output drivers are: The slope of the sigmoid curve used for ``sigmoid-upscaling``, must be a float between 1.0 and 20.0. Defaults to 6.5 if not specified. + ``sharpen=<value>`` + If set to a value other than 0, enable an unsharp masking filter. + Positive values will sharpen the image (but add more ringing and + aliasing). Negative values will blur the image. If your GPU is powerful + enough, consider alternatives like the ``ewa_lanczossharp`` scale + filter, or the ``scale-blur`` sub-option. + + (This feature is the replacement for the old ``sharpen3`` and + ``sharpen5`` scalers.) + ``glfinish`` Call ``glFinish()`` before and after swapping buffers (default: disabled). Slower, but might help getting better results when doing framedropping. |