avcodec: [loongarch] Optimize Hevcdsp with LSX.

Multimedia / FFmpeg - Lu Wang [loongson.cn] - 1 March 2022 22:53 UTC

ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 94fps after : 110fps

20194d573d avcodec: [loongarch] Optimize Hevcdsp with LSX.
libavcodec/hevcdsp.c | 2 +
libavcodec/hevcdsp.h | 1 +
libavcodec/loongarch/Makefile | 2 +
libavcodec/loongarch/hevcdsp_init_loongarch.c | 90 +
libavcodec/loongarch/hevcdsp_lsx.c | 3299 +++++++++++++++++++++++++
libavcodec/loongarch/hevcdsp_lsx.h | 88 +
6 files changed, 3482 insertions(+)

  • Share