diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/client_api_examples/qml/main.qml | 2 | ||||
-rw-r--r-- | DOCS/interface-changes.rst | 2 | ||||
-rw-r--r-- | DOCS/man/vo.rst | 18 |
3 files changed, 15 insertions, 7 deletions
diff --git a/DOCS/client_api_examples/qml/main.qml b/DOCS/client_api_examples/qml/main.qml index 75aafe4da6..ec06790e86 100644 --- a/DOCS/client_api_examples/qml/main.qml +++ b/DOCS/client_api_examples/qml/main.qml @@ -50,7 +50,7 @@ Item { text: "Make video look like on a Smart TV" onClicked: { if (checkbox.checked) { - renderer.command(["vo_cmdline", "scale=sharpen3:scale-param1=5.0"]) + renderer.command(["vo_cmdline", "sharpen=5.0"]) } else { renderer.command(["vo_cmdline", ""]) } diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 713dea8038..476932df26 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -19,6 +19,8 @@ Interface changes :: + --- mpv 0.12.0 --- + - vo_opengl: remove sharpen3/sharpen5 scale filters, add sharpen sub-option --- mpv 0.11.0 --- - add "af-metadata" property --- mpv 0.10.0 --- 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. |