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 Revert "PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD." 2016-07-11 10:15:05 -04:00
tests libswcale: Fix possible string overflow in test. 2019-05-13 14:09:27 +02:00
x86 swscale/x86/swscale: Fix undefined left shifts of negative numbers 2020-07-03 16:17:40 +02:00
alphablend.c swscale/alphablend: Fix slice handling 2021-10-09 22:02:21 +02:00
bayer_template.c
gamma.c
hscale_fast_bilinear.c
hscale.c
input.c swscale/input: Fix several invalid shifts related to rgb2yuv constants 2020-07-01 12:49:26 +02:00
libswscale.v build: Change structure of the linker version script templates 2016-05-29 16:43:11 +02:00
log2_tab.c
Makefile Merge commit '01621202aad7e27b2a05c71d9ad7a19dfcbe17ec' 2016-05-09 16:25:28 +01:00
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_template.c
rgb2rgb.c
rgb2rgb.h
slice.c swscale/slice: Fix wrong return on error 2021-10-09 22:02:21 +02:00
swscale_internal.h Revert "PPC64: Add versions of functions in libswscale/input.c optimized for POWER8 VSX SIMD." 2016-07-11 10:15:05 -04:00
swscale_unscaled.c swscale: add unscaled conversion from yuv420p to p010 2016-09-06 12:41:28 +02:00
swscale.c swscale/swscale: Fix several invalid shifts related to vChrDrop 2020-07-01 12:49:26 +02:00
swscale.h doxygen: Standardize root-level modules 2016-08-02 22:15:25 -07:00
swscaleres.rc
utils.c swscale/utils: Fix invalid left shifts of negative numbers 2020-07-03 16:17:40 +02:00
version.h Revert "Bump minor versions after 3.2 branchpoint to seperate release" 2016-10-26 21:22:12 +02:00
vscale.c
yuv2rgb.c swscale/yuv2rgb: Fix vertical dither offset with slices 2020-07-01 12:49:26 +02:00