libcamera2: Add exposure time to default request
authorAlex Ray <aray@google.com>
Mon, 30 Sep 2013 17:19:21 +0000 (10:19 -0700)
committerAlex Ray <aray@google.com>
Tue, 1 Oct 2013 19:05:07 +0000 (12:05 -0700)
Bug: 10837491
Change-Id: I0ec0850cabb4aef76ed97a14838594ed3f549266

libcamera2/ExynosCamera2.cpp

index b38d619b49874f46113a9cd380ef21da641b3b87..fe5f6bc868d85f6a85b1c809aaab38d947380fc4 100644 (file)
@@ -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);