camera_focusmode_t
The focus mode of the camera
Synopsis:
#include <camera/camera_3a.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 is disabled.
- 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.
- CAMERA_FOCUSMODE_MACRO
- The camera is using single-cycle macro autofocus.
- CAMERA_FOCUSMODE_CONTINUOUS_AUTO
- The camera is using continuous autofocus mode.
- CAMERA_FOCUSMODE_CONTINUOUS_MACRO
- The camera is using continuous autofocus mode for macro-range subjects.
- CAMERA_FOCUSMODE_NUMFOCUSMODES
- The total number of supported focus modes.
Library:
libcamapiDescription:
Use camera_get_focus_modes() to determine the focus modes that are supported by the current platform and camera.
Page updated:
