gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Optimization to jpeg decoding


From: Benjamin Wolsey
Subject: Re: [Gnash-dev] Optimization to jpeg decoding
Date: Thu, 27 Nov 2008 08:25:00 +0100

Am Mittwoch, den 26.11.2008, 20:32 -0500 schrieb dolphinling:
> Hitachi's animation The Hard Drive is the New Bling (Bling_Final.swf, 
> available 
> from e.g. http://dagobah.biz/flash/Bling_Final.swf) plays slowly in gnash. It 
> contains a small number of very large jpegs (up to 3422x2516 px), and a 
> profile 
> shows that there are over 8 million calls to JpegImageInput::getWidth, nearly 
> 2% 
> of the total cpu time (in a debug build with video and audio output disabled).
> 
> All but 32 of those 8 million calls are from ImageInput::readSWFJpeg3. This 
> patch simply stores the result of getWidth within readSWFJpeg3.
> 
Thanks, that's definitely better. I'll make the changes you suggest
manually. Most of the actual image handling has been essentially
untouched for years, so there is certainly potential for more
improvement. 

bwy

--
The current release of Gnash is 0.8.4
http://www.gnu.org/software/gnash/

Benjamin Wolsey, Software Developer - http://benjaminwolsey.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


reply via email to

[Prev in Thread] Current Thread [Next in Thread]