Ramiro Polla
44bfe0da61
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 .
(cherry picked from commit 4bee010844 )
2025-11-06 21:57:08 +01:00
..
2024-03-17 16:08:13 +01:00
2025-04-10 03:01:33 +02:00
2025-04-10 03:01:33 +02:00
2023-04-19 21:12:03 +02:00
2024-03-16 19:19:42 +01:00
2022-08-02 02:27:05 +02:00
2025-07-03 20:18:55 +02:00
2022-08-02 02:27:05 +02:00
2023-10-03 16:57:02 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-12-27 10:41:25 -03:00
2022-12-27 10:41:25 -03:00
2023-07-20 20:30:13 +02:00
2025-11-06 21:57:08 +01:00
2025-11-06 21:57:08 +01:00
2025-11-06 21:57:08 +01:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-12-27 10:41:25 -03:00
2022-12-27 10:41:25 -03:00
2023-10-03 16:57:02 +02:00
2023-10-03 16:57:02 +02:00
2025-11-06 21:57:08 +01:00
2023-10-02 12:22:20 +02:00
2023-11-09 12:53:35 +01:00
2023-11-09 12:53:35 +01:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2024-03-16 19:19:42 +01:00
2024-06-24 11:24:04 +03:00
2025-06-11 19:19:50 +02:00
2023-10-03 16:57:02 +02:00
2023-10-03 16:57:02 +02:00
2023-11-09 12:53:35 +01:00
2023-09-18 17:15:53 +02:00
2022-09-05 08:02:28 +02:00
2023-03-26 22:04:44 +02:00
2023-03-25 19:28:36 +01:00
2023-03-26 22:04:44 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2023-01-03 21:35:03 -03:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2025-04-10 03:01:33 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-12-03 19:38:11 +01:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2025-04-10 03:01:33 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2022-11-06 14:39:27 +01:00
2024-03-16 19:19:42 +01:00
2022-10-05 14:38:51 +02:00
2025-11-06 21:57:08 +01:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2022-08-02 02:27:05 +02:00
2024-03-16 19:19:42 +01:00
2022-08-07 19:18:18 +10:00
2022-08-02 02:27:05 +02:00
2022-12-03 19:38:11 +01:00
2022-08-02 02:27:05 +02:00
2022-12-03 19:38:11 +01:00
2023-11-09 12:53:35 +01:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00
2022-08-02 02:30:26 +02:00