ffmpeg/libswscale
Martin Storsjö 9d5450b514 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:32:34 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:32:34 +02:00
arm arm: swscale: Only compile the rgb2yuv asm if .dn aliases are supported 2018-03-31 21:54:56 +03:00
ppc swscale: Add support for NV24 and NV42 2019-05-12 07:51:02 -07:00
tests swscale/tests/swscale: Lengthen pixfmt name buffer to 21 bytes 2019-05-13 13:39:49 +02:00
x86 swscale/x86/swscale: Fix undefined left shifts of negative numbers 2020-05-20 03:42:42 +02:00
alphablend.c swscale/alphablend: Fix slice handling 2021-10-06 13:59:34 +02:00
bayer_template.c
gamma.c
hscale_fast_bilinear.c
hscale.c avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT 2016-01-27 16:36:46 +00:00
input.c swscale/input: Fix several invalid shifts related to rgb2yuv constants 2020-05-19 17:17:35 +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 '92db5083077a8b0f8e1050507671b456fd155125' 2017-05-04 19:59:30 -03:00
options.c swscale/options: Use AV_OPT_TYPE_PIXEL_FMT 2016-11-20 13:00:22 +01:00
output.c swscale/output: Fix integer overflow in yuv2rgb_write_full() with out of range input 2020-05-19 17:17:36 +02:00
rgb2rgb_template.c lsws/rgb2rgb_template: Do not compile unneeded shuffle functions on big-endian. 2018-06-10 03:22:59 +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
slice.c swscale/slice: Fix wrong return on error 2021-10-06 13:54:16 +02:00
swscale_internal.h swscale/ppc: Move VSX-using code to its own file 2018-12-04 02:59:07 +01:00
swscale_unscaled.c swscale: Add support for NV24 and NV42 2019-05-12 07:51:02 -07:00
swscale.c swscale/swscale: Fix several invalid shifts related to vChrDrop 2020-05-19 17:17:35 +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-05-20 03:44:07 +02:00
version.h Bump minor versions to separate 4.2 from master 2019-07-21 18:36:18 +02:00
vscale.c swscale: cleanup unused code 2016-03-31 16:36:16 -03:00
yuv2rgb.c swscale/yuv2rgb: Fix vertical dither offset with slices 2020-05-19 17:17:36 +02:00