summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/dpc_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rpi/controller/dpc_status.h')
-rw-r--r--src/ipa/rpi/controller/dpc_status.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ipa/rpi/controller/dpc_status.h b/src/ipa/rpi/controller/dpc_status.h
new file mode 100644
index 00000000..46d0cf34
--- /dev/null
+++ b/src/ipa/rpi/controller/dpc_status.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (C) 2019, Raspberry Pi Ltd
+ *
+ * dpc_status.h - DPC (defective pixel correction) control algorithm status
+ */
+#pragma once
+
+/* The "DPC" algorithm sets defective pixel correction strength. */
+
+struct DpcStatus {
+ int strength; /* 0 = "off", 1 = "normal", 2 = "strong" */
+};