35 Commits

Author SHA1 Message Date
reed%reedloden.com
fe2b6c9d50 Bug 411718 - "Speed up JPEG decoding by 30% by skipping buffer" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@243905 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-24 15:59:32 +00:00
reed%reedloden.com
a30815a01b Back out patch from bug 411718 again due to MH regression again.
git-svn-id: svn://10.0.0.236/trunk@243657 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 09:48:18 +00:00
reed%reedloden.com
54d127cb55 Bug 411718 - "Speed up JPEG decoding by 30% by skipping buffer" (try without the realloc optimization) [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@243653 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-21 08:18:19 +00:00
Olli.Pettay%helsinki.fi
90ce9eee18 Backing out bug 411718 to see if it caused MH regression
git-svn-id: svn://10.0.0.236/trunk@243560 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-19 22:41:35 +00:00
reed%reedloden.com
417c198d34 Bug 411718 - "Speed up JPEG decoding by 30% by skipping buffer" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart sr=tor a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@243536 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-19 09:04:04 +00:00
pavlov%pavlov.net
afe52b5c68 bug 296818. discard uncompressed image data after a period of time. original patch from Federico Mena-Quintero <federico@ximian.com>. Changes from me. r=vlad
git-svn-id: svn://10.0.0.236/trunk@237870 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 00:36:35 +00:00
dtownsend%oxymoronical.com
05877699cf Backing out bug 296818 to see if it fixes the Tp regression
git-svn-id: svn://10.0.0.236/trunk@237823 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 15:45:32 +00:00
pavlov%pavlov.net
24f6c42518 bug 296818. discard uncompressed image data after a period of time. original patch from Federico Mena-Quintero <federico@ximian.com>. Changes from me. r=vlad
git-svn-id: svn://10.0.0.236/trunk@237793 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-15 22:06:49 +00:00
asqueella%gmail.com
144e0b2298 Bug 392089 - JPEG decoding: Prevent allocation of scanline and remove memcpy
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=stuart, sr=tor, a=stuart


git-svn-id: svn://10.0.0.236/trunk@233077 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-25 20:07:37 +00:00
pavlov%pavlov.net
b9779c5c85 adding color management capabilities -- preffed off. bug 16769. patch from tor. r=bsmedberg, sr=me
git-svn-id: svn://10.0.0.236/trunk@230672 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-23 22:02:20 +00:00
tor%cs.brown.edu
1cf2c388ad Bug 371437 - Remove non-MOZ_CAIRO_GFX code from image decoders.
r=alfredkayser, sr=pavlov


git-svn-id: svn://10.0.0.236/trunk@221023 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 21:13:25 +00:00
asqueella%gmail.com
0f0050a0c3 Bug 366214 - more improvements for JPEG in Cairo
patch by Alfred Kayser <alfredkayser@nl.ibm.com>
r=pavlov, sr=tor

Patch description:

1. Use row_stride and bpr only in non-Cairo builds (for the RGBRow buffer)
   (as jpg scanlines are always 3 bytes (in current config anyway)
2. Use 'client_data' to keep the pointer to the decoder instead of the offsetof
hack
3. Call 'img->ImageUpdated' not for every scanline, but for every batch of
scanlines received (just like OnDataAvailable).

Ad 1: Allows for better Cairo and non-Cairo separation
Ad 2: Removes the need for the offsetof hack
Ad 3: Makes image decoding for JPG in Cairo a lot faster (at least it feels
faster)


git-svn-id: svn://10.0.0.236/trunk@219251 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 14:53:21 +00:00
gavin%gavinsharp.com
b6d3618231 Bug 325906: Remove one malloc from the JPEG decoder, and some optimizations, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, updated by Ryan VanderMeulen <ryanvm@gmail.com>, r=alfredkayser, sr=pavlov
git-svn-id: svn://10.0.0.236/trunk@217766 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 20:03:50 +00:00
pavlov%pavlov.net
5c2141751a additional speedups from bug 331298. r=vlad
git-svn-id: svn://10.0.0.236/trunk@193055 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-27 19:04:51 +00:00
gerv%gerv.net
42cb2feea8 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@186768 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 12:14:46 +00:00
tor%cs.brown.edu
d30d0effaa Bug 155942: use libjpeg to handle grayscale, support YCbCr, use
less memory on non-mac platforms.  r=biesi, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@141238 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 10:47:27 +00:00
tor%cs.brown.edu
034e604aa7 Bug 76776 - incremental display of progressive jpegs. r=biesi, sr=jag
git-svn-id: svn://10.0.0.236/trunk@124685 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-04 20:31:18 +00:00
tor%cs.brown.edu
6160a4f8fd Backout of 76776 - Tp regression.
git-svn-id: svn://10.0.0.236/trunk@124359 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 22:14:10 +00:00
tor%cs.brown.edu
ef9b5e0a82 Bug 76776 - incremental display of progressive jpegs. r=pavlov, sr=jag
git-svn-id: svn://10.0.0.236/trunk@124356 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-29 19:38:17 +00:00
tor%cs.brown.edu
abecd7cc82 Bug 153280 - backout of pjpeg (bug 76776) due to Tp regression.
git-svn-id: svn://10.0.0.236/trunk@123836 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-21 23:42:49 +00:00
tor%cs.brown.edu
c1831076be Bug 76776 - incremental display of progressive jpegs. r=pavlov, sr=jag
git-svn-id: svn://10.0.0.236/trunk@123737 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 23:44:24 +00:00
pavlov%netscape.com
0c94ba945f fixing bug 106199. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106035 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 08:07:03 +00:00
pavlov%netscape.com
d82d5d4ba3 remove a bunch of silly xpcom nonsense from imglib. bug 104311 r=bryner sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@105253 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-12 06:43:52 +00:00
pavlov%netscape.com
d15881bd4c adding extern "C" around the #include <jpeglib.h> to fix bug 73164 r=tor@cs.brown.edu
git-svn-id: svn://10.0.0.236/trunk@90217 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 07:45:00 +00:00
pavlov%netscape.com
9dcccce063 fixing jpegs on windows, adding some more assertions.
git-svn-id: svn://10.0.0.236/trunk@89939 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-20 23:06:29 +00:00
pavlov%netscape.com
38d36d3178 moving the container stuff here.
git-svn-id: svn://10.0.0.236/trunk@89180 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-10 01:11:54 +00:00
pavlov%netscape.com
a0b1903b8b make jpegs work.
git-svn-id: svn://10.0.0.236/trunk@88045 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-27 02:25:25 +00:00
saari%netscape.com
3c893ef190 JPEGs limping enough for preliminary performance numbers
git-svn-id: svn://10.0.0.236/trunk@87951 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-26 00:17:36 +00:00
pavlov%netscape.com
2f25e783d0 fixing decl stuff
git-svn-id: svn://10.0.0.236/trunk@87513 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:49:13 +00:00
pavlov%netscape.com
c9d3f54b45 changing libpr0n filenames to img*
git-svn-id: svn://10.0.0.236/trunk@87512 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:45:51 +00:00
pavlov%netscape.com
60fa8a1272 lets do imgIRequest instead of lpIImageRequest
git-svn-id: svn://10.0.0.236/trunk@87505 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:27:48 +00:00
pavlov%netscape.com
0cebdf2f2d changing to new interface names
git-svn-id: svn://10.0.0.236/trunk@87499 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:09:09 +00:00
pavlov%netscape.com
fb0ba267e1 changing nsIImageRequest2.idl to lpIImageRequest.idl
git-svn-id: svn://10.0.0.236/trunk@87492 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:55:15 +00:00
pavlov%netscape.com
9c0c9a9cbc merge from IMGLIB_20010126_BRANCH
git-svn-id: svn://10.0.0.236/trunk@87487 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 22:43:56 +00:00
pavlov%netscape.com
993c296551 some code for new imagelib (not part of bulid)
git-svn-id: svn://10.0.0.236/trunk@85310 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 22:01:03 +00:00