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

周晓勇 zhouxiaoyong at loongson.cn
Tue May 12 12:21:42 CEST 2015




> -----原始邮件-----
> 发件人: "Carl Eugen Hoyos" <cehoyos at ag.or.at>
> 发送时间: 2015年5月12日 星期二
> 收件人: ffmpeg-devel at ffmpeg.org
> 抄送: 
> 主题: Re: [FFmpeg-devel] [PATCH 2/2] avcodec: optimize mpegvideo decoder for Loongson-3 v1
> 
> 周晓勇 <zhouxiaoyong <at> loongson.cn> writes:
> 
> > > 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
> 
> Separating init code and asm code is necessary if 
> one is compiled with a C compiler, the other with 
> yasm / nasm. In your case, putting asm and init 
> code in one file makes everything easier.
> 
ok, i will repatch it.



More information about the ffmpeg-devel mailing list