summaryrefslogtreecommitdiff
path: root/libswscale/rgb2rgb.c
diff options
context:
space:
mode:
authorHao Chen <chenhao@loongson.cn>2022-09-09 17:00:25 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2022-09-10 22:56:38 +0200
commit74d09b068dad88b037f6d0be4b0594eb2e2759e9 (patch)
treece92bb57bfc0838a1abaf0b982ba315615b538f4 /libswscale/rgb2rgb.c
parent38cacce22a613d660d4d78e65b0ecdb7be0b908c (diff)
downloadffmpeg-74d09b068dad88b037f6d0be4b0594eb2e2759e9.tar.gz
swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 178fps after: 210fps Signed-off-by: Hao Chen <chenhao@loongson.cn> Reviewed-by: yinshiyou-hf@loongson.cn Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libswscale/rgb2rgb.c')
-rw-r--r--libswscale/rgb2rgb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/rgb2rgb.c b/libswscale/rgb2rgb.c
index 4f1ac9c465..3af775b389 100644
--- a/libswscale/rgb2rgb.c
+++ b/libswscale/rgb2rgb.c
@@ -141,6 +141,8 @@ av_cold void ff_sws_rgb2rgb_init(void)
rgb2rgb_init_aarch64();
#elif ARCH_X86
rgb2rgb_init_x86();
+#elif ARCH_LOONGARCH64
+ rgb2rgb_init_loongarch();
#endif
}