summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1/algorithms/goc.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-12 00:14:27 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-06-12 12:00:35 +0300
commit5c08b179e425a8995462618a967229507293150b (patch)
tree1f51b89ee94d64f96063d786ce2ad1af12c9f345 /src/ipa/rkisp1/algorithms/goc.cpp
parent1ca1d06d67c1bb1518ce5a96e49fb1cdf64d940b (diff)
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rkisp1/algorithms/goc.cpp')
-rw-r--r--src/ipa/rkisp1/algorithms/goc.cpp2
1 files changed, 1 insertions, 1 deletions
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;