[FFmpeg-devel] [PATCH v5 7/7] avutil/la: Add function performance testing

2023-05-25 Thread Hao Chen
From: yuanhecai This patch supports the use of the "checkasm --bench" testing feature on loongarch platform. Change-Id: I42790388d057c9ade0dfa38a19d9c1fd44ca0bc3 --- libavutil/loongarch/timer.h | 48 + libavutil/timer.h | 2 ++ 2 files changed, 50

[FFmpeg-devel] [PATCH v5 6/7] swscale/la: Add following builtin optimized functions

2023-05-25 Thread Hao Chen
From: Jin Bo yuv420_rgb24_lsx yuv420_bgr24_lsx yuv420_rgba32_lsx yuv420_argb32_lsx yuv420_bgra32_lsx yuv420_abgr32_lsx ./configure --disable-lasx ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 184fps after: 207fps --- libswscale/loongarch/Make

[FFmpeg-devel] [PATCH v5 4/7] avcodec/la: Add LSX optimization for h264 qpel.

2023-05-25 Thread Hao Chen
From: yuanhecai ./configure --disable-lasx ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before: 214fps after: 274fps --- libavcodec/loongarch/Makefile |2 + libavcodec/loongarch/h264qpel.S | 1686 + .../loongarch/h264qpel_

[FFmpeg-devel] [PATCH v5 3/7] avcodec/la: Add LSX optimization for h264 chroma and intrapred.

2023-05-25 Thread Hao Chen
0 --- a/libavcodec/loongarch/h264_intrapred_lasx.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2021 Loongson Technology Corporation Limited - * Contributed by Hao Chen - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the

[FFmpeg-devel] [PATCH v5 1/7] avcodec/la: add LSX optimization for h264 idct.

2023-05-25 Thread Hao Chen
From: Shiyou Yin loongson_asm.S is LoongArch asm optimization helper. Add functions: ff_h264_idct_add_8_lsx ff_h264_idct8_add_8_lsx ff_h264_idct_dc_add_8_lsx ff_h264_idct8_dc_add_8_lsx ff_h264_idct_add16_8_lsx ff_h264_idct8_add4_8_lsx ff_h264_idct_add8_8_lsx ff_h264_idct_add8_422_

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-25 Thread Hao Chen
v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. v2: Modified the implementation of some functions and added support for the checkasm --bench feature. v3: Fix whitespace errors in patch. v4: Remove clobbering memory in libavutil/loongarch/timer.h v5: Fi

Re: [FFmpeg-devel] [PATCH v4 1/7] avcodec/la: add LSX optimization for h264 idct.

2023-05-24 Thread Hao Chen
在 2023/5/25 上午5:28, Michael Niedermayer 写道: On Wed, May 24, 2023 at 03:48:27PM +0800, Hao Chen wrote: From: Shiyou Yin loongson_asm.S is LoongArch asm optimization helper. Add functions: ff_h264_idct_add_8_lsx ff_h264_idct8_add_8_lsx ff_h264_idct_dc_add_8_lsx

Re: [FFmpeg-devel] [PATCH v3 7/7] avutil/la: Add function performance testing

2023-05-24 Thread Hao Chen
在 2023/5/24 下午7:03, Rémi Denis-Courmont 写道: Le 24 mai 2023 10:39:59 GMT+03:00, Hao Chen a écrit : 在 2023/5/20 下午5:38, Rémi Denis-Courmont 写道: Le lauantaina 20. toukokuuta 2023, 10.27.19 EEST Hao Chen a écrit : From: yuanhecai This patch supports the use of the "checkasm --bench&quo

[FFmpeg-devel] [PATCH v4 6/7] swscale/la: Add following builtin optimized functions

2023-05-24 Thread Hao Chen
From: Jin Bo yuv420_rgb24_lsx yuv420_bgr24_lsx yuv420_rgba32_lsx yuv420_argb32_lsx yuv420_bgra32_lsx yuv420_abgr32_lsx ./configure --disable-lasx ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 184fps after: 207fps --- libswscale/loongarch/Make

[FFmpeg-devel] [PATCH v4 7/7] avutil/la: Add function performance testing

2023-05-24 Thread Hao Chen
From: yuanhecai This patch supports the use of the "checkasm --bench" testing feature on loongarch platform. Change-Id: I42790388d057c9ade0dfa38a19d9c1fd44ca0bc3 --- libavutil/loongarch/timer.h | 48 + libavutil/timer.h | 2 ++ 2 files changed, 50

[FFmpeg-devel] [PATCH v4 4/7] avcodec/la: Add LSX optimization for h264 qpel.

2023-05-24 Thread Hao Chen
From: yuanhecai ./configure --disable-lasx ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before: 214fps after: 274fps --- libavcodec/loongarch/Makefile |2 + libavcodec/loongarch/h264qpel.S | 1686 + .../loongarch/h264qpel_

[FFmpeg-devel] [PATCH v4 3/7] avcodec/la: Add LSX optimization for h264 chroma and intrapred.

2023-05-24 Thread Hao Chen
0 --- a/libavcodec/loongarch/h264_intrapred_lasx.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2021 Loongson Technology Corporation Limited - * Contributed by Hao Chen - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the

[FFmpeg-devel] [PATCH v4 1/7] avcodec/la: add LSX optimization for h264 idct.

2023-05-24 Thread Hao Chen
From: Shiyou Yin loongson_asm.S is LoongArch asm optimization helper. Add functions: ff_h264_idct_add_8_lsx ff_h264_idct8_add_8_lsx ff_h264_idct_dc_add_8_lsx ff_h264_idct8_dc_add_8_lsx ff_h264_idct_add16_8_lsx ff_h264_idct8_add4_8_lsx ff_h264_idct_add8_8_lsx ff_h264_idct_add8_422_

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-24 Thread Hao Chen
v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. v2: Modified the implementation of some functions and added support for the checkasm --bench feature. v3: Fix whitespace errors in patch. v4: Remove clobbering memory in libavutil/loongarch/timer.h [PATC

Re: [FFmpeg-devel] [PATCH v3 7/7] avutil/la: Add function performance testing

2023-05-24 Thread Hao Chen
在 2023/5/20 下午5:38, Rémi Denis-Courmont 写道: Le lauantaina 20. toukokuuta 2023, 10.27.19 EEST Hao Chen a écrit : From: yuanhecai This patch supports the use of the "checkasm --bench" testing feature on loongarch platform. Change-Id: I42790388d057c9ade0dfa38a19d9c1fd44ca0bc3 ---

[FFmpeg-devel] [PATCH v3 6/7] swscale/la: Add following builtin optimized functions

2023-05-20 Thread Hao Chen
From: Jin Bo yuv420_rgb24_lsx yuv420_bgr24_lsx yuv420_rgba32_lsx yuv420_argb32_lsx yuv420_bgra32_lsx yuv420_abgr32_lsx ./configure --disable-lasx ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 184fps after: 207fps --- libswscale/loongarch/Make

[FFmpeg-devel] [PATCH v3 7/7] avutil/la: Add function performance testing

2023-05-20 Thread Hao Chen
From: yuanhecai This patch supports the use of the "checkasm --bench" testing feature on loongarch platform. Change-Id: I42790388d057c9ade0dfa38a19d9c1fd44ca0bc3 --- libavutil/loongarch/timer.h | 48 + libavutil/timer.h | 2 ++ 2 files changed, 50

[FFmpeg-devel] [PATCH v3 4/7] avcodec/la: Add LSX optimization for h264 qpel.

2023-05-20 Thread Hao Chen
From: yuanhecai ./configure --disable-lasx ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before: 214fps after: 274fps --- libavcodec/loongarch/Makefile |2 + libavcodec/loongarch/h264qpel.S | 1686 + .../loongarch/h264qpel_

[FFmpeg-devel] [PATCH v3 3/7] avcodec/la: Add LSX optimization for h264 chroma and intrapred.

2023-05-20 Thread Hao Chen
0 --- a/libavcodec/loongarch/h264_intrapred_lasx.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2021 Loongson Technology Corporation Limited - * Contributed by Hao Chen - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the

[FFmpeg-devel] [PATCH v3 1/7] avcodec/la: add LSX optimization for h264 idct.

2023-05-20 Thread Hao Chen
From: Shiyou Yin loongson_asm.S is LoongArch asm optimization helper. Add functions: ff_h264_idct_add_8_lsx ff_h264_idct8_add_8_lsx ff_h264_idct_dc_add_8_lsx ff_h264_idct8_dc_add_8_lsx ff_h264_idct_add16_8_lsx ff_h264_idct8_add4_8_lsx ff_h264_idct_add8_8_lsx ff_h264_idct_add8_422_

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-20 Thread Hao Chen
Retrigger the fate test. v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. v2: Modified the implementation of some functions and added support for the checkasm --bench feature. v3: Fix whitespace errors in patch. [PATCH v3 1/7] avcodec/la: add LSX optim

[FFmpeg-devel] [PATCH v3 7/7] avutil/la: Add function performance testing

2023-05-19 Thread Hao Chen
From: yuanhecai This patch supports the use of the "checkasm --bench" testing feature on loongarch platform. Change-Id: I42790388d057c9ade0dfa38a19d9c1fd44ca0bc3 --- libavutil/loongarch/timer.h | 48 + libavutil/timer.h | 2 ++ 2 files changed, 50

[FFmpeg-devel] [PATCH v3 6/7] swscale/la: Add following builtin optimized functions

2023-05-19 Thread Hao Chen
From: Jin Bo yuv420_rgb24_lsx yuv420_bgr24_lsx yuv420_rgba32_lsx yuv420_argb32_lsx yuv420_bgra32_lsx yuv420_abgr32_lsx ./configure --disable-lasx ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 184fps after: 207fps --- libswscale/loongarch/Make

[FFmpeg-devel] [PATCH v3 4/7] avcodec/la: Add LSX optimization for h264 qpel.

2023-05-19 Thread Hao Chen
From: yuanhecai ./configure --disable-lasx ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before: 214fps after: 274fps --- libavcodec/loongarch/Makefile |2 + libavcodec/loongarch/h264qpel.S | 1686 + .../loongarch/h264qpel_

[FFmpeg-devel] [PATCH v3 3/7] avcodec/la: Add LSX optimization for h264 chroma and intrapred.

2023-05-19 Thread Hao Chen
0 --- a/libavcodec/loongarch/h264_intrapred_lasx.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2021 Loongson Technology Corporation Limited - * Contributed by Hao Chen - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the

[FFmpeg-devel] [PATCH v3 1/7] avcodec/la: add LSX optimization for h264 idct.

2023-05-19 Thread Hao Chen
From: Shiyou Yin loongson_asm.S is LoongArch asm optimization helper. Add functions: ff_h264_idct_add_8_lsx ff_h264_idct8_add_8_lsx ff_h264_idct_dc_add_8_lsx ff_h264_idct8_dc_add_8_lsx ff_h264_idct_add16_8_lsx ff_h264_idct8_add4_8_lsx ff_h264_idct_add8_8_lsx ff_h264_idct_add8_422_

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-19 Thread Hao Chen
v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. v2: Modified the implementation of some functions and added support for the checkasm --bench feature. v3: Fix whitespace errors in patch. [PATCH v3 1/7] avcodec/la: add LSX optimization for h264 idct. [P

[FFmpeg-devel] [PATCH v2] avutil/la: Add function performance testing

2023-05-17 Thread Hao Chen
From: yuanhecai This patch supports the use of the "checkasm --bench" testing feature on loongarch platform. Change-Id: I42790388d057c9ade0dfa38a19d9c1fd44ca0bc3 --- libavutil/loongarch/timer.h | 48 + libavutil/timer.h | 2 ++ 2 files changed, 50

[FFmpeg-devel] [PATCH v2 6/7] swscale/la: Add following builtin optimized functions

2023-05-17 Thread Hao Chen
From: Jin Bo yuv420_rgb24_lsx yuv420_bgr24_lsx yuv420_rgba32_lsx yuv420_argb32_lsx yuv420_bgra32_lsx yuv420_abgr32_lsx ./configure --disable-lasx ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 184fps after: 207fps --- libswscale/loongarch/Make

[FFmpeg-devel] [PATCH v2 4/7] avcodec/la: Add LSX optimization for h264 qpel.

2023-05-17 Thread Hao Chen
From: yuanhecai ./configure --disable-lasx ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before: 214fps after: 274fps --- libavcodec/loongarch/Makefile |2 + libavcodec/loongarch/h264qpel.S | 1686 + .../loongarch/h264qpel_

[FFmpeg-devel] [PATCH v2 3/7] avcodec/la: Add LSX optimization for h264 chroma and intrapred.

2023-05-17 Thread Hao Chen
0 --- a/libavcodec/loongarch/h264_intrapred_lasx.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2021 Loongson Technology Corporation Limited - * Contributed by Hao Chen - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the

[FFmpeg-devel] [PATCH v2 1/7] avcodec/la: add LSX optimization for h264 idct.

2023-05-17 Thread Hao Chen
From: Shiyou Yin loongson_asm.S is LoongArch asm optimization helper. Add functions: ff_h264_idct_add_8_lsx ff_h264_idct8_add_8_lsx ff_h264_idct_dc_add_8_lsx ff_h264_idct8_dc_add_8_lsx ff_h264_idct_add16_8_lsx ff_h264_idct8_add4_8_lsx ff_h264_idct_add8_8_lsx ff_h264_idct_add8_422_

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-17 Thread Hao Chen
v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. v2: Modified the implementation of some functions and added support for the checkasm --bench feature. [PATCH v2 1/7] avcodec/la: add LSX optimization for h264 idct. [PATCH v2 2/7] avcodec/la: Add LSX opt

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-16 Thread Hao Chen
v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. v2: Modified the implementation of some functions and added support for the checkasm --bench feature. [PATCH v2 1/7] avcodec/la: add LSX optimization for h264 idct. [PATCH v2 2/7] avcodec/la: Add LSX opti

[FFmpeg-devel] [PATCH v1 6/6] swscale/la: Add following builtin optimized functions

2023-05-04 Thread Hao Chen
From: Jin Bo yuv420_rgb24_lsx yuv420_bgr24_lsx yuv420_rgba32_lsx yuv420_argb32_lsx yuv420_bgra32_lsx yuv420_abgr32_lsx ./configure --disable-lasx ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 184fps after: 207fps --- libswscale/loongarch/Make

[FFmpeg-devel] [PATCH v1 3/6] avcodec/la: Add LSX optimization for h264 chroma and intrapred.

2023-05-04 Thread Hao Chen
bavcodec/loongarch/h264_intrapred_lasx.c +++ /dev/null @@ -1,121 +0,0 @@ -/* - * Copyright (c) 2021 Loongson Technology Corporation Limited - * Contributed by Hao Chen - * - * This file is part of FFmpeg. - * - * FFmpeg is free software; you can redistribute it and/or - * modify it under the terms

[FFmpeg-devel] Add LSX optimization in avcodec and swscale.

2023-05-04 Thread Hao Chen
v1: Add LSX optimization in avcodec and swscale, due to the 2K series CPUs only support lsx. [PATCH v1 1/6] avcodec/la: add LSX optimization for h264 idct. [PATCH v1 2/6] avcodec/la: Add LSX optimization for loop filter. [PATCH v1 3/6] avcodec/la: Add LSX optimization for h264 chroma and [PATCH v1

[FFmpeg-devel] [PATCH v1 1/6] avcodec/la: add LSX optimization for h264 idct.

2023-05-04 Thread Hao Chen
From: Shiyou Yin loongson_asm.S is LoongArch asm optimization helper. ./configure --disable-lasx Add functions: ff_h264_idct_add_8_lsx ff_h264_idct8_add_8_lsx ff_h264_idct_dc_add_8_lsx ff_h264_idct8_dc_add_8_lsx ff_h264_luma_dc_dequant_idct_8_lsx Replaced function(LSX is enough for thes

[FFmpeg-devel] [PATCH v2 1/2] lavc/mips: Fix bugs in me_cmp_msa.c file.

2022-09-09 Thread Hao Chen
From: Lu Wang This patch fixes a bug where the fate-checkasm-motion fails when h is not a multiple of 8. --- libavcodec/mips/me_cmp_msa.c | 201 ++- 1 file changed, 173 insertions(+), 28 deletions(-) diff --git a/libavcodec/mips/me_cmp_msa.c b/libavcodec/mips/me_

[FFmpeg-devel] Fix bugs on Mips platform.

2022-09-09 Thread Hao Chen
v2: Modifies the format of the Commit message. [PATCH v2 1/2] lavc/mips: Fix bugs in me_cmp_msa.c file. [PATCH v2 2/2] lavc/mips: Fix hevc decoding bugs on MIPS paltform. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/l

[FFmpeg-devel] [PATCH v5 3/3] swscale/la: Add output_lasx.c file.

2022-09-09 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -pix_fmt rgb24 -y /dev/null -an before: 150fps after: 183fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile |3 +- libswscale/loongarch/output_lasx.c| 1982 + libswscale

[FFmpeg-devel] [PATCH v5 1/3] swscale/la: Optimize hscale functions with lasx.

2022-09-09 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c | 202 libswscale/loongarch/swscale_init_loongarch.c

[FFmpeg-devel] Add LoongArch SIMD optimization in swscale lib.

2022-09-09 Thread Hao Chen
v2: Some modifications were made according to the comments of the reviewers. v3: Update and run CI test again. v4: Resolve the warning for the build. v5: Re-trigger the Patchwork test. [PATCH v5 1/3] swscale/la: Optimize hscale functions with lasx. [PATCH v5 2/3] swscale/la: Add yuv2rgb_lasx.c and

[FFmpeg-devel] [PATCH v5 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files

2022-09-09 Thread Hao Chen
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 --- libswscale/loongarch/Makefile | 2 + libswscale/loongarch/rgb2rgb_lasx.c | 52 +++ libswscale/loongarch

[FFmpeg-devel] [PATCH v4 3/3] swscale/la: Add output_lasx.c file.

2022-09-08 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -pix_fmt rgb24 -y /dev/null -an before: 150fps after: 183fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile |3 +- libswscale/loongarch/output_lasx.c| 1982 + libswscale

[FFmpeg-devel] [PATCH v4 1/3] swscale/la: Optimize hscale functions with lasx.

2022-09-08 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c | 202 libswscale/loongarch/swscale_init_loongarch.c

[FFmpeg-devel] Add LoongArch SIMD optimization in swscale lib.

2022-09-08 Thread Hao Chen
v2: Some modifications were made according to the comments of the reviewers. v3: Update and run CI test again. v4: Resolve the warning for the build. [PATCH v4 1/3] swscale/la: Optimize hscale functions with lasx. [PATCH v4 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c [PATCH v4 3/3] swsc

[FFmpeg-devel] [PATCH v4 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files

2022-09-08 Thread Hao Chen
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 --- libswscale/loongarch/Makefile | 2 + libswscale/loongarch/rgb2rgb_lasx.c | 52 +++ libswscale/loongarch

[FFmpeg-devel] [PATCH v3 3/3] swscale/la: Add output_lasx.c file.

2022-09-08 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -pix_fmt rgb24 -y /dev/null -an before: 150fps after: 183fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile |3 +- libswscale/loongarch/output_lasx.c| 1982 + libswscale

[FFmpeg-devel] [PATCH v3 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files

2022-09-08 Thread Hao Chen
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 --- libswscale/loongarch/Makefile | 2 + libswscale/loongarch/rgb2rgb_lasx.c | 52 +++ libswscale/loongarch

[FFmpeg-devel] [PATCH v3 1/3] swscale/la: Optimize hscale functions with lasx.

2022-09-08 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c | 202 libswscale/loongarch/swscale_init_loongarch.c

[FFmpeg-devel] Add LoongArch SIMD optimization in swscale lib.

2022-09-08 Thread Hao Chen
v2: Some modifications were made according to the comments of the reviewers. v3: Update and run CI test again. [PATCH v3 1/3] swscale/la: Optimize hscale functions with lasx. [PATCH v3 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c [PATCH v3 3/3] swscale/la: Add output_lasx.c file. __

[FFmpeg-devel] Fix bugs on Mips platform.

2022-09-08 Thread Hao Chen
[PATCH v1 1/2] Fix bugs in me_cmp_msa.c file. [PATCH v1 2/2] Fix hevc decoding bugs on MIPS paltform. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpe

[FFmpeg-devel] [PATCH v1 1/2] Fix bugs in me_cmp_msa.c file.

2022-09-08 Thread Hao Chen
From: Lu Wang This patch fixes a bug where the fate-checkasm-motion fails when h is not a multiple of 8. --- libavcodec/mips/me_cmp_msa.c | 201 ++- 1 file changed, 173 insertions(+), 28 deletions(-) diff --git a/libavcodec/mips/me_cmp_msa.c b/libavcodec/mips/me_

Re: [FFmpeg-devel] [PATCH v2 1/3] swscale/la: Optimize hscale functions with lasx.

2022-09-06 Thread Hao Chen
在 2022/9/3 下午8:31, Andreas Rheinhardt 写道: Hao Chen: ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c

[FFmpeg-devel] [PATCH v2 3/3] swscale/la: Add output_lasx.c file.

2022-09-02 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -pix_fmt rgb24 -y /dev/null -an before: 150fps after: 183fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile |3 +- libswscale/loongarch/output_lasx.c| 1982 + libswscale

[FFmpeg-devel] [PATCH v2 1/3] swscale/la: Optimize hscale functions with lasx.

2022-09-02 Thread Hao Chen
ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c | 202 libswscale/loongarch/swscale_init_loongarch.c

[FFmpeg-devel] [PATCH v2 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files

2022-09-02 Thread Hao Chen
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 --- libswscale/loongarch/Makefile | 2 + libswscale/loongarch/rgb2rgb_lasx.c | 52 +++ libswscale/loongarch

[FFmpeg-devel] Add LoongArch SIMD optimization in swscale lib.

2022-09-02 Thread Hao Chen
v2: Some modifications were made according to the comments of the reviewers. [PATCH v2 1/3] swscale/la: Optimize hscale functions with lasx. [PATCH v2 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c [PATCH v2 3/3] swscale/la: Add output_lasx.c file.

[FFmpeg-devel] [PATCH v1 3/3] swscale/la: Add output_lasx.c file.

2022-08-29 Thread Hao Chen
ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -pix_fmt rgb24 -y /dev/null -an before: 150fps after: 183fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile |3 +- libswscale/loongarch/output_lasx.c| 1982

[FFmpeg-devel] [PATCH v1 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files

2022-08-29 Thread Hao Chen
ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 178fps after: 210fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 2 + libswscale/loongarch/rgb2rgb_lasx.c | 52 +++ libswscale/loongarch

[FFmpeg-devel] [PATCH v1 1/3] swscale/la: Optimize hscale functions with lasx.

2022-08-29 Thread Hao Chen
ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c | 192 libswscale/loongarch

[FFmpeg-devel] Add LoongArch SIMD optimization in swscale lib.

2022-08-29 Thread Hao Chen
[PATCH v1 1/3] swscale/la: Optimize hscale functions with lasx. [PATCH v1 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c [PATCH v1 3/3] swscale/la: Add output_lasx.c file. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/m

[FFmpeg-devel] [PATCH v1 3/3] swscale/la: Add output_lasx.c file.

2022-08-29 Thread Hao Chen
ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -pix_fmt rgb24 -y /dev/null -an before: 150fps after: 183fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile |3 +- libswscale/loongarch/output_lasx.c| 1982

[FFmpeg-devel] [PATCH v1 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files

2022-08-29 Thread Hao Chen
ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 178fps after: 210fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 2 + libswscale/loongarch/rgb2rgb_lasx.c | 52 +++ libswscale/loongarch

[FFmpeg-devel] [PATCH v1 1/3] swscale/la: Optimize hscale functions with lasx.

2022-08-29 Thread Hao Chen
ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -s 640x480 -y /dev/null -an before: 101fps after: 138fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 3 + libswscale/loongarch/input_lasx.c | 192 libswscale/loongarch

[FFmpeg-devel] Add loongarch SIMD optimization in swscale lib.

2022-08-29 Thread Hao Chen
[PATCH v1 1/3] swscale/la: Optimize hscale functions with lasx. [PATCH v1 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c [PATCH v1 3/3] swscale/la: Add output_lasx.c file. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/m

[FFmpeg-devel] [PATCH v1 2/3] swscale/la: Add yuv2rgb_lasx.c and rgb2rgb_lasx.c files

2022-08-29 Thread Hao Chen
ffmpeg -i ~/media/1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -pix_fmt rgb24 -y /dev/null -an before: 178fps after: 210fps Signed-off-by: Hao Chen --- libswscale/loongarch/Makefile | 2 + libswscale/loongarch/rgb2rgb_lasx.c | 52 +++ libswscale/loongarch

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fix MMI macro replaces in HEVC Decoder

2022-08-18 Thread Hao Chen
There are still some bugs unresolved in HEVC decoding. The checkasm-hevc-pel test failed. It's suggested to repair together. 在 2022/8/18 下午3:15, 戚铁铮 写道: The latest commit of Loongson MMI macro replaces were incorrect. It makes a mass of green tints on HEVC videos when playing. I've compared it

Re: [FFmpeg-devel] [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0

2022-02-24 Thread Hao Chen
coding style. 在 2022/2/21 下午11:00, Michael Niedermayer 写道: On Thu, Feb 17, 2022 at 07:11:47PM +0800, Hao Chen wrote: The loongson_intrinsics.h file is updated from v1.0.3 version to v1.1.0. Some spelling mistakes are fixed and new functions are added. Signed-off-by: Hao Chen --- libavutil

Re: [FFmpeg-devel] [PATCH v4 1/2] libavcodec/vaapi_encode: Add new API adaption to vaapi_encode

2022-02-17 Thread Hao Chen
Hey, there are some make errors, pasted as follows: libavcodec/vaapi_encode.c:2552:1: note: in expansion of macro 'av_cold' av_cold int ff_vaapi_encode_close(AVCodecContext *avctx) ^~~ libavcodec/vaapi_encode.c:2589:1: error: expected declaration or statement at end of input } ^ libavcod

[FFmpeg-devel] [PATCH v2 5/5] avcodec: [loongarch] Optimize Hevc_mc_uni/w with LSX.

2022-02-17 Thread Hao Chen
From: Lu Wang ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 182fps after : 191fps Signed-off-by: Hao Chen --- libavcodec/loongarch/Makefile |4 +- libavcodec/loongarch/hevc_mc_uni_lsx.c| 1423 + libavcodec/loongarch

[FFmpeg-devel] [PATCH v2 4/5] avcodec: [loongarch] Optimize Hevc_mc_bi with LSX.

2022-02-17 Thread Hao Chen
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 124fps after : 182fps Signed-off-by: Hao Chen --- libavcodec/loongarch/Makefile |3 +- libavcodec/loongarch/hevc_mc_bi_lsx.c | 2289 + libavcodec/loongarch

[FFmpeg-devel] [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0

2022-02-17 Thread Hao Chen
The loongson_intrinsics.h file is updated from v1.0.3 version to v1.1.0. Some spelling mistakes are fixed and new functions are added. Signed-off-by: Hao Chen --- libavutil/loongarch/loongson_intrinsics.h | 1697 +++-- 1 file changed, 884 insertions(+), 813 deletions(-) diff

[FFmpeg-devel] Optimize HEVC decoding for loongarch

2022-02-17 Thread Hao Chen
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 94fps after : 191fps V2: Retrigger the patchwork.ffmpeg test. [PATCH v2 1/5] avutil: [loongarch] Update loongson_intrinsics.h to [PATCH v2 2/5] avcodec: [loongarch] Optimize Hevcdsp with LSX. [PATCH v2 3/5] avcodec: [loon

[FFmpeg-devel] [PATCH v1 5/5] avcodec: [loongarch] Optimize Hevc_mc_uni/w with LSX.

2022-02-14 Thread Hao Chen
--- /dev/null +++ b/libavcodec/loongarch/hevc_mc_uni_lsx.c @@ -0,0 +1,1423 @@ +/* + * Copyright (c) 2022 Loongson Technology Corporation Limited + * Contributed by Lu Wang + *Hao Chen + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or

[FFmpeg-devel] [PATCH v1 4/5] avcodec: [loongarch] Optimize Hevc_mc_bi with LSX.

2022-02-14 Thread Hao Chen
/libavcodec/loongarch/hevc_mc_bi_lsx.c new file mode 100644 index 00..9092fdccb2 --- /dev/null +++ b/libavcodec/loongarch/hevc_mc_bi_lsx.c @@ -0,0 +1,2289 @@ +/* + * Copyright (c) 2022 Loongson Technology Corporation Limited + * Contributed by Lu Wang + *Hao Chen + * + * This

[FFmpeg-devel] [PATCH v1 1/5] avutil: [loongarch] Update loongson_intrinsics.h to v1.1.0

2022-02-14 Thread Hao Chen
The loongson_intrinsics.h file is updated from v1.0.3 version to v1.1.0. Some spelling mistakes are fixed and new functions are added. Signed-off-by: Hao Chen --- libavutil/loongarch/loongson_intrinsics.h | 1697 +++-- 1 file changed, 884 insertions(+), 813 deletions(-) diff

[FFmpeg-devel] Optimize HEVC decoding for loongarch

2022-02-14 Thread Hao Chen
ffmpeg -i 5_h265_1080p_60fps_3Mbps.mkv -f rawvideo -y /dev/null -an before: 94fps after : 191fps [PATCH v1 1/5] avutil: [loongarch] Update loongson_intrinsics.h to [PATCH v1 2/5] avcodec: [loongarch] Optimize Hevcdsp with LSX. [PATCH v1 3/5] avcodec: [loongarch] Optimize Hevc_idct/lpf with LSX. [P

[FFmpeg-devel] [PATCH v3 3/3] avcodec: [loongarch] Optimize prefetch with loongarch.

2021-12-29 Thread Hao Chen
From: gxw ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:296 after :308 --- libavcodec/loongarch/Makefile| 1 + libavcodec/loongarch/videodsp_init.c | 45 libavcodec/videodsp.c| 2 ++ libavcodec/videodsp.h

[FFmpeg-devel] [PATCH v3 2/3] avcodec: [loongarch] Optimize idctdstp with LASX.

2021-12-29 Thread Hao Chen
@ -0,0 +1,45 @@ +/* + * Copyright (c) 2021 Loongson Technology Corporation Limited + * Contributed by Hao Chen + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published

[FFmpeg-devel] [PATCH v3 1/3] avcodec: [loongarch] Optimize hpeldsp with LASX.

2021-12-29 Thread Hao Chen
From: Shiyou Yin ./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an before:376fps after :433fps --- libavcodec/hpeldsp.c |2 + libavcodec/hpeldsp.h |1 + libavcodec/loongarch/Makefile |2 + libavco

[FFmpeg-devel] Optimize Mpeg4 decoding for loongarch

2021-12-29 Thread Hao Chen
./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an before:376fps after :552fps V2: Revised PATCH 1/3 according to the comments. V3: Resubmit these patches due to miss PATCH v2 1/3. [PATCH v3 1/3] avcodec: [loongarch] Optimize hpeldsp with LASX. [PATCH v3 2/3] avcodec: [loonga

[FFmpeg-devel] [PATCH v2 2/3] avcodec: [loongarch] Optimize idctdstp with LASX.

2021-12-29 Thread Hao Chen
@ -0,0 +1,45 @@ +/* + * Copyright (c) 2021 Loongson Technology Corporation Limited + * Contributed by Hao Chen + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published

[FFmpeg-devel] [PATCH v2 3/3] avcodec: [loongarch] Optimize prefetch with loongarch.

2021-12-29 Thread Hao Chen
From: gxw ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:296 after :308 --- libavcodec/loongarch/Makefile| 1 + libavcodec/loongarch/videodsp_init.c | 45 libavcodec/videodsp.c| 2 ++ libavcodec/videodsp.h

[FFmpeg-devel] [PATCH 3/3] avcodec: [loongarch] Optimize prefetch with loongarch.

2021-12-24 Thread Hao Chen
From: gxw ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:296 after :308 Change-Id: I748490c1551d0ecfb8b8001625cf7e4e30f28eb4 --- libavcodec/loongarch/Makefile| 1 + libavcodec/loongarch/videodsp_init.c | 45 libavcodec/video

[FFmpeg-devel] [PATCH 1/3] avcodec: [loongarch] Optimize hpeldsp with LASX.

2021-12-24 Thread Hao Chen
From: Shiyou Yin ./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an before:376fps after :433fps Change-Id: Ic8018562093154887323b508b81d0f489c0d265d Signed-off-by: Hao Chen --- libavcodec/hpeldsp.c |2 + libavcodec/hpeldsp.h

[FFmpeg-devel] [PATCH 2/3] avcodec: [loongarch] Optimize idctdstp with LASX.

2021-12-24 Thread Hao Chen
+++ b/libavcodec/loongarch/idctdsp_init_loongarch.c @@ -0,0 +1,45 @@ +/* + * Copyright (c) 2021 Loongson Technology Corporation Limited + * Contributed by Hao Chen + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of t

[FFmpeg-devel] Optimize Mpeg4 decoding for loongarch.

2021-12-24 Thread Hao Chen
./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an before:376fps after :552fps avcodec: [loongarch] Optimize hpeldsp with LASX. avcodec: [loongarch] Optimize idctdstp with LASX. avcodec: [loongarch] Optimize prefetch with loongarch. ___

[FFmpeg-devel] [PATCH 4/4] avcodec: [loongarch] Optimize vc1dsp with LASX.

2021-12-18 Thread Hao Chen
..e72a4a3203 --- /dev/null +++ b/libavcodec/loongarch/vc1dsp_init_loongarch.c @@ -0,0 +1,67 @@ +/* + * Copyright (c) 2021 Loongson Technology Corporation Limited + * Contributed by Hao Chen + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it

[FFmpeg-devel] [PATCH 1/4] avcodec: [loongarch] Optimize vp8_lpf/mc with LSX.

2021-12-18 Thread Hao Chen
From: yuanhecai ./ffmpeg -i ../9_vp8_1080p_30fps_2Mbps.webm -f rawvideo -y /dev/null -an before: 210fps after : 585fps --- libavcodec/loongarch/Makefile| 3 + libavcodec/loongarch/vp8_lpf_lsx.c | 591 libavcodec/loongarch/vp8_mc_lsx.c| 951 +++

[FFmpeg-devel] Optimize VP8,VP9,WMV3 decoding for loongarch.

2021-12-18 Thread Hao Chen
./ffmpeg -i ../9_vp8_1080p_30fps_2Mbps.webm -f rawvideo -y /dev/null -an before: 210fps after : 585fps ffmpeg -i ../10_vp9_1080p_30fps_3Mbps.webm -f rawvideo -y /dev/null -an before:170fps after :294fps ./ffmpeg -i 11_wmv3_720p_24fps_7Mbps.wmv -f rawvideo -y /dev/null -an before:131fps after :229fp

[FFmpeg-devel] [PATCH v3 4/7] avcodec: [loongarch] Optimize h264dsp with LASX.

2021-12-14 Thread Hao Chen
From: gxw ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:225 after :282 Change-Id: Ibe245827dcdfe8fc1541c6b172483151bfa9e642 --- libavcodec/h264dsp.c |1 + libavcodec/h264dsp.h |2 + libavcodec/loongarch/

[FFmpeg-devel] [PATCH v3 3/7] avcodec: [loongarch] Optimize h264qpel with LASX.

2021-12-14 Thread Hao Chen
From: Shiyou Yin ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:183 after :225 Change-Id: I7c7d2f34cd82ef728aab5ce8f6bfb46dd81f0da4 --- libavcodec/h264qpel.c |2 + libavcodec/h264qpel.h |1 + libavcodec/loo

[FFmpeg-devel] [PATCH v3 7/7] avcodec: [loongarch] Optimize pred16x16_plane with LASX.

2021-12-14 Thread Hao Chen
00..12620bd842 --- /dev/null +++ b/libavcodec/loongarch/h264_intrapred_init_loongarch.c @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2021 Loongson Technology Corporation Limited + * Contributed by Hao Chen + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute

[FFmpeg-devel] [PATCH v3 5/7] avcodec: [loongarch] Optimize h264idct with LASX.

2021-12-14 Thread Hao Chen
From: Lu Wang ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:282 after :293 Change-Id: Ia8889935a6359630dd5dbb61263287f1cb24a0a4 --- libavcodec/loongarch/Makefile | 3 +- libavcodec/loongarch/h264dsp_init_loongarch.c | 15 + libavcodec/loongar

[FFmpeg-devel] [PATCH v3 6/7] avcodec: [loongarch] Optimize h264_deblock with LASX.

2021-12-14 Thread Hao Chen
From: Jin Bo ./ffmpeg -i ../1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before:293 after :295 Change-Id: I5ff6cba4eaca0c4218c0c97b880ca500e35f9c87 Signed-off-by: Hao Chen --- libavcodec/loongarch/Makefile | 3 +- libavcodec/loongarch/h264_deblock_lasx.c

[FFmpeg-devel] Optimize H264 decoding for loongarch.

2021-12-14 Thread Hao Chen
./ffmpeg -i 1_h264_1080p_30fps_3Mbps.mp4 -f rawvideo -y /dev/null -an before: 170fps after : 296fps V2: Update loongson_intrinsics.h to 1.0.3 in patch 2/7. V3: Resubmit these patches due to the encoding problem of the last email. [PATCH v3 1/7] avutil: [loongarch] Add support for loongarch SIMD.

[FFmpeg-devel] [PATCH v3 1/7] avutil: [loongarch] Add support for loongarch SIMD.

2021-12-14 Thread Hao Chen
From: Shiyou Yin LSX and LASX is loongarch SIMD extention. They are enabled by default if compiler support it, and can be disabled with '--disable-lsx' '--disable-lasx'. Change-Id: Ie2608ea61dbd9b7fffadbf0ec2348bad6c124476 --- Makefile | 2 +- configure|

[FFmpeg-devel] [PATCH v2 7/7] avcodec: [loongarch] Optimize pred16x16_plane with LASX.

2021-12-14 Thread Hao Chen
00..12620bd842 --- /dev/null +++ b/libavcodec/loongarch/h264_intrapred_init_loongarch.c @@ -0,0 +1,50 @@ +/* + * Copyright (c) 2021 Loongson Technology Corporation Limited + * Contributed by Hao Chen + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute

  1   2   >