diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2023-12-08 17:42:22 +0200 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2023-12-11 18:17:43 +0200 |
commit | 272d0c164d990cafc52a43bbceb1fc0445a2d22c (patch) | |
tree | 27f720192cf6b9227301faf71f6c9cab0e6011d0 /libavcodec/lpc.c | |
parent | 341a483b0868d30d17bf8d5e82facb5e0944a6fe (diff) |
lavc/lpc: R-V V apply_welch_window
apply_welch_window_even_c: 617.5
apply_welch_window_even_rvv_f64: 235.0
apply_welch_window_odd_c: 709.0
apply_welch_window_odd_rvv_f64: 256.5
Diffstat (limited to 'libavcodec/lpc.c')
-rw-r--r-- | libavcodec/lpc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/lpc.c b/libavcodec/lpc.c index dc6a3060ce..9e2fd0f128 100644 --- a/libavcodec/lpc.c +++ b/libavcodec/lpc.c @@ -320,7 +320,9 @@ av_cold int ff_lpc_init(LPCContext *s, int blocksize, int max_order, s->lpc_apply_welch_window = lpc_apply_welch_window_c; s->lpc_compute_autocorr = lpc_compute_autocorr_c; -#if ARCH_X86 +#if ARCH_RISCV + ff_lpc_init_riscv(s); +#elif ARCH_X86 ff_lpc_init_x86(s); #endif |