History log of /packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskImageContainer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e1bfecfb5efaa29419705b35706decece4985126 09-Apr-2015 I-Jong Lin <ijonglin@google.com> Add average priority speed to ImageBackend

Bug: 20129797

Create another priority level for ImageBackend so that
we have finer grain assignment of thread priority.

Change-Id: I291efeab8cf4be561c7d53c52fe13b64dc75f080
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskImageContainer.java
c36bcac14302b1bb3d7a316f221685d4d6ad95cb 17-Mar-2015 I-Jong Lin <ijonglin@google.com> Pass crop and implement crop in JPEG ImageSaver

Bug: 19660460

Allows for the JpegImageBackendSaver to accept crop
regions and then implements this crop within the
JPEG compression task.

Change-Id: I165b272376c3d5c919c1c41b55bf0b8e551520be
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskImageContainer.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/TaskImageContainer.java
725059d4d1ab78b5ffaa99cbba397b2dafc717d2 10-Mar-2015 I-Jong Lin <ijonglin@google.com> Implementation of Crop in Thumbnail Creation

Propogated the crop information into the thumbnail creation
code. Required generalization of the thubmnail creator to
accept a crop region, and implementation of consistent
handling of the crop parameter into the TaskInfo.

Tests for this newer functionality are available in ag/653259.

Bug: 19323062
Change-Id: I135ae16459eedf7f2631925526c0e64184f6a859
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskImageContainer.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/TaskImageContainer.java
3c7b7ec6aa2e51859718a6d6dead3c12d10ea370 05-Jan-2015 I-Jong Lin <ijonglin@google.com> Interface ImageTaskManager for Image-based Tasks

Clearly defined with relationship between derived ImageTasks and the
respective ImageBackend. Once tasks are derived from
TaskImageContainer, they should only have limited functionality back
to the ImageBackend to spawn new tasks to describe their internal task
graph and manage their image references. The new class ImageTaskManager
defines this relationship and implies that most of functionality should
be internal to the task itself rather than the ImageBackend.

Also, included clean-up of some unused parameters in ImageConsumer
interface as well.

Change-Id: I6a0a5f72aea55adc8b846eb3cd945b61bc6d2a93
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskImageContainer.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/TaskImageContainer.java