History log of /hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f2170decdf6bf41e590842b0fe5c0ed3852ebec3 14-Mar-2012 Emilian Peev <epeev@mm-sol.com> CameraHal: Speedup face detection start

- Currently when face detection gets enabled
the face priority for AE and AF is getting
configured as well. This configuration takes
around 18 ms. on average and can delay the
overall startup time. The optimization will
move the algo setup away from face detection
enablement and in to the FillBufferDone
callback.

Bug: 5488236

Change-Id: I2b0e8df9fdead7a5d761a1efbcbf57d39e27ae3c
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
41a31123a0fc59b8112460285d3f1ba73c5537c0 08-Feb-2012 Emilian Peev <epeev@mm-sol.com> CameraHal: Reduces Camera logcat prints

Change-Id: Id32ad1b882a76f091866583b15ae0ca2929bacef
Signed-off-by: Emilian Peev <epeev@mm-sol.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
82640237cf0ca200932a66777fd1907d66cd0322 13-Oct-2011 Akwasi Boateng <akwasi.boateng@ti.com> CameraHAL: Small fix in FD error handling

- 'detectFaces()' should return immediately if
there is a mismatch in the 'platformPrivate'
size.

Signed-off-by: Emilian Peev <epeev@mm-sol.com>
Signed-off-by: Vicky Martinez-DeFrain <a0869710@ti.com>
Signed-off-by: Akwasi Boateng <akwasi.boateng@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>

Change-Id: Ib4237acdec7fa08dd4b06529e358003783dccf0a
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
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/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
cf0a61f13533d70cb7ad700330de94142c2afe6a 26-Oct-2011 Milen Mitkov <mmitkov@mm-sol.com> CameraHAL: Use Ancillary data to check for snapshot

Uses the ancilary data field nDCCStatus to check
if the preview frame is a snapshot.

Fixes a rare issue in which a normal (non-snapshot)
preview frame is received after capture has started.

Change-Id: I242c17ee3dd1365eb24c6c15585bb125f6938dee
Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>

related-to-bug: 5472396
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
61db8718454958a21d5b31282027db01a5c0de63 12-Oct-2011 Milen Mitkov <mmitkov@mm-sol.com> CameraHAL: Set face prio when starting face detection

We don't need to set the exposure mode when starting
face detection, just enable face priority.

Previously, this caused the exposure mode for
a given scene to be overwritten.

Change-Id: I4bad4c9846b7d225f8f1bf346fdc3dac1b16ca1b
Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
467ae33682e3a83e839f9fd289927b1bfd3d9382 02-Oct-2011 Milen Mitkov <mmitkov@mm-sol.com> omap4xxx: camera: set face priority for algos when starting face detection

Sometimes (rarely) startFaceDetection() may be called after setFocusMode() and
this causes the face priority for algos to not be set. This patch sets the
face priority in startFaceDetection().

Change-Id: I0805c0a0c86b4a2b122d294e9a73374e83dd3330
Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
7762bf32b7bd874ce34948eb53a3bfa3906f4aef 21-Sep-2011 Tyler Luu <tluu@ti.com> CameraHal: Add filter to smooth faces from OMXCamera

Filter faces coming from Ducati to smooth out the jitter.
This patch requires the face tracking mechanism in Ducati
so faces are ordered properly for each frame. Also, this patch
is only providing filtering of face sizes since Ducati is already
smoothing the face positions.

b/5141268

Change-Id: Ia7ee1c46ca41fcdd1e45505242f2802b0b4fb647
Orginal-author: Mandeep Kumar <mandeep@ti.com>
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
e45763a2a361324f1771a6991525e631365ca954 31-Aug-2011 Tyler Luu <tluu@ti.com> CameraHal: fix FD coordinate calculation

The android expects coordinates for 180degree rotation
to point the top left corner of the preview. When rotation
is applied the ducati is returning the faces with respect
to the camera orientation, rathar than the phone orientation.
In this case both the nTop and nLeft needs to be offset with
the size of the face, as the rotation counts for both of them.

Change-Id: I28cd8e4c0c09e6d115f24f227c8044e514a42fef
Original-author: Vladislav Hristov <vhristov@mm-sol.com>
Signed-off-by: Vladislav Hristov <vhristov@mm-sol.com>
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
52d3388c121469e22bf41d7362640257d8268858 29-Aug-2011 Tyler Luu <tluu@ti.com> CameraHal: Fix calculation of left coord in flip

This calculation was previously being handled in
Ducati. However, with face tracking integration, this
calculation needs to be moved to CameraHal.

Change-Id: Icf416b077214edfe43597adff1af9eadefa20a89
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
967f1197f015b6d2f3b34e60fa787f7066efb824 26-Aug-2011 Sundar Raman <sunds@ti.com> CameraHAL: Filter face detection result to avoid false faces being detected

For real faces, it is seen that the h/w passes a score >=80
For false faces, we seem to get even a score of 70 sometimes.
In order to avoid any issue at application level, we filter
<=70 score.

Change-Id: Ia4855fd79559e6eb8398d80479cbafbd343321f7
Signed-off-by: Sundar Raman <sunds@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
8cb48e582f4f3c93aa25159c1116a7c83bfa388a 25-Aug-2011 Sundar Raman <sunds@ti.com> Camera HAL: Fixes for Face prioritized 3A, cancelAF

1. Face prioritized 3A is enabled for AF, AE (for AE it is disabled)
2. White balance modes, exposure are allowed to be changed when face detection is ON
3. Focus metering area is ignored when face detection is ON
4. CancelAF is fixed to not retain the focus mode for CAF and infinity modes

Change-Id: I43650069d4de95815381974072f5b9afabf4fc46
Signed-off-by: Sundar Raman <sunds@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
c0fc811b503ef0c0ccd024f77f9ac7d6972f77c8 25-Aug-2011 Sundar Raman <sunds@ti.com> CameraHal: Enable face priority 3A

Enable face priority 3A when starting face detection
and reset to 3A parameters from CameraParameters when
stopping face detection. Ignore 3A parameters set by
application if face detection is started.

Signed-off-by: Tyler Luu <tluu@ti.com>

Change-Id: I54ded2b3612f3191f6f4c3a6151ea6013b1d06a0
Signed-off-by: Sundar Raman <sunds@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
aa6e62e279cb54ae76c55ba9f8d02da230ce34e7 16-Aug-2011 Tyler Luu <tluu@ti.com> CameraHal: Adjust FD callbacks to updated javadoc

FD callback behavior is updated in latest javadoc
patch "Improve camera face detection javadoc."

Change-Id: I963628ae55eec62083c25d34bbb380ae6673e431
Signed-off-by: Tyler Luu <tluu@ti.com>
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
782a084e5fec691d3985b31c3ab7be1584d879b3 17-Aug-2011 Iliyan Malchev <malchev@google.com> Revert "(TEMP) Avoid SetConfig when starting front sensor"

This reverts commit 2f394067996c47b8c02a335af7403c34908bff07.
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
fa28dae0efd774ddd8919e99c0add3e69300ea3a 16-Aug-2011 Tyler Luu <tluu@ti.com> CameraHal: FD results for 180 degree rot'ed

Need to translate FD results when phone is 180
degree oriented with respect to the sensor. Ducati
outputs results differently then what Android
expects in this orientation. See code comments.

Change-Id: Ia17b3f03ee37b5ac988993024bc5c989cff96df2
Signed-off-by: Tyler Luu <tluu@ti.com>

bug:5140593
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.cpp
2f394067996c47b8c02a335af7403c34908bff07 09-Aug-2011 Tyler Luu <tluu@ti.com> (TEMP) Avoid SetConfig when starting front sensor

Delay SetConfig calls for the first 99 frames when
starting front sensor. Front sensor is currently freezing
if any SetConfig is called within those first frames.

This patch needs to be removed once Ducati side issue
is fixed.

Change-Id: Ie50dab38724077443719a1061c9b038f59c6b545
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXFD.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/OMXFD.cpp