[FFmpeg-devel] [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1

周晓勇 zhouxiaoyong at loongson.cn
Tue May 12 03:34:16 CEST 2015




> -----原始邮件-----
> 发件人: "Michael Niedermayer" <michaelni at gmx.at>
> 发送时间: 2015年5月11日 星期一
> 收件人: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
> 抄送: 
> 主题: Re: [FFmpeg-devel] [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1
> 
> On Mon, May 11, 2015 at 12:41:51PM +0800, 周晓勇 wrote:
> > From 3d5a9d0d38c96d6b6ec51b082102f3a231b5b881 Mon Sep 17 00:00:00 2001
> > From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
> > Date: Mon, 11 May 2015 09:27:00 +0800
> > Subject: [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1
> > 
> > Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
> > ---
> >  libavcodec/mips/Makefile             |    4 +
> 
> >  libavcodec/mips/mpegvideo_init.c     |   44 +++
> >  libavcodec/mips/mpegvideo_loongson.c |  563 ++++++++++++++++++++++++++++++++++
> 
> why are the optimized functions and the code that sets them in the
> context in 2 seperate files ?
> this seems unneccesarily complicated
> 

i case mipstec optimize the same functions of mpegvideodec using msa they could use filename mpegviedo_mips.c and write init functions into mpegvideo_init.c




More information about the ffmpeg-devel mailing list