123 Commits

Author SHA1 Message Date
johnath%mozilla.com
7978c93438 Back out test-landing of JOEDREW!'s bug 425941.
git-svn-id: svn://10.0.0.236/trunk@249615 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-04 16:02:44 +00:00
johnath%mozilla.com
6581248b93 Test-landing of JPEG patch in bug 425941 to gauge perf delta. Should be backed out after a test run. p=joedrew!
git-svn-id: svn://10.0.0.236/trunk@249612 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-04 13:03:25 +00:00
reed%reedloden.com
5c38dc6de6 Bug 44781 - "Support CMYK, YCCK JPEGs" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a1.9=schrep]
git-svn-id: svn://10.0.0.236/trunk@245732 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-14 20:38:19 +00:00
mats.palmgren%bredband.net
83008d79ba Don't decrement the loop variable when it's zero. b=414854 r+sr=jag approval1.9b3=beltzner
git-svn-id: svn://10.0.0.236/trunk@244571 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-31 01:04:37 +00:00
reed%reedloden.com
be5e3e69a4 Bug 412753 - "Speed up JPEG decoding by another 10%" (Replace include "jpegint.h" with some locally copied definitions) [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a1.9b3=beltzner]
git-svn-id: svn://10.0.0.236/trunk@244544 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 20:46:38 +00:00
jag%tty.nl
0e69370ee5 Bug 413143: trunk is broken(sigbus) on SPARC since 20071221. r/sr=pavlov, a=beltzner
Unaligned 32-bit memory reads cause a sigbus on SPARC. Turns out that fixing this also gets us a little performance boost on other platforms because we're now mostly doing aligned 32-bit reads.


git-svn-id: svn://10.0.0.236/trunk@244499 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 06:22:24 +00:00
reed%reedloden.com
e29cb52477 Bug 412753 - "Speed up JPEG decoding by another 10%" [p=alfredkayser@gmail.com (Alfred Kayser) r=stuart a=blocking1.9+]
git-svn-id: svn://10.0.0.236/trunk@244474 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-30 04:41:42 +00:00
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
reed%reedloden.com
e4a06104d0 Bug 406580 - "Faster copying of RGB pixel data" (Where Alpha=0xFF, keep RGB values contiguous in pixel copying) [p=swsnyder@insightbb.com (Steve Snyder) r+a1.9=stuart]
git-svn-id: svn://10.0.0.236/trunk@241892 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 10:26:32 +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
3079305d63 fixing whitespace
git-svn-id: svn://10.0.0.236/trunk@237807 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-16 01:25:21 +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
tor%cs.brown.edu
14c8f894b9 Bug 396031 - with color management on, ycck/cymk jpeg images crash.
r=alfredkayser, sr+a=pavlov


git-svn-id: svn://10.0.0.236/trunk@236574 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-24 21:42:39 +00:00
philringnalda%gmail.com
05d56705c8 Bug 298717 – Crash on multipart/x-mixed-replace: gif,jpeg,jpeg sequence [@ nsJPEGDecoder::OutputScanlines][@ gdk_rgb_convert_0888][@ gdk_rgb_init], patch by andrew smith <asmith15@learn.senecac.on.ca>, r+sr=pavlov, a1.9=itsablocker
git-svn-id: svn://10.0.0.236/trunk@233095 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-26 04:38:18 +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
tor%cs.brown.edu
e5fbba1984 Tp regression fix - don't color correct untagged jpegs if the pref is off.
git-svn-id: svn://10.0.0.236/trunk@230703 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:58:21 +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
asqueella%gmail.com
0de074cbe0 Bug 370942 - Remove non-Cairo from jpeg decoder and optimize loop
p=Alfred Kayser <alfredkayser@nl.ibm.com>
r=tor, sr=pavlov


git-svn-id: svn://10.0.0.236/trunk@225226 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 15:51:35 +00:00
martijn.martijn%gmail.com
2c9714ab39 Bug 293986 – OOM crash [@ nsJPEGDecoder::WriteFrom, fill_input_buffer], patch by Andrew Schultz, r=pavlov, sr=tor
git-svn-id: svn://10.0.0.236/trunk@225144 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 13:11:29 +00:00
dbaron%dbaron.org
e81955cfa2 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222053 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-20 00:58: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
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
pavlov%pavlov.net
d3be75164e y was off-by-1 when calling UpdateImage() in cairo builds
git-svn-id: svn://10.0.0.236/trunk@193359 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 23:55:49 +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
pavlov%pavlov.net
1a031f6829 speed up image drawing by decoding directly in to 32bpp buffers. bug 331298. r=vlad
git-svn-id: svn://10.0.0.236/trunk@192967 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 00:34:48 +00:00
vladimir%pobox.com
74d63c5511 b=327580, fix image decoder endianness & pixel format bits [mainly cairo], r=stuart
git-svn-id: svn://10.0.0.236/trunk@190765 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 23:19:20 +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
bsmedberg%covad.net
4c08900f0e Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
roc+%cs.cmu.edu
4e129cd6f5 Bug 265084. Progress towards floating point nscoord: make image interfaces and libpr0n use PRInt32 instead of nscoord. r+sr=tor
git-svn-id: svn://10.0.0.236/trunk@165360 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 04:16:07 +00:00
mkaply%us.ibm.com
77d6be17f4 #73642
r=pavlov, sr=tor
Cleanup of calling conventions in JPEG


git-svn-id: svn://10.0.0.236/trunk@147035 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-18 20:38:36 +00:00
cbiesinger%web.de
e00894ada9 201107 r=pavlov sr=bz a=sspitzer Trunk M140A crash [@ imgRequestProxy::OnDataAvailable]
git-svn-id: svn://10.0.0.236/trunk@141893 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-28 17:49:58 +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
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
bzbarsky%mit.edu
617629aaf0 Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
and do not hold a ref to them.  Bug 190475, r=pavlov, sr=jst


git-svn-id: svn://10.0.0.236/trunk@138515 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 05:51:32 +00:00
seawood%netscape.com
ee808e8996 Add --enable-image-decoders build option.
Bug #169304 r=bryner sr=alecf


git-svn-id: svn://10.0.0.236/trunk@136112 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 01:21:14 +00:00
dbaron%dbaron.org
e071c7ff2a Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136017 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:05:52 +00:00
bryner%netscape.com
6e21d6290d Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls.
git-svn-id: svn://10.0.0.236/trunk@131219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:49:02 +00:00
dcone%netscape.com
1b3e519f6c b=143046 r=rods sr=boris API change so we can create different depth nsImages
git-svn-id: svn://10.0.0.236/trunk@131135 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 03:32:26 +00:00
alecf%netscape.com
2063611822 remove some files that are no longer part of the build
git-svn-id: svn://10.0.0.236/trunk@130307 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-23 23:54:06 +00:00
alecf%netscape.com
9400843f5b fix for bug 168048 - combine commonly used decoders into the main imglib dll
r=pavlov, sr=tor


git-svn-id: svn://10.0.0.236/trunk@129836 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 23:05:27 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
pavlov%netscape.com
1da87a90e5 fixing bug 157202 r=dougt sr=tor@acm.org a=asa
git-svn-id: svn://10.0.0.236/trunk@125521 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 23:21:48 +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