summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/ccm.cpp
diff options
context:
space:
mode:
authorStefan Klug <stefan.klug@ideasonboard.com>2025-04-03 17:49:19 +0200
committerStefan Klug <stefan.klug@ideasonboard.com>2025-05-20 11:20:08 +0200
commit71b680c8635c7b4c9c28ba347bac91d466aa4ec8 (patch)
treef78a6777a15f2c5d6f41b69e9be440976f721050 /src/ipa/rkisp1/algorithms/ccm.cpp
parentc699d26573ebc3a6275d697a9032aedd9d19f974 (diff)
ipa: rkisp1: Damp color temperature regulation
Damp the regulation of the color temperature with the same factor as the gains. Not damping the color temperature leads to visible flicker, as the CCM changes too much. Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/ccm.cpp')
-rw-r--r--src/ipa/rkisp1/algorithms/ccm.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ipa/rkisp1/algorithms/ccm.cpp b/src/ipa/rkisp1/algorithms/ccm.cpp
index 3a96a542..de2b6fe7 100644
--- a/src/ipa/rkisp1/algorithms/ccm.cpp
+++ b/src/ipa/rkisp1/algorithms/ccm.cpp
@@ -142,10 +142,6 @@ void Ccm::prepare(IPAContext &context, const uint32_t frame,
}
uint32_t ct = frameContext.awb.temperatureK;
- /*
- * \todo The colour temperature will likely be noisy, add filtering to
- * avoid updating the CCM matrix all the time.
- */
if (frame > 0 && ct == ct_) {
frameContext.ccm.ccm = context.activeState.ccm.automatic;
return;