From 1b917256188b6b6f8faa5e8e3420032f5c76e233 Mon Sep 17 00:00:00 2001 From: Stefan Klug Date: Thu, 13 Jun 2024 10:33:20 +0200 Subject: ipa: rkisp1: cproc: Drop incorrect [[maybe_unused]] A few function parameters are marked with [[maybe_unused]] but are actually used. Drop the attribute. Signed-off-by: Stefan Klug Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/rkisp1/algorithms/cproc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ipa') diff --git a/src/ipa/rkisp1/algorithms/cproc.cpp b/src/ipa/rkisp1/algorithms/cproc.cpp index 9f400a52..ef0931b2 100644 --- a/src/ipa/rkisp1/algorithms/cproc.cpp +++ b/src/ipa/rkisp1/algorithms/cproc.cpp @@ -54,7 +54,7 @@ int convertContrastOrSaturation(const float v) /** * \copydoc libcamera::ipa::Algorithm::init */ -int ColorProcessing::init([[maybe_unused]] IPAContext &context, +int ColorProcessing::init(IPAContext &context, [[maybe_unused]] const YamlObject &tuningData) { auto &cmap = context.ctrlMap; @@ -69,7 +69,7 @@ int ColorProcessing::init([[maybe_unused]] IPAContext &context, /** * \copydoc libcamera::ipa::Algorithm::configure */ -int ColorProcessing::configure([[maybe_unused]] IPAContext &context, +int ColorProcessing::configure(IPAContext &context, [[maybe_unused]] const IPACameraSensorInfo &configInfo) { auto &cproc = context.activeState.cproc; @@ -85,7 +85,7 @@ int ColorProcessing::configure([[maybe_unused]] IPAContext &context, * \copydoc libcamera::ipa::Algorithm::queueRequest */ void ColorProcessing::queueRequest(IPAContext &context, - [[maybe_unused]] const uint32_t frame, + const uint32_t frame, IPAFrameContext &frameContext, const ControlList &controls) { -- cgit v1.2.1