aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp8dsp.h
diff options
context:
space:
mode:
authorRémi Denis-Courmont <remi@remlab.net>2024-05-26 12:26:01 +0300
committerRémi Denis-Courmont <remi@remlab.net>2024-05-29 16:57:02 +0300
commitfd39997f727855d7cc0118203269feac0ca2fa31 (patch)
treebc281de3eb9a4831a43dc44e34d55032a1be89e7 /libavcodec/vp8dsp.h
parent91b5ea7bb930d44e0ffd12fe0aabfb2838f0e67c (diff)
downloadffmpeg-fd39997f727855d7cc0118203269feac0ca2fa31.tar.gz
lavc/vp7dsp: add R-V V vp7_luma_dc_wht
This works out a bit more favourably than VP8's due to: - additional multiplications that can be vectored, - hardware-supported fixed-point rounding mode. vp7_luma_dc_wht_c: 3.2 vp7_luma_dc_wht_rvv_i64: 2.0
Diffstat (limited to 'libavcodec/vp8dsp.h')
-rw-r--r--libavcodec/vp8dsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vp8dsp.h b/libavcodec/vp8dsp.h
index 3bf12b6b45..e3de2e0494 100644
--- a/libavcodec/vp8dsp.h
+++ b/libavcodec/vp8dsp.h
@@ -90,6 +90,8 @@ void ff_vp78dsp_init_ppc(VP8DSPContext *c);
void ff_vp78dsp_init_riscv(VP8DSPContext *c);
void ff_vp78dsp_init_x86(VP8DSPContext *c);
+void ff_vp7dsp_init_riscv(VP8DSPContext *c);
+
void ff_vp8dsp_init(VP8DSPContext *c);
void ff_vp8dsp_init_aarch64(VP8DSPContext *c);
void ff_vp8dsp_init_arm(VP8DSPContext *c);