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-04-16 23:25:17 +02:00
2026-04-29 13:49:27 +03:00
2026-03-02 13:14:07 +00:00
2026-02-28 09:56:01 +01:00
2024-12-05 21:10:29 +01:00
2026-04-16 23:23:36 +02:00
2026-04-16 23:23:36 +02:00
2026-05-03 18:22:03 +02:00
2025-07-31 11:32:20 +00:00
2024-10-07 19:51:34 +02:00
2026-04-28 12:29:37 +00:00
2025-03-14 19:50:44 +01:00
2025-04-03 06:04:57 +02:00
2025-04-03 06:04:57 +02:00
2026-05-11 19:59:39 +02:00
2026-03-28 18:50:13 +01:00
2026-04-28 12:29:37 +00:00
2026-03-28 16:48:13 +00:00
2026-04-10 15:12:18 +02:00
2024-10-24 22:50:00 +02:00
2026-04-10 15:12:18 +02:00
2026-04-10 15:12:18 +02:00
2022-08-19 22:09:36 +02:00
2024-10-24 22:50:00 +02:00
2024-12-05 21:10:29 +01:00
2026-04-28 12:29:37 +00:00
2025-07-22 19:56:34 +02:00
2025-03-14 19:50:44 +01:00
2026-04-10 15:12:18 +02:00
2026-04-16 17:19:51 +00:00
2026-04-16 23:25:10 +02:00
2026-05-03 18:22:05 +02:00
2026-04-16 23:25:10 +02:00
2026-04-27 12:29:48 +00:00
2026-03-28 18:50:14 +01:00
2026-03-28 18:50:13 +01:00
2026-04-16 23:23:36 +02:00
2026-04-28 12:29:37 +00:00
2026-04-16 23:25:17 +02:00
2026-04-16 23:25:17 +02:00
2026-04-16 23:25:17 +02:00
2026-04-28 12:29:37 +00:00
2026-04-16 23:25:17 +02:00
2026-03-12 22:09:04 +01:00
2026-04-04 02:43:59 +02:00
2026-03-01 23:45:11 +00:00
2026-03-01 23:45:11 +00:00
2026-03-01 23:45:11 +00:00
2024-12-16 12:21:55 +01:00
2026-04-10 15:12:18 +02:00
2026-05-03 14:52:32 +00:00
2026-05-03 14:52:32 +00:00
2026-03-28 18:50:13 +01:00
2026-04-10 15:12:18 +02:00
2025-03-28 14:44:34 -03:00
2024-03-31 00:08:42 +01:00
2026-03-12 22:09:04 +01:00
2024-11-21 12:49:56 +01:00
2026-04-28 12:29:37 +00:00