Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5779,7 +5779,7 @@ them.
``catmull_rom``
Catmull-Rom spline. Similar to ``mitchell``, but with ``B`` and ``C``
set to ``0.0`` and ``0.5`` respectively. This filter is sharper than
``mitchell``, but prone to ringing.
``mitchell``, but prone to ringing. This is the default for ``cscale``.

``oversample``
A version of nearest neighbour that (naively) oversamples pixels, so
Expand All @@ -5800,7 +5800,7 @@ them.
``--cscale=<filter>``
As ``--scale``, but for interpolating chroma information. If the image is
not subsampled, this option is ignored entirely. If this option is unset,
the filter implied by ``--scale`` will be applied.
the filter implied by ``--scale`` will be applied. Default is ``catmull_rom``.

``--dscale=<filter>``
Like ``--scale``, but apply these filters on downscaling instead.
Expand Down
2 changes: 1 addition & 1 deletion video/out/gpu/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ static const struct gl_video_opts gl_video_opts_def = {
{WINDOW_PREFERRED, .params = {NAN, NAN}, .functions = filter_windows},
},
[SCALER_CSCALE] = {
{SCALER_INHERIT, .params = {NAN, NAN}, .functions = cdscale_filters},
{SCALER_CATMULL_ROM, .params = {NAN, NAN}, .functions = cdscale_filters},
{WINDOW_PREFERRED, .params = {NAN, NAN}, .functions = filter_windows},
},
[SCALER_TSCALE] = {
Expand Down