summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libcamera/meson.build1
-rw-r--r--src/libcamera/control_ids_rpi.yaml29
2 files changed, 30 insertions, 0 deletions
diff --git a/include/libcamera/meson.build b/include/libcamera/meson.build
index bab858a3..84c6c4cb 100644
--- a/include/libcamera/meson.build
+++ b/include/libcamera/meson.build
@@ -36,6 +36,7 @@ controls_map = {
'controls': {
'draft': 'control_ids_draft.yaml',
'core': 'control_ids_core.yaml',
+ 'rpi/vc4': 'control_ids_rpi.yaml',
},
'properties': {
diff --git a/src/libcamera/control_ids_rpi.yaml b/src/libcamera/control_ids_rpi.yaml
new file mode 100644
index 00000000..cb097f88
--- /dev/null
+++ b/src/libcamera/control_ids_rpi.yaml
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# Copyright (C) 2023, Raspberry Pi Ltd
+#
+%YAML 1.1
+---
+# Raspberry Pi (VC4 and PiSP) specific vendor controls
+vendor: rpi
+controls:
+ - StatsOutputEnable:
+ type: bool
+ description: |
+ Toggles the Raspberry Pi IPA to output a binary dump of the hardware
+ generated statistics through the Request metadata in the Bcm2835StatsOutput
+ control.
+
+ \sa Bcm2835StatsOutput
+
+ - Bcm2835StatsOutput:
+ type: uint8_t
+ size: [n]
+ description: |
+ Span of the BCM2835 ISP generated statistics for the current frame. This
+ is sent in the Request metadata if the StatsOutputEnable is set to true.
+ The statistics struct definition can be found in include/linux/bcm2835-isp.h.
+
+ \sa StatsOutputEnable
+
+...