[Swfdec] [RFC] ijg libjpeg based jpeg decoder
Riccardo Magliocchetti
riccardo.magliocchetti at gmail.com
Tue Sep 16 07:58:25 PDT 2008
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:
- 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/384aa364/attachment.diff
More information about the Swfdec
mailing list