Maxim Metelskiy
Maxim Metelskiy

Reputation: 1389

Android camera2 CONTROL_AE_MODE_OFF and CONTROL_AF_MODE_CONTINUOUS_PICTURE

I want to set exact SENSOR_EXPOSURE_TIME, but still have CONTINUOUS_PICTURE focus. According to Android documentation, to set SENSOR_EXPOSURE_TIME I need set CONTROL_AE_MODE_OFF. But in this mode, I can't set CONTROL_AF_MODE_CONTINUOUS_PICTURE, because it works only if CONTROL_AE_MODE != OFF. So, looks like it's impossible. But Camera FV-5 have CONTINUOUS_PICTURE focus and manual set SENSOR_EXPOSURE_TIME. How is it possible? My device is Nexus5

Upvotes: 2

Views: 3244

Answers (1)

rcsumner
rcsumner

Reputation: 1663

You can indeed set CONTROL_MODE to AUTO (and CONTROL_AF_MODE to whatever you want) yet still set CONTROL_AE_MODE to OFF.

I know the documentation doesn't read like it allows this, but I do it all the time to successfully separate control of the two on my Nexus 5. The CONTROL_MODE seems to only enforce overall control when set to OFF, but merely "suggests" it when set to AUTO. That is, you can override each of AF/AE/AWB using their *_CONTROL_MODE settings in the latter case, but not the former.

Upvotes: 1

Related Questions