From d71d1c7ff302236a5443187422a263b7b9ded6bc Mon Sep 17 00:00:00 2001
From: Chien-Yu Chen Whether a significant scene change is detected within the currently-set AF
+ * region(s). Type: int32 (acamera_metadata_enum_android_control_af_scene_change_t) This tag may appear in:
+ *
+ *
When the camera focus routine detects a change in the scene it is looking at, + * such as a large shift in camera viewpoint, significant motion in the scene, or a + * significant illumination change, this value will be set to DETECTED for a single capture + * result. Otherwise the value will be NOT_DETECTED. The threshold for detection is similar + * to what would trigger a new passive focus scan to begin in CONTINUOUS autofocus modes.
+ *afSceneChange may be DETECTED only if afMode is AF_MODE_CONTINUOUS_VIDEO or + * AF_MODE_CONTINUOUS_PICTURE. In other AF modes, afSceneChange must be NOT_DETECTED.
+ *This key will be available if the camera device advertises this key via {@link ACAMERA_REQUEST_AVAILABLE_RESULT_KEYS }.
+ */ + ACAMERA_CONTROL_AF_SCENE_CHANGE = // int32 (acamera_metadata_enum_android_control_af_scene_change_t) + ACAMERA_CONTROL_START + 42, ACAMERA_CONTROL_END, /** @@ -6115,6 +6137,20 @@ typedef enum acamera_metadata_enum_acamera_control_enable_zsl { } acamera_metadata_enum_android_control_enable_zsl_t; +// ACAMERA_CONTROL_AF_SCENE_CHANGE +typedef enum acamera_metadata_enum_acamera_control_af_scene_change { + /** + *Scene change is not detected within the AF region(s).
+ */ + ACAMERA_CONTROL_AF_SCENE_CHANGE_NOT_DETECTED = 0, + + /** + *Scene change is detected within the AF region(s).
+ */ + ACAMERA_CONTROL_AF_SCENE_CHANGE_DETECTED = 1, + +} acamera_metadata_enum_android_control_af_scene_change_t; + // ACAMERA_EDGE_MODE