summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms
diff options
context:
space:
ect>
authorJean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>2021-11-30 08:10:58 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-12-01 15:42:55 +0000
commit437cc396685a8c50974688b814b08d36e086a9b1 (patch)
tree2768e47f8e160552bb1c2dd5e8d3e0d2b9a2b033 /src/ipa/rkisp1/algorithms
parent4085372c517e1527114dc4098194c3ae3b973ba0 (diff)
ipa: rkisp1: Initialize numCells in constructor
The non-static class member "numCells_" is not initialized in the constructor. Fix it. Reported-by: Coverity CID 365801 Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms')
-rw-r--r--src/ipa/rkisp1/algorithms/agc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/rkisp1/algorithms/agc.cpp b/src/ipa/rkisp1/algorithms/agc.cpp
index 650fe2da..d6abdc31 100644
--- a/src/ipa/rkisp1/algorithms/agc.cpp
+++ b/src/ipa/rkisp1/algorithms/agc.cpp
@@ -53,7 +53,7 @@ static constexpr uint32_t kNumStartupFrames = 10;
static constexpr double kRelativeLuminanceTarget = 0.4;
Agc::Agc()
- : frameCount_(0), filteredExposure_(0s)
+ : frameCount_(0), numCells_(0), filteredExposure_(0s)
{
}