summaryrefslogtreecommitdiffstats
path: root/libcamera
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-01-01 15:36:09 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-01-01 15:36:09 +0700
commit7163bc3b0629eb11e6046985d09a3e562860b88b (patch)
treeec90b55f4b62737ec419d92f791e42fba9f99d8c /libcamera
parent6bd36e859fd23df01deb6a18537c435769152833 (diff)
downloaddevice_samsung_aries-common-7163bc3b0629eb11e6046985d09a3e562860b88b.zip
device_samsung_aries-common-7163bc3b0629eb11e6046985d09a3e562860b88b.tar.gz
device_samsung_aries-common-7163bc3b0629eb11e6046985d09a3e562860b88b.tar.bz2
aries-common: More parameters for video recording
Diffstat (limited to 'libcamera')
-rwxr-xr-xlibcamera/SecCamera.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcamera/SecCamera.cpp b/libcamera/SecCamera.cpp
index fb3775d..9e82a53 100755
--- a/libcamera/SecCamera.cpp
+++ b/libcamera/SecCamera.cpp
@@ -904,6 +904,8 @@ int SecCamera::startRecord(void)
// Some properties for back camera video recording
setSlowAE(SLOW_AE_ON);
setGamma(GAMMA_ON);
+ setISO(ISO_MOVIE);
+ setMetering(METERING_MATRIX);
ret = fimc_v4l2_s_fmt(m_cam_fd2, m_recording_width,
m_recording_height, V4L2_PIX_FMT_NV12T, 0);
@@ -983,6 +985,8 @@ int SecCamera::stopRecord(void)
if (m_camera_id == CAMERA_ID_BACK) {
setSlowAE(SLOW_AE_OFF);
setGamma(GAMMA_OFF);
+ setISO(ISO_AUTO);
+ setMetering(METERING_CENTER);
}
return 0;