avcodec: [loongarch] Optimize h264qpel with LASX.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Wed, 15 Dec 2021 03:51:06 +0000 (11:51 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 15 Dec 2021 17:37:40 +0000 (18:37 +0100)
commitcba7c0267dad3963ff52f146012dd99fd5b55c2c
tree85c0d2ece129fbe9248e40bb6e16d44524438877
parent6038a9eb92b2daac907c941dbb245ed43c350501
avcodec: [loongarch] Optimize h264qpel with LASX.

./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an
before:183
after :225

Change-Id: I7c7d2f34cd82ef728aab5ce8f6bfb46dd81f0da4
Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Reviewed-by: guxiwei <guxiwei-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264qpel.c
libavcodec/h264qpel.h
libavcodec/loongarch/Makefile
libavcodec/loongarch/h264qpel_init_loongarch.c [new file with mode: 0644]
libavcodec/loongarch/h264qpel_lasx.c [new file with mode: 0644]
libavcodec/loongarch/h264qpel_lasx.h [new file with mode: 0644]