commit | 7e744b14ab0657d5e766d6313255eed6dd6eab2a | [log] [tgz] |
---|---|---|
author | Puneet Lall <puneetl@google.com> | Mon Feb 09 17:45:44 2015 -0800 |
committer | Puneet Lall <puneetl@google.com> | Thu Mar 05 11:21:43 2015 -0800 |
tree | 3cc51f9dec257f765bb196bf7f00064b2f416dcd | |
parent | a73b87109097e0557e3b9e7a03a12ae04b610245 [diff] |
Add on-the-fly cropping and rotation to jpegutil Bug: 19323062 * Adds another JpegUtilNative method for compression with a crop rectangle. * Improves speed of Jpeg compression with a non-zero rotation. * Fixes small native memory leak caused by not calling jpeg_destroy_compress() to free the libjpeg context. * Adds gunit tests for native code. Change-Id: Id0aa5fd525fb232c4241a6b24970923f4f2c20df