Changeset 52086 in webkit
- Timestamp:
- Dec 14, 2009 2:48:14 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52085 r52086 1 2009-12-14 Holger Hans Peter Freyther <zecke@selfish.org> 2 3 Rubber-stamped by Simon Hausmann. 4 5 [Qt] QtWebKit should use QImageReader::setQuality(49) 6 https://bugs.webkit.org/show_bug.cgi?id=30740 7 8 Using QImageReader::setQuality(49) will influence the JPEG 9 decoder of Qt to use the JDCT_IFAST routines for decompressing. This 10 is showing a 5% improvement in a reduction that decodes all images 11 used during the page loading test. The libjpeg documentation mentions 12 that the IFAST routine is not as accurate as other routines but in 13 our tests we couldn't see a difference. 14 15 * platform/graphics/qt/ImageDecoderQt.cpp: 16 (WebCore::ImageDecoderQt::setData): 17 1 18 2009-11-11 Philippe Normand <pnormand@igalia.com> 2 19 -
trunk/WebCore/platform/graphics/qt/ImageDecoderQt.cpp
r51983 r52086 83 83 m_reader = new QImageReader(m_buffer, m_format); 84 84 85 // This will force the JPEG decoder to use JDCT_IFAST 86 m_reader->setQuality(49); 87 85 88 // QImageReader only allows retrieving the format before reading the image 86 89 m_format = m_reader->format();
Note: See TracChangeset
for help on using the changeset viewer.