• Rémi Denis-Courmont's avatar
    sws/rgb2rgb: fix unaligned accesses in R-V V YUYV to I422p · 6d60cc7b
    Rémi Denis-Courmont authored
    In my personal opinion, we should not need to support unaligned YUY2
    pixel maps. They should always be aligned to at least 32 bits, and the
    current code assumes just 16 bits. However checkasm does test for
    unaligned input bitmaps. QEMU accepts it, but real hardware dose not.
    
    In this particular case, we can at the same time improve performance and
    handle unaligned inputs, so do just that.
    
    uyvytoyuv422_c:      104379.0
    uyvytoyuv422_c:      104060.0
    uyvytoyuv422_rvv_i32: 25284.0 (before)
    uyvytoyuv422_rvv_i32: 19303.2 (after)
    6d60cc7b
Name
Last commit
Last update
..
aarch64 Loading commit data...
arm Loading commit data...
loongarch Loading commit data...
ppc Loading commit data...
riscv Loading commit data...
tests Loading commit data...
x86 Loading commit data...
Makefile Loading commit data...
alphablend.c Loading commit data...
bayer_template.c Loading commit data...
gamma.c Loading commit data...
half2float.c Loading commit data...
hscale.c Loading commit data...
hscale_fast_bilinear.c Loading commit data...
input.c Loading commit data...
libswscale.v Loading commit data...
log2_tab.c Loading commit data...
options.c Loading commit data...
output.c Loading commit data...
rgb2rgb.c Loading commit data...
rgb2rgb.h Loading commit data...
rgb2rgb_template.c Loading commit data...
slice.c Loading commit data...
swscale.c Loading commit data...
swscale.h Loading commit data...
swscale_internal.h Loading commit data...
swscale_unscaled.c Loading commit data...
swscaleres.rc Loading commit data...
utils.c Loading commit data...
version.c Loading commit data...
version.h Loading commit data...
version_major.h Loading commit data...
vscale.c Loading commit data...
yuv2rgb.c Loading commit data...