[Swfdec] [RFC] ijg libjpeg based jpeg decoder

Riccardo Magliocchetti riccardo.magliocchetti at gmail.com
Tue Sep 16 08:15:52 PDT 2008


Oh, and with the patch this time.

Riccardo Magliocchetti wrote:
> Hi,
> 
> jpeg decoding is a hot topic again, or better, having fun crashing the
> dsjpeg library is :) So the attached patch refresh the ijg libjpeg based
> decoder patch i've already posted there.
> 
> The changelog:
> 
> - some changes to swfdec/Makefile.am were missing
> 
> - added the same check added to dsjpeg to avoid crashing against
> cookiemon.jpg
> 
> - made swfdec_jpeg_decode_argb a bit prettier than last time removing the
> soi cleanup loops and removing one for eoi too: a simpler check for soi is
> done in swfdec_jpeg_fill_input_buffer() as in gnash.
> 
> image-lossless-alpha.swf test is expected to fail, which is the jpeg with
> alpha channel and i don't know how and if it is possible to fix that.
> 
> Comments are appreciated.
> 
> cheers,
> riccardo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ijg-libjpeg-based-jpeg-decoding-6.diff
Type: text/x-diff
Size: 8984 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/swfdec/attachments/20080916/9c1cb4b7/attachment.diff 


More information about the Swfdec mailing list