mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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.
This commit is contained in:
parent
cb31f17ca8
commit
616fdeaea3
22 changed files with 45 additions and 47 deletions
|
|
@ -41,7 +41,7 @@ av_cold void ff_rv40dsp_init_riscv(RV34DSPContext *c)
|
|||
int flags = av_get_cpu_flags();
|
||||
|
||||
if ((flags & AV_CPU_FLAG_RVV_I32) && ff_rv_vlen_least(128) &&
|
||||
(flags & AV_CPU_FLAG_RVB_ADDR)) {
|
||||
(flags & AV_CPU_FLAG_RVB)) {
|
||||
c->put_chroma_pixels_tab[0] = ff_put_rv40_chroma_mc8_rvv;
|
||||
c->put_chroma_pixels_tab[1] = ff_put_rv40_chroma_mc4_rvv;
|
||||
c->avg_chroma_pixels_tab[0] = ff_avg_rv40_chroma_mc8_rvv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue