summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/controller/ccm_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/raspberrypi/controller/ccm_status.h')
-rw-r--r--src/ipa/raspberrypi/controller/ccm_status.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/ipa/raspberrypi/controller/ccm_status.h b/src/ipa/raspberrypi/controller/ccm_status.h
new file mode 100644
index 00000000..7e41dd1f
--- /dev/null
+++ b/src/ipa/raspberrypi/controller/ccm_status.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (C) 2019, Raspberry Pi (Trading) Limited
+ *
+ * ccm_status.h - CCM (colour correction matrix) control algorithm status
+ */
+#pragma once
+
+// The "ccm" algorithm generates an appropriate colour matrix.
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct CcmStatus {
+ double matrix[9];
+ double saturation;
+};
+
+#ifdef __cplusplus
+}
+#endif