diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2022-10-05 19:12:53 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-10-10 02:22:10 +0200 |
commit | 8009581912d0e5d6ecfa650cd0ce90c58c515b69 (patch) | |
tree | 498b491d8800c81a637192f8119d56e2b48640b3 /libavformat/sctp.c | |
parent | 82479ef6bd107312aa086bab12c29ba4551d544a (diff) | |
download | ffmpeg-8009581912d0e5d6ecfa650cd0ce90c58c515b69.tar.gz |
lavc/opusdsp: RISC-V V (128-bit) postfilter
This is implemented for a vector size of 128-bit. Since the scalar
product in the inner loop covers 5 samples or 160 bits, we need a group
multipler of 2.
To avoid reconfiguring the vector type, the outer loop, which loads
multiple input samples sticks to the same multipler. Consequently, the
outer loop loads 8 samples per iteration. This is safe since the minimum
period of the CELT codec is 15 samples.
The same code would also work, albeit needlessly inefficiently with a
vector length of 256 bits. A proper implementation will follow instead.
Diffstat (limited to 'libavformat/sctp.c')
0 files changed, 0 insertions, 0 deletions