avcodec/mips: [loongson] optimize vp8 decoding in vp8dsp.
authorgxw <guxiwei-hf@loongson.cn>
Wed, 5 Sep 2018 10:31:06 +0000 (18:31 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 9 Sep 2018 10:01:07 +0000 (12:01 +0200)
commit090647da84f975c7ffb163436040cc8aecf46a9c
tree42c921c977bf61c7081050cd0b615e2a33387570
parent8ef7fb86d62c9d44697c8eef0ddc424be4a3612b
avcodec/mips: [loongson] optimize vp8 decoding in vp8dsp.

Optimize vp8 loop filter with mmi, four functions optimized:
1. ff_vp8_h_loop_filter8uv_mmi.
2. ff_vp8_v_loop_filter8uv_mmi.
3. ff_vp8_h_loop_filter16_mmi.
4. ff_vp8_v_loop_filter16_mmi.

Vp8 decoding speed improved about 50%(from 73fps to 110fps, Tested on loongson 3A3000).

Signed-off-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/vp8dsp_mmi.c
libavutil/mips/mmiutils.h