linux-mips
[Top] [All Lists]

Re: Floating point performance

To: linux-mips@linux-mips.org
Subject: Re: Floating point performance
From: "Dominik 'Rathann' Mierzejewski" <D.Mierzejewski@icm.edu.pl>
Date: Fri, 30 Sep 2005 13:48:16 +0200
In-reply-to: <1127992600.10179.19.camel@localhost.localdomain>
Mail-followup-to: linux-mips@linux-mips.org
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <6EC3F44BE5E6B742BE3EBC3465525944096814@emea-exchange3.emea.dps.local> <1127992600.10179.19.camel@localhost.localdomain>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.9i
On Thu, Sep 29, 2005 at 01:16:40PM +0200, Matej Kupljen wrote:
> Hi
> 
> > > I've built soft float toolchain (with crosstool) and then build
> > > MPlayer with it. The performance is very low. I cannot even play the
> > > mp3 file with MPlayer on DBAU1200 with 400MHz CPU!
> > [...]
> > > Any other suggestions?
> > 
> > I'm not sure what you are doing, but if you only want to play music, 
> > I'd use Ogg Vorbis instead, which has a decoder that only uses integer 
> > arithmetic for exactly the case of FPU-less machines and the Au1200. 
> > I could also imagine an MP3 decoder written for integer only being 
> > written somewhere, but I don't know anything about it.
> 
> Yes, I can use madplay (libmad) for music only, which uses int
> arithmetics (also special version for MIPS).
> 
> But I also want to play video and currently I am testing this with
> MPlayer (maybe I'll add support for MAE, sometime in the future).
> Then I found out, that MPlayer can use libmad for MP3 and it
> works great know.
> 
> Now I'll try to write XV driver for MAE backend so I'll have
> HW accelerated Color Space Conversion (form YV12->RGB) and
> Scaling. 

If you're interested in video playback using MPlayer, you may
want to port the assembly parts of its code to MIPS. We (MPlayer
developers) would be grateful if you could contribute your code
back to MPlayer. I'm sure that you can get assistance from our
coders if you have any problems and questions about the code.

Regards,
R.

-- 
Dominik 'Rathann' Mierzejewski <rathann*at*icm.edu.pl>
Interdisciplinary Centre for Mathematical and Computational Modelling
Warsaw University  |  http://www.icm.edu.pl  |  tel. +48 (22) 5540810

<Prev in Thread] Current Thread [Next in Thread>