diff options
Diffstat (limited to 'src/ipa/rkisp1')
-rw-r--r-- | src/ipa/rkisp1/algorithms/agc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/rkisp1/algorithms/agc.cpp b/src/ipa/rkisp1/algorithms/agc.cpp index da705b14..47a6f7b2 100644 --- a/src/ipa/rkisp1/algorithms/agc.cpp +++ b/src/ipa/rkisp1/algorithms/agc.cpp @@ -175,7 +175,7 @@ void Agc::prepare(IPAContext &context, const uint32_t frame, /* Set an average weighted histogram. */ Span<uint8_t> weights{ params->meas.hst_config.hist_weight, - context.hw->numHistogramBins + context.hw->numHistogramWeights }; std::fill(weights.begin(), weights.end(), 1); /* Step size can't be less than 3. */ |