• gxw's avatar
    avutil/mips: refine msa macros CLIP_*. · a3e572d9
    gxw authored
    Changing details as following:
    1. Remove the local variable 'out_m' in 'CLIP_SH' and store the result in
       source vector.
    2. Refine the implementation of macro 'CLIP_SH_0_255' and 'CLIP_SW_0_255'.
       Performance of VP8 decoding has speed up about 1.1%(from 7.03x to 7.11x).
       Performance of H264 decoding has speed up about 0.5%(from 4.35x to 4.37x).
       Performance of Theora decoding has speed up about 0.7%(from 5.79x to 5.83x).
    3. Remove redundant macro 'CLIP_SH/Wn_0_255_MAX_SATU' and use 'CLIP_SH/Wn_0_255'
       instead, because there are no difference in the effect of this two macros.
    Reviewed-by: 's avatarShiyou Yin <yinshiyou-hf@loongson.cn>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    a3e572d9
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...