[FFmpeg-devel] [PATCH 0/6] RISC-V initial ac3dsp

Peiting Shen shenpeiting at eswincomputing.com
Thu Jun 15 13:36:39 EEST 2023


From: Shen Peiting <shenpeiting at eswincomputing.com>

We optimized the six interfaces of AC3 init by RVV, the optimized 
performance was tested on the RISC-V ISA simulator--Spike, and the 
results were attached to each commit.

shenpeiting (6):
  lavc/ac3dsp: RISC-V V ac3_exponent_min
  lavc/ac3dsp: RISC-V V float_to_fixed24
  lavc/ac3dsp: RISC-V V ac3_sum_square_butterfly_int32
  lavc/ac3dsp: RISC-V V ac3_sum_square_butterfly_float
  lavc/ac3dsp: RISC-V V ac3_compute_mantissa_size
  lavc/ac3dsp: RISC-V B ac3_extract_exponents

 libavcodec/ac3dsp.c            |   2 +
 libavcodec/ac3dsp.h            |   1 +
 libavcodec/riscv/Makefile      |   3 +
 libavcodec/riscv/ac3dsp_init.c |  60 +++++++++
 libavcodec/riscv/ac3dsp_rvb.S  |  42 ++++++
 libavcodec/riscv/ac3dsp_rvv.S  | 225 +++++++++++++++++++++++++++++++++
 6 files changed, 333 insertions(+)
 create mode 100644 libavcodec/riscv/ac3dsp_init.c
 create mode 100644 libavcodec/riscv/ac3dsp_rvb.S
 create mode 100644 libavcodec/riscv/ac3dsp_rvv.S

-- 
2.17.1



More information about the ffmpeg-devel mailing list