You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Niklas Haas
2f95bc3cb3
swscale/utils: disable full_chr_h_input optimization for odd width
...
The basic problem here is that the rgb*ToUV_half_* functions hard-code a
bilinear downsample from src[i] + src[i+1], with no bounds check on the i+1
access.
Due to the signature of the function, we cannot easily plumb the "true" width
into the function body to perform a bounds check. Similarly, we cannot easily
pre-pad the input because it is typically reading from the (const) input
frame, which would require a full memcpy to pad. Either of these solutions are
more trouble than the feature is worth, so just disable it on odd input sizes.
Fixes: use of uninitialized value
Fixes: ticket #11265
Signed-off-by: Niklas Haas <git@haasn.dev>
Sponsored-by: Sovereign Tech Fund
2 months ago
..
aarch64
swscale/internal: group user-facing options together
3 months ago
arm
swscale/internal: group user-facing options together
3 months ago
loongarch
swscale/internal: fix typo in loongarch specific code
3 months ago
ppc
swscale/ppc: disable YUV2RGB AltiVec acceleration
3 months ago
riscv
riscv: remove unnecessary #include's
3 months ago
tests
tests/swscale: add a benchmarking mode
3 months ago
x86
swscale: introduce new, dynamic scaling API
3 months ago
Makefile
swscale/graph: add new high-level scaler dispatch mechanism
3 months ago
alphablend.c
swscale/internal: group user-facing options together
3 months ago
bayer_template.c
…
gamma.c
swscale: rename SwsContext to SwsInternal
4 months ago
graph.c
swscale/graph: fix memleak of cascaded graphs
2 months ago
graph.h
swscale/graph: add new high-level scaler dispatch mechanism
3 months ago
half2float.c
…
hscale.c
swscale: rename SwsContext to SwsInternal
4 months ago
hscale_fast_bilinear.c
swscale: rename SwsContext to SwsInternal
4 months ago
input.c
swscale/internal: group user-facing options together
3 months ago
libswscale.v
…
log2_tab.c
…
options.c
swscale: eliminate redundant SwsInternal accesses
3 months ago
output.c
swscale/internal: group user-facing options together
3 months ago
rgb2rgb.c
swscale/swscale_unscaled: add unscaled x2rgb10le to packed RGB
3 months ago
rgb2rgb.h
swscale/swscale_unscaled: add unscaled x2rgb10le to packed RGB
3 months ago
rgb2rgb_template.c
swscale/swscale_unscaled: add unscaled conversion for AYUV/VUYA/UYVA
4 months ago
slice.c
swscale/slice: clear allocated memory in alloc_lines()
3 months ago
swscale.c
swscale: introduce new, dynamic scaling API
3 months ago
swscale.h
swscale: introduce new, dynamic scaling API
3 months ago
swscale_internal.h
swscale: introduce new, dynamic scaling API
3 months ago
swscale_unscaled.c
swscale/swscale_unscaled: Fix odd height with nv24_to_yuv420p_chroma()
2 months ago
swscaleres.rc
…
utils.c
swscale/utils: disable full_chr_h_input optimization for odd width
2 months ago
utils.h
…
version.c
…
version.h
swscale: introduce new, dynamic scaling API
3 months ago
version_major.h
…
vscale.c
swscale/internal: group user-facing options together
3 months ago
yuv2rgb.c
swscale/internal: group user-facing options together
3 months ago