android_external_ffmpeg/tests/ref/vsynth/vsynth2-mjpeg-trell
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

4 lines
272 B
Text

42c66ef0ed319666f7e7a368459d491f *tests/data/fate/vsynth2-mjpeg-trell.avi
765916 tests/data/fate/vsynth2-mjpeg-trell.avi
2cb3c18d831435a29da1dcd995107dd4 *tests/data/fate/vsynth2-mjpeg-trell.out.rawvideo
stddev: 5.03 PSNR: 34.09 MAXDIFF: 67 bytes: 7603200/ 7603200