Add support for WebP incremental decoding.

Updated the Android-Skia-WebP decoder with following changes:
- Added support for incremental WebP decoding. So instead of allocating
  input buffer corresponding to the whole image (could be few MBs), the
  input is read iteratively in a buffer size of 64KB.
- Refactored onDecode method (O(200) lines) to a smaller (O(30) lines)
  method with 2-3 helper functions.
- Removed low (byte-level) parsing from this code and calling WebP
  public APIs for the same (like WebPGetInfo).
- Incorporated Pascal's feedback.
- Few more feedback from Pascal.
Change-Id: I104822ec3922eca1efc19422908f07770c4c140b
1 file changed