Add incremental support for extended format files

This applies to images with optional chunks (e.g. images with ALPH
chunk,
ICCP chunk etc). Before this, the incremental decoding used to work like
non-incremental decoding for such files, that is, no rows were decoded
until
all data was available.

The change is in 2 parts:
- During optional chunk parsing, don't wait for the full VP8/VP8L chunk.
- Remap 'alpha_data' pointer whenever a new buffer is allocated/used in
WebPIAppend() and WebPIUpdate().

Change-Id: I6cfd6ca1f334b9c6610fcbf662cd85fa494f2a91
This commit is contained in:
Urvang Joshi
2013-04-05 14:01:07 -07:00
parent 5167ca4759
commit ead4d47859
5 changed files with 45 additions and 9 deletions

3
NEWS
View File

@ -1,3 +1,6 @@
- Next version:
* Add incremental decoding support for images containing ALPH and ICCP chunks.
- 3/20/13: version 0.3.0
This is a binary compatible release.
* WebPINewRGB/WebPINewYUVA accept being passed a NULL output buffer