ffmpeg/libswscale
Niklas Haas 6b40be941a swscale/options: relax src/dst_h/v_chr_pos value range
When dealing with 4x subsampling ratios (log2 == 2), such as can arise
with 4:1:1 or 4:1:0, a value range of 512 is not enough to cover the
range of possible scenarios.

For example, bottom-sited chroma in 4:1:0 would require an offset of 768
(three luma rows). Simply double the limit to 1024. I don't see any
place in initFilter() that would experience overflow as a result of this
change, especially since get_local_pos() right-shifts it by the
subsampling ratio again.
2024-08-16 11:43:37 +02:00
..
aarch64 swscale/aarch64: Add argb/abgr to yuv 2024-07-05 16:32:31 +08:00
arm
loongarch swscale: [loongarch] Fix checkasm-sw_yuv2rgb failure. 2024-07-28 19:02:16 +02:00
ppc swscale/ppc/swscale_ppc_template: Reindent after the previous commit 2024-04-04 16:47:21 +02:00
riscv sws/riscv: depend on RVB and simplify accordingly 2024-08-05 21:16:26 +03:00
tests
x86 swscale/x86/yuv2rgb: Detemplatize 2024-07-10 12:25:32 +02:00
alphablend.c
bayer_template.c
gamma.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
half2float.c
hscale_fast_bilinear.c
hscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
input.c
libswscale.v
log2_tab.c
Makefile
options.c swscale/options: relax src/dst_h/v_chr_pos value range 2024-08-16 11:43:37 +02:00
output.c swscale/output: don't leave the alpha channel undefined in vuyx and xv36le 2024-08-13 14:49:41 -03:00
rgb2rgb_template.c
rgb2rgb.c
rgb2rgb.h
slice.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
swscale_internal.h swscale: remove unconditional #define DITHER1XBPP 2024-07-10 12:25:03 +02:00
swscale_unscaled.c
swscale.c swscale/swscale: Use ptrdiff_t for linesize computations 2024-07-07 23:36:30 +02:00
swscale.h swscale: document SWS_FULL_CHR_H_* flags 2024-08-16 11:43:37 +02:00
swscaleres.rc
utils.c swscale/utils: fix leak on threaded ctx init failure 2024-07-14 13:48:59 +02:00
version_major.h
version.c
version.h
vscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
yuv2rgb.c swscale: prevent undefined behaviour in the PUTRGBA macro 2024-07-10 18:10:10 +02:00