aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/riscv/vp9dsp_init.c
diff options
context:
space:
mode:
authorsunyuechi <sunyuechi@iscas.ac.cn>2024-05-15 11:55:49 +0800
committerRémi Denis-Courmont <remi@remlab.net>2024-05-17 18:12:11 +0300
commitd521b7280c2ac0b990e53abf27c40bcde9540202 (patch)
treed542335a8e97f267b44f364f2aabee2bf1dbb206 /libavcodec/riscv/vp9dsp_init.c
parent88d973a5d658dc61dfd32e87b062724def46addc (diff)
downloadffmpeg-d521b7280c2ac0b990e53abf27c40bcde9540202.tar.gz
lavc/vp9dsp: R-V V ipred tm
C908: vp9_tm_4x4_8bpp_c: 116.5 vp9_tm_4x4_8bpp_rvv_i32: 43.5 vp9_tm_8x8_8bpp_c: 416.2 vp9_tm_8x8_8bpp_rvv_i32: 86.0 vp9_tm_16x16_8bpp_c: 1665.5 vp9_tm_16x16_8bpp_rvv_i32: 187.2 vp9_tm_32x32_8bpp_c: 6974.2 vp9_tm_32x32_8bpp_rvv_i32: 625.7 Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Diffstat (limited to 'libavcodec/riscv/vp9dsp_init.c')
-rw-r--r--libavcodec/riscv/vp9dsp_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/riscv/vp9dsp_init.c b/libavcodec/riscv/vp9dsp_init.c
index f046faf412..ab99294d44 100644
--- a/libavcodec/riscv/vp9dsp_init.c
+++ b/libavcodec/riscv/vp9dsp_init.c
@@ -89,6 +89,10 @@ static av_cold void vp9dsp_intrapred_init_riscv(VP9DSPContext *dsp, int bpp)
dsp->intra_pred[TX_32X32][HOR_PRED] = ff_h_32x32_rvv;
dsp->intra_pred[TX_16X16][HOR_PRED] = ff_h_16x16_rvv;
dsp->intra_pred[TX_8X8][HOR_PRED] = ff_h_8x8_rvv;
+ dsp->intra_pred[TX_32X32][TM_VP8_PRED] = ff_tm_32x32_rvv;
+ dsp->intra_pred[TX_16X16][TM_VP8_PRED] = ff_tm_16x16_rvv;
+ dsp->intra_pred[TX_8X8][TM_VP8_PRED] = ff_tm_8x8_rvv;
+ dsp->intra_pred[TX_4X4][TM_VP8_PRED] = ff_tm_4x4_rvv;
}
#endif
#endif