commit | 22c3eb1bb4ab1c58edb7b3dd159e5c1969136c51 | [log] [tgz] |
---|---|---|
author | Vikas Arora <vikasa@google.com> | Thu May 31 11:29:48 2012 +0530 |
committer | Vikas Arora <vikasa@google.com> | Thu Jun 07 15:54:01 2012 +0530 |
tree | 622599d3b0641fb099b4af41e6f2d68ead652b3b | |
parent | 287b065688229e4750fd3fbabbf50c3a36ae87e5 [diff] |
Prepare Skia-Webp decoder for Alpha and lossless. Change the webp_parse_header to read appropriate header bytes (required for Alpha & lossless bit-stream); Replaced call WebPGetInfo with WebPGetFeatures to get hasAlpha information; Replaced hard-coded setIsOpaque(true) with setIsOpaque(!hasAlpha); Refactored code for setting decoder config; Change-Id: I8208233d1aaa0a213a35dd996a72e43f78901c89