diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2022-09-26 17:52:45 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-09-27 13:19:52 +0200 |
commit | 453aba71e6db37d367269cc080dae4c1548db33a (patch) | |
tree | ba81d826f662f3267e6df285ef2caca8e99fe7bb /libavcodec/vorbisdsp.h | |
parent | 220dfd0945ee8481d8cdbf713f515a94ceee9992 (diff) | |
download | ffmpeg-453aba71e6db37d367269cc080dae4c1548db33a.tar.gz |
lavc/vorbisdsp: RISC-V V inverse_coupling
This uses the following vectorisation:
for (i = 0; i < blocksize; i++) {
ang[i] = mag[i] - copysignf(fmaxf(ang[i], 0.f), mag[i]);
mag[i] = mag[i] - copysignf(fminf(ang[i], 0.f), mag[i]);
}
Diffstat (limited to 'libavcodec/vorbisdsp.h')
-rw-r--r-- | libavcodec/vorbisdsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vorbisdsp.h b/libavcodec/vorbisdsp.h index 1775a92cf2..5c369ecf22 100644 --- a/libavcodec/vorbisdsp.h +++ b/libavcodec/vorbisdsp.h @@ -34,5 +34,6 @@ void ff_vorbisdsp_init_aarch64(VorbisDSPContext *dsp); void ff_vorbisdsp_init_x86(VorbisDSPContext *dsp); void ff_vorbisdsp_init_arm(VorbisDSPContext *dsp); void ff_vorbisdsp_init_ppc(VorbisDSPContext *dsp); +void ff_vorbisdsp_init_riscv(VorbisDSPContext *dsp); #endif /* AVCODEC_VORBISDSP_H */ |