History log of /packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
922cd8565b2f1e5dc198b88f6f039ccc75b72e65 15-Apr-2015 Sascha Haeberling <haeberling@google.com> Add some basic progress reporting for saving JPEG files.

Bug: 18960470

Change-Id: I8f1547ae6652cd6b81773acf7726751f2d22a55c
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
0f0329889f69182648fe8f535335e48978d63cc0 06-Mar-2015 I-Jong Lin <ijonglin@google.com> Automated ImageProcessorListener registration

I've added the ImageConsumer interface and implementation
in ImageBackend to support the automatic registering and
unregistering of the ImageProcessingListener. This
new functionality avoids the issues of reference leaking,
so that the transient listener implementations are NOT
held by the image backend. Also more general purpose
interface has been created such that any passed Runnable
will be executed when the associated set of tasks that have
been enqueued with ImageBackend::ReceiveImage have finished
processing. This functionality solves the referencing
leaking issue of ImageProcessingListener in the current
implementation. Also, removed all references to Main
thread executor so that ImageBackend is not a direct
suspect in jank issues.

Bug: 19517380
Change-Id: I806582f13157030ed6bc23ad70a4efd93339d9ff
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
f6031c016d916db9789026dc0a6c559d8163a088 19-Feb-2015 Spike Sprague <spikuru@google.com> Add EXIF data to images processed via software JPEG encoder.
bug: 16961102

Change-Id: I3df48a74fedbba6ca5540bf095f5e5eaf93db3ab
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
0460ef28c6970d646260584b7df0b2b3157a67ee 07-Mar-2015 Sascha Haeberling <haeberling@google.com> CaptureSession passes on message IDs instead of strings.

Bug: 18867164

Change-Id: Ie601a0fbaf64873c56c6a9b2767a2fa6a04a11d9
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
c56ef82017f772c5892bfc8a46f4ee5e3a9b65ad 06-Mar-2015 Puneet Lall <puneetl@google.com> Add partial crop support to ImageBackend

Adds functionality to crop final YUV images through the ImageBackend.

Note that thumbnails are not yet cropped correctly.

Bug: 19323062
Change-Id: I55e0ad2ce60fd963d0d3f452dc10bc7548f08b1c
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
2f6fe6f07a6d43d8bb49156a7a73e86896ab7d1e 24-Feb-2015 Puneet Lall <puneetl@google.com> Add support for non-native picture sizes

Add a new PictureSizeCalculator which selects the most-appropriate
natively-supported picture size for any target, user-selected, picture
size. The appropriate, centered, crop-region is passed to the
ImageBackend, but is currently ignored. Future work is required
to crop the resulting images using these values.

Bug: 19323062
Change-Id: I65cdc97950840dde0a94c96179ade3aae17acc30
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
734122e8fe6c621a8510043839f05a0adff4c3a4 06-Feb-2015 zafir <zafir@google.com> Adding reporting functionality using Feedback API for PhotoModule and CaptureModule when captured pictures don't save to the device.

Bug: 19231841
Change-Id: I7d66db1e4c273dc7ec082f40a80b349bd91a7e8b
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
d0316626dd2c2f4bd37ac7a198dbfe9e0ce2277f 20-Feb-2015 Puneet Lall <puneetl@google.com> Add metadata to ImageSaver interface

ImageSavers are now provided with a future to metadata
(TotalCaptureResult) for full-size images.

This change also implements a proper .equals() and .hashCode() for
ImageProxy.

Bug: 19443252
Change-Id: I16aec5edcd7ad64ea71e457d1de7976fc7e27c72
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
6dd5840e86bffecba8a7f52327b9c1085caeb7d2 10-Feb-2015 Sascha Haeberling <haeberling@google.com> Route all thumbnail updates through CaptureSession

Bug: 19326495
Bug: 19310525

This removes the thumbnail ready callback that was hooked directly into
the ImageBackend from the CaptureModule before since it's now
unnecessary.

Client of CaptureSession can no optionally specify whether the updated
thumbnail is to be used to update the capture indicator. Default is
'yes' so that Lens Blur, Photo Sphere and HDR+ don't need to change.

Change-Id: I94adb50f875ccee214492f03f00ed2a67d400da1
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
f68a39a0ad362ff0543e11e3f0ce11741a7de48c 05-Feb-2015 I-Jong Lin <ijonglin@google.com> Add JPEG Orientation into N4 CaptureRequests

Wired up the SimpleOneCameraFactory to dynamically decorate
the JPEG capture request with the proper orientation so that
the framework does the proper orientation.

Paired with ag/629241.

Bug: 19122922
Change-Id: If206b0d18979ddc4ed9ab6df7ce4d22ba01534a8
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
04f6bcb60fde3cfd12097509a1fb0b57a4248660 27-Jan-2015 I-Jong Lin <ijonglin@google.com> Fix for Ripple on Fast Thumbnail Indicator

There was a cute optimization was to start the ripple animation, and
then fill in the bitmap in 30ms after the bitmap was computed.
However, when the system is overloaded, the bitmap is not necessarily
computed in 30ms, and an empty ripple can result. Put in a more
conservative fix, when the ripple only starts when the bitmap has
already been computed.

Bug: 19132963
Change-Id: Id39257a1d75342c78385bac8682462e8875d97f7
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
abf1e994d236a65180eecfcb6997003ab12795df 21-Jan-2015 Sascha Haeberling <haeberling@google.com> CaptureSession can now be started with an empty placeholder.

Bug: 19014774
Bug: 18853119
Bug: 18979823

Being able to start with an empty placeholder and then updating that
placeholder allows us to add a visual entry to the filmstrip early on.

This avoid jarring effects where after taking many apid fire shots and
going to filmstrip, the entries are appearing one after the other.
This was caused by sessions only getting started when the thumbnail was
produced, which can take a while when multiple shots are in the
encoding pipeline.

Also contains changes that make CaptureSession testable.

Change-Id: I3d44704099be81524f8e165f3f09de6eebfc147b
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
4dc301a073dab22b9bc12e0b846530d3a80bf8f7 15-Jan-2015 I-Jong Lin <ijonglin@google.com> Image Backend Integration w/ Simple Camera

Wiring for cameras that only deliver compressed JPEG artifacts.
This CL was tested by enabling it on the Nexus 5.
Currently, the code in this CL is NOT exposed in any known
Nexus Camera model. The two unexposed bugs are as follows: an camera
initialization bug on Nexus 4, and a cross-device functional issue
with the SimpleCameraOneFactory object in that it doesn't request
a JPEG compression artifact from the HAL with zero orientation.

Bug: 18908116
Change-Id: If7080c4e8e52a329fb9a6fed52f7c31541758afb
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
af7ff468e4c4429c35e205ff8eed08b9de09b84f 16-Jan-2015 I-Jong Lin <ijonglin@google.com> Fix for Camera2 Build

Unfortunately, introduced in ag/612015.

Change-Id: Ic4e17f8093272f7b531c526607ca974b2d456737
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
ad38daf0897acce9f6b4a5a69e6032faf0e70aff 16-Jan-2015 I-Jong Lin <ijonglin@google.com> Merge "Route ImageBackend JPEG Thumbnail To Wear" into ub-camera-haleakala
9eab2cdc9f38f06586f342ef5cf5418ebc317db8 13-Jan-2015 I-Jong Lin <ijonglin@google.com> Route ImageBackend JPEG Thumbnail To Wear

Sends the results of JPEG compression task to a wear device if
available. Need to do a little plumbing on the
OneCamera.PictureSaverCallback.

Bug: 18841900
Change-Id: Iec86a82d9b99e8ff9fecd208d27bfbc563af73f6
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
386c5b885b99f67f9c0a7380f4be153f28333089 09-Jan-2015 Puneet Lall <puneetl@google.com> Apply flash setting changes to the AE mode

Bug: 17216526

Change-Id: If6c03102f04ad2ba54e1a045a3ab7445aaa5b595
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java
8a09cc29b273e35128a03794e82dd4f329d35cc9 08-Jan-2015 Puneet Lall <puneetl@google.com> Change ImageSaver interface to support processing bursts and thumbnails

Bug: 18908116

Change-Id: I14863011de5c3a575bfb54758824ccfaa04cf200
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/YuvImageBackendImageSaver.java