Files
b87602a63a swscale/riscv: fix uyvy/yuyv to yuv422p on odd widths
The vector loop writes all luma samples, but only width / 2 chroma
samples. For odd widths, the last U and V samples are left untouched,
unlike the C implementations which use AV_CEIL_RSHIFT(width, 1).

Write the remaining U/V samples in a scalar tail for both packed
formats. Keep the existing vector loop and row stride adjustments.

Fixes the uyvytoyuv422_rvv_i32 and yuyvtoyuv422_rvv_i32 failures in
checkasm-sw_rgb.

Signed-off-by: Hongyan Wang <wanghongyan2025@iscas.ac.cn>
Co-authored-by: YuanSheng <yuansheng@iscas.ac.cn>
Co-authored-by: Fei Zhang <zhangfei@iscas.ac.cn>
2026-09-27 12:06:07 +00:00
..