[FFmpeg-devel] Loongson Optimization Patchs and Machine Express Issuse

Michael Niedermayer michael at niedermayer.cc
Sat Apr 25 14:14:59 CEST 2015


On Wed, Apr 22, 2015 at 02:27:11PM +0800, 周晓勇 wrote:
>  h264.c |   25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> f3e41a6b5b3d657efe06a9dee43a8afbdc0f68d0  0006-avcodec-optimize-fill_rectangle-in-fast-64bit-mode-f.patch
> From 77cc85af4ce282b44a20f9a98481a31d78e5813f Mon Sep 17 00:00:00 2001
> From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
> Date: Thu, 16 Apr 2015 06:41:22 +0800
> Subject: [PATCH 05/11] avcodec: optimize h264_decode_nal in fast 64bit mode
>  for Loongson-3
> 
> ---
>  libavcodec/h264.c | 25 +++++++++++++++++++++++++
>  1 file changed, 25 insertions(+)
> 
> diff --git a/libavcodec/h264.c b/libavcodec/h264.c
> index a8ffdde..bacbf12 100644
> --- a/libavcodec/h264.c
> +++ b/libavcodec/h264.c
> @@ -254,6 +254,30 @@ const uint8_t *ff_h264_decode_nal(H264Context *h, H264SliceContext *sl,
>          i++
>  
>  #if HAVE_FAST_64BIT
> +#   if HAVE_LOONGSON3

cpu specific asm belongs in cpu specific subdirectories
like libavcodec/mips/

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150425/f77125da/attachment.asc>


More information about the ffmpeg-devel mailing list