Mozilla2:ImageLib: Difference between revisions

m
(Video argue)
Line 15: Line 15:
== GIF ==
== GIF ==
The current GIF handling can be further improved, by fixing current 'bugs':  
The current GIF handling can be further improved, by fixing current 'bugs':  
* Improve memory usage and performance of the decoder (see [https://bugzilla.mozilla.org/show_bug.cgi?id=274391 bug 274391]).
* <s>Improve memory usage and performance of the decoder (see [https://bugzilla.mozilla.org/show_bug.cgi?id=274391 bug 274391]).</s>
* Optimize memory usage for 8-bit (and less) images (see [https://bugzilla.mozilla.org/show_bug.cgi?id=143046 bug 143046]).
* Optimize memory usage for 8-bit (and less) images (see [https://bugzilla.mozilla.org/show_bug.cgi?id=143046 bug 143046]).
* Reduce source and object code size: Move GIF2.cpp into nsGIFDecoder2 (see  [https://bugzilla.mozilla.org/show_bug.cgi?id=196295 bug 196295])
* Reduce source and object code size: Move GIF2.cpp into nsGIFDecoder2 (see  [https://bugzilla.mozilla.org/show_bug.cgi?id=196295 bug 196295])
Line 21: Line 21:
Additionally:
Additionally:
* Optimize for animated images. Currently all the frames are decoded, stored as 24-bit images, and all kept in the memory cache - this could be improved on by keeping the LZW compressed frames and only decode into 8-bit or 24-bit when required.
* Optimize for animated images. Currently all the frames are decoded, stored as 24-bit images, and all kept in the memory cache - this could be improved on by keeping the LZW compressed frames and only decode into 8-bit or 24-bit when required.
== Video ==
== Video ==
The next step in animated images is full video support.
The next step in animated images is full video support.
44

edits