summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCamera.cpp
diff options
context:
space:
mode:
authorMike J. Chen <mjchen@sta.samsung.com>2010-10-18 11:27:17 -0700
committerWu-cheng Li <wuchengli@google.com>2010-10-20 13:32:52 +0800
commitfd7e5ebb97ca747659e02759e7cc83ac6feeb26f (patch)
tree265cb7602ee6619f1141410ce015038dfa646340 /libcamera/SecCamera.cpp
parent61a4cf7d6df1a684a6f4c64ed04de6212216c5b9 (diff)
downloaddevice_samsung_crespo-fd7e5ebb97ca747659e02759e7cc83ac6feeb26f.zip
device_samsung_crespo-fd7e5ebb97ca747659e02759e7cc83ac6feeb26f.tar.gz
device_samsung_crespo-fd7e5ebb97ca747659e02759e7cc83ac6feeb26f.tar.bz2
S5PC11X: libcamera: Fix CTS issue and update focus distance
Initialize the mSecCamera settings in initDefaultParameters in case setParameter() isn't called by the application (it's not required). Also had to bump the delay in SecCamera::DeinitCamera() or else the next CTS test was not able to start because SecCamera::initCamera would fail to open /dev/video0 because it hadn't been completely released by the previous camera test. Also updated focus distances for back camera with new info from TechWin. Change-Id: Ib84890a466e5f96908a333423e4dcf146a744252 Signed-off-by: Mike J. Chen <mjchen@sta.samsung.com>
Diffstat (limited to 'libcamera/SecCamera.cpp')
-rw-r--r--libcamera/SecCamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index 282698e..93450b1 100644
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -875,7 +875,7 @@ void SecCamera::DeinitCamera()
}
m_flag_init = 0;
- usleep(100000); //100 ms delay to allow proper closure of fimc device.
+ usleep(500000); //500 ms delay to allow proper closure of fimc device.
}
}