Files
ffmpeg/tests/ref/vsynth/vsynth_lena-mjpeg-422
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

5 lines
278 B
Plaintext

fde3250911dbb7f1a5ed7cd385d92b2f *tests/data/fate/vsynth_lena-mjpeg-422.avi
707096 tests/data/fate/vsynth_lena-mjpeg-422.avi
bc3811ab5fdb33cef828465d3d056903 *tests/data/fate/vsynth_lena-mjpeg-422.out.rawvideo
stddev: 4.18 PSNR: 35.70 MAXDIFF: 49 bytes: 7603200/ 7603200