diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2023-11-15 21:31:17 +0200 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2023-11-18 22:06:57 +0200 |
commit | ca664f2254a96e9fc9c633fea5eac11f51d93923 (patch) | |
tree | 1e917d9cd4d253cdb14f427ddb5b5d881e464352 /libavformat/thp.c | |
parent | 295092b46d8bdaa3638647bb958b35c698045f6b (diff) | |
download | ffmpeg-ca664f2254a96e9fc9c633fea5eac11f51d93923.tar.gz |
lavc/flacdsp: R-V V LPC16 function
In this case, the inner loop computing the scalar product can be reduced
to just one multiplication and one sum even with 128-bit vectors. The
result is a lot simpler, but also brings more modest performance gains:
flac_lpc_16_13_c: 15241.0
flac_lpc_16_13_rvv_i32: 11230.0
flac_lpc_16_16_c: 17884.0
flac_lpc_16_16_rvv_i32: 12125.7
flac_lpc_16_29_c: 27847.7
flac_lpc_16_29_rvv_i32: 10494.0
flac_lpc_16_32_c: 30051.5
flac_lpc_16_32_rvv_i32: 10355.0
Diffstat (limited to 'libavformat/thp.c')
0 files changed, 0 insertions, 0 deletions