22f00c96114a150ed75f02810a3fff1fa6461564 |
|
08-Apr-2015 |
Paul Rohde <codelogic@google.com> |
Reduce software jpg encoding priority. This skews the time-to-jpg vs preview jank in favor of a smoother preview after capturing an image compared to jpg encoding time. This should remove some of the excessive jank present post-image capture. Bug: 19076469 Change-Id: I908ec91153268a0fc9eb3a8e0112dda5bd15a6fb
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ImageProcessorProxyListener.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/processing/imagebackend/ImageProcessorProxyListener.java
|
30ef96534cc65c0ba4665f6da2fc36e879edf196 |
|
08-Jan-2015 |
I-Jong Lin <ijonglin@google.com> |
Passing an intermediate preview to the session. Generalized the image thumbnail preview task to create artifacts of multiple shape. Added this task before the full-sized JPEG decode. Added a field in the TaskInfo to specify the purpose of the imaging artifacts on the listener, since the processing of an image may result in multiple uncompressed/compress artifacts and need extra explicit identification to be properly routed by listener. Changed the default behavior of the ImageBackend to produce an intermediate-sized preview on job submission. Routed this intermediate-sized preview to the CaptureSession for an earlier Filmstrip update. Bug: 18841584 Change-Id: I8db2d3a7c30cddd1e0e9ddf0709b7867f841b056
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ImageProcessorProxyListener.java
|
3830d419691ef865f01b362fee9618bac2aa8888 |
|
20-Dec-2014 |
Sascha Haeberling <haeberling@google.com> |
Store ZSL images in correct orientation and show progress in filmstrip. Added an ImageRotationCalculator which calcuates the image rotation based on camera characteristics and the device orientation at the time of the shot. Also moves the image backend code into its own sub-package. Change-Id: I4b6b83e3e3cebece83215c19d0aff826ff853352
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ImageProcessorProxyListener.java
|