diff options
author | Pawit Pornkitprasan <p.pawit@gmail.com> | 2011-12-22 19:15:09 +0700 |
---|---|---|
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | 2011-12-23 19:34:39 +0700 |
commit | da0068d8e9e2120069e306ec71a1544e5bff45e1 (patch) | |
tree | 2d4e14ac0ed8e2db71caaa21b542e8574b3cdef3 /libcamera/SecCamera.h | |
parent | 7ae31a772739c5b073a02abac904da182f4fe4ea (diff) | |
download | device_samsung_aries-common-da0068d8e9e2120069e306ec71a1544e5bff45e1.zip device_samsung_aries-common-da0068d8e9e2120069e306ec71a1544e5bff45e1.tar.gz device_samsung_aries-common-da0068d8e9e2120069e306ec71a1544e5bff45e1.tar.bz2 |
libcamera: Implement user-space AF polling for CE147
Required for linux 3.0
Diffstat (limited to 'libcamera/SecCamera.h')
-rw-r--r-- | libcamera/SecCamera.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcamera/SecCamera.h b/libcamera/SecCamera.h index 8b9548d..6df8bcd 100644 --- a/libcamera/SecCamera.h +++ b/libcamera/SecCamera.h @@ -148,6 +148,12 @@ namespace android { #define BPP 2 #define MIN(x, y) (((x) < (y)) ? (x) : (y)) #define MAX_BUFFERS 4 + +#define FIRST_AF_SEARCH_COUNT 600 +#define AF_PROGRESS 0x05 +#define AF_SUCCESS 0x02 +#define AF_DELAY 10000 + /* * V 4 L 2 F I M C E X T E N S I O N S * |