From 30f3ec95f62e0a6998d87f909844eb332c7b66e7 Mon Sep 17 00:00:00 2001 From: Alex Ray Date: Mon, 30 Sep 2013 10:19:21 -0700 Subject: [PATCH] libcamera2: Add exposure time to default request Bug: 10837491 Change-Id: I0ec0850cabb4aef76ed97a14838594ed3f549266 --- libcamera2/ExynosCamera2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcamera2/ExynosCamera2.cpp b/libcamera2/ExynosCamera2.cpp index b38d619..fe5f6bc 100644 --- a/libcamera2/ExynosCamera2.cpp +++ b/libcamera2/ExynosCamera2.cpp @@ -715,6 +715,8 @@ status_t ExynosCamera2::constructDefaultRequest( /** android.sensor */ + static const int64_t defaultExposureTime = 8000000LL; // 1/125 s + ADD_OR_SIZE(ANDROID_SENSOR_EXPOSURE_TIME, &defaultExposureTime, 1); static const int64_t frameDuration = 33333333L; // 1/30 s ADD_OR_SIZE(ANDROID_SENSOR_FRAME_DURATION, &frameDuration, 1); -- 2.20.1