avcodec/mips: Improve hevc uni weighted 4 tap hz mc msa functions
authorKaustubh Raste <kaustubh.raste@imgtec.com>
Fri, 3 Nov 2017 07:35:23 +0000 (13:05 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 5 Nov 2017 02:12:35 +0000 (03:12 +0100)
commitb9cd26f556f4ca0dfe71ffd75a7272782b324753
tree8517679f9627ce08aaac2ff2d00f0e0736555201
parent1e7e9fbb03c36b51ca7999ff2450afd64e789011
avcodec/mips: Improve hevc uni weighted 4 tap hz 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