avcodec: [loongarch] Optimize hpeldsp with LASX.

Multimedia / FFmpeg - Shiyou Yin [loongson.cn] - 4 January 2022 14:55 UTC

./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an before:376fps after :433fps

5d58355bf1 avcodec: [loongarch] Optimize hpeldsp with LASX.
libavcodec/hpeldsp.c | 2 +
libavcodec/hpeldsp.h | 1 +
libavcodec/loongarch/Makefile | 2 +
libavcodec/loongarch/hpeldsp_init_loongarch.c | 50 +
libavcodec/loongarch/hpeldsp_lasx.c | 1287 +++++++++++++++++++++++++
libavcodec/loongarch/hpeldsp_lasx.h | 58 ++
6 files changed, 1400 insertions(+)

  • Share