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
..
2025-11-06 20:36:08 +00:00
2025-10-24 00:16:21 +00:00
2025-10-24 00:16:21 +00:00
2025-10-24 00:16:21 +00:00
2025-03-04 12:51:54 +01:00
2025-04-20 22:04:36 +02:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-03-04 12:51:54 +01:00
2025-03-29 01:39:55 +01:00
2025-03-04 12:51:54 +01:00
2025-04-10 03:01:33 +02:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-10-24 00:16:21 +00:00
2025-10-24 00:16:21 +00:00
2025-10-24 00:16:21 +00:00
2025-03-04 12:51:54 +01:00
2025-04-20 22:04:36 +02:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-03-04 12:51:54 +01:00
2025-03-04 12:44:18 +01:00
2025-03-04 12:51:54 +01:00
2025-04-10 03:01:33 +02:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-05-26 03:37:09 +02:00
2025-05-26 03:37:09 +02:00
2025-10-24 00:16:21 +00:00
2025-10-24 00:16:21 +00:00
2025-04-20 22:04:36 +02:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-03-04 12:51:54 +01:00
2025-03-29 01:39:55 +01:00
2025-03-04 12:51:54 +01:00
2025-04-10 03:01:33 +02:00
2025-11-06 20:36:08 +00:00
2025-10-24 00:16:21 +00:00
2025-10-24 00:16:21 +00:00
2025-10-24 00:16:21 +00:00
2025-03-04 12:51:54 +01:00
2025-04-20 22:04:36 +02:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-11-06 20:36:08 +00:00
2025-03-04 12:51:54 +01:00
2025-03-04 12:44:18 +01:00
2025-03-04 12:51:54 +01:00
2025-04-10 03:01:33 +02:00
2025-11-06 20:36:08 +00:00