History log of /hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f7a4d11e9f710e2cd0592310ac1baecccb85f1d1 18-Oct-2012 Jason Simmons <jsimmons@google.com> Snapshot of TI's camera HAL development with adjustments to build in our tree

The head of TI's hardware/ti/omap4xxx/camera repository at the time of the snapshot was:
commit 4447eaef6dc757aecab869054460ae87848e575e
Author: Vladimir Petrov <vppetrov@mm-sol.com>
Date: Thu Aug 16 19:13:03 2012 +0300
CameraHal: Add support to release tap in/outs

Change-Id: Ia6bfefb427fe171067eddcab6d896683ff2d149f
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
c78626b15e9f29a5bcf85447ceafb17dcbf58b69 20-May-2012 Emilian Peev <epeev@mm-sol.com> CameraHal: Avoids possible race conditions while accessing 'mParams'

- Direct access of 'mParams' outside of 'get-/setParameters()' should
be avoided. The underlying strings can get invalidated with each
call to 'setParameters()', which can lead to instabilities.
- This change also removes legacy stereo code, which is not used
any more.

Bug: 6509329

Change-Id: Ief6df206c33fbdc666644cea8630e0bce6a36c00
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
1e3a7ee3fced4b9723f65147ae856bba7d4e2342 19-Jan-2012 Angus Kong <shkong@google.com> Prevent duplicate DateTime tags in EXIF.

bug:5766177
Change-Id: Ib60030374ffca8e27c814503621cc545f9132360
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
0c7ae887ee41852f275887fd543fae810668e2d1 28-Oct-2011 Tyler Luu <tluu@ti.com> CameraHAL: Prevent deadlock in AppCallbackNotifier::stop()

There is a small chance that a stopPreview call can come from
CameraService right around the same time Encoder thread will
send a data callback for the video snapshot. Currently, we
are waiting for the encoder thread to join in AppCallbackNofier::
stop(), so we could deadlock if CameraService locks in
lockIfMessageWanted for the video snapshot.

Instead of waiting for Encoder thread to join, we can make
cancel() block until Encoder thread is done canceling the
encode. After cancel() returns, we can free up the cookies
that we passed to it, so Encoder thread does not need to call
the callback function to AppCallbackNotifier.

Change-Id: Ib453d49d91077925b143c812d43a7d1b782c181c
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
72dbc3152137ec7b77deddede4229f73149e92c8 19-Oct-2011 Akwasi Boateng <akwasi.boateng@ti.com> CameraHAL: Fixed line endings and file attributes

Replaced line endings to UNIX in CameraHAL-related sources.

No code changes.

Signed-off-by: Daniel Levin <x0155538@ti.com>
Signed-off-by: Jean Johnson <a0271255@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>

Change-Id: Id32c429fe7527342cfa2a7b9b1724e5f088dbd3f
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
7ce015866d4be66a147e9cacbe70a376dd1e6360 30-Nov-2011 Iliyan Malchev <malchev@google.com> am 67496a60: am 3ffd5d43: Merge changes I0878a9f8,I1011252e into ics-mr1

* commit '67496a60c60076166f6856431f68024a9412c067':
CameraHAL: Perform focus even if CAF has failed
CameraHAL: Enable LDCNSF for Video snapshot
d9520b9de06f01b9411307040cf245e6fc7fe361 12-Oct-2011 Milen Mitkov <mmitkov@mm-sol.com> CameraHAL: Enable LDCNSF for Video snapshot

Enables LDCNSF for Video snapshot, also adds start_offset and right_crop fields
to the JPEG encoder wrapper, because the image with LDCNSF has artifacts on top
and right.

Change-Id: I1011252e3f8068083f9d057b7763b7f79c59a75d
Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
ef73bec8a83a2fd7fbb072d009382c64eb2da0ee 19-Oct-2011 Tyler Luu <tluu@ti.com> CameraHal: Add more Exif data for video snapshot

Fixes b/5582076. Requires changes to Ducati and external/jhead.

1. Add API to get and set ancillary data metadata so
we can use the values to fill in Exif data.
2. Add support for additional tags.

Change-Id: I537e683839c59e92a4a20ff62653b6d46e303f53
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
c11c07d676f130e6e28ab1611f4862a01a160389 13-Oct-2011 Tyler Luu <tluu@ti.com> CameraHal: Fixes for #testVideoSnapshot

1. Add raw notify callback for video snapshot
2. Add new state for video capture + AF
3. We were not populating focal length correctly for jhead. Need to send
focal length as a rational in this format "xx/yy"
4. Need to send GPSProcessingMethod as an UNDEFINED ASCII to jhead

b/5448171

Change-Id: Ie6be9ad821d1fa106d9c857681f2fa6427d4f283
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
8e52e3bcc31f65a699c25557cf3026d324e631b4 07-Oct-2011 Tyler Luu <tluu@ti.com> omap4xxx: camera: cancel and flush for SW JPEG encoder

Fixes b/5378650

1. Add method to externally cancel Encoder class while in the middle of
encoding.
2. Add queue in AppCallbackNotifier to track all the encoding sessions. When
stopping AppCallbackNotifier if any encoding sessions are still ongoing,
cancel and wait for the threads to return. Previously, it was possible for
Encoder threads to still be running when the preview and images buffers were
freed.

Change-Id: Ib123d1644dfa7058a6f50f0001b4d05359853827
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
c160a1f85c70e49a7613d774e2d99035f3cb4851 04-Oct-2011 Tyler Luu <tluu@ti.com> omap4xxx: camera: EXIF thumbnail for video snapshot

Fixes b/5370657

1) Extend NV12 resizer to take stride insteadof hardcoding stride
2) Change Encoder class interface to support encoding a thumbnail and main jpeg
image. Encoder will resize/encodethumbnail in parallel while encoding the
main jpeg. Only NV21/NV12 resizing is supported. Thumbnail is created
withpost view frame.
3) Add interface in Encoder class to replace thumbnail with jhead.
4) Height and width fields of EXIF are not proper. Fixed.

Change-Id: I5d0063357e4e9e327d22805c2dddf8f630d22e7b
Signed-off-by: Raji Reddy Kandi<rajireddy.k@samsung.com>
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
36e9bdd56757ff8048e08f6e52f234480c44f122 08-Sep-2011 Tyler Luu <tluu@ti.com> CameraHal: Add Exif support to video snapshot

Use jhead library to insert Exif to jpeg stream
returned from libjpeg.

Change-Id: Ia6398180b7ef3c1b3ddcb35e489527289565fef5
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h
ee6bb64f60c228d711dc1d6875d8f4b0ed88b6cf 01-Sep-2011 Tyler Luu <tluu@ti.com> CameraHal: Initial support for video snapshot

Adds support for capturing an image while
recording in video mode. Sets up Ducati to
return a YUV422I buffer and encode is performed
in AppCallbackNotifier with Encoder_libjpeg class.

Change-Id: Ia351fc99dab63a12add8c6c960b186bbe5be275a
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4-aah/camera/inc/Encoder_libjpeg.h