avcodec/mips: [loongson] optimize put_hevc_qpel_bi_h_8 with mmi.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Fri, 1 Feb 2019 06:05:01 +0000 (14:05 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 2 Feb 2019 19:17:37 +0000 (20:17 +0100)
commitdceefb2b84b3aacaf40309f750b1b53f36b7a412
tree572df3b18e61a5656f470e30e975084609c3787a
parentc0942b7a2c5ccfd39907257b3b0a10f86d6b9164
avcodec/mips: [loongson] optimize put_hevc_qpel_bi_h_8 with mmi.

Optimize put_hevc_qpel_bi_h_8 with mmi in the case width=4/8/12/16/24/32/48/64.
This optimization improved HEVC decoding performance 2.1%(2.34x to 2.39x, tested on loongson 3A3000).

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/hevcdsp_init_mips.c
libavcodec/mips/hevcdsp_mips.h
libavcodec/mips/hevcdsp_mmi.c