[FFmpeg-devel] [PATCH 3/7] avcodec/mips: loongson optimize mmi load and store operators
Michael Niedermayer
michael at niedermayer.cc
Sun Oct 23 04:21:35 EEST 2016
On Mon, Oct 10, 2016 at 04:09:12PM +0800, 周晓勇 wrote:
> From ec6fd41adff8541180f4e43e019e31ff06867789 Mon Sep 17 00:00:00 2001
> From: Zhou Xiaoyong <zhouxiaoyong at loongson.cn>
> Date: Mon, 10 Oct 2016 14:31:39 +0800
> Subject: [PATCH 3/7] 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
> ---
> 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(-)
applied
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161023/1ba07dac/attachment.sig>
More information about the ffmpeg-devel
mailing list