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
Autofocus is disabled or not available.
CAMERA_FOCUSSTATE_WAITING
The system is waiting for the scene to stabilize before trying to focus.

Not all platforms may support this intermediate state.

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

Not all platforms support this state and it only applies to single focus modes.

Library:

libcamapi

Description:

Last modified: 2013-12-21

comments powered by Disqus