History log of /hardware/ti/omap4xxx/camera/Encoder_libjpeg.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/omap4xxx/camera/Encoder_libjpeg.cpp
cb1183d6c3c8894fa09ad3ff7952388f6e7bec94 11-Nov-2011 Akwasi Boateng <akwasi.boateng@ti.com> videosnapshot memory corruption fixes.

1. Fixes memory corruption of dst buffer in
nv21_to_yuv() convertion
2. Free malloced row_tmp buffer
3. Free params string in Appcallback

Change-Id: I2179f1158f6e72cca0f7e5c815b1cb576bfa925e
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>

related-to-bug: 5601247
/hardware/ti/omap4xxx/camera/Encoder_libjpeg.cpp
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/omap4xxx/camera/Encoder_libjpeg.cpp
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/omap4xxx/camera/Encoder_libjpeg.cpp
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/omap4xxx/camera/Encoder_libjpeg.cpp
76f0345d0475def0f0c6fd2da7c2b35ed8a1bb2a 14-Sep-2011 Tyler Luu <tluu@ti.com> CameraHal: Optimize uyvy to yuv44 conversion

Slightly optmizing the color format conversion
from uyvy to yuv44. Now converting 16 pixels
at one time instead 2.

Change-Id: I88c216c95603f84a39bd30ed1964a977e2af85ec
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/Encoder_libjpeg.cpp
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/omap4xxx/camera/Encoder_libjpeg.cpp
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/omap4xxx/camera/Encoder_libjpeg.cpp