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

Umang Jain umang.jain at ideasonboard.com
Thu Oct 28 15:29:36 CEST 2021


Hi Han-Lin,

Thank you for the patch.

On 10/28/21 3:33 PM, Han-Lin Chen wrote:
> 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>


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;
>   


More information about the libcamera-devel mailing list