From 39e4e04f3a57d05922bf382d2a160391b53bda07 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Thu, 27 Jun 2024 22:24:30 +0900 Subject: ipa: rkisp1: Add compand feature flag to ipa context Add a compand feature flag to the hardware settings section of the IPA context, so that we can act accordingly for black level subtraction, and to pave the way to skipping companding appropriately when support for it is added. Signed-off-by: Paul Elder Signed-off-by: Laurent Pinchart Reviewed-by: Jacopo Mondi Reviewed-by: Stefan Klug --- src/ipa/rkisp1/ipa_context.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ipa/rkisp1/ipa_context.h') diff --git a/src/ipa/rkisp1/ipa_context.h b/src/ipa/rkisp1/ipa_context.h index 24c4b247..3af2774a 100644 --- a/src/ipa/rkisp1/ipa_context.h +++ b/src/ipa/rkisp1/ipa_context.h @@ -31,6 +31,7 @@ struct IPAHwSettings { unsigned int numHistogramBins; unsigned int numHistogramWeights; unsigned int numGammaOutSamples; + bool compand; }; struct IPASessionConfiguration { -- cgit v1.2.1