avcodec/mips: Improve hevc uni weighted 4 tap vt mc msa functions
authorKaustubh Raste <kaustubh.raste@imgtec.com>
Mon, 6 Nov 2017 10:58:44 +0000 (16:28 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 8 Nov 2017 19:58:56 +0000 (20:58 +0100)
commit4fba8728e82ff1b7cd1c5d77eb72c33cb8fb8fb8
tree628f9943038a6dd9fc3bb93521edab179d4d2759
parent350721e9fd6bdec5e9bf024315b64ce29de45bf7
avcodec/mips: Improve hevc uni weighted 4 tap vt mc msa functions

Use global mask buffer for appropriate mask load.
Use immediate unsigned saturation for clip to max saving one vector register.
Remove unused macro.

Signed-off-by: Kaustubh Raste <kaustubh.raste@imgtec.com>
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/hevc_mc_uniw_msa.c