ffmpeg/libswscale
Michael Niedermayer 9ee16a0ba2
swscale/input: Use more unsigned intermediates
Same principle as previous commit, with sufficiently huge rgb2yuv table
values this produces wrong results and undefined behavior.
The unsigned produces the same incorrect results. That is probably
ok as these cases with huge values seem not to occur in any real
use case.

Fixes: signed integer overflow
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit ba209e3d51)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2023-04-15 22:37:59 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:32:19 +02:00
arm swscale: arm: fix NEON hscale init 2020-05-15 23:33:46 +03:00
ppc
tests
x86 swscale/x86/yuv2rgb: fix crashes when loading alpha from unaligned buffers 2020-11-02 00:51:05 +01:00
Makefile
alphablend.c swscale/alphablend: Fix slice handling 2021-10-06 14:41:42 +02:00
bayer_template.c
gamma.c
hscale.c
hscale_fast_bilinear.c
input.c swscale/input: Use more unsigned intermediates 2023-04-15 22:37:59 +02:00
libswscale.v
log2_tab.c
options.c
output.c swscale/output: Bias 16bps output calculations to improve non overflowing range 2023-04-15 22:37:58 +02:00
rgb2rgb.c swscale: aarch64: Add a NEON implementation of interleaveBytes 2020-05-15 23:38:17 +03:00
rgb2rgb.h swscale: aarch64: Add a NEON implementation of interleaveBytes 2020-05-15 23:38:17 +03:00
rgb2rgb_template.c
slice.c swscale/slice: Fix wrong return on error 2021-10-06 14:41:41 +02:00
swscale.c libswscale: add output support for AV_PIX_FMT_GBRAPF32 2020-05-05 20:06:58 +02:00
swscale.h
swscale_internal.h libswscale: add output support for AV_PIX_FMT_GBRAPF32 2020-05-05 20:06:58 +02:00
swscale_unscaled.c libswscale: add output support for AV_PIX_FMT_GBRAPF32 2020-05-05 20:06:58 +02:00
swscaleres.rc
utils.c libswscale: fix for floating point formats, require full chroma 2020-05-12 01:00:28 +02:00
version.h Bump minor versions to separate 4.3 from master 2020-06-08 22:49:04 +02:00
vscale.c
yuv2rgb.c