[Webkit-unassigned] [Bug 103749] New: TURBO_JPEG_RGB_SWIZZLE conflict with ENABLE(IMAGE_DECODER_DOWN_SAMPLING)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 30 07:51:53 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103749
Summary: TURBO_JPEG_RGB_SWIZZLE conflict with
ENABLE(IMAGE_DECODER_DOWN_SAMPLING)
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Images
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: yoli at rim.com
There is currently following line #if !ENABLE(IMAGE_DECODER_DOWN_SAMPLING) && defined(TURBO_JPEG_RGB_SWIZZLE) in JPEGImaggeDecoder.cpp. The reason of this !ENABLE(IMAGE_DECODER_DOWN_SAMPLING) check is we cannot do swizzling when the buffer wants a down-sampled image. However this doesn't work. As there is no such check when it sets the colorspace. If you enable both IMAGE_DECODER_DOWN_SAMPLING and TURBO_JPEG_RGB_SWIZZLE, it will crash for sure.
ENABLE(IMAGE_DECODER_DOWN_SAMPLING) is probably not widely used, and could be improved. However, I found it super easy to make TURBO_JPEG_RGB_SWIZZLE work with it, so why not?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list