01b66bf18ca26982b8d5fadf68ec19f9fa260147 |
|
06-Mar-2015 |
Puneet Lall <puneetl@google.com> |
Add support for negative rotations Bug: 19636843 Change-Id: I03a30b433942cacd4978c7788e2ae7d0046479a7
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|
89c4277aa2f9f4dda2f2a70d4d6c19866f4994d9 |
|
06-Mar-2015 |
Puneet Lall <puneetl@google.com> |
Fix jpeg compression without rotation Fix an incorrect precondition which had resulted in crash upon attempts to compress images to jpeg with 0 rotation. Bug: 19630619 Change-Id: Ic70edda6288cf88f24cd552705adaa615b6daaa5
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|
7e744b14ab0657d5e766d6313255eed6dd6eab2a |
|
10-Feb-2015 |
Puneet Lall <puneetl@google.com> |
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
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|
6e981cafa9cc57ebc7100cb84f68fb74dbd163da |
|
07-Jan-2015 |
I-Jong Lin <ijonglin@google.com> |
Image Plane Proxy for Image Content Testability Adds in an Image Plane wrapper level so that image content can be decoupled from the native Android Image objects whose constructors are privated and cannot be extended. Change-Id: Ia16418d18010e672f6c3e5db64bb7f6a9b3b2f3e
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|
30ccdac56450e5b1927e14a6eede2b86a30c42eb |
|
19-Dec-2014 |
I-Jong Lin <ijonglin@google.com> |
Full end-to-end integration for ZSL Full end-to-end functionality using the ZSL integrated with the ImageBackend. Still some outstanding issues regarding image orientation, but the full pipeline is plumbed for ZSL. Change-Id: I636944fbd57e7d1bf6b1ef24e1e2c1317afdd28d
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|
0bdc4b54a18c18d7094b2e4cea1e238005c5c4a2 |
|
18-Nov-2014 |
Senpo Hu <senpo@google.com> |
Unify orientation calculation logic. Camera API takes clockwise degrees for JPEG rotation and OrientationEventListener reports clockwise device orientation. The easiest formula of calculating output image rotation degree is: "camera sensor orientation" + "device orientation" Since front cameras face in opposite direction. The result needs to be mirrored for front camera. Detailed changes: * Refactor OrientationManager to remove unnecessary complexity. * Add OrientationManager.DeviceOrientation enum and OrientationManager.getDeviceOrientation * Remove CameraUtil.roundOrientation. * Fix the weird calculation which is hard to understand in CameraUtil.getJpegRotation and add CameraUtil.getImageRotation * Clean up image rotation logic in all modules: * Always look up the current device orientation via OrientationManager.getDeviceOrientation * Fix the doc for copyImagePlaneToBitmap() which actually rotates image counterclockwise. * Clean up CameraActivity: * Remove CameraActivity.onOrientationChanged and ModuleController.onOrientationChanged. Any individual module which wants to listen orientation change should register itself to OrientationManager. Now only VideoModule needs to do that. Bug: 17443789 Change-Id: I6d54cac5bde950acae0c3226448c27a816266df0
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|
0ad7ab0b0a0d17a96438a503d0c918979b5d6480 |
|
05-Sep-2014 |
Puneet Lall <puneetl@google.com> |
Implemented rotation of zsl images Bug: 17370310 Change-Id: Ida437d817482d19224d7afd2f06b00960480bd1c
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|
967b782837a22974f565f5bbc71bef7bc05fc878 |
|
08-Aug-2014 |
Puneet Lall <puneetl@google.com> |
Implemented NDK libjpeg wrapper for YUV420 encoding. Bug: 16676082 Change-Id: I588b8023b401d5e713762563c9265ec3d774a678
/packages/apps/Camera2/src/com/android/camera/util/JpegUtilNative.java
|