commit | 8c52c218e8b00b33f837ac4891fcde3a08817169 | [log] [tgz] |
---|---|---|
author | Vikas Arora <vikasa@google.com> | Tue Jul 19 18:17:09 2011 +0530 |
committer | Vikas Arora <vikasa@google.com> | Thu Jul 21 17:59:13 2011 +0530 |
tree | 0699cc0696168ed772fb5ff4b6205c2b11438abe | |
parent | c5013e3870ecf5a7798c1857a3060d880a7bf2c3 [diff] |
Add image cropping support in Skia-WebP decoder. Implement virtual methods 'onBuildTileIndex' & 'onDecodeRegion' for supporting image cropping for Skia-WebP image Decoder. Utilize the native rescaling+Cropping capability of WebP-Decoder to implement image cropping. - Incorporated code comments from Pascal. - Found one bug w.r.t setting SampleSize. Rectifying that in this patch. Change-Id: Ib7b04129a65ed17f845d0600f3553b9b24846838