summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/colours.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/libipa/colours.h')
-rw-r--r--src/ipa/libipa/colours.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ipa/libipa/colours.h b/src/ipa/libipa/colours.h
index b42ed0ac..fa6a8b57 100644
--- a/src/ipa/libipa/colours.h
+++ b/src/ipa/libipa/colours.h
@@ -9,12 +9,14 @@
#include <stdint.h>
+#include "vector.h"
+
namespace libcamera {
namespace ipa {
-double rec601LuminanceFromRGB(double r, double g, double b);
-uint32_t estimateCCT(double red, double green, double blue);
+double rec601LuminanceFromRGB(const RGB<double> &rgb);
+uint32_t estimateCCT(const RGB<double> &rgb);
} /* namespace ipa */