summaryrefslogtreecommitdiff
path: root/src/ipa/simple/ipa_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/simple/ipa_context.h')
-rw-r--r--src/ipa/simple/ipa_context.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ipa/simple/ipa_context.h b/src/ipa/simple/ipa_context.h
index 607af45a..6a285414 100644
--- a/src/ipa/simple/ipa_context.h
+++ b/src/ipa/simple/ipa_context.h
@@ -13,6 +13,8 @@
#include <libcamera/controls.h>
+#include "libcamera/internal/vector.h"
+
#include <libipa/fc_queue.h>
namespace libcamera {
@@ -36,11 +38,7 @@ struct IPAActiveState {
} blc;
struct {
- struct {
- double red;
- double green;
- double blue;
- } gains;
+ RGB<double> gains;
unsigned int temperatureK;
} awb;