[FFmpeg-devel] [PATCH 3/3] libavcodec: aarch64: Add a NEON implementation of pixblockdsp

Martin Storsjö martin at martin.st
Fri May 15 21:41:36 EEST 2020


On Wed, 13 May 2020, Martin Storsjö wrote:

>                        Cortex A53    A72    A73
> get_pixels_c:                140.7   87.7   72.5
> get_pixels_neon:              46.0   20.0   19.5
> get_pixels_unaligned_c:      140.7   87.7   73.0
> get_pixels_unaligned_neon:    49.2   20.2   26.2
> diff_pixels_c:               209.7  133.7  138.7
> diff_pixels_neon:             54.2   31.7   23.5
> diff_pixels_unaligned_c:     209.7  134.2  139.0
> diff_pixels_unaligned_neon:   68.0   27.7   41.7
> ---
> libavcodec/aarch64/Makefile                   |  2 +
> libavcodec/aarch64/pixblockdsp_init_aarch64.c | 46 +++++++++++++++++
> libavcodec/aarch64/pixblockdsp_neon.S         | 51 +++++++++++++++++++
> libavcodec/pixblockdsp.c                      |  2 +
> libavcodec/pixblockdsp.h                      |  2 +
> 5 files changed, 103 insertions(+)
> create mode 100644 libavcodec/aarch64/pixblockdsp_init_aarch64.c
> create mode 100644 libavcodec/aarch64/pixblockdsp_neon.S

Will apply this set (checkasm test + arm + aarch64 asm implementations) 
soon, as it's fairly trivial.

// Martin


More information about the ffmpeg-devel mailing list