[libcamera-devel,v3,1/4] ipa: ipu3: Variables to hold the maximum VCM steps
diff mbox series

Message ID 20220426055830.8999-2-hpa@redhat.com
State New
Headers show
Series
  • Enabling AF algorithm to get the VCM attributes from the device driver
Related show

Commit Message

Kate Hsuan April 26, 2022, 5:58 a.m. UTC
They are used to place the maximum VCM steps.

Signed-off-by: Kate Hsuan<hpa@redhat.com>
---
 include/libcamera/ipa/core.mojom | 7 +++++++
 1 file changed, 7 insertions(+)

Patch
diff mbox series

diff --git a/include/libcamera/ipa/core.mojom b/include/libcamera/ipa/core.mojom
index 74f3339e..2e99e999 100644
--- a/include/libcamera/ipa/core.mojom
+++ b/include/libcamera/ipa/core.mojom
@@ -207,6 +207,11 @@  module libcamera;
        frameDuration(s) = maxFrameLength(lines) * lineLength(pixels) / pixelRate(pixels per second)
    \endverbatim
  */
+
+/**
+ * \var IPACameraSensorInfo::maxVcmSteps
+ * \brief The maximum VCM steps
+ */
 struct IPACameraSensorInfo {
 	string model;
 
@@ -221,6 +226,8 @@  struct IPACameraSensorInfo {
 
 	uint32 minFrameLength;
 	uint32 maxFrameLength;
+
+	uint32 maxVcmSteps;
 };
 
 /**