Ramiro Polla
4bee010844
swscale/range_convert: fix truncation bias in range conversion
...
384fe39623 introduced a regression in the
range conversion offset calculation, resulting in a slight green tint
in full-range RGB to YUV conversions of grayscale values.
The offset being calculated was not taking into consideration a bias
needed for correctly rounding the result from the multiplication stage,
leading to a truncated value.
Fixes issue #11646 .
2025-11-06 20:36:08 +00:00
..
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2020-11-07 23:43:26 +10:00
2020-11-07 23:43:26 +10:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2025-02-26 14:52:34 +01:00
2021-11-05 16:22:04 +01:00
2024-03-17 16:08:13 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2023-05-02 10:57:21 +02:00
2025-11-06 20:36:08 +00:00
2023-11-09 12:53:35 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2024-03-16 19:19:42 +01:00
2023-11-09 12:53:35 +01:00
2023-05-02 10:57:21 +02:00
2023-05-02 10:57:21 +02:00
2023-05-02 10:57:21 +02:00
2024-10-16 17:38:57 -03:00
2025-03-04 12:51:54 +01:00
2025-11-06 20:36:08 +00:00
2022-07-09 21:05:02 +02:00
2025-03-04 12:44:18 +01:00
2025-03-04 12:51:54 +01:00
2025-11-06 20:36:08 +00:00
2023-03-26 01:46:48 +01:00
2022-11-01 09:24:29 +11:00