camera_focusstate_t

The state of the autofocus algorithm on the camera.

Synopsis:

#include <camera/camera_api.h>
 
typedef enum {
      CAMERA_FOCUSSTATE_NONE = 0   
      CAMERA_FOCUSSTATE_WAITING   
      CAMERA_FOCUSSTATE_SEARCHING   
      CAMERA_FOCUSSTATE_FAILED   
      CAMERA_FOCUSSTATE_LOCKED   
      CAMERA_FOCUSSTATE_SCENECHANGE   
} camera_focusstate_t;

Data:

CAMERA_FOCUSSTATE_NONE
Indicates that autofocus is disabled or not available.
CAMERA_FOCUSSTATE_WAITING
Indicates that the system is waiting for the scene to stabilize before trying to focus.

Not all platforms may support this intermediate state.

CAMERA_FOCUSSTATE_SEARCHING
Indicates that the system is searching for an object to focus on.
CAMERA_FOCUSSTATE_FAILED
Indicates that the system has failed to focus.
CAMERA_FOCUSSTATE_LOCKED
Indicates that the focus is locked.
CAMERA_FOCUSSTATE_SCENECHANGE
Indicates that the system detected a significant change in the scene and that running a new focus cycle would be recommended.

Note that not all platforms may support this state and that it only applies to single focus modes.

Library:

libcamapi

Description: