aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pixblockdsp.h
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-09-26 17:52:24 +0300
committerLynne <dev@lynne.ee>2022-09-27 13:19:52 +0200
commit1edac8eb468cb9a769ded6197dbce515b71b137e (patch)
treee2dc80694d9bf2d4d262bede348e1e0af8f68c24 /libavcodec/pixblockdsp.h
parent04d092e7d5204f1aebb7e61f92bb263873e0f735 (diff)
downloadffmpeg-1edac8eb468cb9a769ded6197dbce515b71b137e.tar.gz
lavc/pixblockdsp: RISC-V I get_pixels
Benchmarks on SiFive U74-MC (courtesy of Shanghai StarFive Tech): get_pixels_c: 180.0 get_pixels_rvi: 136.7
Diffstat (limited to 'libavcodec/pixblockdsp.h')
-rw-r--r--libavcodec/pixblockdsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/pixblockdsp.h b/libavcodec/pixblockdsp.h
index 07c2ec4f40..9b002aa3d6 100644
--- a/libavcodec/pixblockdsp.h
+++ b/libavcodec/pixblockdsp.h
@@ -52,6 +52,8 @@ void ff_pixblockdsp_init_arm(PixblockDSPContext *c, AVCodecContext *avctx,
unsigned high_bit_depth);
void ff_pixblockdsp_init_ppc(PixblockDSPContext *c, AVCodecContext *avctx,
unsigned high_bit_depth);
+void ff_pixblockdsp_init_riscv(PixblockDSPContext *c, AVCodecContext *avctx,
+ unsigned high_bit_depth);
void ff_pixblockdsp_init_x86(PixblockDSPContext *c, AVCodecContext *avctx,
unsigned high_bit_depth);
void ff_pixblockdsp_init_mips(PixblockDSPContext *c, AVCodecContext *avctx,