[Webkit-unassigned] [Bug 200163] JPEGImageDecoder: use libjpeg-turbo RGBA output path even for Adobe transform=0 JPEGs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 7 00:51:29 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=200163
--- Comment #17 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 374964
--> https://bugs.webkit.org/attachment.cgi?id=374964
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=374964&action=review
>> Source/WebCore/platform/image-decoders/jpeg/JPEGImageDecoder.cpp:302
>> m_info.out_color_space = rgbOutputColorSpace();
>
> It seems that JPEGImageDecoder::outputScanlines doesn't support the case out_color_space is BGRA and m_scaled is false.
> I think we should set out_color_space JCS_RGB if m_scaled.
>
> m_info.out_color_space = m_scaled ? JCS_RGB : rgbOutputColorSpace();
It seems a dead code. Filed Bug 200498.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190807/8a6f3c4d/attachment.html>
More information about the webkit-unassigned
mailing list