diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2023-11-09 20:19:47 +0200 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2023-11-13 18:34:29 +0200 |
commit | 6d60cc7baf662b64e3c50f95826dead58cf8e839 (patch) | |
tree | 717a4bf103f7a03876e3746edeff159d077600b5 /libswscale/aarch64/rgb2rgb_neon.S | |
parent | 5b8b5ec9c55da6afef85195d12d1ac92647986f5 (diff) | |
download | ffmpeg-6d60cc7baf662b64e3c50f95826dead58cf8e839.tar.gz |
sws/rgb2rgb: fix unaligned accesses in R-V V YUYV to I422p
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)
Diffstat (limited to 'libswscale/aarch64/rgb2rgb_neon.S')
0 files changed, 0 insertions, 0 deletions