[FFmpeg-devel] [PATCH v2 5/5] swscale/aarch64/yuv2rgb: add neon yuv42{0, 2}p -> gbrp unscaled colorspace converters

Martin Storsjö martin at martin.st
Wed Aug 14 15:23:13 EEST 2024


On Tue, 6 Aug 2024, Ramiro Polla wrote:

> checkasm --bench on a Raspberry Pi 5 Model B Rev 1.0:
> yuv420p_gbrp_128_c: 1243.0
> yuv420p_gbrp_128_neon: 453.5
> yuv420p_gbrp_1920_c: 18165.5
> yuv420p_gbrp_1920_neon: 6700.0
> yuv422p_gbrp_128_c: 1463.5
> yuv422p_gbrp_128_neon: 471.5
> yuv422p_gbrp_1920_c: 21343.7
> yuv422p_gbrp_1920_neon: 6743.5
> ---
> libswscale/aarch64/swscale_unscaled.c | 58 +++++++++++++++++++++
> libswscale/aarch64/yuv2rgb_neon.S     | 73 ++++++++++++++++++++++-----
> 2 files changed, 118 insertions(+), 13 deletions(-)

This looks reasonable to me, thanks!

// Martin



More information about the ffmpeg-devel mailing list