1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-30 03:32:50 +00:00

DOCS/options: add catmull_rom as an example for --scale

Adds catmull_rom as an example for --scale in the user manual, alongside
a brief description of the filter.

catmull_rom was only exposed to users as an available filter through
--scale=help. However, catmull_rom is very often aliased as "Bicubic" in
other applications such as GIMP and VapourSynth, and is a relatively
popular resizing filter. The documentation lacked any description of
catmull_rom, outside of a brief mention of it in the --tscale section.
This commit is contained in:
dokur0chan 2023-09-09 15:58:40 -04:00 committed by sfan5
parent 8536aaac3c
commit e15619e70d

View File

@ -5284,6 +5284,13 @@ them.
``--scale-param1`` and ``--scale-param2``. This filter is very good at
downscaling (see ``--dscale``).
``catmull_rom``
Catmull-Rom. A Cubic filter in the same vein as ``mitchell``, where
the ``B`` and ``C`` parameters are ``0.0`` and ``0.5`` respectively.
This filter is sharper than ``mitchell``, but it results in mild
ringing. Like ``mitchell``, this filter is good at downscaling (see
``--dscale``).
``oversample``
A version of nearest neighbour that (naively) oversamples pixels, so
that pixels overlapping edges get linearly interpolated instead of