summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/tonemap_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/rpi/controller/tonemap_status.h')
-rw-r--r--src/ipa/rpi/controller/tonemap_status.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ipa/rpi/controller/tonemap_status.h b/src/ipa/rpi/controller/tonemap_status.h
new file mode 100644
index 00000000..0e639946
--- /dev/null
+++ b/src/ipa/rpi/controller/tonemap_status.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: BSD-2-Clause */
+/*
+ * Copyright (C) 2022 Raspberry Pi Ltd
+ *
+ * hdr.h - Tonemap control algorithm status
+ */
+#pragma once
+
+#include "pwl.h"
+
+struct TonemapStatus {
+ uint16_t detailConstant;
+ double detailSlope;
+ double iirStrength;
+ double strength;
+ RPiController::Pwl tonemap;
+};