camera_focusmode_t

The focus mode of the camera.

Synopsis:

#include <camera/camera_api.h>
 
typedef enum {
      CAMERA_FOCUSMODE_OFF = 0   
      CAMERA_FOCUSMODE_EDOF   
      CAMERA_FOCUSMODE_MANUAL   
      CAMERA_FOCUSMODE_AUTO   
      CAMERA_FOCUSMODE_MACRO   
      CAMERA_FOCUSMODE_CONTINUOUS_AUTO   
      CAMERA_FOCUSMODE_CONTINUOUS_MACRO   
      CAMERA_FOCUSMODE_NUMFOCUSMODES   
} camera_focusmode_t;

Data:

CAMERA_FOCUSMODE_OFF
focus mode is off.
CAMERA_FOCUSMODE_EDOF
The camera is using extended depth of field (EDoF) focus mode.
CAMERA_FOCUSMODE_MANUAL
The camera is using manual focus mode.
CAMERA_FOCUSMODE_AUTO
The camera is using single-cycle autofocus.

Single-cycle focus occurs once and then stops.

CAMERA_FOCUSMODE_MACRO
The camera is using single-cycle macro autofocus.

Single-cycle focus occurs once and then stops.

CAMERA_FOCUSMODE_CONTINUOUS_AUTO
The camera is using continuous autofocus mode.

The autofocus algorithm restarts if the scene goes out of focus.

CAMERA_FOCUSMODE_CONTINUOUS_MACRO
The camera is using continuous autofocus mode while in macro view.

The autofocus algorithm restarts if the scene goes out of focus.

CAMERA_FOCUSMODE_NUMFOCUSMODES
The total number of supported focus modes.

Library:

libcamapi

Description:

Use camera_get_focus_modes() to determine the focus modes that are supported for the current platform and camera.

Last modified: 2013-12-21

comments powered by Disqus