diff options
author | kyoungho.yun <kyoungho.yun@samsung.com> | 2011-11-10 19:58:37 +0900 |
---|---|---|
committer | Simon Wilson <simonwilson@google.com> | 2011-11-14 16:44:59 -0800 |
commit | 3b869ce2ba1cc91c0acdcc8355a8499fc443e8a3 (patch) | |
tree | 4e7d326420623cc58a1c9732835927d542b968db /libcamera/SecCamera.h | |
parent | aae09e24c5ac5dbba702cc6ae65e25a83d49a3cb (diff) | |
download | device_samsung_crespo-3b869ce2ba1cc91c0acdcc8355a8499fc443e8a3.zip device_samsung_crespo-3b869ce2ba1cc91c0acdcc8355a8499fc443e8a3.tar.gz device_samsung_crespo-3b869ce2ba1cc91c0acdcc8355a8499fc443e8a3.tar.bz2 |
Camera: move AF polling code from driver into HAL
Preview is paused during auto focus.
To fix this, move polling code from driver to HAL.
Change-Id: Id46d9ccd2aad1a269806f4fddf8ad39c3c87bae9
Signed-off-by: kyoungho.yun <kyoungho.yun@samsung.com>
Diffstat (limited to 'libcamera/SecCamera.h')
-rwxr-xr-x[-rw-r--r--] | libcamera/SecCamera.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libcamera/SecCamera.h b/libcamera/SecCamera.h index 551eb03..5c62782 100644..100755 --- a/libcamera/SecCamera.h +++ b/libcamera/SecCamera.h @@ -146,6 +146,13 @@ namespace android { #define BPP 2 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) #define MAX_BUFFERS 9 // 11 + +#define FIRST_AF_SEARCH_COUNT 80 +#define SECOND_AF_SEARCH_COUNT 80 +#define AF_PROGRESS 0x01 +#define AF_SUCCESS 0x02 +#define AF_DELAY 50000 + /* * V 4 L 2 F I M C E X T E N S I O N S * |