[PATCH RFC 1/3] ipa: core: add IPASensorDelays structure
Mikhail Rudenko
mike.rudenko at gmail.com
Mon Oct 28 18:36:57 CET 2024
Add struct IPASensorDelays for passing sensor delays from
a CameraSensorHelper to a pipeline handler at initialization
time. Distinct member variables instead of a map ensure at compile
time that all delays required by the pipeline handler are defined.
Signed-off-by: Mikhail Rudenko <mike.rudenko at gmail.com>
---
include/libcamera/ipa/core.mojom | 35 ++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/include/libcamera/ipa/core.mojom b/include/libcamera/ipa/core.mojom
index bce79724..c95cce4b 100644
--- a/include/libcamera/ipa/core.mojom
+++ b/include/libcamera/ipa/core.mojom
@@ -341,3 +341,38 @@ struct IPAStream {
uint32 pixelFormat;
Size size;
};
+
+/**
+ * \struct IPASensorDelays
+ * \brief Sensor control delays for the IPA interface
+ *
+ * The IPASensorDelays structure is used to pass sensoer control delays from
+ * the CameraSensorHelper instance in an IPA to the DelayedControls instance
+ * in a pipeline handler.
+ */
+
+/**
+ * \var IPASensorDelays::exposureDelay
+ * \brief The delay for CID_EXPOSURE
+ */
+
+/**
+ * \var IPASensorDelays::gainDelay
+ * \brief The delay for CID_ANALOGUE_GAIN
+ */
+
+/**
+ * \var IPASensorDelays::hblankDelay
+ * \brief The delay for CID_HBLANK
+ */
+
+/**
+ * \var IPASensorDelays::vblankDelay
+ * \brief The delay for CID_VBLANK
+ */
+struct IPASensorDelays {
+ uint32 exposureDelay;
+ uint32 gainDelay;
+ uint32 hblankDelay;
+ uint32 vblankDelay;
+};
--
2.46.0
More information about the libcamera-devel
mailing list