summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-09-27 04:44:16 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2019-10-11 15:30:54 +0200
commitbf0915a4e808247fc26d817e66cc20e6d15067d3 (patch)
tree45271930b6001b0f10a43cc3f9f4bda2f69b6f4b /include
parent97dce7a13fa373b5153335f8e47bdfac54014ad8 (diff)
libcamera: ipa: rkisp1: Add basic control of auto exposure
Add an IPA which controls the exposure time and analog gain for a sensor connected to the rkisp1 pipeline. The IPA supports turning AE on and off and informing the camera of the status of the AE control loop. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/ipa/rkisp1.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ipa/rkisp1.h b/include/ipa/rkisp1.h
new file mode 100644
index 00000000..4fe0482b
--- /dev/null
+++ b/include/ipa/rkisp1.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+/*
+ * Copyright (C) 2019, Google Inc.
+ *
+ * rkisp1.h - Image Processing Algorithm interface for RkISP1
+ */
+#ifndef __LIBCAMERA_IPA_INTERFACE_RKISP1_H__
+#define __LIBCAMERA_IPA_INTERFACE_RKISP1_H__
+
+enum RkISP1Operations {
+ RKISP1_IPA_ACTION_V4L2_SET = 1,
+ RKISP1_IPA_ACTION_PARAM_FILLED = 2,
+ RKISP1_IPA_ACTION_METADATA = 3,
+ RKISP1_IPA_EVENT_SIGNAL_STAT_BUFFER = 4,
+ RKISP1_IPA_EVENT_QUEUE_REQUEST = 5,
+};
+
+#endif /* __LIBCAMERA_IPA_INTERFACE_RKISP1_H__ */