History log of /packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskPreviewChainedJpeg.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
95a80b6bd97d306cafc74fb96be00ea0eeba1842 18-May-2015 Paul Rohde <codelogic@google.com> Make filmstrip grey squares less common.

Increase the encoding priority of the intermediate thumbnails
by changing the task priority to "Average". This causes the
intermediate thumbs to run on their own thread pool, after
the tiny thumbs are generated but allow them to not get
prempted by slow, full jpg encoding tasks.

Bug: 21169512

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