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

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

Commit Message

Kate Hsuan April 21, 2022, 7:28 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;
 };
 
 /**