summaryrefslogtreecommitdiff
path: root/src/ipa/rpi/controller/tonemap_status.h
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2024-03-29 21:44:29 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2024-06-12 16:53:00 +0900
commit9fcc0029ec7bc8c10bc318fc5828c4b5a2efd461 (patch)
tree3a92757706de91208e559eca337cbed281407b98 /src/ipa/rpi/controller/tonemap_status.h
parent95fa5c40ba7f0f947e1db3e0fe25134f5175bca7 (diff)
ipa: rpi: controller: Use libipa's Pwl class
To reduce code duplication, use the Pwl class from libipa. This also removes the Pwl class from the Raspberry Pi IPA. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Acked-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rpi/controller/tonemap_status.h')
-rw-r--r--src/ipa/rpi/controller/tonemap_status.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/rpi/controller/tonemap_status.h b/src/ipa/rpi/controller/tonemap_status.h
index 41a7bf2f..0364ff66 100644
--- a/src/ipa/rpi/controller/tonemap_status.h
+++ b/src/ipa/rpi/controller/tonemap_status.h
@@ -6,12 +6,12 @@
*/
#pragma once
-#include "pwl.h"
+#include <libipa/pwl.h>
struct TonemapStatus {
uint16_t detailConstant;
double detailSlope;
double iirStrength;
double strength;
- RPiController::Pwl tonemap;
+ libcamera::ipa::Pwl tonemap;
};