[FFmpeg-devel] [PATCH] libavcodec/riscv:add RVV optimized for idct_32x32_8:

Michael Niedermayer michael at niedermayer.cc
Fri Apr 18 00:07:22 EEST 2025


On Tue, Apr 15, 2025 at 03:34:24PM +0800, daichengrong at iscas.ac.cn wrote:
> From: daichengrong <daichengrong at iscas.ac.cn>
> 
>      riscv/hevcdsp_idct_rvv: Optimize idct_32x32_8
> 
>      On Banana PI F3:
> 
>      hevc_idct_32x32_8_c:                                119579.3 ( 1.00x)
>      hevc_idct_32x32_8_rvv_i64:                           51254.4 ( 2.33x)
> 
> Signed-off-by: daichengrong <daichengrong at iscas.ac.cn>
> ---
>  libavcodec/riscv/Makefile           |    1 +
>  libavcodec/riscv/hevcdsp_idct_rvv.S | 1042 +++++++++++++++++++++++++++
>  libavcodec/riscv/hevcdsp_init.c     |   52 +-
>  3 files changed, 1075 insertions(+), 20 deletions(-)
>  create mode 100644 libavcodec/riscv/hevcdsp_idct_rvv.S

there are 358 tabs in this, please use spaces
both for consistency with the rest of the .S files and also
because the git push hook will block this

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Republics decline into democracies and democracies degenerate into
despotisms. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250417/c7e77c27/attachment.sig>


More information about the ffmpeg-devel mailing list