diff options
author | Niklas Haas <git@haasn.dev> | 2024-12-17 15:20:14 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-12-23 11:29:22 +0100 |
commit | c6bf7f664527842fa3b89e49dc2a43f639430c33 (patch) | |
tree | e227a298d7d686e7a8100fbb7e5323e20368b6eb /libswscale/utils.c | |
parent | a9ae2cc14d43ea35b0f90dc3ac3ee35fed586446 (diff) | |
download | ffmpeg-c6bf7f664527842fa3b89e49dc2a43f639430c33.tar.gz |
swscale/unscaled: correctly round yuv2yuv when not dithering
We should at least bias towards the nearest integer, instead of always
rounding down, when not dithering. This is a bit more correct.
The FATE changes are only in the cases where sws_dither was explicitly set
to "none", which is exactly as expected.
Signed-off-by: Niklas Haas <git@haasn.dev>
Sponsored-by: Sovereign Tech Fund
Diffstat (limited to 'libswscale/utils.c')
0 files changed, 0 insertions, 0 deletions