ffmpeg/libswscale
Martin Storsjö cabe77a6fc 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:10 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:33:10 +02:00
arm arm: swscale: Only compile the rgb2yuv asm if .dn aliases are supported 2018-03-31 21:54:56 +03:00
ppc
tests swscale/tests/swscale: Lengthen pixfmt name buffer to 21 bytes 2019-11-11 20:18:45 +01:00
x86 swscale/x86/swscale: Fix undefined left shifts of negative numbers 2020-07-02 10:43:52 +02:00
Makefile
alphablend.c
bayer_template.c
gamma.c
hscale.c
hscale_fast_bilinear.c
input.c swscale/input: Fix several invalid shifts related to rgb2yuv constants 2020-07-01 13:33:44 +02:00
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 13:33:44 +02:00
rgb2rgb.c swscale/rgb : move shuffle func shuffle_bytes_1230, shuffle_bytes_3012, shuffle_bytes_3210 in order to add SIMD 2018-03-24 20:22:02 +01:00
rgb2rgb.h swscale/rgb2rgb : cosmetic, move shuffle_bytes func declaration 2018-03-24 20:22:17 +01:00
rgb2rgb_template.c swscale/rgb : move shuffle func shuffle_bytes_1230, shuffle_bytes_3012, shuffle_bytes_3210 in order to add SIMD 2018-03-24 20:22:02 +01:00
slice.c
swscale.c swscale/swscale: Fix several invalid shifts related to vChrDrop 2020-07-01 13:33:44 +02:00
swscale.h
swscale_internal.h avutil/pixdesc: deprecate AV_PIX_FMT_FLAG_PSEUDOPAL 2018-04-03 17:53:00 +02:00
swscale_unscaled.c swscale: Introduce a helper to identify semi-planar formats 2018-03-03 15:20:19 -08:00
swscaleres.rc
utils.c swscale/utils: Fix invalid left shifts of negative numbers 2020-07-02 10:43:52 +02:00
version.h Bump minor versions for branching release/4.0 2018-04-16 12:35:12 +02:00
vscale.c
yuv2rgb.c swscale/yuv2rgb: Fix vertical dither offset with slices 2020-07-01 13:33:44 +02:00