summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCamera.cpp
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2010-10-23 16:00:20 -0700
committerWu-cheng Li <wuchengli@google.com>2010-10-25 17:53:36 +0800
commit64a00ffe45d719c4af8e6bf728776dae6e5129b7 (patch)
treeb2b670639fb2f6231fa27a5739d99f2fd376f459 /libcamera/SecCamera.cpp
parent1c17ff9b404fd222271a722f3e367ee0db00ffc1 (diff)
downloaddevice_samsung_crespo-64a00ffe45d719c4af8e6bf728776dae6e5129b7.zip
device_samsung_crespo-64a00ffe45d719c4af8e6bf728776dae6e5129b7.tar.gz
device_samsung_crespo-64a00ffe45d719c4af8e6bf728776dae6e5129b7.tar.bz2
libcamera: for keeping exposure value until capturing
Exposure value which setting automatically on auto focusing should be kept until capturing picture or until stopping auto focusing not until finishing auto focusing. Change-Id: Id3e4bacb73325f2f19e871cd22a05843ac59967e Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com> pid:3568
Diffstat (limited to 'libcamera/SecCamera.cpp')
-rw-r--r--libcamera/SecCamera.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index c394ecb..8a85d09 100644
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -1006,9 +1006,6 @@ int SecCamera::stopPreview(void)
return 0;
}
- /* if auto focus wasn't complete by now, stop it */
- fimc_v4l2_s_ctrl(m_cam_fd, V4L2_CID_CAMERA_SET_AUTO_FOCUS, AUTO_FOCUS_OFF);
-
if (m_params->flash_mode == FLASH_MODE_TORCH)
setFlashMode(FLASH_MODE_OFF);