avcodec/mips: Improve hevc uni weighted vert mc msa functions
authorKaustubh Raste <kaustubh.raste@imgtec.com>
Wed, 11 Oct 2017 08:51:09 +0000 (14:21 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Oct 2017 00:46:31 +0000 (02:46 +0200)
commite5439e272ed1ac17b78f49183cb9ab28519ce015
treef421d10b18b039c95c6a515e984885c926bbb611
parent6ca821a3e7751b6b24e63ec1b531e3841d4d7bda
avcodec/mips: Improve hevc uni weighted vert mc msa functions

Pack the data to half word before clipping.
Use immediate unsigned saturation for clip to max saving one vector register.

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