diff options
author | Rémi Denis-Courmont <[email protected]> | 2024-07-27 14:30:17 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <[email protected]> | 2024-08-05 21:16:26 +0300 |
commit | 616fdeaea30c9db2ee2521f56ee7717e4d2f4a0f (patch) | |
tree | 363eb43806c2eaa3d6090d12f0393efb5b254377 /libavcodec/riscv/vp8dsp_init.c | |
parent | cb31f17ca8f0338c2e00ac956a28a74c4d030a90 (diff) |
lavc/riscv: depend on RVB and simplify accordingly
There is no known (real) hardware with V and without the complete B
extension. B was indeed required in the RISC-V application profile from
2022, earlier than V. There should not be any relevant hardware in the
future either.
In practice, different R-V Vector optimisations in FFmpeg already depend on
every constituent of the B extension anyhow, so it would not work well.
Diffstat (limited to 'libavcodec/riscv/vp8dsp_init.c')
-rw-r--r-- | libavcodec/riscv/vp8dsp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/riscv/vp8dsp_init.c b/libavcodec/riscv/vp8dsp_init.c index d9e2beb237..250fecb2f0 100644 --- a/libavcodec/riscv/vp8dsp_init.c +++ b/libavcodec/riscv/vp8dsp_init.c @@ -86,7 +86,7 @@ av_cold void ff_vp78dsp_init_riscv(VP8DSPContext *c) c->put_vp8_bilinear_pixels_tab[2][2][1] = ff_put_vp8_bilin4_hv_rvv; c->put_vp8_bilinear_pixels_tab[2][2][2] = ff_put_vp8_bilin4_hv_rvv; - if (flags & AV_CPU_FLAG_RVB_ADDR) { + if (flags & AV_CPU_FLAG_RVB) { c->put_vp8_epel_pixels_tab[0][0][2] = ff_put_vp8_epel16_h6_rvv; c->put_vp8_epel_pixels_tab[1][0][2] = ff_put_vp8_epel8_h6_rvv; c->put_vp8_epel_pixels_tab[2][0][2] = ff_put_vp8_epel4_h6_rvv; |