Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShiyou Yin <yinshiyou-hf@loongson.cn>2021-12-15 06:51:05 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2021-12-15 20:37:40 +0300
commit6038a9eb92b2daac907c941dbb245ed43c350501 (patch)
treeb44f9b267feb5ef5d9e55b2fff9ee3a3f20b9f1f /libavcodec/h264chroma.c
parent9a840ffa176038d44e0197283590f891b2cf9eeb (diff)
avcodec: [loongarch] Optimize h264_chroma_mc with LASX.
./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:170 after :183 Change-Id: I42ff23cc2dc7c32bd1b7e4274da9d9ec87065f20 Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn> Reviewed-by: guxiwei <guxiwei-hf@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264chroma.c')
-rw-r--r--libavcodec/h264chroma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264chroma.c b/libavcodec/h264chroma.c
index c2f1f30f5a..0ae6c793e1 100644
--- a/libavcodec/h264chroma.c
+++ b/libavcodec/h264chroma.c
@@ -56,4 +56,6 @@ av_cold void ff_h264chroma_init(H264ChromaContext *c, int bit_depth)
ff_h264chroma_init_x86(c, bit_depth);
if (ARCH_MIPS)
ff_h264chroma_init_mips(c, bit_depth);
+ if (ARCH_LOONGARCH64)
+ ff_h264chroma_init_loongarch(c, bit_depth);
}