From 5c08b179e425a8995462618a967229507293150b Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Wed, 12 Jun 2024 00:14:27 +0300 Subject: ipa: rkisp1: goc: Avoid use of auto for short type Replace one occurrence of the auto type qualifier with the explicit type it represents to increase readability. Signed-off-by: Laurent Pinchart Reviewed-by: Stefan Klug Reviewed-by: Kieran Bingham --- src/ipa/rkisp1/algorithms/goc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ipa/rkisp1/algorithms') diff --git a/src/ipa/rkisp1/algorithms/goc.cpp b/src/ipa/rkisp1/algorithms/goc.cpp index e98c9526..a82cee3b 100644 --- a/src/ipa/rkisp1/algorithms/goc.cpp +++ b/src/ipa/rkisp1/algorithms/goc.cpp @@ -112,7 +112,7 @@ void GammaOutCorrection::prepare(IPAContext &context, 64, 64, 64, 64, 128, 128, 128, 128, 256, 256, 256, 512, 512, 512, 512, 512, 0 }; - auto gamma_y = params->others.goc_config.gamma_y; + __u16 *gamma_y = params->others.goc_config.gamma_y; if (!frameContext.goc.update) return; -- cgit v1.2.1