avcodec/mips: [loongson] optimize put_hevc_qpel_bi_hv_8 with mmi.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Mon, 21 Jan 2019 10:10:25 +0000 (18:10 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 Jan 2019 23:46:36 +0000 (00:46 +0100)
commit83aa2cd7575e0a7cc0fc9ccbb51b1a9760a0559d
tree71910372fbc049cc595bad5768a196e433c64464
parent6d1916481137a9608d95fc3aa8f3d874b7aaea3c
avcodec/mips: [loongson] optimize put_hevc_qpel_bi_hv_8 with mmi.

Optimize put_hevc_qpel_bi_hv_8 with mmi in the case width=4/8/12/16/24/32/48/64.
This optimization improved HEVC decoding performance 11.4%(2.01x to 2.24x, 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