summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkyoungho.yun <kyoungho.yun@samsung.com>2011-11-10 19:58:37 +0900
committerSimon Wilson <simonwilson@google.com>2011-11-14 16:44:59 -0800
commit3b869ce2ba1cc91c0acdcc8355a8499fc443e8a3 (patch)
tree4e7d326420623cc58a1c9732835927d542b968db /include
parentaae09e24c5ac5dbba702cc6ae65e25a83d49a3cb (diff)
downloaddevice_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 'include')
-rwxr-xr-xinclude/videodev2_samsung.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/videodev2_samsung.h b/include/videodev2_samsung.h
index 0a7d7c3..0d4dcc9 100755
--- a/include/videodev2_samsung.h
+++ b/include/videodev2_samsung.h
@@ -431,7 +431,10 @@ enum v4l2_caf_start_stop {
CAF_MAX,
};
-#define V4L2_CID_CAMERA_AUTO_FOCUS_RESULT (V4L2_CID_PRIVATE_BASE + 103)
+#define V4L2_CID_CAMERA_AUTO_FOCUS_RESULT_FIRST (V4L2_CID_PRIVATE_BASE + 103)
+#define V4L2_CID_CAMERA_AUTO_FOCUS_RESULT_SECOND (V4L2_CID_PRIVATE_BASE + 120)
+#define V4L2_CID_CAMERA_FINISH_AUTO_FOCUS (V4L2_CID_PRIVATE_BASE + 121)
+
#define V4L2_CID_CAMERA_FRAME_RATE (V4L2_CID_PRIVATE_BASE + 104)
enum v4l2_frame_rate {
FRAME_RATE_AUTO = 0,