FFmpeg/libswscale
Martin Storsjö 9c008fdbd4 swscale: aarch64: Fix yuv2rgb with negative strides
Treat the 32 bit stride registers as signed.

Alternatively, we could make the stride arguments ptrdiff_t instead
of int, and changing all of the assembly to operate on these
registers with their full 64 bit width, but that's a much larger
and more intrusive change (and risks missing some operation, which
would clamp the intermediates to 32 bit still).

Fixes: https://trac.ffmpeg.org/ticket/9985

Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit cb803a0072)
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-11-04 14:33:49 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:33:49 +02:00
arm
ppc
tests
x86 swscale/x86/swscale: Fix undefined left shifts of negative numbers 2020-07-03 16:17:40 +02:00
Makefile
alphablend.c swscale/alphablend: Fix slice handling 2021-10-09 22:02:21 +02:00
bayer_template.c
gamma.c
hscale.c
hscale_fast_bilinear.c
input.c
libswscale.v
log2_tab.c
options.c
output.c swscale/output: Fix integer overflow in yuv2rgb_write_full() with out of range input 2020-07-01 12:49:26 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
slice.c swscale/slice: Fix wrong return on error 2021-10-09 22:02:21 +02:00
swscale.c
swscale.h
swscale_internal.h
swscale_unscaled.c
swscaleres.rc
utils.c swscale/utils: Fix invalid left shifts of negative numbers 2020-07-03 16:17:40 +02:00
version.h
vscale.c
yuv2rgb.c swscale/yuv2rgb: Fix vertical dither offset with slices 2020-07-01 12:49:26 +02:00