3f7f6c1ccf
To write out an LZW dictionary entry each byte requires two table lookups, one of which must complete before the next lookup can begin. This change makes it possible to write up to eight bytes per pair of lookups. Testing with image_decode_bench show performance improvement by 20-25% on Elm and Kevin Chromebooks except for small images with a gradient, which show a slowdown. However, the patch will introduce some memory hungry code which lasts only while decoding a frame. The change in memory requirement is from 4096 bytes to 4096*8 bytes. BUG=skia:8361 BUG=chromium:859454" Signed-off-by: tushar khandelwal <tushar.khandelwal@arm.com> Change-Id: Icf9e0adf215062ef796b5ff9e6347cace5f0af47 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/152580 Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com> |
||
---|---|---|
.. | ||
LICENSE | ||
SkGifImageReader.cpp | ||
SkGifImageReader.h |