librempeg/libswscale
Niklas Haas 7e188369dc 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.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
2024-08-30 18:02:36 +02:00
..
aarch64 swscale/aarch64: Add argb/abgr to yuv 2024-07-05 23:19:38 +02:00
arm
loongarch swscale: [loongarch] Fix checkasm-sw_yuv2rgb failure. 2024-07-31 17:43:40 +02:00
ppc swscale/ppc/swscale_ppc_template: Reindent after the previous commit 2024-04-06 18:08:21 +02:00
riscv sws/riscv: depend on RVB and simplify accordingly 2024-08-15 10:48:30 +02:00
tests swscale/tests/swscale: Add help text 2024-02-24 15:27:40 +01:00
x86 swscale/x86/yuv2rgb: Detemplatize 2024-07-10 14:29:04 +02:00
alphablend.c
bayer_template.c
gamma.c avutil/common: Don't auto-include mem.h 2024-04-01 19:51:37 +02:00
half2float.c
hscale_fast_bilinear.c
hscale.c avutil/common: Don't auto-include mem.h 2024-04-01 19:51:37 +02:00
input.c
libswscale.v
log2_tab.c
Makefile
options.c swscale/options: relax src/dst_h/v_chr_pos value range 2024-08-30 18:02:36 +02:00
output.c swscale/output: don't leave the alpha channel undefined in vuyx and xv36le 2024-08-15 10:48:36 +02:00
rgb2rgb_template.c
rgb2rgb.c
rgb2rgb.h
slice.c avutil/common: Don't auto-include mem.h 2024-04-01 19:51:37 +02:00
swscale_internal.h swscale: remove unconditional #define DITHER1XBPP 2024-07-10 14:29:04 +02:00
swscale_unscaled.c
swscale.c swscale/swscale: Use ptrdiff_t for linesize computations 2024-07-10 14:29:03 +02:00
swscale.h swscale: document SWS_FULL_CHR_H_* flags 2024-08-30 18:02:35 +02:00
swscaleres.rc
utils.c swscale/utils: fix leak on threaded ctx init failure 2024-07-24 00:53:39 +02:00
version_major.h libs: bump major version for all libraries 2024-03-17 19:46:28 +01:00
version.c lib*/version: Use static_assert for static asserts 2024-04-01 19:50:54 +02:00
version.h Bump after 7.0 branch point 2024-03-27 19:21:50 +01:00
vscale.c avutil/common: Don't auto-include mem.h 2024-04-01 19:51:37 +02:00
yuv2rgb.c swscale: prevent undefined behaviour in the PUTRGBA macro 2024-07-12 21:44:33 +02:00