[PATCH 2/2] libcamera: software_isp: Remove unused IPAActiveState fields

Milan Zamazal mzamazal at redhat.com
Tue Oct 29 16:03:48 CET 2024


Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com> writes:

> Now agc struct in IPAActiveState is not used any longer. If there
> will be need to have this struct, this patch can be reverted.
>
> Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>

Reviewed-by: Milan Zamazal <mzamazal at redhat.com>

> ---
>  src/ipa/simple/ipa_context.h | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/src/ipa/simple/ipa_context.h b/src/ipa/simple/ipa_context.h
> index c510c436..2885a851 100644
> --- a/src/ipa/simple/ipa_context.h
> +++ b/src/ipa/simple/ipa_context.h
> @@ -39,11 +39,6 @@ struct IPAActiveState {
>  		double blue;
>  	} gains;
>  
> -	struct {
> -		int32_t exposure;
> -		double again;
> -	} agc;
> -
>  	static constexpr unsigned int kGammaLookupSize = 1024;
>  	struct {
>  		std::array<double, kGammaLookupSize> gammaTable;



More information about the libcamera-devel mailing list