avcodec/mips: Improve hevc uni weighted hv mc msa functions
authorKaustubh Raste <kaustubh.raste@imgtec.com>
Tue, 31 Oct 2017 13:00:40 +0000 (18:30 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 2 Nov 2017 23:56:30 +0000 (00:56 +0100)
commit48d77d5cd4ac0858e1e9abf387f739a5c773200f
tree76755641b7cd42e7b8e83d55bd73d87cab6d0b73
parent72dbc610be3272ba36603f78a39cc2d2d8fe0cc3
avcodec/mips: Improve hevc uni weighted hv mc msa functions

Use immediate unsigned saturation for clip to max saving one vector register.

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_macros_msa.h
libavcodec/mips/hevc_mc_uniw_msa.c