summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/geq_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rpi/controller/geq_status.h')
-rw-r--r--src/ipa/rpi/controller/geq_status.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/ipa/rpi/controller/geq_status.h b/src/ipa/rpi/controller/geq_status.h
new file mode 100644
index 00000000..2d749fc9
--- /dev/null
+++ b/src/ipa/rpi/controller/geq_status.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (C) 2019, Raspberry Pi Ltd
+ *
+ * geq_status.h - GEQ (green equalisation) control algorithm status
+ */
+#pragma once
+
+/* The "GEQ" algorithm calculates the green equalisation thresholds */
+
+struct GeqStatus {
+ uint16_t offset;
+ double slope;
+};