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

Han-Lin Chen hanlinchen at chromium.org
Thu Oct 28 12:03:49 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.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