Files
ffmpeg/libswscale
Niklas Haas c1ff2c24b5 swscale/filters: hard-code radius for trivial kernels
box() and triangle() have well-defined, trivially verifiable numerical
inverses.

We could actually pre-compute and hard-code the numerical inverse of all
non-parametric kernels, but I'm a bit reluctant to do this as I have plans to
adjust the value of SWS_MAX_REDUCE_CUTOFF based on the desired bit depth of the
output, which makes a hard-coding approach unfeasible.

(It would also be a brittle solution that may break whenever we extend the
scaler configuration API, as well as making it harder to add new filters)

Signed-off-by: Niklas Haas <git@haasn.dev>
2026-05-11 19:59:39 +02:00
..
2026-05-03 18:22:03 +02:00
2026-04-28 12:29:37 +00:00
2026-04-28 12:29:37 +00:00
2025-07-22 19:56:34 +02:00
2026-04-28 12:29:37 +00:00
2026-04-16 23:25:17 +02:00