summaryrefslogtreecommitdiff
path: root/src/libcamera/control_ids.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/control_ids.yaml')
-rw-r--r--src/libcamera/control_ids.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml
index 8c3e4c72..988b5016 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -251,4 +251,15 @@ controls:
higher than anyone could reasonably want. Negative values are
not allowed. Note also that sharpening is not applied to raw
streams.
+
+ - FocusFoM:
+ type: int32_t
+ description: |
+ Reports a Figure of Merit (FoM) to indicate how in-focus the frame is.
+ A larger FocusFoM value indicates a more in-focus frame. This control
+ depends on the IPA to gather ISP statistics from the defined focus
+ region, and combine them in a suitable way to generate a FocusFoM value.
+ In this respect, it is not necessarily aimed at providing a way to
+ implement a focus algorithm by the application, rather an indication of
+ how in-focus a frame is.
...