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
2 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
swscale/internal: constify SwsFunc
4 months ago
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
swscale/input: add rgbaf16 input support
3 years ago
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
build: Change structure of the linker version script templates
9 years ago
log2_tab.c
lsws: duplicate ff_log2_tab
11 years ago
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
3 months ago
slice.c
swscale/slice: clear allocated memory in alloc_lines()
2 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
swscale: add new frame testing API
4 months ago
version.c
lib*/version: Use static_assert for static asserts
11 months ago
version.h
swscale: introduce new, dynamic scaling API
3 months ago
version_major.h
libs: bump major version for all libraries
11 months ago
vscale.c
swscale/internal: group user-facing options together
3 months ago
yuv2rgb.c
swscale/internal: group user-facing options together
3 months ago