[Webkit-unassigned] [Bug 115846] Checking if frame is complete and access duration doesn't need a decode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 8 20:58:56 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=115846





--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org>  2013-05-08 20:57:21 PST ---
Consider merging the above change.

hecking if frame is complete and access duration doesn't need a decode

The goal of this change is to minimize image decoding on the main thread.

This change is to avoid image decoding for these two operations:
1. frameIsCompleteAtIndex
2. frameDurationAtIndex
These two operations are moved to ImageDecoder interface and are now const
to prevent future regression.

We are now able to check if a frame is complete by parsing the entire GIF file
without decoding. This also provides information like frame duration such that
controller the animation doesn't require any decoding.

This change is critical to moving animated image decoding off the main thread.

-- 
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