[FFmpeg-devel] [PATCH] avcodec: loongson3 optimized mpegvideo dct unquantize and denoise with mmi

Michael Niedermayer michaelni at gmx.at
Thu May 28 12:35:12 CEST 2015


On Thu, May 28, 2015 at 10:47:27AM +0800, 周晓勇 wrote:
> 
> 
> 
> > -----原始邮件-----
> > 发件人: "Michael Niedermayer" <michaelni at gmx.at>
> > 发送时间: 2015年5月27日 星期三
> > 收件人: "FFmpeg development discussions and patches" <ffmpeg-devel at ffmpeg.org>
> > 抄送: 
> > 主题: Re: [FFmpeg-devel] [PATCH] avcodec: loongson3 optimized mpegvideo dct unquantize and denoise with mmi
> > 
> > On Wed, May 27, 2015 at 06:10:31PM +0800, 周晓勇 wrote:
> > > From eb476eba51fffd30989917606a9b239f7c67ad26 Mon Sep 17 00:00:00 2001
> > > From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
> > > Date: Thu, 21 May 2015 16:32:35 +0800
> > > Subject: [PATCH] avcodec: loongson3 optimized mpegvideo dct unquantize and
> > >  denoise with mmi
> > > 
> > > 
> > > Signed-off-by: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
> > > ---
> > >  libavcodec/mips/Makefile              |   2 +
> > >  libavcodec/mips/mpegvideo_init_mips.c |  40 ++++
> > >  libavcodec/mips/mpegvideo_mips.h      |  36 ++++
> > >  libavcodec/mips/mpegvideo_mmi.c       | 365 ++++++++++++++++++++++++++++++++++
> > >  libavcodec/mpegvideo.c                |   2 +
> > >  libavcodec/mpegvideo.h                |   1 +
> > >  6 files changed, 446 insertions(+)
> > 
> > this seems to break fate-mpeg4-resolution-change-up-down on loongson3
> > 
> > [...]
> i have done the test, fate-mpeg4 passed all with no problem.
> and also, all fate passed, not only the loongson3a but also loongson3b.
> 
> i wonder the break maybe caused by the os, the FC19 version on your machine is FC19-Build090-20150317.
> here is the Build-010 download address: 
> http://www.loongnix.org/dev/ftp/os/Fedora19/iso/Fedora19-Desktop-Loongson-Release-Build010-20150429.iso
> 
> i have the same problem, for example, make fate -j4 break down at vsynth_lena-h263p.
> but do make fate-vsynth_lena-h263p again, i will pass.
> i do the fate-test on loongson3b machine with same setting and evironment, it pass all correctly.
> i doubt it's about the cpu's SIMD unit problem or the glib-math's, also maybe the multi-threads compiling.
> so, you could remake the breakdown fate-mpeg4-resolution-change-up-down for a try.

trying
make -j4 fate-vsynth_lena-mpeg4 fate-vsynth_lena-mpeg4-error fate-vsynth_lena-mpeg4-nsse fate-vsynth_lena-mpeg4-qpel fate-vsynth1-h263-obmc fate-vsynth1-mpeg4-adv fate-vsynth1-wmv2 fate-vsynth2-h263-obmc fate-vsynth2-rv10 fate-vsynth2-rv20 fate-lavf-ismv
it succeeded 100% of the time before the patch while 50% of the
time after the patch something random fails
also -j1 fails after the patch occasionally

why do you think upgrading the OS would help ?
i assume you have the latest and you said it happens for you too

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- 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/20150528/c02d1a28/attachment.asc>


More information about the ffmpeg-devel mailing list