summaryrefslogtreecommitdiff
path: root/libavcodec/idctdsp.h
diff options
context:
space:
mode:
authorHao Chen <chenhao@loongson.cn>2021-12-29 18:18:21 +0800
committerMichael Niedermayer <michael@niedermayer.cc>2022-01-04 15:55:05 +0100
commit555b850bd56c87007c6b7b02dbb1e474e9911dfa (patch)
tree97773159d4027884daaf9bab594061a1cd68d67a /libavcodec/idctdsp.h
parent5d58355bf1a7bd07b0f08bf1f90f4aba8b89d727 (diff)
avcodec: [loongarch] Optimize idctdstp with LASX.
./ffmpeg -i 8_mpeg4_1080p_24fps_12Mbps.avi -f rawvideo -y /dev/null -an before:433fps after :552fps Reviewed-by: 殷时友 <yinshiyou-hf@loongson.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/idctdsp.h')
-rw-r--r--libavcodec/idctdsp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/idctdsp.h b/libavcodec/idctdsp.h
index ca21a31a02..014488aec3 100644
--- a/libavcodec/idctdsp.h
+++ b/libavcodec/idctdsp.h
@@ -118,5 +118,7 @@ void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx,
unsigned high_bit_depth);
void ff_idctdsp_init_mips(IDCTDSPContext *c, AVCodecContext *avctx,
unsigned high_bit_depth);
+void ff_idctdsp_init_loongarch(IDCTDSPContext *c, AVCodecContext *avctx,
+ unsigned high_bit_depth);
#endif /* AVCODEC_IDCTDSP_H */