avcodec: [loongarch] Optimize Hevc_mc_bi with LSX.

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

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

a70a5b7c62 avcodec: [loongarch] Optimize Hevc_mc_bi with LSX.
libavcodec/loongarch/Makefile | 3 +-
libavcodec/loongarch/hevc_mc_bi_lsx.c | 2289 +++++++++++++++++++++++++
libavcodec/loongarch/hevcdsp_init_loongarch.c | 51 +
libavcodec/loongarch/hevcdsp_lsx.h | 57 +
4 files changed, 2399 insertions(+), 1 deletion(-)

  • Share