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
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
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_
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
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_
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
在 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
在 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
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
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
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_
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
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_
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
在 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
---
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
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
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_
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
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_
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
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
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
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_
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
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_
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
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
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
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_
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
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_
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
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
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
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
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
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
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_
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 -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 -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
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 -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 -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 -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
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 -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 -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 -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 -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
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.
__
[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
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_
在 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 -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 -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 -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
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 -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 -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 -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
[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 -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 -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 -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
[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 -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
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
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
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
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 -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
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 -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
--- /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
/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
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 -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
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
@ -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
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 -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
@ -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
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
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
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
+++ 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 -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.
___
..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
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 -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
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/
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
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
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
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 -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.
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|
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 - 100 of 113 matches
Mail list logo