[FFmpeg-cvslog] avcodec/mips: loongson optimize mmi load and store operators

Zhou Xiaoyong git at videolan.org
Sun Oct 23 04:23:58 EEST 2016


ffmpeg | branch: master | Zhou Xiaoyong <zhouxiaoyong at loongson.cn> | Mon Oct 10 16:09:12 2016 +0800| [89ec4adad6cb8c8bb4ecd61b51d42ebde424bcfb] | committer: Michael Niedermayer

avcodec/mips: loongson optimize mmi load and store operators

1.MMI_ load/store macros are defined in libavutil/mips/mmiutils.h
2.Replace some unnecessary unaligned access with aligned operator
3.The MMI_ load/store is compatible with cpu loongson2e/2f which not support instructions start with gs

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=89ec4adad6cb8c8bb4ecd61b51d42ebde424bcfb
---

 libavcodec/mips/blockdsp_mmi.c    |  139 +--
 libavcodec/mips/h264chroma_mmi.c  |  193 ++--
 libavcodec/mips/h264dsp_mmi.c     | 2126 ++++++++++++++++++-------------------
 libavcodec/mips/h264pred_mmi.c    |  259 +++--
 libavcodec/mips/h264qpel_mmi.c    |  777 ++++++--------
 libavcodec/mips/hpeldsp_mmi.c     |  549 +++++-----
 libavcodec/mips/idctdsp_mmi.c     |  130 ++-
 libavcodec/mips/mpegvideo_mmi.c   |  112 +-
 libavcodec/mips/pixblockdsp_mmi.c |   87 +-
 9 files changed, 2066 insertions(+), 2306 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commitdiff;h=89ec4adad6cb8c8bb4ecd61b51d42ebde424bcfb


More information about the ffmpeg-cvslog mailing list