History log of /packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskConvertImageToRGBPreview.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/TaskConvertImageToRGBPreview.java
24ae21924dac251bd11d2ccbcf2679f23baeb8a0 28-Jan-2015 I-Jong Lin <ijonglin@google.com> Fix centering issue of the Fast Thumbnail Preview

Circular Fast thumbnail doesn't seem to be quite centered, even though
picture is centered in the viewfinder. Y channel horizontal offset
in memory was not being calculated correctly from the specified
pixel strides. Also, added an offset of 1/2 of the downsample so that
the image can be more centered.

Bug: 19132967
Change-Id: I406172beda8b383d513c539ae5963400f57cdd42
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/TaskConvertImageToRGBPreview.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/processing/imagebackend/TaskConvertImageToRGBPreview.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/TaskConvertImageToRGBPreview.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/TaskConvertImageToRGBPreview.java
24145c4efbd4c48ca0558967b0bf02022b70e878 08-Jan-2015 I-Jong Lin <ijonglin@google.com> Merge "Image Plane Proxy for Image Content Testability" into ub-camera-haleakala
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/TaskConvertImageToRGBPreview.java
e376f016b93724d4776aa9397e7bb4409503b793 06-Jan-2015 I-Jong Lin <ijonglin@google.com> YUV Color conversion fix

Bug: 18902605

More foolproof way of calculating the YUV multipliers at compile time.
Fixes a previous off-by-one error that translated into an incorrect 2x
in chroma magnitude (U,V components) by manual calculation.

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