History log of /hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
a6e9160507cd4c0d276fbe45a1efb1dae28c3998 09-Mar-2012 Emilian Peev <epeev@mm-sol.com> CameraHal: Cuts down execution time of 'get-/setParameters()'

- The change utilizes two approaches:
Wrap unused parameters in 'OMAP_ENHANCEMENT' macro.
Minimize usage of CameraParameters.

bug:6136966

Change-Id: Ie4a4d2f007e6571ee9a403ed68e977d6cbf6756b
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
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/OMXCameraAdapter/OMXAlgo.cpp
9743353b9dd1da8d1755218a7b961400ce825bd1 18-Oct-2011 Tyler Luu <tluu@ti.com> CameraHAL: Make CAF mode APIs consistent

Make FOCUS_MODE_CONTINUOUS_VIDEO and FOCUS_MODE_CONTINUOUS_PICTURE
consistent to the user. For us, this means we need to make some
decision on which capture mode to select based on which CAF mode
is selected by the application.

b/5441086

Change-Id: I39e51ea916e1baa263b6dcc88f76a4940809ecb9
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
8b0b73df9a2fe8e4fc2c36919d05321f2d96d543 13-Oct-2011 Tyler Luu <tluu@ti.com> CameraHal: Adapt to new framework vstab param

change to use the new KEY_VIDEO_STABILIZATION parameter from the framework
instead of using TICameraParameter definition.

Change-Id: Ifed4c147e6ad3c02b35772343d9d339ab1402eac
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
34da992571ff2af3274d2e3fcaaadf6383c83996 30-Sep-2011 Sundar Raman <sunds@ti.com> omap4xxx: camera: remove a couple of error messages

Logspam reduction:

- VFR shouldn't be configured when the port
framerate is smaller than the maximum framerate.
- Debug information for the capture mode should not
be tagged as an error.

Change-Id: I0b3ad926a0ff1e0bd2ee405893d8730b9e79a599
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Signed-off-by: Sundar Raman <sunds@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
d6525598477cbfacf893ad569ee50c3a2e905ac1 06-Oct-2011 Tyler Luu <tluu@ti.com> omap4xxx: camera: set GLBCE/GBCE only if changed

Partial fix for b/5371242

When GLBCE/GBCE was not set, we were always calling SetConfig for
the default value for every SetParameters. Add some logic to only set
them if they have changed.

Change-Id: I30229556b55260f572bee56054422f7edb07df42
Signed-off-by: Tyler Luu <tluu@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
b6373143cb95cb4efa6fbd93f24ab93be6be38e9 22-Sep-2011 Sarthak Aggarwal <sarthak@ti.com> Change ducati camera internal buffers to 5

Fixes b/5342251

This creats more space in ducati heap to
accomodate a decoder and camera in ZSL mode.
Also, 5 buffers are sufficient to give a -ve 110ms
delay required by ZSL.

Change-Id: If779c91a82441ea100fc1182fab7a2a17f986544
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
Signed-Off-by: Vladislav Hristov <vhristov@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
10e47a001f5c979a3cd7f72238cb35c9eee40c1e 15-Sep-2011 Tyler Luu <tluu@ti.com> CameraHAL: Ignores ZSL length configuration status

- This is a temporary workaround for platforms,
where '6' buffers are currently unsupported.
There setting the ZSL history length like
this will crash any camera client, which
does not configure the capture mode explicitly.
- Contains also some minor fixes on the status code
handling.

Change-Id: Ib9163698135d463212c23304778a3d6959e0034c
Original-author: Emilian Peev <epeev@mm-sol.com>
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
308c2a428da0f71b413d24fca55433ece1625603 14-Sep-2011 Vladislav Hristov <vhristov@mm-sol.com> CameraHal: set ZSL history len

As both ZSL and VideoSnapshot uses ZSL queue for imaga capture,
there is a common ducati parameter to configure the number of
buffers in the queue.

This patch dynamicaly sets the number of buffers in the queue,
depending on the usecase. Sets the default ZSL history len to six
in case of the ZSL mode and uses four for everything else (currently
only VideoSnapshot).

Having six buffers for ZSL mode, more RAW buffers are available in
the ducati side. This way using ZSL capture with six buffers it is
possible to compensate da preview lag. On the other side, if using
six buffers for video case, there is not enough memory, in the
ducati, for both RAW buffers pool and encoder internal memory. The
Shutter lag in the VideoSnapshot is not that visible, the time error
because of the two buffers less (max of 66ms) will not be noticed in
captured image.

Change-Id: I03bd23240158150a116f5ef15ad43c7d28ac0534
Signed-off-by: Vladislav Hristov <vhristov@mm-sol.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
4164de02d63220e48eaca08def1d6c5802a8693f 26-Aug-2011 Sundar Raman <sunds@ti.com> CameraHAL: Disable CAC for ZSL and HQ modes

This is not needed for today's sensors as chromatic aberration is not an issue.
This saves ~160 mS in the shot to jpeg time

Change-Id: I24633a448b6eed615503bf306c3b3c9f62027fd3
Signed-off-by: Sundar Raman <sunds@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
00479a8f1d791824870513b8b0b9edd67d2560ff 25-Aug-2011 Sundar Raman <sunds@ti.com> CameraHAL: OMX algo priority re-design

- Allows stacking of different algorithm priorities.
- Resolves an issue with AF not functioning after
one iteration.
- Contains a couple of fixes related to WB and
Exposure priority modes.

Signed-off-by: Emilian Peev <epeev@mm-sol.com>

Change-Id: I9c2848e776c727cd9cc3691221621f895dc5507b
Signed-off-by: Sundar Raman <sunds@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp
c322989ae6ff6769490828de1b5eda12b749cce9 08-Aug-2011 Iliyan Malchev <malchev@google.com> initial commit

Change-Id: I8f7a7eeece0e516efa486b77e9d97805c0e65d3e
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXAlgo.cpp