avcodec/mips: Improve hevc bi copy mc msa functions
authorKaustubh Raste <kaustubh.raste@imgtec.com>
Wed, 11 Oct 2017 08:49:27 +0000 (14:19 +0530)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 13 Oct 2017 00:46:31 +0000 (02:46 +0200)
commite63758468c6420871c883fb96b8b6832adb5b2ee
tree87f0e78e50bcf1fb574d878968c8077f028f1170
parente549933a270dd2cfc36f2cf9bb6b29acf3dc6d08
avcodec/mips: Improve hevc bi copy mc msa functions

Load the specific destination bytes instead of MSA load and pack.
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_bi_msa.c