diff options
author | Hao Chen <chenhao@loongson.cn> | 2022-09-09 17:00:25 +0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2022-09-10 22:56:38 +0200 |
commit | 74d09b068dad88b037f6d0be4b0594eb2e2759e9 (patch) | |
tree | ce92bb57bfc0838a1abaf0b982ba315615b538f4 /libswscale/yuv2rgb.c | |
parent | 38cacce22a613d660d4d78e65b0ecdb7be0b908c (diff) | |
download | ffmpeg-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/yuv2rgb.c')
-rw-r--r-- | libswscale/yuv2rgb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c index 6ee483d12a..9c3f5e23c6 100644 --- a/libswscale/yuv2rgb.c +++ b/libswscale/yuv2rgb.c @@ -683,6 +683,8 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c) t = ff_yuv2rgb_init_ppc(c); #elif ARCH_X86 t = ff_yuv2rgb_init_x86(c); +#elif ARCH_LOONGARCH64 + t = ff_yuv2rgb_init_loongarch(c); #endif if (t) |