[FFmpeg-devel] [PATCH 1/3] avcodec: loongson delete invalid simple idct put and add optimization

周晓勇 zhouxiaoyong at loongson.cn
Sun Sep 6 05:37:06 CEST 2015




> -----原始邮件-----
> 发件人: "周晓勇" <zhouxiaoyong at loongson.cn>
> 发送时间: 2015年9月3日 星期四
> 收件人: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
> 抄送: 
> 主题: Re: [FFmpeg-devel] [PATCH 1/3] avcodec: loongson delete invalid simple idct put and add optimization
> 
> 
> 
> 
> > -----原始邮件-----
> > 发件人: "Michael Niedermayer" <michaelni at gmx.at>
> > 发送时间: 2015年9月2日 星期三
> > 收件人: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
> > 抄送: 
> > 主题: Re: [FFmpeg-devel] [PATCH 1/3] avcodec: loongson delete invalid simple idct put and add optimization
> > 
> > On Wed, Sep 02, 2015 at 06:00:24PM +0800, 周晓勇 wrote:
> > > From e7dc62a7edbf985268908adf942e838548c09ef0 Mon Sep 17 00:00:00 2001
> > > From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
> > > Date: Tue, 1 Sep 2015 09:34:18 +0800
> > > Subject: [PATCH 1/3] avcodec: loongson delete invalid simple idct put and add
> > >  optimization
> > 
> > please document in the commit message why they are invalid
> > 
> > [...]
> > -- 

as default idct mathod is simple, so using -idct simple get wrong decode, but xvid right
the test video address:
http://loongnix.org/ftp/multimedia/testing/nanocore_720p_24fps_mpeg4_ac3_short.avi

please review the third patch optimized h264 idct and loopfilter, test result on loongson-3A1000(which you have now):

1.no patch
frame= 1253 fps= 24 q=-0.0 Lsize= 3805988kB time=00:00:52.20 bitrate=597196.8kbits/s    
video:3805988kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
real    0m53.112s
user    3m16.336s
sys 0m1.453s

2.with patch
frame= 1253 fps= 27 q=-0.0 Lsize= 3805988kB time=00:00:52.20 bitrate=597196.8kbits/s    
video:3805988kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
real    0m47.923s
user    2m53.797s
sys 0m1.398s


More information about the ffmpeg-devel mailing list