[libcamera-devel] [PATCH v2 6/6] ipu3: Use gbce and tone mapping from the tuning files

Han-Lin Chen hanlinchen at chromium.org
Fri Oct 29 14:00:01 CEST 2021


Change the flags to gbce algorithm to use the global brightness and tone
mapping from the tunint files.

Signed-off-by: Han-Lin Chen <hanlinchen at chromium.org>
Reviewed-by: Umang Jain <umang.jain at ideasonboard.com>
---
 aiq/aiq_input_parameters.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/aiq/aiq_input_parameters.cpp b/aiq/aiq_input_parameters.cpp
index 5dd2f6c..7a6a1fa 100644
--- a/aiq/aiq_input_parameters.cpp
+++ b/aiq/aiq_input_parameters.cpp
@@ -170,8 +170,8 @@ void AiqInputParameters::setAeAwbAfDefaults()
 	};
 
 	/* GBCE Params */
-	gbceParams.gbce_level = ia_aiq_gbce_level_bypass;
-	gbceParams.tone_map_level = ia_aiq_tone_map_level_default;
+	gbceParams.gbce_level = ia_aiq_gbce_level_use_tuning;
+	gbceParams.tone_map_level = ia_aiq_tone_map_level_use_tuning;
 	gbceParams.frame_use = ia_aiq_frame_use_preview;
 	gbceParams.ev_shift = 0;
 
-- 
2.33.1.1089.g2158813163f-goog



More information about the libcamera-devel mailing list