diff options
author | RĂ©mi Denis-Courmont <remi@remlab.net> | 2022-09-27 23:04:24 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2022-09-28 11:46:11 +0200 |
commit | 2746329ce25fb3d30bbf2aab187e90e21ae98064 (patch) | |
tree | 19ce4f78e436340070781d9308deeae7bb67379d /libavcodec/riscv/idctdsp_init.c | |
parent | fa983b56560ede2d9e3e3e21c80bbe0352b8794d (diff) | |
download | ffmpeg-2746329ce25fb3d30bbf2aab187e90e21ae98064.tar.gz |
lavc/idctdsp: RISC-V V put_signed_pixels_clamped function
Diffstat (limited to 'libavcodec/riscv/idctdsp_init.c')
-rw-r--r-- | libavcodec/riscv/idctdsp_init.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/riscv/idctdsp_init.c b/libavcodec/riscv/idctdsp_init.c index 58b8a6c97a..e6e616a555 100644 --- a/libavcodec/riscv/idctdsp_init.c +++ b/libavcodec/riscv/idctdsp_init.c @@ -28,6 +28,8 @@ void ff_put_pixels_clamped_rvv(const int16_t *block, uint8_t *pixels, ptrdiff_t stride); +void ff_put_signed_pixels_clamped_rvv(const int16_t *block, uint8_t *pixels, + ptrdiff_t stride); void ff_add_pixels_clamped_rvv(const int16_t *block, uint8_t *pixels, ptrdiff_t stride); @@ -39,6 +41,7 @@ av_cold void ff_idctdsp_init_riscv(IDCTDSPContext *c, AVCodecContext *avctx, if ((flags & AV_CPU_FLAG_RVV_I32) && ff_get_rv_vlenb() >= 16) { c->put_pixels_clamped = ff_put_pixels_clamped_rvv; + c->put_signed_pixels_clamped = ff_put_signed_pixels_clamped_rvv; c->add_pixels_clamped = ff_add_pixels_clamped_rvv; } #endif |