summaryrefslogtreecommitdiff
path: root/src/ipa/simple/black_level.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/simple/black_level.h')
-rw-r--r--src/ipa/simple/black_level.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ipa/simple/black_level.h b/src/ipa/simple/black_level.h
index 25094217..5e032f9f 100644
--- a/src/ipa/simple/black_level.h
+++ b/src/ipa/simple/black_level.h
@@ -8,6 +8,7 @@
#pragma once
#include <array>
+#include <stdint.h>
#include "libcamera/internal/software_isp/swisp_stats.h"
@@ -17,11 +18,11 @@ class BlackLevel
{
public:
BlackLevel();
- unsigned int get() const;
+ uint8_t get() const;
void update(SwIspStats::Histogram &yHistogram);
private:
- unsigned int blackLevel_;
+ uint8_t blackLevel_;
bool blackLevelSet_;
};