Skip to content

Commit

Permalink
avcodec: [loongarch] Optimize vp9_lpf/idct with LSX.
Browse files Browse the repository at this point in the history
ffmpeg -i ../10_vp9_1080p_30fps_3Mbps.webm -f rawvideo -y /dev/null -an
before:294fps
after :567fps

Reviewed-by: Shiyou Yin <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
jinboson authored and michaelni committed Dec 23, 2021
1 parent 2fd914e commit fea299f
Show file tree
Hide file tree
Showing 5 changed files with 4,626 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libavcodec/loongarch/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ LASX-OBJS-$(CONFIG_H264PRED) += loongarch/h264_intrapred_lasx.o
LSX-OBJS-$(CONFIG_VP8_DECODER) += loongarch/vp8_mc_lsx.o \
loongarch/vp8_lpf_lsx.o
LSX-OBJS-$(CONFIG_VP9_DECODER) += loongarch/vp9_mc_lsx.o \
loongarch/vp9_intra_lsx.o
loongarch/vp9_intra_lsx.o \
loongarch/vp9_lpf_lsx.o \
loongarch/vp9_idct_lsx.o
Loading

0 comments on commit fea299f

Please sign in to comment.