diff options
author | Rémi Denis-Courmont <remi@remlab.net> | 2022-09-23 18:09:54 +0300 |
---|---|---|
committer | Rémi Denis-Courmont <remi@remlab.net> | 2024-07-30 18:41:51 +0300 |
commit | 262168b04e6807fce6a78507c14cfc166ba72845 (patch) | |
tree | b5f9dc5883161891837b72b3ba1ce787afd21870 /libavcodec/videodsp.c | |
parent | 4570b9f3c4e64a996bcadc5af58574f7f32ee1de (diff) | |
download | ffmpeg-262168b04e6807fce6a78507c14cfc166ba72845.tar.gz |
lavc/videodsp: RISC-V zicbop prefetch
There are currently no ways to run-time detect the CPU capability, so we
take it for granted (in the worst case, it will execute NOPs).
Diffstat (limited to 'libavcodec/videodsp.c')
-rw-r--r-- | libavcodec/videodsp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/videodsp.c b/libavcodec/videodsp.c index bdff2e76f5..a19e87a819 100644 --- a/libavcodec/videodsp.c +++ b/libavcodec/videodsp.c @@ -51,6 +51,8 @@ av_cold void ff_videodsp_init(VideoDSPContext *ctx, int bpc) ff_videodsp_init_arm(ctx, bpc); #elif ARCH_PPC ff_videodsp_init_ppc(ctx, bpc); +#elif ARCH_RISCV + ff_videodsp_init_riscv(ctx, bpc); #elif ARCH_X86 ff_videodsp_init_x86(ctx, bpc); #elif ARCH_MIPS |