avcodec/mips: [loongson] optimize put_hevc_pel_bi_pixels_8 with mmi.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Fri, 18 Jan 2019 06:42:20 +0000 (14:42 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 19 Jan 2019 23:44:02 +0000 (00:44 +0100)
commit32421602dfb18c58a9563b748c199955fc158abc
treea1dcf860769dd3cd137c782a5786129a8ac2128e
parent32fb83e4318845a7f44f7bed02d5963b9e81804e
avcodec/mips: [loongson] optimize put_hevc_pel_bi_pixels_8 with mmi.

Optimize put_hevc_pel_bi_pixels_8 with mmi in the case width=8/16/24/32/48/64.
This optimization improved HEVC decoding performance 2%(1.77x to 1.81x, tested on loongson 3A3000).

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/Makefile
libavcodec/mips/hevcdsp_init_mips.c
libavcodec/mips/hevcdsp_mips.h
libavcodec/mips/hevcdsp_mmi.c [new file with mode: 0644]