Files
Michael Niedermayer 3b5d53038e swscale/arm: align unscaled NEON YUV to RGB slices to source chroma
The 32-bit ARM NEON YUV-to-RGB converters selected by
SET_FF_NVX_TO_RGBX_FUNC share the even-slice precondition with their
AArch64 counterparts: for vertically subsampled input they process two
luma rows per iteration, so an odd slice boundary picks the wrong
chroma phase and the last iteration writes one row past the slice end.
Threaded conversion produces such slices because the packed RGB
destination keeps dst_slice_align at one row.

Raise dst_slice_align when selecting these converters, mirroring the
preceding AArch64 change. YUV422P keeps full-height chroma and stays
single-row, so its alignment is unchanged.

Fixes: d6fdc78e91 ("sws: implement slice threading")
Assisted-by: Fairy
2026-10-20 13:39:20 +00:00
..
…