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

Michael Niedermayer michaelni at gmx.at
Sun May 31 01:18:16 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.
> 
> to update the os with these steps:
> 1.mkfs.ext4 the partition, and rename it FC19
> 2.mount iso to /mnt/ and mount the FC19 partition to /run/media/loongson/FC19/
> 3.sudo tar xf  /mnt/live/Fedora19-xxx.tar.gz -C /run/media/loongson/FC19/ --numeric-owner
> 4.copy the /boot/vmlinuz-3.10.0-2015.03.17.fc19.mipsel on new partition to /dev/sda1 's /boot/
> 5.modify the boot.cfg on /dev/sda1 to use the new kernel

and set the language to english, the keyboard to german,
fix /etc/fstab, close the remote access with default password
wonder why the network does not work and then after
rebooting to the old version and again to the new works
fix the url for the yum repository
reinstall packages like ccache
remove things that fedora desktop runs by default but that one doesnt
need

a slightly more convenient way to upgrade would be nice

also it made no difference to the fate failures, the mpeg4 tests
still fail about once out of 2 runs.

[...]
-- 
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/20150531/4dd23c4c/attachment.asc>


More information about the ffmpeg-devel mailing list