Bug 14400 - optimize jpeg decoder + image renderer
Summary: optimize jpeg decoder + image renderer
Status: RESOLVED DUPLICATE of bug 24451
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Christophe Cornu CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2002-04-23 08:57 EDT by Babar Ali CLA
Modified: 2005-03-29 10:40 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Babar Ali CLA 2002-04-23 08:57:02 EDT
jpeg too long for decoddecoder needs optimization; it is talking ing big 
images. Moreover imagedata is taking too much memory, + renderer makes the 
whole system lacking in response. 

pictures will be uploaded tonight at 
http://www.picsmart.com/swt-test-images/
Comment 1 Babar Ali CLA 2002-04-23 09:04:04 EDT
opps something went wrong with my fingers and it was submitted with mangled
text.

here goes again
jpeg decoder is taking too long for big images and requires optimization. 
Moreover imagedata is taking too much memory, + renderer makes the
whole system lacking in response. 

There are two paths for this. existing java code optimization or by using some 
optimized native libraries. I would suggest to go for native as for jpeg and 
tiffs specially when they are big, byte code often happen to lack a lot behind 
native code.
Comment 2 Mike Wilson CLA 2002-04-23 10:27:23 EDT
Just so you know, we benched GIF image decoding in Java versus the same code 
written as a C native and found the C code to be only about 50% faster (i.e. 
90 seconds for Java code, 60 seconds for C code in the benchmark we were 
running). This is significant, but not enough to solve most of the real-world 
problems.

In any case, I agree that improving our image decoding performance would be a 
good thing. Given the above numbers, I think the problem is more complex than 
simply re-writing the code in C. 

Unfortunately, we aren't going to get to this in the R2.0 time frame. Anyone 
who wants to submit a proposal for improving image processing is welcome to. 
Ideally, this should include scenarios and benchmarks of specific problem 
areas. Even better would be to include a working implementation on all the 
platforms.
Comment 3 Veronika Irvine CLA 2002-09-11 14:06:57 EDT
Moving from Later.
Comment 4 Christophe Cornu CLA 2005-03-29 10:40:56 EST

*** This bug has been marked as a duplicate of 24451 ***