avcodec/mips: [loongson] refine optimization in h264_chroma.
authorShiyou Yin <yinshiyou-hf@loongson.cn>
Tue, 6 Nov 2018 00:59:13 +0000 (08:59 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 1 Dec 2018 00:51:20 +0000 (01:51 +0100)
commit5982614af1f564ac05c1aa535cbd12cbbb2aa526
tree35c888199f2080bd688375334a768b039bc9f7f7
parent5c806d5b54a7a261569b4d3c2053a321dcf4445f
avcodec/mips: [loongson] refine optimization in h264_chroma.

Remove invalid operation in the case x and y all equal 0,
this refine made about 2% speedup for H264 decode on loongson platform.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/h264chroma_mmi.c