History log of /packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskJpegEncode.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
de2c5f84c216d91a366d3361be78a8c8710bd65d 09-Apr-2015 Paul Rohde <codelogic@google.com> Add a memory pool for reusing direct bytebuffers.

This should reduce GC's caused by releasing and reusing direct
bytebuffers for subsequent image captures and jpg encoding.

Bug: 20129797
Change-Id: I5dd2538bd3dbc77be1446564f537e7ec0fc56ec4
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskJpegEncode.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/TaskJpegEncode.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/TaskJpegEncode.java
f0e0f1fe9608ba829e1d6d44086fc063d7e98d9a 08-Jan-2015 Senpo Hu <senpo@google.com> Merge "Instantiate a ImageSaver.Builder in CaptureModule." into ub-camera-haleakala
5aa7eb2930b813c97f3754d93fe7fa978651887b 08-Jan-2015 Senpo Hu <senpo@google.com> Instantiate a ImageSaver.Builder in CaptureModule.

We will need different image savers for capture intent.
Since we plan to create a separate module for capture intent,
this change allows modules to be able to choose a different builder.

Bug: 18726217
Change-Id: I5871263123b06958d902cc8e3a4d911f14c83e66
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskJpegEncode.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/processing/imagebackend/TaskJpegEncode.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/TaskJpegEncode.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/TaskJpegEncode.java